Date: Wed, 6 Dec 2000 09:48:30 +0200 (WET) From: Andris Pavenis To: djgpp AT delorie DOT com Subject: Re: STL broken? In-Reply-To: <3A2DABB1.1CF4E2D1@usq.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 6 Dec 2000, Ron House wrote: > pavenis AT lanet DOT lv wrote: > > > > Search for Your own problems. > > Thanks for your encouragement of discussion on the newsgroup. > > > Examples in pages 836 and 837 of > > Stroustrup's book compiles and works Ok for me with gcc-2.95.2 > > (DJGPP port of course gcc-2.95.2). > > > > Only warnings I can get (with -W -Wall) is about comparisson between > > signed and unsigned int variables. No errors at all > > Do you have STL VERSION 3.3? NB: Version 3.2 works fine with gcc-2.95.2. > I have the same version which comes with gcc-2.95.2 (for DJGPP in gpp2952b.zip). I haven't tried to upgrade to newer version of STL (maybe it's uses some C++ features not supported nicely in gcc-2.95.2) Example also compiles and runs under Linux with gcc-2.97 20001129 (development version) which I configured with --enable-libstdcxx-v3 (which now is the default). Andris