Tasks #514

boost.thread doesn't work with gcc-4.5 in c++0x mode

Added by Anonymous almost 13 years ago. Updated almost 13 years ago.

Status:ResolvedStart date:08/19/2011
Priority:NormalDue date:
Assignee:M. Rolf% Done:

100%

Category:-
Target version:NemoMath 0.1

Description

grrr
This was a nasty one (to find).
boost.thread doesn't work with gcc-4.5 in c++0x mode - Not a NemoMath bug, but right now breaks compatibility to boost.thread (under given conditions).
Just noting ...


Related issues

Related to NemoMath - Enhancement #618: Make configuration of USE_CPP_0X depending on GCC version? Rejected 10/10/2011

History

#1 Updated by M. Rolf almost 13 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

The general reason for using c++0x is that the new operator-features on Mappings (see r61)
require to evaluate the result-type of operator expressions such as (ClassA() * ClassB()).
The c++0x featured keyword decltype is a nice way to do that.

There is a number of alternatives to that keyword:

#2 Updated by M. Rolf almost 13 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 30 to 50

Introduced new option USE_CPP_0X, which is true by default.
Turn it off to use GCC-specific fallback (__decltype).

#3 Updated by Anonymous almost 13 years ago

Compiling again. Thx.

#4 Updated by M. Rolf almost 13 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 50 to 100

#5 Updated by M. Rolf almost 13 years ago

  • Target version set to NemoMath 0.1

Also available in: Atom PDF