[Bug c/57653] filename information discarded when using -imacros

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 19 22:30:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Allan McRae from comment #2)
> # echo "int main() { return }" > foo.c
> # touch foo.h
> # gcc -imacros foo.h foo.c 
> <command-line>: In function ‘main’:
> <command-line>:1:21: error: expected expression before ‘}’ token

I cannot reproduce this with r198545, so it seems fixed in mainline. Could you
test with that?


More information about the Gcc-bugs mailing list