predef: BOOST_COMP_MSVC defined for Gcc/Linux?
23 Oct
2016
23 Oct
'16
4:04 p.m.
Hi, test '#if defined(BOOST_COMP_MSVC)' evaluates to true with GCC on Linux. what I'm missing? Oliver
23 Oct
23 Oct
8:54 p.m.
On Sun, Oct 23, 2016 at 11:04 AM, Oliver Kowalke
Hi, test '#if defined(BOOST_COMP_MSVC)' evaluates to true with GCC on Linux. what I'm missing?
Most Predef macros are always defined. The exception are the *_AVAILABLE defs. You need to do either one of these: #if BOOST_COMP_MSVC or: #if defined(BOOST_COMP_MSVC_AVAILABLE) HTH -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
2956
Age (days ago)
2957
Last active (days ago)
2 comments
2 participants
participants (2)
-
Oliver Kowalke
-
Rene Rivera