[Boost-bugs] [Boost C++ Libraries] #7009: include move in posix_api.cpp for _SECURE_SCL with vc80

Subject: [Boost-bugs] [Boost C++ Libraries] #7009: include move in posix_api.cpp for _SECURE_SCL with vc80
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-21 15:43:08


#7009: include move in posix_api.cpp for _SECURE_SCL with vc80
------------------------------------------------------+---------------------
 Reporter: Luke Elliott <lukester_null@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
------------------------------------------------------+---------------------
 In my build environment I turn off _SECURE_SCL by adding some defines to
 visualc.hpp.

 The causes a small issue in posix_api.cpp where the includes are:
 {{{
 #include <cstdio>
 #include <boost/regex.hpp>
 #include <boost/cregex.hpp>
 }}}
 so I have to patch that to
 {{{
 #include <boost/regex.hpp>
 #include <boost/cregex.hpp>
 #include <cstdio>
 }}}
 such that the _SECURE_SCL definition is correct before any compiler
 headers are included.

 No big deal, but I thought I'd mention as it should be harmless change for
 everyone and would mean one less patch to maintain against upstream boost!

 Best regards

 Luke Elliott.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7009>
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:09 UTC