Bug#222777: /usr/include/asm/byteorder.h:56: error: parse error before ':' token
El mié, 03-12-2003 a las 20:52, Daniel Jacobowitz escribió:
[...]
> > The relevant part from plat_linux_cdda.c is:
> >
> > #ifndef __GNUC__
> > #define __GNUC__ 1
> > #endif
> > #undef __STRICT_ANSI__
> > #include <asm/types.h>
> > /* ugly workaround for broken glibc shipped in SuSE 9.0 */
> > #define inline __inline__
> > #include <linux/cdrom.h>
> > #undef inline
> >
> > And the referenced (buggy?) line from byteorder.h:
> >
> > asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a),"1" (v.s.b));
>
> This is an absolutely, wildly, crazily dumb way to work around a broken
> header. Remove the #undef, and either linux-kernel-headers will work
> or the next version uploaded will when uploads are re-enabled.
OK, undef removed and kscd compiles. I didn't remove it before submit
the bug because I fear collateral troubles...
Thanks you.
--
Leonardo Soto M.
leonardosoto[@]tutopia.com Jabber: leonardosoto[@]jabber.org
Reply to: