13 Aug
2008
13 Aug
'08
12:56 a.m.
AMDG Bob Monat wrote:
_MSC_VER 1400
_MSC_FULL_VER 140040310
Please excuse my ignorance. Is there any easy way to display these values?
Although I didn't say it, I was looking for a compile time, not run time, method.
In this context, I don't see why it matters. You can try something like this #pragma warning(push, 4) #pragma warning(default: 4150) template<int N> struct _MSC_VER_IS; extern _MSC_VER_IS<_MSC_VER>* display_msc_ver_impl; inline void display_msc_ver() { sizeof(delete display_msc_ver_impl, 0); } #pragma warning(pop) In Christ, Steven Watanabe