[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Build issues with g++ 3.3 and Linux kernel headers
From:       "Petter E. Stokke" <gibreel () project23 ! no>
Date:       2003-08-30 15:35:14
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


There's a problem compiling certain parts of KDE using g++ 3.3 (in my
case, 3.3.2, but reportedly it's a problem with any >= 3.3). It seems
that some Linux kernel headers won't compile with g++ -ansi -pedantic,
which is what the KDE build system uses. The problem appears in
applications which #include <linux/cdrom.h> - at least parts of
kdemultimedia and the CD burning tools in kdeextragear-2 - although the
actual compile error is in asm/byteorder.h. The problem exists in both
2.4 and 2.6 kernel headers.

Can something be done about that? Possibly having a KDE_OPTIONS flag or
something similar in the build system which disables -ansi -pedantic for
a given directory? My own solution of manually removing them from the
Makefiles when I come across the problem is hardly acceptable for the
KDE 3.2 release. :)

-- 
Petter E. Stokke <gibreel@project23.no> http://www.gibreel.net/
PGP key: http://www.gibreel.net/key.asc
Fingerprint: 4FF3 12BD 692A 0FFF 984F  78DA 4776 81FB 1906 3A9F

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic