You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/01/22 21:55:30 UTC

[jira] Resolved: (STDCXX-327) [NO_EXTENSIONS] stringbuf::str(const char*) inaccessible

     [ https://issues.apache.org/jira/browse/STDCXX-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor resolved STDCXX-327.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2

Fixed. Test suite still needs a test.

> [NO_EXTENSIONS] stringbuf::str(const char*) inaccessible
> --------------------------------------------------------
>
>                 Key: STDCXX-327
>                 URL: https://issues.apache.org/jira/browse/STDCXX-327
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 27. Input/Output
>    Affects Versions: 4.1.3
>         Environment: All with _RWSTD_NO_EXTENSIONS #defined.
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>             Fix For: 4.2
>
>
> $ cat t.cpp && make t CPPOPTS=-D_RWSTD_NO_EXTENSIONS
> #include <sstream>
> int main ()
> {
>     std::stringbuf sb;
>     sb.str ("");
> }
> eccp -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/build/sebor/dev/stdlib/include -I/build/sebor/eccp-3.8-11s/include -I/build/sebor/dev/stdlib/include/ansi -I/build/sebor/PlumHall/lvs06a/conform -I/build/sebor/PlumHall/lvs06a/dst.3 -D_RWSTD_NO_EXTENSIONS -A -x --template_directory=/build/sebor/eccp-3.8-11s/lib -g  --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 --diag_suppress 177,381,191,68,550,611,997,549   t.cpp
> "t.cpp", line 7: error #265-D: function "std::basic_stringbuf<_CharT, _Traits,
>           _Allocator>::str(const _CharT *, unsigned int) [with _CharT=char,
>           _Traits=std::char_traits<char>, _Allocator=std::allocator<char>]"
>           (declared at line 139 of "/build/sebor/dev/stdlib/include/sstream")
>           is inaccessible
>       sb.str ("");
>          ^
> 1 error detected in the compilation of "t.cpp".
> make: *** [t.o] Error 2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira