stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (STDCXX-42) [gcc 3.2] std::bitset::to_string() fails to build
Date Tue, 27 Sep 2005 19:15:52 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-42?page=all ]
     
Martin Sebor resolved STDCXX-42:
--------------------------------

    Resolution: Fixed

The file compiles with the change. Closed.

> [gcc 3.2] std::bitset::to_string() fails to build
> -------------------------------------------------
>
>          Key: STDCXX-42
>          URL: http://issues.apache.org/jira/browse/STDCXX-42
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>     Versions: 4.1.2
>  Environment: gcc 3.2
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor
>     Priority: Critical
>      Fix For: 4.1.3

>
> The header <bitset> causes a compilation error with gcc 3.2 on Linux:
> gcc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG   -pthread -D_RWSTD_USE_CONFIG
-I/build/sebor/gcc-3.2-15s/include -I/build/sebor/dev/stdlib/include  -pedantic -nostdinc++
-g  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align   /build/sebor/dev/stdlib/src/ctype.cpp

> In file included from /build/sebor/dev/stdlib/src/bitset.cpp:36:
> /build/sebor/dev/stdlib/include/bitset:616: prototype for `
>    std::basic_string<_CharT, _Traits, _Allocator> 
>    std::bitset<_Size>::to_string(_CharT, _CharT) const' does not match any in 
>    class `std::bitset<_Size>'
> /build/sebor/dev/stdlib/include/bitset:457: candidate is: std::string 
>    std::bitset<_Size>::to_string(char = '0', char = '1') const
> /build/sebor/dev/stdlib/include/bitset:616: template definition of non-template 
>    `std::basic_string<_CharT, _Traits, _Allocator> 
>    std::bitset<_Size>::to_string(_CharT, _CharT) const'

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


Mime
View raw message