| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | Dong Soo Kim <dsk666 AT cse DOT unsw DOT edu DOT au> |
| To: | djgpp AT delorie DOT com |
| Date: | Sun, 31 Mar 2002 18:24:52 +1000 (EST) |
| X-X-Sender: | dsk666 AT hummel DOT orchestra DOT cse DOT unsw DOT EDU DOT AU |
| Subject: | Re: g++ Warnings |
| In-Reply-To: | <2561-Sat30Mar2002112257+0300-eliz@is.elta.co.il> |
| Message-ID: | <Pine.GSO.4.44.0203311822550.17216-100000@hummel.orchestra.cse.unsw.EDU.AU> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 30 Mar 2002, Eli Zaretskii wrote: > It would be a very Bad Idea (tm) for GCC to flag those cases, since > they are widely used to shut up compiler warnings about variables > which the compiler things are used before they are initialized. > (Compilers can err about this because they don't understand what > range of values can certain variables have, and thus don't know what > conditions could fire under what circumstances.) out of curiosity, could you give some examples of occasions you'd need to use that technique? Thanks DSK
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |