[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-linux
Subject: Re: [kde-linux] kde 3.3.1 can't be compiled here
From: James Richard Tyrer <tyrerj () acm ! org>
Date: 2004-10-31 5:14:09
Message-ID: 418474A1.2070108 () acm ! org
[Download RAW message or body]
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 <linux/types.h>
+#include <linux/cdrom.h>
+#ifdef _ANSI_WAS_HERE_
+#define __STRICT_ANSI__
+#endif
+#include <sys/ioctl.h>
#include "cdromToc.h"
#include "cdromRawAccess.h"
-#include <asm/types.h>
-#include <linux/cdrom.h>
-#include <sys/ioctl.h>
#include <iostream>
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic