This is the mail archive of the gcc-patches@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: cpplib and -xc-header



  In message <199807062032.QAA13128@subrogation.cygnus.com>you write:
  > This happens to show up when gcc is invoked by the cygwin32 windres
  > program.  windres uses -xc-header because it needs to run the
  > preprocessor on files which do not have a -h extension.
  > 
  > I've appended the obvious patch.  This may be incorrect for some
  > reason, in which case the alternative is to fix the c-header entry in
  > gcc.c to pass -lang-c when invoking cpp.
  > 
  > Ian
  > 
  > 
  > Mon Jul  6 16:27:49 1998  Ian Lance Taylor  <ian@cygnus.com>
  > 
  > 	* cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1,
  > 	matching July 18, 1995 change to cccp.c.
I added one change from July 18, 1995 that you missed (-traditional
should disable cplusplus_comments) and installed this patch.

Thanks!
jeff


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