kioslave/media compile error
Martin Koller
m.koller at surfeu.at
Sat Dec 18 18:27:12 GMT 2004
On Saturday 18 December 2004 18:11, Kévin Ottens wrote:
> I found this in asm/types.h :
>
> #if defined(__GNUC__)
> __extension__ typedef __signed__ long long __s64;
> __extension__ typedef unsigned long long __u64;
> #endif
>
> Using gcc (GCC) 3.3.4 and kernel 2.6.7 it compiles fine...
What I find strange is that in the plain vanilla 2.6.7 Linux sources I find in
asm/types.h (i386 Platform) still the lines:
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
Did you remove the !defined(__STRICT_ANSI__) part on your own ?
From the g++ manual:
The macro `__STRICT_ANSI__' is predefined when the `-ansi' option is used.
and the compile call shows that the option -ansi is given (marked below):
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde3/include -I/opt/qt3/include
-I/usr/X11R6/include -I/usr/local/samba/include -I./../libmediacommon
-DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor
-Wno-long-long -Wundef ***** -ansi ***** -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscri
<snip>
--
Best regards/Schöne Grüße
Martin () ascii ribbon campaign - against html mail
/\ - against microsoft attachments
Some operating systems are called 'user friendly',
Linux however is 'expert friendly'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041218/3c63463b/attachment.sig>
More information about the kde-core-devel
mailing list