Re: [Boost-users] MS SDK 2003 Compiler Configuration

13 Aug
13 Aug
12:56 a.m.
New subject: MS SDK 2003 Compiler Configuration
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
6038
Age (days ago)
6038
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bob Monat
-
Steven Watanabe