From: Gabriel Dos Reis <gdr@cs.tamu.edu>
To: Matt Austern <austern@apple.com>
Cc: Mark Mitchell <mark@codesourcery.com>,
gcc@gcc.gnu.org, Dale Johannesen <dalej@apple.com>,
Nathan Sidwell <nathan@codesourcery.com>,
Jason Merrill <jason@redhat.com>
Subject: Re: DR handling for C++
Date: Mon, 20 Sep 2004 21:36:00 -0000 [thread overview]
Message-ID: <m37jqowswt.fsf@merlin.cs.tamu.edu> (raw)
In-Reply-To: <4FFC8911-0B47-11D9-ADB7-000A95AA5E5E@apple.com>
Matt Austern <austern@apple.com> writes:
| On Sep 20, 2004, at 1:44 PM, Mark Mitchell wrote:
|
| > Dale Johannesen wrote:
| >
| >> On Sep 20, 2004, at 1:04 PM, Mark Mitchell wrote:
| >>
| >>> I think -fpermissive should just be removed.
| >>
| >> The eon SPECmark will no longer build if we do that.
| >
| > I suppose that's an issue, from a marketing perspective. With my
| > customer-service hat on, I care a fair amount, as I have customers
| > who definitely want SPEC numbers. With my GNU maintainer hat on, I
| > don't care as much.
| >
| > It may also be that eon requires a relatively small subset of
| > functionality presently allowed with -fpermissive. It may also be
| > that if we do as I suggested (turn some pedwarns into errors, others
| > into warnings, leave others as pedwarns) that we would be OK because
| > the issues in question would become warnings, not errors.
| >
| > My problem with -fpermissive is only tangentially that it allows us
| > to compile bogus code; to me, the bigger problem is that it's yet
| > another knob, and one that is C++ specific. I see no reason why the
| > basic warnings/errors/pedwarns structure from C should not also be
| > used in C++.
|
| Isn't the fundamental problem that we're using pedwarns differently in
| the C and C++ front ends? In the C front end you don't even see
| pedwarns unless you use a special compiler flag, and making them into
| errors requires an even more special compiler flag. It's very odd
| that it means something so different in the C++ front end.
I guess, the issue is to give a meaning to pedwarn() in C++ that would
require a special flag to behave as in C, without totally screwing up
the whole program. I have been under the impression that most of the
cases where we use pedwarn() in C++ are those where we substantially
deviate from the standard. I don't know whether the same is true for C.
-- Gaby
next prev parent reply other threads:[~2004-09-20 21:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 20:44 Mark Mitchell
2004-09-20 20:47 ` Dale Johannesen
2004-09-20 20:55 ` Andrew Pinski
2004-09-20 21:26 ` Dale Johannesen
2004-09-20 21:00 ` Mark Mitchell
2004-09-20 21:04 ` Matt Austern
2004-09-20 21:08 ` Mark Mitchell
2004-09-20 21:36 ` Gabriel Dos Reis [this message]
2004-09-20 23:42 ` Joseph S. Myers
2004-09-21 8:28 ` Paolo Bonzini
2004-09-21 8:43 ` Paolo Bonzini
2004-09-21 12:39 ` Joseph S. Myers
2004-09-20 20:54 ` Gabriel Dos Reis
2004-09-20 21:01 ` Mark Mitchell
2004-09-20 21:07 ` Gabriel Dos Reis
2004-09-20 21:14 ` Mark Mitchell
2004-09-20 21:41 ` Matt Austern
2004-09-20 22:32 ` Gabriel Dos Reis
2004-09-20 22:59 ` Mark Mitchell
2004-09-20 23:12 ` Matt Austern
2004-09-20 23:16 ` Mark Mitchell
2004-10-18 9:19 ` Jason Merrill
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=m37jqowswt.fsf@merlin.cs.tamu.edu \
--to=gdr@cs.tamu.edu \
--cc=austern@apple.com \
--cc=dalej@apple.com \
--cc=gcc@gcc.gnu.org \
--cc=jason@redhat.com \
--cc=mark@codesourcery.com \
--cc=nathan@codesourcery.com \
/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).