Re: [Boost-bugs] [Boost C++ Libraries] #8120: DONT_USE_HAS_NEW_OPERATOR warning with MSVC and Intel compiler

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8120: DONT_USE_HAS_NEW_OPERATOR warning with MSVC and Intel compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-30 11:13:16


#8120: DONT_USE_HAS_NEW_OPERATOR warning with MSVC and Intel compiler
-----------------------------------+---------------------------
  Reporter: hamon <re.mamamia@…> | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+---------------------------
Changes (by andre@…):

 * status: closed => reopened
 * version: Boost 1.49.0 => Boost 1.59.0
 * resolution: fixed =>

Comment:

 Hello

 The issue is still there with boost 1.59
 In line 60 of boost\archive\detail\iserializer.hpp there is still the
 code:
 {{{
 #define DONT_USE_HAS_NEW_OPERATOR ( \
        BOOST_WORKAROUND(__IBMCPP__, < 1210) \
     || defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x590) \
 )
 }}}

 And the Intel Compiler 15.0 together with Visual Studio 2015 produces the
 warning:
 .\boost/archive/detail/iserializer.hpp(64): warning !#3199: "defined" is
 always false in a macro expansion in Microsoft mode

 So from my point of view the "bug" has not been fixed and this thread does
 not contain a workaround for fixing it. That's why I reopened this ticket.

 Best regards

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8120#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC