-ansi and linux 2.5 kernels

Aaron J. Seigo aseigo at olympusproject.org
Sun Dec 29 09:21:25 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi...

so apparently with the 2.5 kernels if you pass -ansi, you don't get "long 
long" defined. to quote from a recent bug report:

"
 It seems that this happens because of the following code (taken from 
asm/types.h): 
 ----------------------------------------------------- 
 #if defined(__GNUC__) && !defined(__STRICT_ANSI__) 
 typedef __signed__ long long __s64; 
 typedef unsigned long long __u64; 
 #endif 
 ----------------------------------------------------- 
 "

it seems that -ansi is a default flag set by configure... should this be taken 
into consideration by the build system? 

it currently prevents kdemultimedia, for example, from compiling without 
defining long long yourself or changing makefiles.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Dr6W1rcusafx20MRAqFBAJ9g/p4RoqnTArIXS6aenjK4bStWYQCfQrul
QzI/64aBpD7ga+XKQrG/pQE=
=miAr
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list