From: Bob Miller <rem@osdl.org>
To: Petr Vandrovec <VANDROVE@vc.cvut.cz>
Cc: "J.C. Wren" <jcwren@jcwren.com>, linux-kernel@vger.kernel.org
Subject: Re: Assorted warnings while building 2.5.73
Date: Wed, 25 Jun 2003 15:13:26 -0700 [thread overview]
Message-ID: <20030625221326.GA1409@doc.pdx.osdl.net> (raw)
In-Reply-To: <57481010E50@vcnet.vc.cvut.cz>
On Wed, Jun 25, 2003 at 11:25:35PM +0200, Petr Vandrovec wrote:
> On 25 Jun 03 at 16:25, J.C. Wren wrote:
> > drivers/video/matrox/matroxfb_g450.c: In function `g450_compute_bwlevel':
> > drivers/video/matrox/matroxfb_g450.c:129: warning: duplicate `const'
> > drivers/video/matrox/matroxfb_g450.c:130: warning: duplicate `const'
>
> Fix min/max macros and/or learn gcc that "const typeof(x)" where x
> is already const type is OK. Or I can code it with simple if(), but
> why we have min/max macros then?
>
> Is there some __attribute__((-Wno-duplicate-const)) ?
> Petr Vandrovec
> vandrove@vc.cvut.cz
>
>
Or use a newer compiler that has this fixed, or use min_t()/max_t()
instead.
--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17
next prev parent reply other threads:[~2003-06-25 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-25 21:25 Petr Vandrovec
2003-06-25 22:13 ` Bob Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-06-17 23:31 [patch] input: Fix CLOCK_TICK_RATE usage ... [8/13] Vojtech Pavlik
2003-06-25 17:20 ` David Mosberger
2003-06-25 19:58 ` Vojtech Pavlik
2003-06-25 20:25 ` Assorted warnings while building 2.5.73 J.C. Wren
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=20030625221326.GA1409@doc.pdx.osdl.net \
--to=rem@osdl.org \
--cc=VANDROVE@vc.cvut.cz \
--cc=jcwren@jcwren.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®