From: pavenis AT lanet DOT lv Message-ID: To: "Brad Douglas" , djgpp AT delorie DOT com Date: Mon, 18 Oct 1999 15:22:06 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Problem with -pedantic & basic_string inlines In-reply-to: <002701bf1897$5b1b3020$0a00a8c0@beserk> X-mailer: Pegasus Mail for Win32 (v3.12a) Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 17 Oct 99, at 22:01, Brad Douglas wrote: > I'm compiling with -Wall -W -pedantic to ensure my code's as solid & > portable as possible. Unfortunately I'm getting the following warnings: > > c:/djgpp/lang/cxx/std/bastring.h: In method `void > basic_string,__default_alloc_template > >::Rep::release()': > c:/djgpp/lang/cxx/std/bastring.h:76: warning: inline function `static void > basic_string,__default_alloc_template > >::Rep::operator delete(void *)' called before definition > c:/djgpp/lang/cxx/std/bastring.h:76: warning: inline function `static void > basic_string,__default_alloc_template > >::Rep::operator delete(void *)' called before definition > > I fond a reference to this problem @ > http://www.cygnus.com/ml/egcs-bugs/1998-Aug/0272.html where it is reported > that it has been fixed in ecgs. Can anyone comment on a fix for DJGPP ? > Which version of gcc do You have? If this is gcc-2.8.1 or earlier, then I suggest to upgrade to gcc-2.95.1