g++ warnings

From: Mike Atamas (aelfgar_at_aelfgar.com)
Date: 06/24/03

  • Next message: parv: "Re: OT: Network admin/Sysadmin help needed"
    Date: Mon, 23 Jun 2003 23:46:25 -0400
    To: freebsd-questions@freebsd.org
    
    

    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
    aelfgar@aelfgar.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: parv: "Re: OT: Network admin/Sysadmin help needed"

    Relevant Pages

    • g++ warnings
      ... Whenver I include fstream in any program it spits out the following warnings: ... see the documentation for details ...
      (freebsd-questions)
    • Re: Repetitive XML comments -- whats the point?
      ... that documentation is present simply to suppress a compiler warning ... ensure your documentation is good at all, but it is one of the multiple ... How does having no warnings, which are intended to tell you when you are missing documentation, help to acheive the goal of ensuring ... poor documentation was acceptible simply to suppress compiler warnings. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Repetitive XML comments -- whats the point?
      ... your documentation is good? ... Had I had 5000 doc warnings on my code of "things that do not need to ... Of course, adding stubs to ... But I was speaking about "redundant comments", ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: K&R 1-24
      ... indent program. ... It takes a while before I get the warnings right. ... This is a basic block in any corresponding documentation ... Yes they pay money to people to use ...
      (comp.lang.c)
    • Re: Repetitive XML comments -- whats the point?
      ... relate to compiler warnings on missing comments. ... constructor example. ... it initializes a string class. ... no documentation, you can not actually use the warnings to find out ...
      (microsoft.public.dotnet.languages.csharp)