Project

General

Profile

Actions

Support #3709

closed

Make errors with Boost 1.57 on Mac OS.

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

Status:
Closed
Priority:
Normal
Assignee:
Anonymous
Target version:
Start date:
12/26/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi Guys

Anybody also encounter this? Built on Mac (10.10) with boost 1.57 and both Wt 3.3.3/3.3.4.


[ 0%] Building CXX object src/CMakeFiles/wt.dir/Wt/PopupWindow.o

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/PopupWindow.C:7:

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/WApplication:25:

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/WObject:136:

/opt/local/include/boost/signals2/trackable.hpp:48:43: error: implicit instantiation of undefined template 'boost::weak_ptrboost::signals2::detail::trackable_pointee'

weak_ptrdetail::trackable_pointee get_weak_ptr() const

^

/opt/local/include/boost/smart_ptr/shared_ptr.hpp:718:36: note: template is declared here

template friend class weak_ptr;

^

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/PopupWindow.C:7:

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/WApplication:25:

In file included from /Users/eugene/Downloads/wt-3.3.4-rc1/src/Wt/WObject:136:

/opt/local/include/boost/signals2/trackable.hpp:50:18: error: implicit instantiation of undefined template 'boost::weak_ptrboost::signals2::detail::trackable_pointee'

return _tracked_ptr;

^

/opt/local/include/boost/smart_ptr/shared_ptr.hpp:718:36: note: template is declared here

template friend class weak_ptr;

^

2 errors generated.

make[2]: * [src/CMakeFiles/wt.dir/Wt/PopupWindow.o] Error 1

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

make: * [all] Error 2

Regards,

E

Actions #1

Updated by Wim Dumon almost 10 years ago

  • Status changed from New to Resolved

Hello,

I believe this is due to a bug in boost 1.57. This is the fix:

https://github.com/boostorg/signals2/commit/fd0d8042e2bb2fb5a4d88bcfc700c1cb9d7aa1bb

Wim.

Actions #2

Updated by Koen Deforche almost 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF