> On Mar 20, 2017, at 05:54, Mark Evenson <ea...@users.noreply.github.com> 
> wrote:
> 
> Mark Evenson (easye) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/c9e772d7cb0f771ad2903357565071777e3450ba
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new c9e772d  finance/bitcoin: update to bitcoin-core-0.14.0
> 
> c9e772d is described below
> 
> 
> commit c9e772d7cb0f771ad2903357565071777e3450ba
> 
> Author: Mark <evenson.not....@gmail.com
> >
> AuthorDate: Mon Mar 20 11:54:45 2017 +0100
> 
> 
>     finance/bitcoin: update to bitcoin-core-0.14.0
> 
>     
> 
>     N.b. the qt5 gui build is broken with this update seemingly due to
> 
>     problems enabling C++11 in the compiler:
> 
>     
> 
>         error Qt requires a C++11 compiler and yours does not seem to be that.
> 
>     
> 
>     This error occurs despite a build command which seems to be trying to use 
> C++11:

The specific compile command that elicits the error is:

/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../src/config  -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=2 -I. -I./obj -I/opt/local/include/db48/ -pthread 
-I/opt/local/include -I./leveldb/include -I./leveldb/helpers/memenv   
-I./secp256k1/include -I./univalue/include -I./qt -I./qt -I./qt/forms 
-I./qt/forms -DQT_NO_KEYWORDS -I/opt/local/libexec/qt5/include/QtNetwork 
-I/opt/local/libexec/qt5/include -I/opt/local/libexec/qt5/include/QtWidgets 
-I/opt/local/libexec/qt5/include -I/opt/local/libexec/qt5/include/QtGui 
-I/opt/local/libexec/qt5/include -I/opt/local/libexec/qt5/include/QtCore 
-I/opt/local/libexec/qt5/include -D_THREAD_SAFE  -I/opt/local/include 
-DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -isystem /opt/local/include 
-I/opt/local/include/db48 -DMAC_OSX  -pipe -Os -stdlib=libc++ -arch x86_64 -MT 
qt/qt_bitcoin_qt-macdockiconhandler.o -MD -MP -MF 
qt/.deps/qt_bitcoin_qt-macdockiconhandler.Tpo -c -o 
qt/qt_bitcoin_qt-macdockiconhandler.o `test -f 'qt/macdockiconhandler.mm' || 
echo './'`qt/macdockiconhandler.mm

Note that it does not say "-std=c++11" there. Therefore clang advertises 
__cplusplus as 199711L instead of 201103L, so the qcompilerdetection.h header 
complains. Sounds like a mistake in the bitcoin build system.

Reply via email to