public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20658] New: warning on minimum integer values
@ 2005-03-27 19:43 sstrasser at systemhaus-gruppe dot de
2005-03-27 21:46 ` [Bug c++/20658] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: sstrasser at systemhaus-gruppe dot de @ 2005-03-27 19:43 UTC (permalink / raw)
To: gcc-bugs
long long a=-9223372036854775808ll;
int b=-2147483648;
test2.cpp:1:14: warning: integer constant is so large that it is unsigned
it is not.
test2.cpp:1: warning: this decimal constant is unsigned only in ISO C90
test2.cpp:2: warning: this decimal constant is unsigned only in ISO C90
huh? unsigned?
example with sizeof(int) == 4 && sizeof(long long) == 8
--
Summary: warning on minimum integer values
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sstrasser at systemhaus-gruppe dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20658
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/20658] warning on minimum integer values
2005-03-27 19:43 [Bug c++/20658] New: warning on minimum integer values sstrasser at systemhaus-gruppe dot de
@ 2005-03-27 21:46 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-27 21:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-27 21:46 -------
No, the warning is correct - is an operator and not part of the number,
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20658
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-27 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-27 19:43 [Bug c++/20658] New: warning on minimum integer values sstrasser at systemhaus-gruppe dot de
2005-03-27 21:46 ` [Bug c++/20658] " pinskia at gcc dot gnu dot org
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).