[MacPorts] #60552: db-browser-for-sqlite blacklists clang < 800
MacPorts
noreply at macports.org
Mon May 25 03:45:12 UTC 2020
#60552: db-browser-for-sqlite blacklists clang < 800
------------------------+-----------------------------------
Reporter: ryandesign | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: db-browser-for-sqlite
------------------------+-----------------------------------
db-browser-for-sqlite blacklists clang < 800 with this remark:
{{{
# Qt's C++11 test seems more stringent than MacPorts ??
#
/opt/local/libexec/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:562:6:
# error: Qt requires a C++11 compiler and yours does not seem to be
that.
compiler.blacklist-append {clang < 800}
}}}
I don't think this is necessary. Think the real problem is that that
particular invocation of the compiler has neglected to specify
`-std=c++11` so the compiler has used its older default C++ mode. The
solution would be to specify `-std=c++11` everywhere. Ideally the
developers would fix this problem in their build system but until they do
it should be solvable by adding `configure.cxxflags-append -std=c++11` to
the portfile instead of blacklisting older clang. Then the
compiler_blacklist_versions portgroup can be removed from the portfile as
well.
--
Ticket URL: <https://trac.macports.org/ticket/60552>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list