gcc-3.3.3 syntax changed
From: Jakub Panachida
Date: Mon Feb 23 2004 - 11:10:59 EST
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 (void@xxxxxxxx) (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"
--
Jakub Panachida
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/