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 2005/09/20 02:01:28 UTC

[jira] Created: (STDCXX-36) [HP aCC] : Warning 552: Ambiguous overloaded function declaration

[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