J
jm
Hello,
It appears the compiler #define _MSC_VER is broken under .NET, even though
when "mousing over" the _MSC_VER it says it's #def'd as 1300. That's exactly
what I'd expect. However, when I compile code that uses it -
#if _MSC_VER == 1200
// some code here
#elif _MSC_VER == 1300
// somemore code
#endif
OR
// let's make an intentional error.....
#if _MSC_VER == 1300
badbad = 5
#endif
..NET won't see the code for either of the examples. Is this a known bug? And
is there a reasonable work-around?
Thanks!
jm
It appears the compiler #define _MSC_VER is broken under .NET, even though
when "mousing over" the _MSC_VER it says it's #def'd as 1300. That's exactly
what I'd expect. However, when I compile code that uses it -
#if _MSC_VER == 1200
// some code here
#elif _MSC_VER == 1300
// somemore code
#endif
OR
// let's make an intentional error.....
#if _MSC_VER == 1300
badbad = 5
#endif
..NET won't see the code for either of the examples. Is this a known bug? And
is there a reasonable work-around?
Thanks!
jm