[swift-evolution] #if os(Windows) and MSVC/Cygwin Compatibility

Chris Lattner clattner at apple.com
Tue May 3 23:40:50 CDT 2016


> On May 3, 2016, at 9:39 PM, Joe Groff <jgroff at apple.com> wrote:
> 
> 
>> On May 3, 2016, at 9:27 PM, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> MSVC and MinGW (again, AFAIK) use the same C ABI, and thus could be treated as the same target.
>> 
> Part of the problem is that MSVC and Mingw *don't* share a C ABI or runtime. Only 'stdcall' and COM stuff from the Win32 system APIs is portable between them at the binary level. 

I thought that MinGW worked with the system libc?

-Chris


More information about the swift-evolution mailing list