From: Paul Koning <pkoning@equallogic.com>
To: aph@redhat.com
Cc: rth@twiddle.net, torvalds@osdl.org, thomas.schlichter@web.de,
akpm@osdl.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org
Subject: Re: [PATCH] fix warning about duplicate 'const'
Date: Wed, 10 Mar 2004 18:35:00 -0000 [thread overview]
Message-ID: <16463.24585.85535.682722@gargle.gargle.HOWL> (raw)
In-Reply-To: <16463.24215.666911.238474@cuddles.cambridge.redhat.com>
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> Richard Henderson writes:
>> On Wed, Mar 10, 2004 at 07:43:10AM -0800, Linus Torvalds wrote: >
>> Ok, let's try just stripping the "const" out of the min/max
>> macros, and > see what complains.
>>
>> I remember what complains. You get actual errors from
>>
>> const int x; int y; min(x, y);
Andrew> Can you explain *why* we have to produce a diagnostic for
Andrew> "const const int" by default?
Andrew> Can't we dispatch such things to "-pedantic" ?
I like that suggestion.
paul
next prev parent reply other threads:[~2004-03-10 18:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200403090043.21043.thomas.schlichter@web.de>
[not found] ` <20040308161410.49127bdf.akpm@osdl.org>
[not found] ` <Pine.LNX.4.58.0403081627450.9575@ppc970.osdl.org>
[not found] ` <200403090217.40867.thomas.schlichter@web.de>
[not found] ` <Pine.LNX.4.58.0403081728250.9575@ppc970.osdl.org>
2004-03-10 5:49 ` Richard Henderson
2004-03-10 6:39 ` Neil Booth
2004-03-10 10:15 ` Joseph S. Myers
2004-03-10 10:30 ` Gabriel Dos Reis
2004-03-10 22:22 ` Richard Henderson
2004-03-10 23:42 ` Gabriel Dos Reis
2004-03-10 8:21 ` Gabriel Dos Reis
2004-03-10 15:36 ` Linus Torvalds
2004-03-10 18:22 ` Richard Henderson
2004-03-10 18:31 ` Andrew Haley
2004-03-10 18:35 ` Paul Koning [this message]
2004-03-10 18:37 ` Richard Henderson
2004-03-16 1:46 ` Mike Stump
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=16463.24585.85535.682722@gargle.gargle.HOWL \
--to=pkoning@equallogic.com \
--cc=akpm@osdl.org \
--cc=aph@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
--cc=thomas.schlichter@web.de \
--cc=torvalds@osdl.org \
/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).