From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16714 invoked by alias); 13 Oct 2002 14:24:25 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 16707 invoked from network); 13 Oct 2002 14:24:25 -0000 Received: from unknown (HELO rwcrmhc52.attbi.com) (216.148.227.88) by sources.redhat.com with SMTP; 13 Oct 2002 14:24:25 -0000 Received: from stevedon ([66.31.245.176]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021013142424.NRLO11063.rwcrmhc52.attbi.com@stevedon> for ; Sun, 13 Oct 2002 14:24:24 +0000 From: "Steve Dondley" To: Subject: Bug with unsigned int data type? Date: Sun, 13 Oct 2002 07:24:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-SW-Source: 2002-10/txt/msg00145.txt.bz2 Hi, The following two lines... unsigned int n; n = 2147483648; ...generate a "decimal constant is so large thst it is unsigned" warning. Shouldn't the declaration of the integer as unsigned avoid this warning? I'm using gcc version 2.95.4 on an Intel 32 bit machine. Thanks.