User forums > Help
# if _MSC_VER >= 1400
oBFusCATed:
This is not a good idea. Why would you want to do this? This is internal define in the compiler, bad things will happen if there is a mismatch.
Most compilers make it possible to generate the preprocessed source code instead of object files. Search the internet for details how to do this with your compiler
visir:
Okay, it looks like _MSC_VER is undefined for me. And because it's undefined, expressions like #if _MSC_VER >= 1400 are equivalent to #if 0 >= 1400. This is actually in C and C++ standards, according to https://stackoverflow.com/questions/5085392/what-is-the-value-of-an-undefined-constant-used-in-if
Looks like there is a bug in codeblocks, if it thinks that _MSC_VER is undefined, and still thinks that _MSC_VER >= 1400 is true.
Actually whatever, I'll need to delete all those anyway.
Navigation
[0] Message Index
[*] Previous page
Go to full version