This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]