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 X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Tue, 30 Jan 2001 18:01:52 -0600 (CST) From: Mumit Khan To: Christopher Abbey cc: cygwin AT sources DOT redhat DOT com Subject: Re: -mno-cygwin and c++ stl... progress? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 30 Jan 2001, Christopher Abbey wrote: > /jikes/cvs/msvcbld/src $ make > /usr/local/mingw/bin/g++ -DHAVE_CONFIG_H -I. -I../../jikes/src -I. -g > -O2 -c -o ast.o ../../jikes/src/ast.cpp > In file included from ..\..\jikes\src\platform.h:205, > from ..\..\jikes\src\ast.h:14, > from ../../jikes/src/ast.cpp:11: > ..\..\jikes\src\tuple.h: In method `void Tuple::AllocateMoreSpace()': > ..\..\jikes\src\tuple.h:55: unknown escape sequence `\.' > ..\..\jikes\src\tuple.h:55: unknown escape sequence `\j' [...] I need to see the pre-processed file to know what is really happening, but since I don't have that, I'll guess. The problem I believe is the following: cpp produces #line directives with '\\' in the include file names for Mingw, and C++ parser is choking due to a bug. I believe I fixed most of these in gcc-2.95.2-1 for Mingw, but users have reported at least one case where it still *may* happen. To test it out this hypothesis, try the following: Repeat the compile command above with -save-temps option added, and that will create file called ast.ii. Edit ast.ii and replace all '\\' in filenames (in all the # and #line directives) with '/', and then run the compile command on the .ii instead of the .cpp file. If it works, you've found the bug. If not, send me the preprocessed file along with compiler version (gcc -v). Regards, Mumit -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple