From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23752 invoked from network); 19 Feb 1997 17:38:24 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 19 Feb 1997 17:38:24 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA07858; Wed, 19 Feb 1997 12:22:55 -0500 (EST) Resent-Date: Wed, 19 Feb 1997 12:22:55 -0500 (EST) From: Zefram Message-Id: <2576.199702191724@stone.dcs.warwick.ac.uk> Subject: Re: zsh-3.1.1 on NetBSD patch & problems To: gwing@primenet.com.au Date: Wed, 19 Feb 1997 17:24:20 +0000 (GMT) Cc: zsh-workers@math.gatech.edu (Z Shell workers mailing list) In-Reply-To: <19970219142316.23357.qmail@primenet.com.au> from "gwing@primenet.com.au" at Feb 20, 97 01:23:15 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]8908.62 X-US-Congress: Moronic fuckers X-Personality: INTJ Content-Type: text Resent-Message-ID: <"48mTy1.0.jw1.kRp2p"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2920 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu gwing@primenet.com.au wrote: >:>3) why is -pedantic set for --enable-debug ? >:So we don't accidentally introduce non-conformant code that gcc accepts. > >What sort of things? Non-conforming to what? Pedantic checks ANSI C. Yes. zsh doesn't require gcc to build; it can be compiled by any ANSI compiler. It's very easy to accidentally write illegal code that gcc won't even warn about normally. >Things like variable length arrays are (configure) supported. Yes, we use variable length arrays if they are available. That's a special case. >Quad types aren't supported in printf("%q... We use quad types where they are available and needed. >Anyway, my gcc man page says: >``without this option, certain GNU extensions and traditional C features >are supported as well. With this option, they are rejected. There is no >reason to use this option; it exists only to satisfy pedants.'' Do you really believe all that GNU propaganda? They seem to be encouraging the creation of an "all the world's a GNU" syndrome. The truth is that there is no reason to use -pedantic if one only wants to compile some code with gcc, and is not concerned about any other compilers. We *do* care about other compilers, so -pedantic is very useful. -zefram