This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/57653] filename information discarded when using -imacros
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Jun 2013 22:30:44 +0000
- Subject: [Bug c/57653] filename information discarded when using -imacros
- Auto-submitted: auto-generated
- References: <bug-57653-4 at http dot gcc dot gnu dot org/bugzilla/>
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?