[cfe-dev] GSoC Proposal: Improve Windows Support

Reid Kleckner rnk at google.com
Thu Apr 25 08:07:29 PDT 2013


On Thu, Apr 25, 2013 at 10:59 AM, Nico Rieck <nico.rieck at gmail.com> wrote:
> On 25.04.2013 16:34, Reid Kleckner wrote:
>>
>> On Thu, Apr 25, 2013 at 7:59 AM, João Matos <ripzonetriton at gmail.com>
>> wrote:
>>>
>>> On Thu, Apr 25, 2013 at 12:45 PM, endlessroad1991 at gmail.com
>>> When targeting the MSVC runtime, even if the MS ABI is not mature, it's
>>> getting better and some stuff will actually work, unlike the current
>>> defaults (Itanium manglings) which will never work.
>>
>>
>> This is from the triple, right?  That defaults to *-pc-win32, which to
>> me means we should use the Microsoft C++ ABI.  But this could break
>> someone out there who forgot to target mingw.
>
>
> What if you use something else, like libc++?

Then make sure the triple matches whatever was used to build libc++.

The current default ABI is a mix of the MSVC C ABI and the Itanium C++
ABI.  I don't think we want to perpetuate this situation going
forward.  Better for force users to choose between 100% mingw and 100%
native.




More information about the cfe-dev mailing list