Re: [glade--]Use of Deprecated Headerfiles

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Klaus wrote:
> Hi
> 
> While I compiled the glademm-2.0.0 sources on a RedHat 8.0 box, i got
> some deprecation warnings for the header-file <strstream>
> 
> This was the warning:
> 
> In file included from /usr/include/c++/3.2/backward/strstream:51,
>                  from SourceWriter/SystemFile.hh:24,
>                  from SourceWriter/MakeFile.hh:24,
>                  from Cxx.hh:23,
>                  from Cxx_Fileset.cc:21:
> /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning
> This file includes at least one deprecated or antiquated header. Please
> consider using
> one of the 32 headers found in section 17.4.1.2 of the C++ standard.
> Examples include substituting the <X> header for the <X.h> header for
> C++ includes, or <sstream> instead of the deprecated header
> <strstream.h>. To disable this warning use -Wno-deprecated.
> 
> I hope this can help.
No ;-)

Since I do want to rewrite this routine as well and any rewrite will 
kill g++ 2.95 support (there are still some systems around), this 
warning will last for some time. It's harmless and not easy to overcome 
(unless you require more recent libstdc++ s).

    Christof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.