#49449: pymol: error: no type named 'shared_ptr' in namespace 'std' -----------------------------+----------------------------------- Reporter: kathryn.cole@… | Owner: howarth.at.macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: pymol | -----------------------------+----------------------------------- Comment (by howarth.at.macports@…): The proposed fix ix incomplete as the build on 10.7 with Xcode 4.6's clang still fails with... {{{ :info:destroot layer2/AtomInfo.cpp:1166:12: error: no member named 'copy_n' in namespace 'std'; did you mean 'copy'? :info:destroot std::copy_n(u, 6, I->get_anisou()); :info:destroot ~~~~~^~~~~~ :info:destroot copy :info:destroot /usr/include/c++/4.2.1/bits/stl_algobase.h:389:5: note: 'copy' declared here :info:destroot copy(_InputIterator __first, _InputIterator __last, :info:destroot ^ :info:destroot layer2/AtomInfo.cpp:1166:7: error: no matching function for call to 'copy' :info:destroot std::copy_n(u, 6, I->get_anisou()); :info:destroot ^~~~~~~~~~~ :info:destroot /usr/include/c++/4.2.1/bits/stl_algobase.h:389:5: note: candidate template ignored: deduced conflicting types for parameter '_InputIterator' ('float *' vs. 'int') :info:destroot copy(_InputIterator __first, _InputIterator __last, :info:destroot ^ :info:destroot layer2/AtomInfo.cpp:1199:10: error: no member named 'copy_n' in namespace 'std'layer1/CGO.cpp:; did you mean8535: 'copy'? :info:destroot std::copy_n(src->anisou, 6, dst->get_anisou()); :info:destroot ~~~~~^~~~~~ :info:destroot copy :info:destroot /usr/include/c++/4.2.1/bits/stl_algobase.h:389:5: note: 'copy' declared here :info:destroot copy(_InputIterator __first, _InputIterator __last, :info:destroot 5: warning: expression result unused ^ :info:destroot layer2/AtomInfo.cpp:1199:5: error: no matching function for call to 'copy' :info:destroot std::copy_n(src->anisou, 6, dst->get_anisou()); :info:destroot ^~~~~~~~~~~ :info:destroot /usr/include/c++/4.2.1/bits/stl_algobase.h:389:5: note: candidate template ignored: deduced conflicting types for parameter '_InputIterator' ('float *' vs. 'int') :info:destroot copy(_InputIterator __first, _InputIterator __last, :info:destroot ^ :info:destroot [-Wunused-value] :info:destroot CGO_read_int(pc); :info:destroot ^~~~~~~~~~~~~~~~ :info:destroot layer1/CGO.h:34:26: note: expanded from macro 'CGO_read_int' :info:destroot #define CGO_read_int(p) (*((int*)((p)++))) :info:destroot ^~~~~~~~~~~~~~~~ :info:destroot 4 errors generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/49449#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X