[C++-sig] boost python calling conventions support patch submission (__stdcall, __cdecl, __fastcall)

David Abrahams dave at boostpro.com
Mon Jan 25 16:28:55 CET 2010


At Mon, 25 Jan 2010 10:47:06 +0100,
Nicolas Lelong wrote:
> 
> Thanks Dave,
> 
> not quite sure of it, but it looks like you added the unit tests to
> the Jamfile, but you did not add the tests source code to the svn,
> did I miss something.

Gah, I hate SVN.

> Also, the tests i submitted do not consider the compiler
> brand/version, so they may fail on compilers that do not have the
> Microsoft calling conventions. Did you consider that point ?

No!  

The next question is, should defining the macros to turn on calling
convention support cause an error on platforms where they're not
supported (which would imply XML markup for those tests and/or #ifdef
_MSC_VER in the tests themselves) or should it be benign (implying
#ifdef _MSC_VER in the library files)?

Your opinion?

-- 
Dave Abrahams           Meet me at BoostCon: http://www.boostcon.com
BoostPro Computing
http://www.boostpro.com



More information about the Cplusplus-sig mailing list