I have the following warnings while compiling an openFrameworks 007 project on Visual Studio 2010 SP1:
d:\\pedro\\development\\videoflow\\openframeworks\\lib
Add #undef max
to the top of the relevant files.
#pragma warning (disable: 4003)
You are not the first to be bitten by these ancient macros. They can't remove them, that would break old code. So they came up with another macro to remove the sting. Make it look like this:
#ifndef NOMINMAX
# define NOMINMAX
#endif
#include <windows.h>
// Rest of your #includes here
//...
#ifdef _WIN32
#pragma warning(push)
#pragma warning(disable : 4003)
#endif
... // code with min/max warning you wish to suppress
#ifdef _WIN32
#pragma warning(pop)
#endif