This is the mail archive of the
mailing list for the GCC project.
Re: problem with gcc -E -include foo.h foo.c
- To: Richard Ketchersid <ketchers at math dot berkeley dot edu>
- Subject: Re: problem with gcc -E -include foo.h foo.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 07 Mar 1998 00:55:45 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SUN.3.96.980306190609.10629Afirstname.lastname@example.org>you
> Using the latest snapshot of egcs here is what happens:
> ~> gcc -E -include foo.h foo.c
> ~> cpp: -include: No such file or directory
> I changed cccp.c to say
> if (i + 1 == argc)
> fatal ("Filename missing after `-include' option");
> simplify_filename (pend_includes[temp - 1] = argv[temp]);
> /\ <-- The change.
> Now cpp -include foo.h foo.c does something, but still doesn't work.
Thanks for the bug report. I fixed these problems.