[2.6.0-test6] definition and usage of __u64/__s64 inconsistent?

From: Michal Kochanowicz
Date: Fri Oct 03 2003 - 03:55:22 EST


Hi!

The two types are _conditionally_ defined as follows (in asm/types.h):
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __signed__ long long __s64;
typedef unsigned long long __u64;
#endif

The file asm/types.h is _unconditionally_ included from linux/cdrom.h
and linux/loop.h and both files use __u64 unonditionally. Isn't this an
error?

Regards

PS. I came across this problem while trying to compile
kdemultimedia-3.1.4 which uses linux/linux.h - if it does matter.
--
--= Michal Kochanowicz =--==--==BOFH==--==--= michal@xxxxxxxxxxxxx =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-
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/