[
https://issues.apache.org/jira/browse/STDCXX-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501030
]
Martin Sebor commented on STDCXX-344:
-------------------------------------
Starting with 5.6, Sun C++ also provides the -errtag option to selectively
disable individual warnings. See for example this thread for a discussion of
the option: http://forum.java.sun.com/thread.jspa?threadID=5163903
> [Sun C++] warnings on std::strstream::rdbuf hiding std::ios::rdbuf
> ------------------------------------------------------------------
>
> Key: STDCXX-344
> URL: https://issues.apache.org/jira/browse/STDCXX-344
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 27. Input/Output
> Affects Versions: 4.1.3, 4.1.2
> Environment: Sun C++
> Reporter: Martin Sebor
> Priority: Minor
>
> Compiling the header strstream causes Sun C++ to emit warnings like those
> below:
> CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG
> -I/amd/devco/sebor/dev/stdlib/include -I/build/sebor/sunpro-5.8.j8/include
> -library=%none -g +w /amd/devco/sebor/dev/stdlib/src/strstream.cpp
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 188: Warning:
> std::istrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 226: Warning:
> std::ostrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> "/amd/devco/sebor/dev/stdlib/include/strstream", line 266: Warning:
> std::strstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *).
> 3 Warning(s) detected.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.