Yes,

That's precisely what I meant by the word "conflates".

On Sun, Jan 6, 2013 at 4:41 PM, Earnie Boyd
<[email protected]> wrote:
> On Sun, Jan 6, 2013 at 11:35 AM, Ray Donnelly wrote:
>> I've had a quick look at the source code and it's littered with stuff like:
>>
>> #ifdef _MSC_VER
>
> Which is the wrong MACRO to detect Windows build.  It is the right
> MACRO to detect using MSVC.
>
>> #include <Winsock2.h>
>> ...
>>
>> So the fact is that the code itself conflates Windows builds with the
>> MSVC compiler via _MSC_VER
>>
>> ..you could in theory do something awful like ./configure
>> CFLAGS="-D_MSC_VER=<SOMETHING_VALID>" but the conflation will still
>> bite you due to things like:
>>
>> #ifdef _MSC_VER
>> #pragma warning( disable : 4503 4355 4786 4290 )
>>
>
> This is the correct MACRO to use for compiler specific things like this.
>
> So to get this to build correctly with GCC you'll need to determine
> which items in the code identified by _MSC_VER should really be _WIN32
> and change them.
>
> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to