From: Nick Ing-Simmons <nik@tiuk.ti.com>
To: phdm@macqel.be
Cc: egcs@cygnus.com, gavin@cygnus.com,
eggert@twinsun.com (Paul Eggert),
gcc2@cygnus.com
Subject: Re: #elsif
Date: Thu, 09 Apr 1998 03:09:00 -0000 [thread overview]
Message-ID: <199804090801.JAA27494@tiuk.ti.com> (raw)
In-Reply-To: <199804082226.AAA08500@mail.macqel.be>
Philippe De Muyter <phdm@macqel.be> writes:
>> I assume that you do not want to make a special case for `elsif' only.
>> (That would be odd; it wouldn't catch other misspellings like `elseif'.)
>> But if we report _all_ misspelled directives, then we run afoul of the
>> examples that caused RMS to change cccp.c to behave the way it does
>> today.
>>
>> I wouldn't mind adding the checking to -W (or perhaps to -Wundef); but
>> I don't think it should be on by default.
>>
>Could you rather warn for every unrecognized directive, even without -W or
>-Wall, but have a list of directives accepted by other compilers for which
>you would not complain ?
What if #elsif is supported by another compiler?
--
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
next prev parent reply other threads:[~1998-04-09 3:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-07 6:54 #elsif Philippe De Muyter
1998-04-07 19:34 ` #elsif Paul Eggert
1998-04-08 9:27 ` #elsif Joern Rennecke
1998-04-08 15:08 ` #elsif Gavin Romig-Koch
1998-04-08 23:35 ` #elsif Paul Eggert
1998-04-08 21:20 ` #elsif Philippe De Muyter
1998-04-08 21:13 ` #elsif Paul Eggert
1998-04-09 8:27 ` #elsif Joe Buck
1998-04-09 3:09 ` Nick Ing-Simmons [this message]
1998-04-08 21:45 ` #elsif Gavin Romig-Koch
1998-04-09 17:44 ` #elsif Joern Rennecke
[not found] ` <199804080118.SAA26855.cygnus.egcs@shade.twinsun.com>
1998-04-08 15:08 ` #elsif Ulrich Drepper
1998-04-08 2:13 #elsif SXTHREE
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=199804090801.JAA27494@tiuk.ti.com \
--to=nik@tiuk.ti.com \
--cc=egcs@cygnus.com \
--cc=eggert@twinsun.com \
--cc=gavin@cygnus.com \
--cc=gcc2@cygnus.com \
--cc=phdm@macqel.be \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).