🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #5939

Bad warning: decimal constant is so large that it is unsigned

#5939
From: Boris Nikolaus
Date: Sat, 01 Feb 1997 00:00
13 lines
881 bytes
When compiling

main()
{
	int x = -2147483648;
}

I get a warning "decimal constant is so large that it is unsigned"
(on a machine where -2147483648 == INT_MIN of limits.h). Is there
any reason for this obscure warning?

				Sat Feb  1 21:54:23 MET 1997, boris
Technical Details
Message-ID: <5d0amg$ebo$1@news.cs.tu-berlin.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,46b4c9caabd369fa,start
X-Google-Attributes: gid113d02,public
From: boris@cs.tu-berlin.de (Boris Nikolaus)
Subject: Bad warning: decimal constant is so large that it is unsigned
Date: 1997/02/01
Message-ID: <5d0amg$ebo$1@news.cs.tu-berlin.de>
X-Deja-AN: 213772381
sender: bug-gcc-request@prep.ai.mit.edu
content-type: text/plain; charset=iso-8859-1
organization: Technical University of Berlin, Germany
x-gateway: relay2.UU.NET from bug-gcc to gnu.gcc.bug; Sat, 1 Feb 1997 15:57:29 EST
mime-version: 1.0
newsgroups: gnu.gcc.bug