[MacPorts] #54395: codeblocks: needs C++11
MacPorts
noreply at macports.org
Thu Jun 29 08:30:20 UTC 2017
#54395: codeblocks: needs C++11
--------------------+------------------------
Reporter: mojca | Owner: mojca
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: codeblocks
--------------------+------------------------
Codeblocks currently fails to build without C++11 compiler:
{{{
/usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/include
/osx_cocoa-unicode-3.0
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__
-D__WXOSX_COCOA__ -I../../src/include -I../../src/include
-I../../src/sdk/wxscintilla/include -I../../src/include/scripting/sqplus
-I../../src/include/mozilla_chardet
-I../../src/include/mozilla_chardet/mfbt
-I../../src/include/mozilla_chardet/nsprpub/pr/include
-I../../src/include/mozilla_chardet/xpcom
-I../../src/include/mozilla_chardet/xpcom/base
-I../../src/include/mozilla_chardet/xpcom/glue -DCB_AUTOCONF
-I/opt/local/include -DCB_PRECOMP -DPIC -I../../src/include/tinyxml
-DTIXML_USE_STL=YES -pipe -Os -stdlib=libstdc++ -arch x86_64 -Winvalid-
pch -fPIC -fexceptions -o sdk_precomp.h.gch -xc++-header ./sdk_precomp.h
In file included from ./sdk_precomp.h:13:
In file included from ../../src/include/sdk_common.h:43:
../../src/include/prep.h:366:16: error: no member named 'shared_ptr' in
namespace 'std'
using std::shared_ptr;
~~~~~^
../../src/include/prep.h:367:16: error: no member named
'static_pointer_cast' in namespace 'std'
using std::static_pointer_cast;
~~~~~^
../../src/include/prep.h:368:16: error: no member named 'weak_ptr' in
namespace 'std'
using std::weak_ptr;
~~~~~^
}}}
I'll test whether using the `cxx11 1.1` PortGroup is sufficient.
--
Ticket URL: <https://trac.macports.org/ticket/54395>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list