public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/2997: size_t missing std:: in bitset.cc
@ 2001-05-29 22:36 theonetruekenny
  0 siblings, 0 replies; only message in thread
From: theonetruekenny @ 2001-05-29 22:36 UTC (permalink / raw)
  To: gcc-gnats

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-29 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-29 22:36 libstdc++/2997: size_t missing std:: in bitset.cc theonetruekenny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).