Article View: comp.unix.programmer
Article #3529Re: Should C/C++ compilers be smart enough to catch this???
From: Måns Rullgård
Date: Thu, 03 Apr 2003 23:36
Date: Thu, 03 Apr 2003 23:36
14 lines
1594 bytes
1594 bytes
Fred Ma <fma@doe.carleton.ca> writes: > Thanks for the tip about -Wall. I never realized I had so much > problem with my code until I turned it on. I thought I was being > high and mighty righteous-like with -pedantic, but it looks like > there is a higher righteousness. Lots of good reading, too, of > the man page. IIRC, -pedantic only makes gcc more fussy about standard compliance. It still allows badly written code (apparently). -- M�ns Rullg�rd mru@users.sf.net
Technical Details
Message-ID:
<yw1x1y0jf91h.fsf@zaphod.guide>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!uio.no!news.kth.se!not-for-mailReferences:
<3E8C8C4F.ABC60B0F@doe.carleton.ca> <yw1x65pvfflm.fsf@zaphod.guide> <3E8CB293.44FCA73@doe.carleton.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 11318c,2ca0bb2ef0ae6ada X-Google-Attributes: gid11318c,public X-Google-Thread: fc89c,2ca0bb2ef0ae6ada X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2003-04-03 15:48:00 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!uio.no!news.kth.se!not-for-mail From: mru@users.sourceforge.net (Måns Rullgård) Newsgroups: comp.unix.programmer,gnu.gcc.help Subject: Re: Should C/C++ compilers be smart enough to catch this??? Date: 04 Apr 2003 01:36:26 +0200 Lines: 14 Sender: mru@zaphod.guide Message-ID: <yw1x1y0jf91h.fsf@zaphod.guide> References: <3E8C8C4F.ABC60B0F@doe.carleton.ca> <yw1x65pvfflm.fsf@zaphod.guide> <3E8CB293.44FCA73@doe.carleton.ca> NNTP-Posting-Host: manganonaujakasit.e.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Portable Code)