Project

General

Profile

Actions

Bug #1286

closed

Wt C++ build failure on mac 10.6 using boost 1.49

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/09/2012
Due date:
% Done:

0%

Estimated time:

Description

Witty is downloaded today with the latest boost version (1.49) built today. Witty build fails with below error messages originating from src/web/random_device.cpp

[ 1%] Building CXX object src/CMakeFiles/wt.dir/web/random_device.o

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:45: error: 'const unsigned int boost::random::random_device::min_value' is not a static member of 'class boost::random::random_device'

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:45: error: uninitialized const 'boost::random::random_device::min_value'

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:46: error: 'const unsigned int boost::random::random_device::max_value' is not a static member of 'class boost::random::random_device'

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:46: error: uninitialized const 'boost::random::random_device::max_value'

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:51: error: 'const char* const boost::random::random_device::default_token' is not a static member of 'class boost::random::random_device'

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp: In constructor 'boost::random::random_device::random_device(const std::string&)':

/Users/Rama/Desktop/wt-3.1.7a/src/web/random_device.cpp:162: error: 'max_value' was not declared in this scope

make[2]: * [src/CMakeFiles/wt.dir/web/random_device.o] Error 1

make[1]: * [src/CMakeFiles/wt.dir/all] Error 2

make: * [all] Error 2

What is it with the BOOST_NO_INCLASS_MEMBER_INITIALIZATION macro at line 42 in random_device.cpp? does it need to be passed at command line? if so how?

#2

Updated by Koen Deforche almost 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Wim Dumon
#6

Updated by Koen Deforche over 12 years ago

  • Status changed from Resolved to Closed
  • Target version set to 3.2.2
Actions

Also available in: Atom PDF