From owner-freebsd-ports Fri Jan 25 11: 3: 9 2002 Delivered-To: freebsd-ports@freebsd.org Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by hub.freebsd.org (Postfix) with ESMTP id B277537B402; Fri, 25 Jan 2002 11:03:03 -0800 (PST) Received: from pd952e125.dip.t-dialin.net ([217.82.225.37] helo=web.de) by smtp.web.de with asmtp (Exim 4.11 #37) id 16UBcm-0003aU-00; Fri, 25 Jan 2002 20:02:56 +0100 Message-ID: <3C51AB53.9060205@web.de> Date: Fri, 25 Jan 2002 20:00:35 +0100 From: Jens Rehsack Reply-To: rehsack@liwing.de Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: de-DE MIME-Version: 1.0 To: obrien@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: gcc30-3.0.2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi! I compiled a new library using previously installed port gcc30-3.0.2 having most warning turned on: CXXWARN += -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \ -Wchar-subscripts -Winline -Wmissing-prototypes \ -Wnested-externs -Wpointer-arith -Wredundant-decls \ -Wshadow -Wstrict-prototypes -Wwrite-strings -Werror in /usr/local/lib/gcc-lib/i386-portbld-freebsd4.5/3.0.2/include/g++/bits/ostream.tcc:490 declaration of __fmt shadows previous local. On my system I changed __fmt -> __lfmt like it follows. *** ostream.tcc.orig Fri Jan 25 19:59:23 2002 --- ostream.tcc Fri Jan 25 19:58:54 2002 *************** *** 487,497 **** // Pad after 0[xX], if there is one. // Who came up with these rules, anyway? Jeeze. typedef _Format_cache<_CharT> __cache_type; ! __cache_type const* __fmt = __cache_type::_S_get(__ios); const char_type* __minus = traits_type::find(__olds, __oldlen, ! __fmt->_S_minus); const char_type* __plus = traits_type::find(__olds, __oldlen, ! __fmt->_S_plus); bool __testsign = __minus || __plus; bool __testhex = __olds[0] == '0' && (__olds[1] == 'x' || __olds[1] == 'X'); --- 487,497 ---- // Pad after 0[xX], if there is one. // Who came up with these rules, anyway? Jeeze. typedef _Format_cache<_CharT> __cache_type; ! __cache_type const* __lfmt = __cache_type::_S_get(__ios); const char_type* __minus = traits_type::find(__olds, __oldlen, ! __lfmt->_S_minus); const char_type* __plus = traits_type::find(__olds, __oldlen, ! __lfmt->_S_plus); bool __testsign = __minus || __plus; bool __testhex = __olds[0] == '0' && (__olds[1] == 'x' || __olds[1] == 'X'); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message