Opened 9 years ago
Closed 9 years ago
#8542 closed Bugs (fixed)
Including date_time.hpp after CoreServices.h results in compiler error
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | type_traits |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | CoreServices | Cc: |
Description
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>
Attachments (2)
Change History (6)
by , 9 years ago
Attachment: | datetimeerror.txt added |
---|
comment:1 by , 9 years ago
Summary: | Including date_time.hpp after CoreServices.h results in syntax error → Including date_time.hpp after CoreServices.h results in compiler error |
---|
by , 9 years ago
Attachment: | 8542.patch added |
---|
comment:3 by , 9 years ago
Component: | date_time → type_traits |
---|---|
Owner: | changed from | to
The fix for this goes into Boost.TypeTraits; not DateTime.
Patch attached. (rename 'check' --> 'check_', sigh)
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Compiler output