[MacPorts] #52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std'

MacPorts noreply at macports.org
Mon Sep 26 07:54:04 CEST 2016


#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std'
---------------------+----------------------
 Reporter:  mojca@…  |      Owner:  devans@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  gpgme
---------------------+----------------------
 Installing gpgme 1.7.0 fails on 10.7 with:
 {{{
 /bin/sh ../../../libtool  --tag=CXX   --mode=compile /usr/bin/clang++
 -std=c++11 -DHAVE_CONFIG_H -I. -I../../..  -I../../../src
 -I/opt/local/include -I/opt/local/include -DBUILDING_GPGMEPP
 -I/opt/local/include  -pipe -Os -stdlib=libstdc++ -arch x86_64 -MT
 context.lo -MD -MP -MF .deps/context.Tpo -c -o context.lo context.cpp
 libtool: compile:  /usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H -I.
 -I../../.. -I../../../src -I/opt/local/include -I/opt/local/include
 -DBUILDING_GPGMEPP -I/opt/local/include -pipe -Os -stdlib=libstdc++ -arch
 x86_64 -MT context.lo -MD -MP -MF .deps/context.Tpo -c context.cpp  -fno-
 common -DPIC -o .libs/context.o
 In file included from context.cpp:23:
 In file included from ./context.h:30:
 ./verificationresult.h:77:10: error: no type named 'shared_ptr' in
 namespace 'std'
     std::shared_ptr<Private> d;
     ~~~~~^
 ./verificationresult.h:77:20: error: expected member name or ';' after
 declaration specifiers
     std::shared_ptr<Private> d;
     ~~~~~~~~~~~~~~~^
 }}}
 This might be connected with libstdc++ (i.e. no proper support for C++11),
 but I didn't try to investigate any further yet.

-- 
Ticket URL: <https://trac.macports.org/ticket/52383>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list