Date: Mon, 24 Feb 2003 21:17:13 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: freebsd-current@freebsd.org Subject: Implicit typename warnings in <fstream> Message-ID: <20030225021713.GA3495@attbi.com>
next in thread | raw e-mail | index | archive | help
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 <fstream>, 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 <typename _CharT, typename _Traits> 302 basic_filebuf<_CharT, _Traits>::int_type 303 basic_filebuf<_CharT, _Traits>::underflow() 304 { return _M_underflow_common(false); } 305 306 template <typename _CharT, typename _Traits> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225021713.GA3495>