[cfe-dev] [LLVMdev] MSVC++ ABI compatibility is not a Windows requirement

Joshua Cranmer 🐧 Pidgeot18 at gmail.com
Wed Jul 31 15:37:32 PDT 2013


On 7/31/2013 5:24 PM, Chris Lattner wrote:
> On Jul 31, 2013, at 3:13 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
>> * For being the best Windows C++ compiler, Clang++ doesn't need to be
>>    compatible with the MS C++ ABI. However (and this is highly
>>    detrimental to Clang, IMO) from reading the mailing lists one could
>>    easily get the impression that until Clang++ gets the MS C++ ABI, it
>>    is not ready for Windows. It wont surprise me to learn that some
>>    contributors are working on the MS C++ ABI because they think that
>>    way.
> Fair point, but being ABI compatible DOES enable certain applications, for example, working with existing binaries that can't be recompiled.

I would like to add that some of the Windows APIs require C++ ABI and 
are not (easily) usable from C, so some applications are only viable if 
Clang can be generally compatible with the MS C++ ABI.

-- 
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist




More information about the cfe-dev mailing list