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] Created: (STDCXX-36) [HP aCC] <bitset>: Warning 552: Ambiguous overloaded function declaration
Date Tue, 20 Sep 2005 00:01:28 GMT
[HP aCC] <bitset>: Warning 552: Ambiguous overloaded function declaration
-------------------------------------------------------------------------

         Key: STDCXX-36
         URL: http://issues.apache.org/jira/browse/STDCXX-36
     Project: STDCXX
        Type: Bug
  Components: 23. Containers  
    Versions: 4.1.2    
 Environment: HP aCC 3, 5
    Reporter: Martin Sebor
    Priority: Minor


When compiled with HP aCC 3 or 5 (but not 6), the header <bitset> emits the following
warnings:

aCC -c -I/build/sebor/dev/stdlib/include/ansi -I/usr/include  -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG
-I/build/sebor/aCC-3.52-15S/include -I/build/sebor/dev/stdlib/include  -Aa +nostl  -g +d 
+DD64 +w +W392 +W655 +W684 +W818 +W819 +W849   /build/sebor/dev/stdlib/src/bitset.cpp 
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 435 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function "std::basic_string
    std::bitset::to_string(#1,#1) const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 424].
        to_string (_CharT __b0 = '0', _CharT __b1 = '1') const {
        ^^^^^^^^^                                               
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 441 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function
    "std::basic_string<#1,#2,std::allocator> std::bitset::to_string(#1,#1)
    const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 435].
        to_string (_CharT __b0 = '0', _CharT __b1 = '1') const {
        ^^^^^^^^^                                               
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 441 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function "std::basic_string
    std::bitset::to_string(#1,#1) const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 424].
        to_string (_CharT __b0 = '0', _CharT __b1 = '1') const {
        ^^^^^^^^^                                               
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 447 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function
    "std::basic_string<#1,std::char_traits,std::allocator>
    std::bitset::to_string(#1,#1) const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 441].
        to_string (char __b0 = '0', char __b1 = '1') const {
        ^^^^^^^^^                                           
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 447 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function
    "std::basic_string<#1,#2,std::allocator> std::bitset::to_string(#1,#1)
    const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 435].
        to_string (char __b0 = '0', char __b1 = '1') const {
        ^^^^^^^^^                                           
Warning 552: "/build/sebor/dev/stdlib/include/bitset", line 447 # Ambiguous
    overloaded function declaration; default arguments make this function
    indistinguishable from previous one. Clashing function "std::basic_string
    std::bitset::to_string(#1,#1) const" was previously declared at
    ["/build/sebor/dev/stdlib/include/bitset", line 424].
        to_string (char __b0 = '0', char __b1 = '1') 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