From: Bo Persson (bop_at_[hidden])
Date: 2008-03-31 16:38:57


John Maddock wrote:
> Ralf W. Grosse-Kunstleve wrote:
>> Hi,
>>
>> svn revision 43952 broke my VC8 build:
>>
>> C:\AUTOBU~1\sources\boost\boost/python/converter/as_to_python_function.hpp(21)
>> : error C2719: 'unnamed-parameter': formal parameter with
>> __declspec(align('8') ) won't be aligned
>>
>> The compilation command is attached.
>
> Grrr, do you have a test case? This is certainly deeply annoying:
> in order to fix one bug it appears I've introduced another - but
> without seeing the instantiation context and working out what
> Boost.Python is doing it's hard
> to say whether this should be fixed in type_traits or Boost.Python.
>

For all I know, MS compilers don't accept alignment requirements for
function parameters, as they cannot guarantee the stack alignment at
each point of call.

Bo Persson