incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
Subject [jira] Created: (STDCXX-42) [gcc 3.2] std::bitset::to_string() fails to build
Date Tue, 27 Sep 2005 18:28:47 GMT
[gcc 3.2] std::bitset::to_string() fails to build

         Key: STDCXX-42
     Project: STDCXX
        Type: Bug
  Components: Build  
    Versions: 4.1.2    
 Environment: gcc 3.2
    Reporter: Martin Sebor
 Assigned to: 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:
For more information on JIRA, see:

View raw message