Subject: [Boost-bugs] [Boost C++ Libraries] #13192: DLL BOOST_DLL_ALIAS does not compile with Intel C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-09-05 12:22:51
#13192: DLL BOOST_DLL_ALIAS does not compile with Intel C++
------------------------------+---------------------
Reporter: oley@⦠| Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.63.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
The problem is similar to #12290, which was fixed in:
Fix aliases on Windows+IntelCompiler (trac 12290):
{{{
-#if BOOST_COMP_MSVC
+#if BOOST_COMP_MSVC || (BOOST_COMP_INTEL && BOOST_OS_WINDOWS)
}}}
I have Intel® Parallel Studio XE 2017 Update 4 (2017.4.120) integrated
with
MS Visual Studio 2017 Enterprise Update 3 (15.3.3)
and the compiler detection in intel.h:
{{{
#ifdef BOOST_COMP_INTEL_DETECTION
# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
# define BOOST_COMP_INTEL_EMULATED BOOST_COMP_INTEL_DETECTION
# else
# undef BOOST_COMP_INTEL
# define BOOST_COMP_INTEL BOOST_COMP_INTEL_DETECTION
# endif
# define BOOST_COMP_INTEL_AVAILABLE
# include <boost/predef/detail/comp_detected.h>
#endif
}}}
defines:
BOOST_COMP_INTEL_EMULATED <= BOOST_COMP_INTEL_DETECTION
BOOST_COMP_INTEL <= BOOST_VERSION_NUMBER_NOT_AVAILABLE
This causes the BOOST_DLL_SECTION to be incorrectly defined.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13192> 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-09-05 12:29:23 UTC