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 X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Sat, 29 Jan 2000 13:36:56 -0600 (CST) From: Mumit Khan Reply-To: Mumit Khan To: Kris Thielemans cc: Gnuwin Subject: Re: problems with g++ 2.95.2 and w32api 0.1.5 In-Reply-To: <000e01bf698d$fbb4d260$1d4bb392@petnt1.rpms.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 28 Jan 2000, Kris Thielemans wrote: > The following 'do nothing' programme crashes when including > (using Norlander's w32api 0.1.5). > > #include > #include > > class A > { > vector v; > > A(vector& vv) : > v(vv) > {} > }; > > #include > > main() > { > string a = "aa"; > } > This is a bug the surfaced after some attribute handling changes in gcc 2.95 (wasn't there in egcs-1.1.x), and I just haven't been able to crack it. If you want to know what's going on, see: Linkname: (C++) parser bug in handling fn attributes URL: http://gcc.gnu.org/ml/gcc-bugs/1999-11/msg00084.html Contains a much simplified testcase that demonstrates the same bug you found. This one is damned frustrating. I have no fix for it currently, sorry. As a workaround, try moving the windows.h before string. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com