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

Martin Sebor updated STDCXX-36:
-------------------------------

              Severity: Compiler Warning
     Affects Version/s: 4.1.3
                        4.1.4
                        4.2.0
                        4.2.1
         Fix Version/s: 4.2.2
              Assignee: Martin Sebor
    Remaining Estimate: 2h
     Original Estimate: 2h
               Summary: [HP aCC 3.63] <bitset>: Warning 552: Ambiguous 
overloaded function declaration  (was: [HP aCC] <bitset>: Warning 552: 
Ambiguous overloaded function declaration)

This seems to be a problem only with aCC 3.63 but not with 3.73. Let me see if 
I can work around it (or silence it using a #pragma diag_suppress if aCC 3 has 
it) for 4.2.2.

> [HP aCC 3.63] <bitset>: Warning 552: Ambiguous overloaded function declaration
> ------------------------------------------------------------------------------
>
>                 Key: STDCXX-36
>                 URL: https://issues.apache.org/jira/browse/STDCXX-36
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 23. Containers
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0, 4.2.1
>         Environment: HP aCC 3, 5
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2.2
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to