[Prism54-devel] [Bug 115] New: gcc 2.95.4 has problems with #ifdefs
in islpci_eth.c
bugzilla-daemon at mcgrof.com
bugzilla-daemon at mcgrof.com
Mon Nov 15 06:03:17 UTC 2004
http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=115
Summary: gcc 2.95.4 has problems with #ifdefs in islpci_eth.c
Product: prim54
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Kernel patches
AssignedTo: prism54-devel at prism54.org
ReportedBy: ejones at uwaterloo.ca
I used the latest CVS version and patched Linux 2.4.27. I'm using Debian stable
to compile. Here is the output from GCC:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i486 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.27/include/linux/modversions.h -DPRISM54_COMPAT24 -nostdinc
-iwithprefix
include -DKBUILD_BASENAME=islpci_eth -c -o islpci_eth.o islpci_eth.c
islpci_eth.c:138: warning: preprocessing directive not recognized within macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within macro arg
islpci_eth.c:138: warning: preprocessing directive not recognized within macro arg
islpci_eth.c: In function `islpci_eth_transmit':
islpci_eth.c:135: undefined or invalid # directive
islpci_eth.c:137: undefined or invalid # directive
make[5]: *** [islpci_eth.o] Error 1
It looks like GCC doesn't like something with the #ifdef and the brackets.
Debian stable is using gcc 2.95.4. I deleted the #ifdefs and the stuff between
them and it compiled.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Prism54-devel
mailing list