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 sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Paul Garceau" Organization: New Dawn Productions To: cygwin AT sourceware DOT cygnus DOT com Date: Mon, 31 Jul 2000 17:51:20 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Cygwin 1.1.3-1 (g++) parser not sure how to deal with continuation '\' Reply-to: Paul Garceau Message-ID: <3985BC98.16071.449370@localhost> In-reply-to: <39806E4D.19012.12066BB@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Hi folks, Ok...looked through the archives and couldn't find any reference to this error. info: This is NT4 box. Used latest setup.exe to install/update to 1.1.3-1 From cygcheck -s: MAKE_MODE="unix" d:\cygwin\bin /usr/bin user binmode d:\cygwin\lib /usr/lib user binmode d:\cygwin / user binmode Apparent error: header file is being parsed incorrectly by g++. Error Reproducible? Yes, this is reproducible. When g++ detects '\' in a header file, it is unable to parse it except as "stray '\' in program". When '\' removed from header, the problem disappears. Example: a) #define D3DRGB(r, g, b) \ (0xff000000L | ( ((long)((r) * 255)) << 16) | (((long)((g) * 255)) << 8) | (long)((b) * 255)) fails ("stray '\' in program"). b) #define D3DRGB(r, g, b) (0xff000000L | ( ((long)((r) * 255)) << 16) | (((long)((g) * 255)) << 8) | (long)((b) * 255)) works. Peace, Paul G. Nothing real can be threatened. Nothing unreal exists. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com