All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@osdl.org>, Krzysztof Halasa <khc@pm.waw.pl>
Cc: linux-kernel@vger.kernel.org
Subject: 2.6.0-test5-mm4: wanxl doesn't compile with gcc 2.95
Date: Mon, 22 Sep 2003 21:10:50 +0200	[thread overview]
Message-ID: <20030922191049.GC6325@fs.tum.de> (raw)
In-Reply-To: <20030922013548.6e5a5dcf.akpm@osdl.org>

I'm getting the following compile error with gcc 2.95:

<--  snip  -->

...
  CC      drivers/net/wan/wanxl.o
drivers/net/wan/wanxl.c: In function `pci_map_single_debug':
drivers/net/wan/wanxl.c:128: warning: unsigned int format, different type arg (arg 3)
drivers/net/wan/wanxl.c: In function `wanxl_tx_intr':
drivers/net/wan/wanxl.c:185: parse error before `struct'
drivers/net/wan/wanxl.c:200: `skb' undeclared (first use in this function)
drivers/net/wan/wanxl.c:200: (Each undeclared identifier is reported only once
drivers/net/wan/wanxl.c:200: for each function it appears in.)
drivers/net/wan/wanxl.c: In function `wanxl_xmit':
drivers/net/wan/wanxl.c:298: parse error before `*'
drivers/net/wan/wanxl.c:299: `desc' undeclared (first use in this function)
drivers/net/wan/wanxl.c: In function `wanxl_pci_init_one':
drivers/net/wan/wanxl.c:631: warning: unsigned int format, different type arg (arg 3)
drivers/net/wan/wanxl.c: At top level:
drivers/net/wan/wanxl.c:34: warning: `version' defined but not used
make[3]: *** [drivers/net/wan/wanxl.o] Error 1

<--  snip  -->

For gcc 2.95, all variable declarations must be at the beginning.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2003-09-22 19:11 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22  8:35 2.6.0-test5-mm4 Andrew Morton
2003-09-22  8:35 ` 2.6.0-test5-mm4 Andrew Morton
2003-09-22 11:49 ` 2.6.0-test5-mm4: BeFS compile error Adrian Bunk
2003-09-22 17:57   ` Will Dyson
2003-09-22 12:09 ` 2.6.0-test5-mm4 Florian Schanda
2003-09-22 12:09   ` 2.6.0-test5-mm4 Florian Schanda
2003-09-22 12:17 ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 12:17   ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 13:48   ` 2.6.0-test5-mm4 viro
2003-09-22 13:48     ` 2.6.0-test5-mm4 viro
2003-09-22 14:29     ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 14:29       ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 14:30   ` 2.6.0-test5-mm4 Florian Schanda
2003-09-22 14:30     ` 2.6.0-test5-mm4 Florian Schanda
2003-09-22 14:36   ` 2.6.0-test5-mm4 Zilvinas Valinskas
2003-09-22 14:36     ` 2.6.0-test5-mm4 Zilvinas Valinskas
2003-09-22 13:49     ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 13:49       ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 13:54       ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 13:54         ` 2.6.0-test5-mm4 Alistair J Strachan
2003-09-22 18:55     ` 2.6.0-test5-mm4 Andrew Morton
2003-09-22 18:55       ` 2.6.0-test5-mm4 Andrew Morton
2003-09-22 21:27       ` 2.6.0-test5-mm4 Peter Osterlund
2003-09-22 21:27         ` 2.6.0-test5-mm4 Peter Osterlund
2003-09-22 21:45         ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-22 21:45           ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-25  0:13           ` 2.6.0-test5-mm4 Peter Osterlund
2003-09-25  0:13             ` 2.6.0-test5-mm4 Peter Osterlund
2003-09-25 12:43             ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-25 12:43               ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-22 21:44       ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-22 21:44         ` 2.6.0-test5-mm4 Vojtech Pavlik
2003-09-22 19:10 ` Adrian Bunk [this message]
2003-09-22 19:22   ` 2.6.0-test5-mm4: wanxl doesn't compile with gcc 2.95 Andrew Morton
2003-09-22 22:42   ` Krzysztof Halasa
2003-09-22 22:41     ` Andrew Morton
2003-09-23 13:24       ` Krzysztof Halasa
2003-09-24  9:18 ` 2.6.0-test5-mm4 boot crash Helge Hafting
2003-09-24  9:18   ` Helge Hafting
2003-09-24  9:57   ` viro
2003-09-24  9:57     ` viro

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=20030922191049.GC6325@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@osdl.org \
    --cc=khc@pm.waw.pl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.