Not sure if this is a bug if m4 is not supposed to be C89 or C99 clean
however I see :

.
.
.
/opt/bw/bin/gmake  all-am
gmake[3]: Entering directory
'/opt/bw/build/m4-1.4.19_sunos5.10_sparcv9.001/lib'
source='asyncsafe-spin.c' object='asyncsafe-spin.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /opt/bw/bin/bash ../build-aux/depcomp \
/opt/developerstudio12.6/bin/c99  -I.   -I/opt/bw/include
-D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO
-D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_REENTRANT  -Xc
-errtags=yes -errwarn=%none -m64 -xarch=sparc -xO0 -g -xs -errfmt=error
-erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s
-xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none
-xbuiltin=%none -xunroll=1 -Qy -xdebugformat=dwarf -c -o
asyncsafe-spin.o asyncsafe-spin.c
"asyncsafe-spin.c", line 213: error: undefined symbol: asm
"asyncsafe-spin.c", line 213: error: syntax error before or at: volatile
"asyncsafe-spin.c", line 238: error: undefined symbol: asm
"asyncsafe-spin.c", line 238: error: syntax error before or at: volatile
c99: acomp failed for asyncsafe-spin.c
gmake[3]: *** [Makefile:2869: asyncsafe-spin.o] Error 2
gmake[3]: Leaving directory
'/opt/bw/build/m4-1.4.19_sunos5.10_sparcv9.001/lib'
gmake[2]: *** [Makefile:2481: all] Error 2
gmake[2]: Leaving directory
'/opt/bw/build/m4-1.4.19_sunos5.10_sparcv9.001/lib'
gmake[1]: *** [Makefile:2018: all-recursive] Error 1
gmake[1]: Leaving directory '/opt/bw/build/m4-1.4.19_sunos5.10_sparcv9.001'
gmake: *** [Makefile:1974: all] Error 2

Where we see the asm usage that sort of says "not C99 here".

However std9899:2011 seems to be just fine.

So are we C11 here only ?



-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

Reply via email to