From: Michael Schuster Newsgroups: comp.os.msdos.djgpp Subject: string class Date: Wed, 25 Nov 1998 15:04:05 GMT Organization: Regionales Rechenzentrum Erlangen, Germany Lines: 21 Message-ID: <19981125.15040516@eev6.eev> References: <000501be17e8$b00ac560$a3f5ffc2 AT default> NNTP-Posting-Host: eev6.e-technik.uni-erlangen.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Priority: 3 (Normal) X-Newsreader: Mozilla/3.0 (compatible; StarOffice/5.0; WinNT/Win95) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAB21324 Reply-To: djgpp AT delorie DOT com Hi! First i want to thank all who supported me this time with my problem compiling a little c++ prog using the String class under djgpp 2.8.1. The solving was done by Jorge Ivan Meza Martinez who finally found that you have to compile with gxx test.cc -O2 -lgpp because the String constructor is declared as inline which is not expanded before using optimization -O2 ( a bad thing I think) Perhaps Eli/Dj could you explain this in the faq? (hope it is not already there and i havevn't seen it ...) Thanks to Jorge! Michi