Steve Ellcey wrote:-
>
> I am confused by the new test gcc.dg/cpp/_Pragma4.c that was added by
> this patch and wonder if I am missing something or if there is a typo in
> the test.
>
> I believe the test is searching for the string '#pragma bat' (bat with a
> t) to see if the tests succeeded, b
I am confused by the new test gcc.dg/cpp/_Pragma4.c that was added by
this patch and wonder if I am missing something or if there is a typo in
the test.
I believe the test is searching for the string '#pragma bat' (bat with a
t) to see if the tests succeeded, but how would that appear in the
outp
Zack Weinberg wrote:-
> This was reported to the Debian bug-tracking system:
>
> $ cat foo.c
> _Pragma("foo"); int y;
> #define FOO _Pragma("foo"); int x;
> FOO
> [EMAIL PROTECTED]:~$ cpp-3.2 foo.c
> # 1 "foo.c"
> # 1 ""
> # 1 ""
> # 1 "foo.c"
>
> # 1 "foo.c"
> #pragma foo
> # 1 "foo.c"
>
Zack Weinberg wrote:-
> This was reported to the Debian bug-tracking system:
>
> $ cat foo.c
> _Pragma("foo"); int y;
> #define FOO _Pragma("foo"); int x;
> FOO
> [EMAIL PROTECTED]:~$ cpp-3.2 foo.c
> # 1 "foo.c"
> # 1 ""
> # 1 ""
> # 1 "foo.c"
>
> # 1 "foo.c"
> #pragma foo
> # 1 "foo.c"
>
This was reported to the Debian bug-tracking system:
$ cat foo.c
_Pragma("foo"); int y;
#define FOO _Pragma("foo"); int x;
FOO
[EMAIL PROTECTED]:~$ cpp-3.2 foo.c
# 1 "foo.c"
# 1 ""
# 1 ""
# 1 "foo.c"
# 1 "foo.c"
#pragma foo
# 1 "foo.c"
; int y;
# 3 "foo.c"
#pragma ; int x;foo
>
5 matches
Mail list logo