Date: Thu, 29 Jun 2023 16:15:46 GMT From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b475ea0a7e23 - main - devel/libcutl: fix build on current by restricting to c++11 Message-ID: <202306291615.35TGFkU5069636@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=b475ea0a7e23532d7e48eb782502c3a456aad02d commit b475ea0a7e23532d7e48eb782502c3a456aad02d Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2023-06-29 16:14:46 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2023-06-29 16:14:46 +0000 devel/libcutl: fix build on current by restricting to c++11 In file included from shared-ptr/base.cxx:5: ../cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] operator new (std::size_t, cutl::share) throw (std::bad_alloc); ^~~~~~~~~~~~~~~~~~~~~~ ../cutl/shared-ptr/base.hxx:34:41: note: use 'noexcept(false)' instead --- devel/libcutl/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/libcutl/Makefile b/devel/libcutl/Makefile index d4d6b28bce43..550ccfecd892 100644 --- a/devel/libcutl/Makefile +++ b/devel/libcutl/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libexpat.so:textproc/expat2 USES= compiler:c++11-lib libtool +USE_CXXSTD= c++11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306291615.35TGFkU5069636>