You can easily see the problem, by just compiling the one-liner cpp in the
attachment which merely #include<d3dx9.h> and getting messages like "error:
'max' was not declared in this scope". The file compiles OK with your
4.7.0-3 build.
And I did the tests all with the w64-mingw32 builds, if that helps.
By "these headers now include the C++ config headers" I suspect and mean
the now-broken headers e.g. d3dx9.h must be somehow including the
macro-#undef-ers e.g. bits/os_defines.h that #undef's the max/min macros,
though I haven't checked for sure. Anyway, I think it should be regarded as
a bug rather than a feature to get rid of the annoying os-specific
#define's this way, as keeping #undef-ing the min/max macros everywhere in
favor of std::min/max is clearly not exciting news for the old good Win API
"C" headers.
2012/5/6 Ruben Van Boxem <[email protected]>
> Can you post a small code sample displaying the issue? What do you mean by
> "these headers now include the C++ config headers"? Do you think there's a
> naming conflict and the wrong headers are being wrongfully picked up?
>
> Ruben
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
#include<d3dx9.h>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public