Boost logo

Boost :

Subject: Re: [boost] [type_traits] Variadic function pointer with __fastcall calling convention
From: Marc Glisse (marc.glisse_at_[hidden])
Date: 2013-10-08 03:59:45


On Mon, 7 Oct 2013, Stephan T. Lavavej wrote:

>> I believe that clang wants to be compatible enough to VC++ on Windows to
>> be able to compile Windows header files, but still wants to follow the
>> C++ standard as closely as possible.
>
> Well, calling conventions are non-Standard.

extern "C" is, among other things, a calling convention, so treating other
calling conventions the same way could arguably be called "the standard
way". Now there are several defects about the handling of extern "C", so
it may not be that helpful...

-- 
Marc Glisse

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