From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: string & mingw32 2.8.0 10 Feb 1998 15:25:03 -0800 Message-ID: <19980210145613.22074.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: weissr AT informatik DOT uni-tuebingen DOT de Cc: gnu-win32 AT cygnus DOT com This sample works with egcs. This sample gets a parse error before `>' from include/g++/std/bastring.h @ line 65 with mingw32 2.8.0 The bastring.h file changed between gcc versions. - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- >Reply-To: "Roland Weiss" >From: "Roland Weiss" >To: "gnu-win32 Mailing List" >Cc: "Jan-Jaap van der Heijden" >Subject: string & mingw32 2.8.0 >Date: Mon, 9 Feb 1998 15:32:24 +0100 > >Hello guys, > >I've encountered the following problem with the string library. This program >compiles with some warnings (they don't bother me): > >//--------------------------------------------------------------------- >#include >#include >using namespace std; > >void main() { > string s = "Hello World."; > cout << "s: " << s << endl; >} >//---------------------------------------------------------------------- > >But I can't link this file, when i write >> g++ stringtest.o >I get the errors in the attachement file. > >Other programs work just fine (using STL, streams...). > >my system: NT 4.0 Server, SP3, mingw32 2.8.0 from Jan-Jaap van der Heijden > > >any help would be really appreciated > > >Roland >weissr AT informatik DOT uni-tuebingen DOT de > > >- >For help on using this list (especially unsubscribing), send a message to >"gnu-win32-request AT cygnus DOT com" with one line of text: "help". > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".