Mail Archives: djgpp/1999/10/18/10:30:38
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<char,string_char_traits<char>,__default_alloc_template<false,0>
> >::Rep::release()':
> c:/djgpp/lang/cxx/std/bastring.h:76: warning: inline function `static void
> basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
> >::Rep::operator delete(void *)' called before definition
> c:/djgpp/lang/cxx/std/bastring.h:76: warning: inline function `static void
> basic_string<char,string_char_traits<char>,__default_alloc_template<false,0>
> >::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
- Raw text -