delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/24/19:32:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <99B82AA9708ED0119B55006097125A001E6029@ifk63.mach.uni-karlsruhe.de>
From: Heribert Dahms <heribert_dahms AT icon-gmbh DOT de>
To: "'Chris Moller'" <moller AT bops DOT com>, cygwin AT sourceware DOT cygnus DOT com
Subject: RE: a small patch to the gcc preprocessor
Date: Wed, 25 Aug 1999 01:25:47 +0200
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1457.3)

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 AT icon-gmbh DOT de)

> -----Original Message-----
> From:	Chris Moller [SMTP:moller AT bops DOT com]
> Sent:	Tuesday, August 24, 1999 22:09
> To:	cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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