🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3004

Re: Standard conformance and GCC 2.3.3

#3004
From: Fergus James HENDERSON
Date: Sat, 02 Jan 1993 16:55
29 lines
1987 bytes
rfg@netcom.com (Ronald F. Guilmette) writes:

>In article <1992Dec31.150047.22321@crd.ge.com> volpe@ausable.crd.ge.com writes:
>+I disagree violently with the assertion that any errors one might make
>+would necessarily result in non-standard-conformant code. Just because 
>+it's conformant doesn't mean it's intended. Anyone who says such a thing
>+obviously never writes original code for a living, or otherwise is a 
>+complete programming God who has never made a mistake and never found
>+lint to be the least bit useful. 
>
>There is a big difference between using an optional tool like lint, and/or
>having warnings which you can *ignore* at your option, and getting *hard*
>errors from your compiler for perfectly standard conformant code.

The -pedantic-errors option is (as the name implies) *optional*.

>Lint is good.  Warnings are good.  Hard errors for perfectly standard
>conformant code are BAD!  I do not wish to have my compiler give me s**t
>when I'm trying to port some perfectly standard conforming code.  Nor do
>I think that it should be forcing me to change such code, just to get
>it to compile and link.

It's not. All you have to change is the compiler options.

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!
Technical Details
Message-ID: <9300303.1542@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
References: <1992Dec30.173634.15487@crd.ge.com> <1992Dec30.203555.3615@netcom.com> <1992Dec31.150047.22321@crd.ge.com> <1993Jan1.115804.23071@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
Subject: Re: Standard conformance and GCC 2.3.3
Message-ID: <9300303.1542@mulga.cs.mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
References: <1992Dec30.173634.15487@crd.ge.com> <1992Dec30.203555.3615@netcom.com> <1992Dec31.150047.22321@crd.ge.com> <1993Jan1.115804.23071@netcom.com>
Date: Sat, 2 Jan 1993 16:55:21 GMT
Lines: 29