[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: broken union (was: Re: r1212 - in trunk/glibc-2.3-head/sysdeps/kfreebsd: alpha/bits bits i386/bits x86_64/bits)

> This part of the patch broke mozilla/xulrunner HEAD.  I think the union I added
> was wrong in syntax, but I'm not sure why.  Any idea?
> gcc -o /home/rmh/tmp/head/build/nss/freebl/Linux_SINGLE_SHLIB/sysrand.o -c -O2 -fPIC -Di386 -D_XOPEN_SOURCE -D_X86_  -ansi -Wall -pipe -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_REENTRANT -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE  -DMP_ASSEMBLY_DIV_2DX1D -DMP_API_COMPATIBLE -I/home/rmh/tmp/head/build/dist/include/nspr -I/home/rmh/tmp/head/build/dist/include  -I/home/rmh/tmp/head/build/dist/public/nss -I/home/rmh/tmp/head/build/dist/private/nss -I/home/rmh/tmp/head/build/dist/include -I/home/rmh/tmp/head/build/dist/include/dbm -Impi -Iecl  sysrand.c
> /usr/include/bits/sigset.h: In function '__sigismember':
> /usr/include/bits/sigset.h:119: error: 'struct <anonymous>' has no member named '__sigbits'

Syntax is OK, but it uses gcc feature, which is not available with "-ansi" mode.
Fix commited as r1241.


Reply to: