delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/18/10:30:38

From: pavenis AT lanet DOT lv
Message-ID: <B0000105500@stargate.astr.lu.lv>
To: "Brad Douglas" <B DOT Douglas AT uq DOT net DOT au>, djgpp AT delorie DOT com
Date: Mon, 18 Oct 1999 15:22:06 +0300
MIME-Version: 1.0
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019