This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

RE: a small patch to the gcc preprocessor


Hi Chris,

+ if ( traditional && keyword->type == T_CINCLUDE)
+     warning("#include directive not supported under ANSI.");
                ^c typo!

+ if (!traditional && keyword->type == T_CINCLUDE)
+     warning("Include file %s not found.  Skipped.\n",fbeg);

Bye, Heribert (heribert_dahms@icon-gmbh.de)

> -----Original Message-----
> From:	Chris Moller [SMTP:moller@bops.com]
> Sent:	Tuesday, August 24, 1999 22:09
> To:	cygwin@sourceware.cygnus.com
> Subject:	a small patch to the gcc preprocessor
> 
> I've attached a small patch to src/gcc/cccp.c that gives the
> preprocessor a new directive `#cinclude'.  #cinclude -- "conditional
> include" -- includes the specified file if it exists but doesn't cause
> an error if the file doesn't exist.  Syntax is the same as the
> #include
> directive.
> 
> I've also included a patch to the Changelog.
> 
> Patches are against egcs-2.91.57 from cygwin b20.1
> 
> Chris Moller
> Senior Programmer
> BOPS, Inc << File: cccp.txt >>  << File: Changelog-patch.txt >>  <<
> File: ATT157461.txt >> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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