🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #34

gcc 2.2.2 and cp-decl.c

#34
From: John Hight
Date: Wed, 04 Nov 1992 01:48
18 lines
1083 bytes
While compiling gcc 2.2.2 I get the following error on cp-decl.c:

>stage2/gcc -Bstage2/ -c -g -O -I. -I. -I./config cp-decl.c

cp-decl.c: In function `hack_incomplete_structures':
cp-decl.c:10584: warning: comparison is always 1 due to limited range
of data type

The line in question follows:

10583:     --current_binding_level->n_incomplete;
10584:     assert (current_binding_level->n_incomplete >= 0);
10585: }

Anybody have any ideas on whether or not I can ignore the warning?

-- 
John Hight, SRI International	hight@sri.com	415-859-4279
Technical Details
Message-ID: <1992Nov4.014816.13954@erg.sri.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!gatech!swrinde!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!gatech!swrinde!sdd.hp.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!news.nd.edu!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight
From: hight@sri.com (John Hight)
Subject: gcc 2.2.2 and cp-decl.c
Message-ID: <1992Nov4.014816.13954@erg.sri.com>
Originator: hight@gorilla.erg.sri.com
Sender: news@erg.sri.com
Organization: SRI International, Menlo Park, CA
Date: Wed, 4 Nov 92 01:48:16 GMT
Lines: 18