From kde-linux Sun Oct 31 05:14:09 2004 From: James Richard Tyrer Date: Sun, 31 Oct 2004 05:14:09 +0000 To: kde-linux Subject: Re: [kde-linux] kde 3.3.1 can't be compiled here Message-Id: <418474A1.2070108 () acm ! org> X-MARC-Message: https://marc.info/?l=kde-linux&m=109919972932632 James Richard Tyrer wrote: > > Still don't know exactly why it worked for me but not for you, but I > suspect that the problem in the Linux headers has been fixed with > version >= 2.4.26 Mystery solved. It appears that it built OK if you used the 'configure' parameter: "--disable-warnings". but the current HEAD version [1.9] will build without errors: --- kdemultimedia/mpeglib/lib/input/cdromAccess_Linux.cpp 2004/04/19 \ 01:12:55 1.7 +++ kdemultimedia/mpeglib/lib/input/cdromAccess_Linux.cpp 2004/10/17 \ 14:08:21 1.9 @@ -10,12 +10,19 @@ */ +#ifdef __STRICT_ANSI__ +#undef __STRICT_ANSI__ +#define _ANSI_WAS_HERE_ +#endif +#include +#include +#ifdef _ANSI_WAS_HERE_ +#define __STRICT_ANSI__ +#endif +#include #include "cdromToc.h" #include "cdromRawAccess.h" -#include -#include -#include #include Those Kernel headers don't appear to work with strict ANSI. -- JRT ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.