This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/2997: size_t missing std:: in bitset.cc
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/2997: size_t missing std:: in bitset.cc
- From: theonetruekenny at yahoo dot com
- Date: 30 May 2001 05:29:20 -0000
- Reply-To: theonetruekenny at yahoo dot com
>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: