[MacPorts] #59565: lttoolbox: error: expected '; ' at end of declaration list
MacPorts
noreply at macports.org
Sat Nov 2 16:03:50 UTC 2019
#59565: lttoolbox: error: expected ';' at end of declaration list
------------------------+-----------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: lttoolbox
------------------------+-----------------------
[https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/671/steps
/install-port/logs/stdio lttoolbox does not build]:
{{{
In file included from expander.cc:20:
In file included from ../lttoolbox/compiler.h:31:
In file included from /opt/local/include/libxml2/libxml/xmlreader.h:14:
In file included from /opt/local/include/libxml2/libxml/tree.h:1307:
In file included from /opt/local/include/libxml2/libxml/xmlmemory.h:218:
In file included from /opt/local/include/libxml2/libxml/threads.h:35:
In file included from /opt/local/include/libxml2/libxml/globals.h:18:
In file included from /opt/local/include/libxml2/libxml/parser.h:810:
In file included from /opt/local/include/libxml2/libxml/encoding.h:31:
In file included from /opt/local/include/unicode/ucnv.h:53:
In file included from /opt/local/include/libxml2/unicode/uenum.h:23:
/opt/local/include/libxml2/unicode/localpointer.h:71:51: warning: deleted
function definitions are a C++11 extension [-Wc++11-extensions]
static void* U_EXPORT2 operator new(size_t) = delete;
^
/opt/local/include/libxml2/unicode/localpointer.h:72:53: warning: deleted
function definitions are a C++11 extension [-Wc++11-extensions]
static void* U_EXPORT2 operator new[](size_t) = delete;
^
/opt/local/include/libxml2/unicode/localpointer.h:74:58: warning: deleted
function definitions are a C++11 extension [-Wc++11-extensions]
static void* U_EXPORT2 operator new(size_t, void*) = delete;
^
/opt/local/include/libxml2/unicode/localpointer.h:224:34: warning: rvalue
references are a C++11 extension [-Wc++11-extensions]
LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT :
LocalPointerBase<T>(src.ptr) {
^
/opt/local/include/libxml2/unicode/localpointer.h:224:40: error: expected
';' at end of declaration list
LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT :
LocalPointerBase<T>(src.ptr) {
^
;
/opt/local/include/libxml2/unicode/localpointer.h:405:30: warning: rvalue
references are a C++11 extension [-Wc++11-extensions]
LocalArray(LocalArray<T> &&src) U_NOEXCEPT :
LocalPointerBase<T>(src.ptr) {
^
/opt/local/include/libxml2/unicode/localpointer.h:405:36: error: expected
';' at end of declaration list
LocalArray(LocalArray<T> &&src) U_NOEXCEPT :
LocalPointerBase<T>(src.ptr) {
^
;
}}}
This has been discussed elsewhere with other ports, but it seems that
because libxml2 uses icu, and because icu now requires C++11, anything
that uses this part of libxml2 now also requires C++11.
--
Ticket URL: <https://trac.macports.org/ticket/59565>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list