8 Oct
2013
8 Oct
'13
7:59 a.m.
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