This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/1967: bits/localefwd.h incorrectly uses int instead of size_t in for loop.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/1967: bits/localefwd.h incorrectly uses int instead of size_t in for loop.
- From: bumgard at roguewave dot com
- Date: 13 Feb 2001 20:30:06 -0000
- Reply-To: bumgard at roguewave dot com
>Number: 1967
>Category: libstdc++
>Synopsis: bits/localefwd.h incorrectly uses int instead of size_t in for loop.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 13 12:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Gregory Bumgardner
>Release: gcc_3_0_branch as of 20010212
>Organization:
>Environment:
N/A
>Description:
One of the for-loops in bits/localefwd.h uses an int counter
in a comparison with a size_t static class member thereby
producing warning.
>How-To-Repeat:
Use the locale template constructor that takes a facet
instance as its second argument.
>Fix:
change the int to size_t
(Patch forthcoming)
>Release-Note:
>Audit-Trail:
>Unformatted: