delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/07/06/21:25:10

From: law AT cygnus DOT com (Jeffrey A Law)
Subject: Re: cpplib and -xc-header
6 Jul 1998 21:25:10 -0700 :
Message-ID: <5905.899784650.cygnus.cygwin32.developers@hurl.cygnus.com>
References: <199807062032 DOT QAA13128 AT subrogation DOT cygnus DOT com>
Reply-To: law AT cygnus DOT com
To: Ian Lance Taylor <ian AT cygnus DOT com>
Cc: brolley AT cygnus DOT com, egcs-patches AT cygnus DOT com,
cygwin32-developers AT cygnus DOT com

  In message <199807062032 DOT QAA13128 AT subrogation DOT cygnus DOT 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 AT cygnus DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019