Closed
Description
In platform.h for Windows, there is a definition of NOMINMAX that causes warnings when it is already defined.
//Avoid min and max being defined
#if defined(_WIN32)
#define NOMINMAX
#endif
Furthermore, right above it is another definition of NOMINMAX correctly wrapped by an ifdef
#if defined(_WIN32)
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifndef VC_EXTRALEAN
# define VC_EXTRALEAN
# endif
# ifndef NOMINMAX
# define NOMINMAX
# endif
# ifndef NOGDI
# define NOGDI
# endif
# include <windows.h>
#endif
Metadata
Assignees
Labels
No labels
Activity