Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2013 23:25:14 +0100
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        freebsd-arm@freebsd.org
Subject:   sys/arm/include/endian.h and signal.h bug with clang ?
Message-ID:  <CA%2Bq%2BTcq2qai=5JNR-4FJ=3-xtG64yYFthF3xid5f1mpLhvjQGw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcq2qai=5JNR-4FJ=3-xtG64yYFthF3xid5f1mpLhvjQGw>