Subject: [Boost-bugs] [Boost C++ Libraries] #2086: Add build option to define _secure_scl=0 + add runtime check to ensure no ODR violation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-08 09:35:58
#2086: Add build option to define _secure_scl=0 + add runtime check to ensure no
ODR violation
--------------------------------------------+-------------------------------
Reporter: Marcus Lindblom <macke_at_[hidden]> | Type: Feature Requests
Status: new | Milestone: Boost 1.36.0
Component: Building Boost | Version: Boost 1.35.0
Severity: Problem | Keywords:
--------------------------------------------+-------------------------------
The binary incompatibily caused by this macro is a bit of a headache, and
figuring out how to set it from bjam is not well documented.
It does mean one has to recompiling boost a few times to get it right.
I'd be delighted for having a bjam setting for this (with an additional
-xx- on the lib/dlls).
Extra bonus for a check somewhere that compares the user's setting with
that of the compiled dll. (f.ex. by a generating a .hpp-file during build
that everyone includes and does #if(n)def _SECURE_SCL / #error
(inconsistent build options) )
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2086> 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:49:58 UTC