Version: (using KDE KDE 3.1.91) Installed from: Compiled From Sources Compiler: gcc 3.3.1 LFS, compiler compiled using the LFS standard OS: Linux After having compiled the base (qt 3.2.1, glib 2.2.3, arts and kdelibs/base 3.1.93), i compiled kdemultimedia and it barfed half way with this message. Have to say my LFS perfectly compiled previous versions of KDE : if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/kde/include -I/usr/local/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2 -z combreloc -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT cdromAccess.lo -MD -MP -MF ".deps/cdromAccess.Tpo" \ -c -o cdromAccess.lo `test -f 'cdromAccess.cpp' || echo './'`cdromAccess.cpp; \ then mv ".deps/cdromAccess.Tpo" ".deps/cdromAccess.Plo"; \ else rm -f ".deps/cdromAccess.Tpo"; exit 1; \ fi In file included from /usr/include/linux/byteorder/little_endian.h:11, from /usr/include/asm/byteorder.h:45, from /usr/include/linux/cdrom.h:14, from cdromAccess_Linux.cpp:17, from cdromAccess.cpp:30: /usr/include/linux/byteorder/swab.h: In function `const __u32 __fswab24(unsigned int)': /usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups within expressions /usr/include/linux/byteorder/swab.h:174: error: ISO C++ forbids braced-groups within expressions /usr/include/linux/byteorder/swab.h: In function `__u32 __swab24p(__u32*)': /usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups within expressions /usr/include/linux/byteorder/swab.h:178: error: ISO C++ forbids braced-groups within expressions /usr/include/linux/byteorder/swab.h: In function `void __swab24s(__u32*)': /usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups within expressions /usr/include/linux/byteorder/swab.h:182: error: ISO C++ forbids braced-groups within expressions make[4]: *** [cdromAccess.lo] Error 1 make[4]: Leaving directory `/mnt/gentoo/root/build/lfs/kde/kdemultimedia-3.1.91/mpeglib/lib/input' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/gentoo/root/build/lfs/kde/kdemultimedia-3.1.91/mpeglib/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/gentoo/root/build/lfs/kde/kdemultimedia-3.1.91/mpeglib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/gentoo/root/build/lfs/kde/kdemultimedia-3.1.91' make: *** [all] Error 2
same here gcc 3.3.2 glibc 2.3.2 linux 2.4.21 I think removing -pedantic "helps", gcc is getting way too strict lately
Please do not report CVS compilation errors to bugs.kde.org. Instead, tell them in the IRC channel or to one of the development mailing lists. This error is caused by g++ 3.3 being stricter than the previous versions. The error is in glibc and in the kernel, not in KDE code. Please report to the appropriate maintainers. And as Stefan suggested, removing the -pedantic option really solves the problem.
*** Bug 68828 has been marked as a duplicate of this bug. ***