Boost logo

Boost :

Subject: Re: [boost] Silent change in boost 1.36 alignment_of<> template withgcc 4.3
From: John Maddock (john_at_[hidden])
Date: 2008-11-10 11:13:27


Jon Biggar wrote:
>> This is what the alignment_of test case outputs on my system:
>>
>> alignment_of_test.cpp:78: The expression:
>> "::boost::alignment_of<double>::value"
>> had an invalid value (found 8, expected 4)
>> alignment_of_test.cpp:81: The expression: "::boost::alignment_of<
>>>> boost::long_
>> long_type>::value" had an invalid value (found 8, expected 4)
>>
>> That's with this version of gcc from Fedora 9:
>>
>> gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)

OK I've reproduced that on an i386 Linux system: looks like all our tests
are run on x64 boxes where the test does pass. Are you on a 32-bit Linux
box?

Thanks, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk