g++ warnings

Mike Atamas hazuzu at aelfgar.com
Mon Jun 23 20:46:07 PDT 2003


Whenver I include fstream in any program it spits out the following warnings:

In file included from load_port.hpp:6,
                 from fui.cpp:2:
/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

Any suggestions on how to get rid of this? Is anyone else having this problem?
-- 
Mike Atamas
hazuzu at aelfgar.com


More information about the freebsd-questions mailing list