Summary: | kscd: plat_linux.c: error with "inline" keyword in Linux header file | ||
---|---|---|---|
Product: | [Unmaintained] kscd | Reporter: | Daniel Richard G. <skunk> |
Component: | general | Assignee: | Aaron J. Seigo <aseigo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Richard G.
2003-11-05 07:58:41 UTC
Subject: kdemultimedia/kscd/libwm CVS commit by coolo: kernel headers suck ;( still compiles for me and should fix broken systems CCMAIL: 67269-done@bugs.kde.org M +3 -1 plat_linux.c 1.30 --- kdemultimedia/kscd/libwm/plat_linux.c #1.29:1.30 @@ -81,7 +81,9 @@ typedef unsigned long long __u64; /* needed for non-ansi kernel headers */ #define asm __asm__ +#define inline __inline__ #include <asm/types.h> #include <linux/cdrom.h> #undef asm +#undef inline #include "include/wm_cdda.h" Confirmed successful compilation of plat_linux.c in the CVS tree. My hat goes off to you, Mr. Kulow :) Kernel Headers should not be included in user space. These are the glibc copies of kernel headers. Please complain to the glibc maintainers, since they keep a hand-crafted copy of current kernel headers adjusted to their needs around. Well, I sent a patch to linux-kernel + Linus + Marcelo; it should hopefully propagate from there, though one can never overestimate how busy all three of them are.... You did read the last comment, didn't you? Especially the part that says "please complain to the glibc maintainers". |