Message-ID: <002701bf1897$5b1b3020$0a00a8c0@beserk> From: "Brad Douglas" To: "djgpp" Cc: "Astracon a/c" Subject: Problem with -pedantic & basic_string inlines Date: Sun, 17 Oct 1999 22:01:31 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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 ? Thanks in advance Brad.