sys/arm/include/endian.h and signal.h bug with clang ?

Olivier Cochard-Labbé olivier at cochard.me
Sun Mar 10 22:25:35 UTC 2013


Hi,

during the build of devel/gobject-introspection with clang on my Raspberry
Pi, I've seen this error (but they didn't prevent gobject-introspection to
compile):

/usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at
'}'
/usr/include/machine/endian.h:90: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile("eor %1, %
0, %0, ror #16\n"' at 'o'
/usr/include/machine/endian.h:104: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile(' at 'o'
g-ir-scanner: GLib: warning: 674 warnings suppressed (use --warn-all to see
them)
  GISCAN GObject-2.0.gir
/usr/include/machine/signal.h:45: syntax error, unexpected '}' in '};' at
'}'
/usr/include/machine/endian.h:90: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile("eor %1, %
0, %0, ror #16\n"' at 'o'
/usr/include/machine/endian.h:104: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile(' at 'o'
/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.34.2/tmp-introspectj39xYS/GObject-2.0.c:606:3:
warning
:
      'g_value_array_get_type' is deprecated [-Wdeprecated-declarations]
etc...

Is there a problem in endian.h and signal.h ?

Regards,

Olivier


More information about the freebsd-arm mailing list