From owner-freebsd-current Mon Feb 24 18:16:25 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA50E37B401 for ; Mon, 24 Feb 2003 18:16:23 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id A787C43FAF for ; Mon, 24 Feb 2003 18:16:22 -0800 (PST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.7/8.12.7) with ESMTP id h1P2HOUE003757 for ; Mon, 24 Feb 2003 21:17:24 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.7/8.12.7/Submit) id h1P2HI7W003753 for freebsd-current@freebsd.org; Mon, 24 Feb 2003 21:17:18 -0500 (EST) Date: Mon, 24 Feb 2003 21:17:13 -0500 From: Craig Rodrigues To: freebsd-current@freebsd.org Subject: Implicit typename warnings in Message-ID: <20030225021713.GA3495@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I did a cvsup yesterday and rebuilt the world. The compiler I am using now is: gcc version 3.2.2 [FreeBSD] 20030205 (release) My compiler has a few minor patches, to enable wchar_t support in libstdc++: http://news.gw.com/freebsd.current/32128 If I try to compile any file which includes , I get the following warnings: /usr/include/g++/fstream:304: warning: `typename std::basic_filebuf<_CharT, _Traits>::int_type' is implicitly a typename /usr/include/g++/fstream:304: warning: implicit typename is deprecated, please see the documentation for details /usr/include/g++/fstream:309: warning: `typename std::basic_filebuf<_CharT, _Traits>::int_type' is implicitly a typename /usr/include/g++/fstream:309: warning: implicit typename is deprecated, please see the documentation for details The lines in question are: 300 // Generic definitions. 301 template 302 basic_filebuf<_CharT, _Traits>::int_type 303 basic_filebuf<_CharT, _Traits>::underflow() 304 { return _M_underflow_common(false); } 305 306 template 307 basic_filebuf<_CharT, _Traits>::int_type 308 basic_filebuf<_CharT, _Traits>::uflow() 309 { return _M_underflow_common(true); } Does anyone have any ideas? Thanks. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message