🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #36

Re: gcc 2.2.2 and cp-decl.c

#36
From: David Binderman 3841
Date: Wed, 04 Nov 1992 13:48
22 lines
1269 bytes
hight@sri.com (John Hight) writes:
: While compiling gcc 2.2.2 I get the following error on 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
: 
: Anybody have any ideas on whether or not I can ignore the warning?

Probably because n_incomplete field is an unsigned type. If so,
remove the assert. Its dead weight.

This brings up a bigger subject. Quality of GNU releases. I've been
experimenting recently with the -Wall flag on GNU compiler builds. Its
interesting to note that many warnings are produced.

What possible run time bugs are they flagging ?

Regards

David C Binderman     Dept US/ESI, Bau 60, SEL-Alcatel AG, Lorenz Strasse 10,
D-7000 Stuttgart 40, Germany      dcb@us-es.sel.de   Tel: +49 711 821 3841
Technical Details
Message-ID: <1992Nov4.134842.14655@us-es.sel.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!slsvaat!slsvitt!dcb
References: <1992Nov4.014816.13954@erg.sri.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!slsvaat!slsvitt!dcb
From: dcb@slsvitt (David Binderman 3841)
Subject: Re: gcc 2.2.2 and cp-decl.c
Message-ID: <1992Nov4.134842.14655@us-es.sel.de>
Sender: news@us-es.sel.de
Organization: SEL-Alcatel LTS Dept. US/ES
X-Newsreader: Tin 1.1 PL4
References: <1992Nov4.014816.13954@erg.sri.com>
Date: Wed, 4 Nov 92 13:48:42 GMT
Lines: 22