mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Ben Castricum <benc@bencastricum.nl>
Cc: bunk@stusta.de, linux-kernel@vger.kernel.org
Subject: Re: 2.6.12-rc2 compile error in drivers/usb/class/cdc-acm.c
Date: Wed, 6 Apr 2005 15:23:42 -0700	[thread overview]
Message-ID: <20050406152342.4d670f51.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0504061012420.31870@gateway.bencastricum.nl>

Ben Castricum <benc@bencastricum.nl> wrote:
>
> 
> 
> On Wed, 6 Apr 2005, Adrian Bunk wrote:
> 
> > On Tue, Apr 05, 2005 at 10:54:09AM +0200, Ben Castricum wrote:
> > > ...
> > >   CC      fs/quota_v2.o
> > > fs/quota_v2.c: In function `v2_write_dquot':
> > > fs/quota_v2.c:399: warning: unknown conversion type character `z' in
> > > format
> > > fs/quota_v2.c:399: warning: too many arguments for format
> >
> > These are warnings that only occur with gcc 2.95 and that can safely be
> > ignored.
> 
> Just wondering, isn't 2.95.3 the recommended compiler anymore? I only use
> this (a bit old) version because it's _the_ compiler for the kernel.
> 
> If it still is then I find it a bit strange that code is accepted that
> doesn't compile cleanly on the recommended compiler.
> 

gcc-2.95.x requires %Z, not %z.  The latter is more correct, and not many
people use gcc-2.95.x, so we'll just have to live with the warnings, I'm
afraid.

I patched my gcc-2.95.4 to understand %z, but seem to have not put the
patch anywhere where I can find it.


  reply	other threads:[~2005-04-06 22:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05  8:54 Ben Castricum
2005-04-06  0:18 ` Adrian Bunk
2005-04-06  8:22   ` Ben Castricum
2005-04-06 22:23     ` Andrew Morton [this message]
2005-04-07 22:21     ` Adrian Bunk

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=20050406152342.4d670f51.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=benc@bencastricum.nl \
    --cc=bunk@stusta.de \
    --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®