On 2017/10/12 17:14, Frédéric wrote:
However, why does w64 treat differently -std=gnu++XX than -std=c++XX?
This does not look consistent to me as WIN32 is not concerned by the standard.
It is GCC that does that, not MinGW-w64.

The standard does not treat `WIN32` particularly, but the rule is simple: If the standard does not say something shall not be used (in the last example `WIN32` is used as the identifier of an object of type `int`), the user is free to use it; and if use of it leads to compiler errors, the implementation would be non-conforming.

--
Best regards,
LH_Mouse


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to