Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Mon, 19 Jun 2000 07:14:51 -0500 Subject: Re: Bad CPP.EXE on GCC 2.95.2 ?? From: Daniel Bermudez To: Message-ID: In-Reply-To: <20000618210903.A10537@cygnus.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Hello! You're right! The file was littered with CRLFs coming from the backup! Thanks! Dan on 6/18/00 8:09 PM, Chris Faylor at cgf AT cygnus DOT com wrote: > On Sun, Jun 18, 2000 at 08:01:41PM -0500, Daniel G. Bermudez wrote: >> Just recently reinstalled Win98 on my system, which is sort of a ritual >> or sorts, and while running Cygwin's 'gcc' compiler after reinstalling >> (with gcc's version 2.95.2-1 ) I did find that 'cpp' return this ugly >> message on code that has compiled before without problems! > > You probably have CRLF line endings! > > Either eliminate them or mount the directory in question as "text-mode", > Also make sure that you are running the cygwin 1.1.2 DLL. > > For information on the mount command and text mode in general, check out > the documentation at the project web site: > > http://sourceware.cygnus.com/cygwin/ > > cgf > >> BASH.EXE-2.04$ gcc -o runthis adamklist.c >> adamklist.c:1: `#include' expects "FILENAME" or >> >> ...omitting the header on the file and the content below, these are the >> offending lines; >> >> /* >> */ >> >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> #include >> /*#include */ >> >> #define TRUE 1 >> >> I'd tried reinstalling gcc using the 'setup gcc' command, but exactly >> the same thing! What are your suggestions?? > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com