delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/17/09:35:24

Message-ID: <002701bf1897$5b1b3020$0a00a8c0@beserk>
From: "Brad Douglas" <B DOT Douglas AT uq DOT net DOT au>
To: "djgpp" <djgpp AT delorie DOT com>
Cc: "Astracon a/c" <B DOT Douglas AT astracon DOT com DOT au>
Subject: Problem with -pedantic & basic_string inlines
Date: Sun, 17 Oct 1999 22:01:31 +1000
MIME-Version: 1.0
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<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 ?

Thanks in advance
Brad.


- Raw text -


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