I am getting a new Warning (compiling winXP)

Hi, first you are programming at the speed of light compared to a few months ago. Nice XD
Now the bug:
After the revision 1230, i am getting this warning when i compile on windows xp (codelite)

../../include/reader.h 42:0, ../../include/reader_util.h 26:0: warning: "NOMINMAX" redefined e:\c\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/mingw32/bits/os_defines.h 46:0: note: this is the location of the previous definition

I do not know if is because i use codelite on windows (i read on other post, better use VS) but the change of the file is on the revision 1230 on the file reader_util.h with the addition of the next to lines:

#define WIN32_LEAN_AND_MEAN #define NOMINMAX

I DO NOT KNOW IF THIS IS A BUG, IT IS JUST A QUESTION ABOUT THIS WARNING

Hi, the warning is not critical and can be ignored. It could be solved by adding a guard (#ifndef NOMINMAX #define NOMINMAX #endif) around it.

Windows.h has the problem that it includes lots of other windows-related files and they conflict with our functions. e.g. Skip in the Reader; and Min, Max in the util_macro.h. The NOMINMAX macro is to disable Min and Max from windows.h.

thanks for the reply. I just posted because the same warning keep showing and i did not know if these could be a problem.
If some mod want to delete this post feel free.