[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch required to m4-1.4.16 lib/verror.h to allow compile with non-G
From: |
Eric Blake |
Subject: |
Re: patch required to m4-1.4.16 lib/verror.h to allow compile with non-GNU compiler |
Date: |
Thu, 18 Jul 2013 14:34:06 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
On 07/15/2013 07:56 PM, Dennis Clarke wrote:
> The __attribute__ extension may not be supported. Certainly the case with
> an older UNIX system like Solaris 8 and a compiler such as Sun ONE
> Studio 11
> which is the last compiler from Sun supported on Solaris 8.
>
> the error that I see :
>
>
> |/opt/SUNWspro/bin/cc-I.
> -D_REENTRANT-I/usr/local/include-dy-xmemalign=8s
> -errfmt=error-erroff=%none-errshort=full-errwarn=%none-fns=no-ftrap=%none-xarch=v9-xcode=pic32-g-i-mc-Qy
>
> -v-Wl,-R/usr/local/lib-Xa -xstrconst-xtemp=/var/tmp-xunroll=1
> -D_POSIX_PTHREAD_SEMANTICS-D_LARGEFILE64_SOURCE-D_TS_ERRNO-c verror.c
> "verror.h", line35: error: syntax error before or at: __attribute__
Thanks for the report. __attribute__ is supposed to be defined to
expand to nothing on non-gcc compilers; I'm wondering why that didn't
happen. It might also be something that has been fixed upstream in
gnulib in the meantime.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature