This is the mail archive of the gcc-bugs@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++/3473: comparison signed and unsigned integer expressions



>Number:         3473
>Category:       libstdc++
>Synopsis:       comparison signed and unsigned integer expressions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 02:46:10 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     me
>Release:        v3?
>Organization:
>Environment:
libstd v3, gcc 2.96
>Description:
In file included from sstream.cpp:1:
/usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
/usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions
>How-To-Repeat:
#include <sstream>
int main(){}

compile with -Wall
>Fix:

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