Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-344

[Sun C++] warnings on std::strstream::rdbuf hiding std::ios::rdbuf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.2, 4.1.3
    • 4.2.0
    • 27. Input/Output
    • None
    • Sun C++

    Description

      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.

      Attachments

        Activity

          People

            sebor Martin Sebor
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: