[boost] Re: Mac OS 10 & type_traits/type_with_alignment.hpp
by David Abrahams other posts by this author
Nov 5 2003 8:44PM messages near this date
Re: [boost] Mac OS 10 & type_traits/type_with_alignment.hpp
|
Re: [boost] Re: Mac OS 10 & type_traits/type_with_alignment.hpp
"Ralf W. Grosse-Kunstleve" <rwgk@[...].com> writes:
> Hi Doug,
>
> Mike Owen reports the same problem while compiling Boost.Python extensions
> under AIX with g++ 3.2.1 and 3.2.3. type_with_alignment.hpp does not cope with
> a type that is 8-byte aligned.
>
> We have established that the little test below runs under AIX without crashing.
> >From that we conclude that AIX does not have strict alignment requirements,
> just like the PowerPC Macintosh. Would it seem reasonable to check in the
> trivial patch below?
FWIW, whether alignment is strict isn't dependent on the OS but on CPU
technology. The alignments that can be generated are dependent not on
the OS but on the compiler. Checking the OS seems like the wrong
thing to do.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Ralf W. Grosse-Kunstleve
Douglas Gregor
Ralf W. Grosse-Kunstleve
Douglas Gregor
Ralf W. Grosse-Kunstleve
David Abrahams
Douglas Paul Gregor
Douglas Paul Gregor
Ralf W. Grosse-Kunstleve
|