From: Zefram <zefram@dcs.warwick.ac.uk>
To: gwing@primenet.com.au
Cc: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Re: zsh-3.1.1 on NetBSD patch & problems
Date: Wed, 19 Feb 1997 17:24:20 +0000 (GMT) [thread overview]
Message-ID: <2576.199702191724@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <19970219142316.23357.qmail@primenet.com.au> from "gwing@primenet.com.au" at Feb 20, 97 01:23:15 am
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
prev parent reply other threads:[~1997-02-19 17:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-17 6:49 gwing
1997-02-17 18:08 ` Zefram
1997-02-17 19:37 ` Vinnie Shelton
1997-02-17 19:47 ` Hrvoje Niksic
1997-02-17 20:38 ` Zefram
1997-02-17 23:03 ` Richard Coleman
1997-02-17 23:48 ` Vinnie Shelton
1997-02-19 14:23 ` gwing
1997-02-19 15:22 ` Zoltan Hidvegi
1997-02-19 17:24 ` Zefram [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2576.199702191724@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=gwing@primenet.com.au \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).