Skip to contentSkip to conversation

gcc-3.3.3 syntax changed

DISCUSSION Jakub Panachida 1 participant 1 message Feb 23, 2004

lore
Share & tools
lore
#0 lore raw

Summary:
Incompability of linux-2.6.3 header files with gcc-3.3.3

Full Description:
gcc-3.3.3 doesn't allow syntax used in files asm/byteorder.h and linux/byteorder/swab.h, which is included by the previous one.

Keywords:
gcc-3.3.3

Environment:
Linux xenon.pl 2.6.3-2 #1 Sun Feb 22 16:10:08 CET 2004 i686 unknown unknown GNU/Linux

Gnu C                  3.3.3
Gnu make               3.80
util-linux             2.12
mount                  2.12
module-init-tools      3.0-pre10
e2fsprogs              1.34
Linux C Library        2.3.3
Dynamic linker (ldd)   2.3.3
Procps                 3.1.15
Net-tools              1.60
Kbd                    1.12
Sh-utils               5.0

Modules Loaded

Kernel version:
Linux version 2.6.3-2 ([email protected]) (gcc version 3.3.3) #1 Sun Feb 22 16:10:08 CET 2004

Sample code:
#include <asm/byteorder.h>

Error Message:
/usr/include/asm/byteorder.h:14: error: syntax error before "__u32" /usr/include/asm/byteorder.h:28: error: syntax error before "__u64" In file included from /usr/include/linux/byteorder/little_endian.h:11,

                 from /usr/include/asm/byteorder.h:57,
                 from k26.c:1:

/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"

Signature · 1 line
Jakub Panachida