public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Jonathan Wakely" <jwakely.gcc@gmail.com>
To: "Mark Mitchell" <mark@codesourcery.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>,
	gcc@gcc.gnu.org, "Volker Reichelt" <v.reichelt@netcologne.de>,
	"Manuel López-Ibáñez" <lopezibanez@gmail.com>
Subject: Re: C++ warnings vs. errors
Date: Thu, 19 Jun 2008 22:08:00 -0000	[thread overview]
Message-ID: <4348dea50806191508h5743306au65de2d06d7f13d5a@mail.gmail.com> (raw)
In-Reply-To: <4859657A.6060500@codesourcery.com>

2008/6/18 Mark Mitchell:
>> * I don't think the pedwarn in joust() in cp/call.c should be a
>> permerror, is this a GNU extension?
>>          if (warn)
>>            {
>>              pedwarn ("\
>> ISO C++ says that these are ambiguous, even \
>> though the worst conversion for the first is better than \
>> the worst conversion for the second:");
>>              print_z_candidate (_("candidate 1:"), w);
>>              print_z_candidate (_("candidate 2:"), l);
>>            }
>
> Yes, that is a historical GNU extension.  I think this should just be a
> warning, given that the whole section of code is guarded with !pedantic.

OK. Should I also get rid of the escaped newlines and rely on string
concatenation for the text?

Jon




>> * I don't know if these in cp/typeck.c should be permerrors, DTRT
>> implies not, but should tf_error be changed to tf_warning?
>
> I think "DTRT" here means "do what whoever wrote this code thinks the
> standard should say" not "do what the standard says".  Please make these
> permerrors.
>
> Thanks,
>
> --
> Mark Mitchell
> CodeSourcery
> mark@codesourcery.com
> (650) 331-3385 x713
>
>

  parent reply	other threads:[~2008-06-19 22:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 14:12 Volker Reichelt
2008-06-11 14:48 ` Ian Lance Taylor
2008-06-11 18:48   ` Manuel López-Ibáñez
2008-06-11 20:24 ` Joe Buck
2008-06-11 23:06 ` Jonathan Wakely
2008-06-13 19:48   ` Mark Mitchell
2008-06-13 21:20     ` Manuel López-Ibáñez
2008-06-15 23:06     ` Jonathan Wakely
2008-06-16  2:32       ` Mark Mitchell
2008-06-16 10:13       ` Manuel López-Ibáñez
2008-06-17 19:48   ` Jonathan Wakely
2008-06-19  0:27     ` Mark Mitchell
2008-06-19  8:17       ` Jonathan Wakely
2008-06-19 22:08       ` Jonathan Wakely [this message]
2008-06-19 22:21         ` Mark Mitchell
2008-06-20  7:26         ` Gabriel Dos Reis
2008-06-19 23:47       ` Jonathan Wakely
2008-06-20 10:29         ` Mark Mitchell
2008-06-21 11:13           ` Jonathan Wakely

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=4348dea50806191508h5743306au65de2d06d7f13d5a@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    --cc=lopezibanez@gmail.com \
    --cc=mark@codesourcery.com \
    --cc=v.reichelt@netcologne.de \
    /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).