Bruno Haible <br...@clisp.org> writes: > I cannot reproduce it. > > On Solaris 10: > $ PATH=/opt/developerstudio12.5/bin:$PATH > $ cc -V > > cc: Studio 12.5 Sun C 5.14 SunOS_i386 2016/05/31 > $ CC=cc CXX=CC ./configure && gmake > > works fine. > > On Solaris 11: > $ PATH=/opt/developerstudio12.5/bin:$PATH > $ cc -V > cc: Studio 12.5 Sun C 5.14 SunOS_i386 Patch 152236-01 2017/08/14 > $ CC=cc CXX=CC ./configure && gmake > > works fine. > > $ CC="cc -g3 -O" CXX=CC ./configure && gmake > > Likewise. > > Please examine the 'cc -V' output on your side. It looks like you are > using a compiler that has not been updated with the available vendor patches. > > Generally, we cannot support such unpatched software, because we would then > have to handle and work around many more bugs than we already have to handle > and work around already.
Thanks. Unfortunately, I've got the same Sun C that you do. Could you show the preprocessed source for a call to `offsetof' on your system? I have a feeling stddef.h on this machine is somehow wrong.