libstdc++/2997: size_t missing std:: in bitset.cc

theonetruekenny@yahoo.com theonetruekenny@yahoo.com
Tue May 29 22:36:00 GMT 2001


>Number:         2997
>Category:       libstdc++
>Synopsis:       size_t missing std:: in bitset.cc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 29 22:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     theonetruekenny@yahoo.com
>Release:        cvs 05292001
>Organization:
>Environment:
source code
>Description:
bitset.cc uses size_t unqualified.
Unlike all other implementation files under libstdc++-v3/src, this file
does not live in namespace std, but instead defines each symbol
by qualifying with std::.
However, of the 7 uses of size_t, none are qualified.
>How-To-Repeat:
look at libstdc++-v3/src/bitset.cc
>Fix:
s/size_t/std::size_t/g

or

add namespace std { } around all definitions to match the style
of all other implementation files.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list