This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib and -xc-header
- To: Ian Lance Taylor <ian at cygnus dot com>
- Subject: Re: cpplib and -xc-header
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 06 Jul 1998 22:10:50 -0600
- cc: brolley at cygnus dot com, egcs-patches at cygnus dot com, cygwin32-developers at cygnus dot com
- Reply-To: law at cygnus dot com
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