delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/28/03:26:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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: <F1BF31E0C22AD2118B3B00805FCA4F95153F46@MAIL1>
From: Olivier Jacquemin <Olivier DOT Jacquemin AT DialogSystems DOT be>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Backslash (stray) not treated correctly by gcc
Date: Fri, 28 Apr 2000 10:24:09 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Hello,

After successful installation of cygwin 1.1.0, I tried to compile a very
simple program beginning with

#include <stdio.h>

but gcc complains about the following structure from the sys/reent.h file
included by stdio.h:

#define _REENT_INIT(var) \
  { 0, &var.__sf[0], &var.__sf[1], &var.__sf[2], 0, "", 0, "C", \
    0, NULL, NULL, 0, NULL, NULL, 0, NULL, { {1, NULL, "", \
    { 0,0,0,0,0,0,0,0}, 0 } } }

The first error message is

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/include/sy
s/reent.h:212: parse error before `{'

which refers to the second line of the above structure.  Obviously the
backslash character is not treated correctly.  I get a similar error
somewhere in the stdio.h file itself, again backslash not recognized as it
should:

#define	__sputc(c, p) \
	(--(p)->_w < 0 ? \

-->
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/include/st
dio.h:269: parse error before `--'

Any fix for this ?

Thanks much,

	_Olivier_

--
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