id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7671,Error including boost/thread.hpp header on iOS,Dr.Schroers@…,viboes,"'''System configuration:''' MacOS X 10.8.2, Xcode 4.5.2, iOS SDK 6.0, iOS 6.0.1 installed on device, boost v1.52.0 compiled via the script at http://gitorious.org/~galbraithjoseph/boostoniphone/galbraithjosephs-boostoniphone All latest patches and updates installed. '''Setup:''' I have successfully built the boost.framework using the above script and included it into an iOS project with a test target. One test case class includes the file ``. '''Expected behavior:''' The test target is compiled and run on the device. '''Observed behavior:''' Compilation fails with three times the error message ""Semantic issue - Constexpr function never produces a constant expression"". In all three cases the issue appears to be due to the same piece of code included in the following hierarchy: {{{ boost/thread.hpp line 13: boost/thread/thread.hpp line 17: boost/thread/pthread/thread_data.hpp line 11: boost/thread/locks.hpp line 11: boost/chrono/time_point.hpp line 18: boost/chrono/duration.hpp line 33: boost/chrono/duration.hpp lines 355/363/371: limits line 443 }}} '''Comment:''' This applies only to the `thread.hpp` header. In the test case object I have also included the `` and the `` headers. These two are correctly included and the corresponding test cases work as expected. Only the `thread.hpp` header shows the issue described above. ",Bugs,closed,Boost 1.53.0,thread,Boost 1.52.0,Problem,fixed,,viboes