[MacPorts] #50162: py-bob-learn-boosting: build fails on 10.8, error: no member named 'hash_code' in 'std::type_info'

MacPorts noreply at macports.org
Mon Dec 28 20:56:19 PST 2015


#50162: py-bob-learn-boosting: build fails on 10.8, error: no member named
'hash_code' in 'std::type_info'
----------------------+-----------------------------------
 Reporter:  devans@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py-bob-learn-boosting
----------------------+-----------------------------------
 {{{
 :info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64
 -Wno-strict-aliasing -DBOB_EXT_MODULE_PREFIX="bob.learn.boosting"
 -DBOB_EXT_MODULE_NAME="_library" -DBOB_EXT_ENTRY_NAME=init_library
 -DBOB_EXT_MODULE_VERSION="2.0.3" -DHAVE_BOOST=1 -DBOOST_VERSION="1.59.0"
 -DHAVE_BLITZ=1 -DBLITZ_VERSION="0.10"
 -DPY_ARRAY_UNIQUE_SYMBOL=BOB_NUMPY_C_API -DNO_IMPORT_ARRAY=1
 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION
 -I/opt/local/var/macports/build
 /_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-learn-
 boosting/py27-bob-learn-
 boosting/work/bob.learn.boosting-2.0.3/bob/learn/boosting/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/blitz/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/extension/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/io/base/include -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c bob/learn/boosting/weak_machine.cpp -o
 build/temp.macosx-10.8-x86_64-2.7/bob/learn/boosting/weak_machine.o
 -std=c++0x -Wno-#warnings -isystem
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include -isystem /opt/local/include
 :info:build bob/learn/boosting/weak_machine.cpp:16:39: error: no member
 named 'hash_code' in 'std::type_info'
 :info:build   size_t type_hash = typeid(*machine).hash_code();
 :info:build                      ~~~~~~~~~~~~~~~~ ^
 :info:build bob/learn/boosting/weak_machine.cpp:63:70: error: no member
 named 'hash_code' in 'std::type_info'
 :info:build   if
 (!registerMachineType(typeid(bob::learn::boosting::WeakMachine).hash_code(),
 &weakMachineCreate))
 :info:build
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
 :info:build 2 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50162>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list