This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with gcc -E -include foo.h foo.c


  In message <Pine.SUN.3.96.980306190609.10629A-100000@equinox.berkeley.edu>you
 write:
  > 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");
  > else
  >     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.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]