Nick Meyer
2008-04-18 14:56:03 UTC
Hi,
I'm trying to compile a solution on Visual Studio 2005 under Windows XP.
The solution builds fine in Debug configuration, however, when I try to build
it in release, I get 80 errors about GdiplusTypes.h being unable to find
'min' and 'max.'
Error 6 error C3861: 'min': identifier not found c:\program files\microsoft
visual studio 8\vc\platformsdk\include\GdiplusTypes.h 459
Error 7 error C3861: 'max': identifier not found c:\program files\microsoft
visual studio 8\vc\platformsdk\include\GdiplusTypes.h 460
I've searched my whole solution for anywhere we might have #undef'ed min and
max, as well as any cases of #define NOMINMAX before #include-ing <gdiplus.h>
and didn't find anything.
Certainly, I would expect that if VS couldn't find these identifiers in
Release configuration, it wouldn't be able to find them in Debug
configuration either.
Has anyone come across this or a similar problem before? Any other ideas as
to how I might be able to track this down?
Thanks,
Nick Meyer
I'm trying to compile a solution on Visual Studio 2005 under Windows XP.
The solution builds fine in Debug configuration, however, when I try to build
it in release, I get 80 errors about GdiplusTypes.h being unable to find
'min' and 'max.'
Error 6 error C3861: 'min': identifier not found c:\program files\microsoft
visual studio 8\vc\platformsdk\include\GdiplusTypes.h 459
Error 7 error C3861: 'max': identifier not found c:\program files\microsoft
visual studio 8\vc\platformsdk\include\GdiplusTypes.h 460
I've searched my whole solution for anywhere we might have #undef'ed min and
max, as well as any cases of #define NOMINMAX before #include-ing <gdiplus.h>
and didn't find anything.
Certainly, I would expect that if VS couldn't find these identifiers in
Release configuration, it wouldn't be able to find them in Debug
configuration either.
Has anyone come across this or a similar problem before? Any other ideas as
to how I might be able to track this down?
Thanks,
Nick Meyer