Bruno Haible writes:
> Hi Simon,
>
> Thanks for insisting.
>
>> How about this patch?
>
> It goes into this direction, yes. Additionally, it looks like most callers
> of the 'alignof' macro want the "field in struct" semantics (or at least,
> can live with this semantics). So I'm using this seman
r 'alignof'.
I'll push this:
2009-05-31 Simon Josefsson
Bruno Haible
Fix test-alignof failure.
* lib/alignof.h (alignof_slot): New macro.
(alignof_type): New macro, with the same semantics as the previous
'alignof'.
Simon Josefsson writes:
> Bruno Haible writes:
>
>> Simon Josefsson wrote:
>>> The alignof module seems to have problems:
>>>
>>> j...@mocca:~/src/gnulib master$ gnulib-tool --test --with-tests alignof
>>> ...
>>> ../../gltests/test-alignof.c:41: error: negative width in bit-field
>>> ‘verify_
Bruno Haible writes:
> Simon Josefsson wrote:
>> The alignof module seems to have problems:
>>
>> j...@mocca:~/src/gnulib master$ gnulib-tool --test --with-tests alignof
>> ...
>> ../../gltests/test-alignof.c:41: error: negative width in bit-field
>> ‘verify_error_if_negative_size__’
>
> I repr
Simon Josefsson wrote:
> The alignof module seems to have problems:
>
> j...@mocca:~/src/gnulib master$ gnulib-tool --test --with-tests alignof
> ...
> ../../gltests/test-alignof.c:41: error: negative width in bit-field
> ‘verify_error_if_negative_size__’
I reproduce with all versions of gcc sin
The alignof module seems to have problems:
j...@mocca:~/src/gnulib master$ gnulib-tool --test --with-tests alignof
...
../../gltests/test-alignof.c:41: error: negative width in bit-field
‘verify_error_if_negative_size__’
Ideas?
Regular debian x86 testing machine, gcc 4.3.3.
/Simon