problem with gcc -E -include foo.h foo.c
Richard Ketchersid
ketchers@math.berkeley.edu
Fri Mar 6 19:11:00 GMT 1998
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.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Richard Ketchersid %
% UC Berkeley, Mathematics Dept. %
% Group for Logic, and Methodology of Science %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
More information about the Gcc-bugs
mailing list