This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: a small patch to the gcc preprocessor
- To: 'Chris Moller' <moller@bops.com>, cygwin@sourceware.cygnus.com
- Subject: RE: a small patch to the gcc preprocessor
- From: Heribert Dahms <heribert_dahms@icon-gmbh.de>
- Date: Wed, 25 Aug 1999 01:25:47 +0200
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