GNOME Bugzilla – Bug 638220
Error on parsing endian.h...
Last modified: 2015-02-07 16:51:08 UTC
I don't know where I can take a look in the gobject-introspection-0.9.12 for it parses endian.h error. If anyone can help us with it will be great. Thanks! ----------------------------- GISCAN GLib-2.0.gir /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' /usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' GISCAN GObject-2.0.gir ----------------------------- In our /usr/include/machine/endian.h:107 looks like: ----------------------------- #define __byte_swap_int_var(x) \ __extension__ ({ register __uint32_t __X = (x); \ __asm ("bswap %0" : "+r" (__X)); \ __X; }) [...] static __inline __uint32_t __bswap32(__uint32_t _x) { return (__byte_swap_int(_x)); //<-- 107 line } -----------------------------
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of bug 678794 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]