public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <Joe.Buck@synopsys.COM>
To: Ross Smith <r-smith@ihug.co.nz>
Cc: GCC mailing list <gcc@gcc.gnu.org>
Subject: Re: order of -D and -U is significant
Date: Tue, 04 Aug 2009 22:56:00 -0000	[thread overview]
Message-ID: <20090804224404.GC19998@synopsys.com> (raw)
In-Reply-To: <90EDB998-87F5-41C4-846E-E5999AB8AB53@ihug.co.nz>

On Tue, Aug 04, 2009 at 11:42:51AM -0700, Ross Smith wrote:
> 
> On 2009-08-05, at 04:03, Joe Buck wrote:
> >
> > Another alternative would be an extra flag that would turn on
> > conformance
> > to the spec.
> 
> Traditionally spelled -posixly-correct in other GNU software. This would
> presumably also affect other options, such as making the default -
> std=c99
> instead of gnu89.

But AFAIK neither Posix nor the C89 standard nor the C99 standard
say anything about -D and -U flags.  It's the Single UNIX specification
that is the issue, and it refers to a command that is spelled "c89",
or (in later versions) "c99", not "gcc".







  reply	other threads:[~2009-08-04 22:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 13:52 Unruh, Erwin
2009-08-04  8:48 ` Paolo Bonzini
2009-08-04 13:59   ` Vincent Lefevre
2009-08-04 13:51 ` Vincent Lefevre
2009-08-04 15:20 ` Tom Tromey
2009-08-04 16:12   ` Joe Buck
2009-08-04 20:13     ` Ross Smith
2009-08-04 22:56       ` Joe Buck [this message]
2009-08-05  3:11         ` Vincent Lefevre
2009-08-05  9:17           ` Dave Korn
2009-08-05  9:35             ` Vincent Lefevre
2009-08-05  9:45               ` Dave Korn
2009-08-05 13:21             ` Joseph S. Myers
2009-08-05 15:59           ` Joe Buck

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=20090804224404.GC19998@synopsys.com \
    --to=joe.buck@synopsys.com \
    --cc=gcc@gcc.gnu.org \
    --cc=r-smith@ihug.co.nz \
    /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).