[Boost-bugs] [Boost C++ Libraries] #8542: Including date_time.hpp after CoreServices.h results in syntax error

Subject: [Boost-bugs] [Boost C++ Libraries] #8542: Including date_time.hpp after CoreServices.h results in syntax error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-02 18:36:29


#8542: Including date_time.hpp after CoreServices.h results in syntax error
--------------------------------+-------------------------------------------
 Reporter: collin@… | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: CoreServices |
--------------------------------+-------------------------------------------
 I'm using XCode 4 to compile a C++ project using GCC 4.2 on Mac OS X Lion
 (10.7.5) and Boost 1.53.0.

 I've found that if I include <CoreServices/CoreServices.h> before
 <boost/date_time.hpp>, I get a series of `expected }` errors and an `
 expected unqualified-id before 'do'`.

 I am able to reproduce this with a cpp file containing:
 #include <CoreServices/CoreServices.h>
 #include <boost/date_time.hpp>

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