Re: [Boost-bugs] [Boost C++ Libraries] #1768: system: error_code.cpp #defines macros without checking whether already defined

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1768: system: error_code.cpp #defines macros without checking whether already defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-05 19:08:32


#1768: system: error_code.cpp #defines macros without checking whether already
defined
---------------------------+------------------------------------------------
  Reporter: mmarcus | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: Boost 1.36.0 | Component: system
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment (by mmarcus):

 Actually, a short term fix (e.g. for possible 1.35.1) keeping the current
 semantics, but avoiding errors for those errors who define this flag
 globally via the command line of their build system, might be to replace:
 #define _CRT_SECURE_NO_DEPRECATE
 #define _SCL_SECURE_NO_DEPRECATE
 with
 #define _CRT_SECURE_NO_DEPRECATE 1
 #define _SCL_SECURE_NO_DEPRECATE 1

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1768#comment:1>
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:57 UTC