Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.1.2, 4.1.3, 4.1.4, 4.2.0, 4.2.1
-
None
-
HP aCC 3, 5
-
Compiler Warning
Description
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 {
^^^^^^^^^