Re: porting alignof to HP-NonStop

2010-12-24 Thread Bruno Haible
Joachim Schmitz wrote: > typedef struct { char slot1; char slot2; } char_helper; > ((size_t)__INTADDR__(&(((struct { char __slot1; char __slot2; } > *)0)->__slot2))) > > Is not equal to > > ((size_t)__INTADDR__(&(((char_helper *)0)->slot2))) > > do you see why, resp. what's wrong here? No, I

RE: porting alignof to HP-NonStop

2010-12-23 Thread Joachim Schmitz
Bruno Haible [mailto:br...@clisp.org] Sent: Thursday, December 23, 2010 1:36 PM To: Joachim Schmitz Cc: bug-gnulib@gnu.org Subject: Re: porting alignof to HP-NonStop Joachim Schmitz wrote: > During compile of gltests: > Something very weird errors in test-allignof.c: > source='test-ali

Re: porting alignof to HP-NonStop

2010-12-23 Thread Bruno Haible
Joachim Schmitz wrote: > During compile of gltests: > Something very weird errors in test-allignof.c: > source='test-alignof.c' object='test-alignof.o' libtool=no  DEPDIR=.deps > depmode=none /bin/sh ./../build-aux/depcomp  cc -DHAVE_CONFIG_H -I.   > -DGNULIB_STRICT_CHECKING=1  -I. -I.  -I.. -I./.