Building port with GCC 11 gives the following error message (full log in URL): In file included from Array.hh:30, from Array.cc:27: ValueType.hh:157:5: error: ISO C++17 does not allow dynamic exception specifications 157 | throw (ParserException); | ^~~~~ ValueType.hh:161:5: error: ISO C++17 does not allow dynamic exception specifications 161 | throw (ParserException) | ^~~~~ gmake[3]: *** [Makefile:569: libPlexilValue_la-Array.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from Array.hh:30, from ArrayImpl.hh:30, from ArrayImpl.cc:27: ValueType.hh:157:5: error: ISO C++17 does not allow dynamic exception specifications 157 | throw (ParserException); | ^~~~~ ValueType.hh:161:5: error: ISO C++17 does not allow dynamic exception specifications 161 | throw (ParserException) | ^~~~~ gmake[3]: *** [Makefile:576: libPlexilValue_la-ArrayImpl.lo] Error 1
Note, this blocks the update of GCC_DEFAULT from GCC 10 to GCC 11 (where GCC 12 is going to be released soon). Also, maybe once this is addressed USE_GCC can be removed in favor of using the default clang compiler?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0dbe6a8466dd62cb74de254ecc058badcab264f5 commit 0dbe6a8466dd62cb74de254ecc058badcab264f5 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-04-24 19:41:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-24 19:42:21 +0000 lang/plexil: Update 4.5.0-RC2 -> 4.5.0-RC3 PR: 263531 lang/plexil/Makefile | 15 +++++++++++---- lang/plexil/distinfo | 6 +++--- lang/plexil/pkg-plist | 12 +++++++++--- 3 files changed, 23 insertions(+), 10 deletions(-)
Closing: the port doesn't depend on GCC any more.