predef: BOOST_COMP_MSVC defined for Gcc/Linux?

Hi, test '#if defined(BOOST_COMP_MSVC)' evaluates to true with GCC on Linux. what I'm missing? Oliver

On Sun, Oct 23, 2016 at 11:04 AM, Oliver Kowalke <oliver.kowalke@gmail.com> wrote:
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

2016-10-23 22:54 GMT+02:00 Rene Rivera <grafikrobot@gmail.com>:
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
ah false assumtion from my side, thx Rene
participants (2)
-
Oliver Kowalke
-
Rene Rivera