maintainer-feedback requested: [Bug 263538] multimedia/avidemux: Fails to build with GCC 11: error: ISO C++17 does not allow dynamic exception specifications

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Apr 2022 21:43:48 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 263538: multimedia/avidemux: Fails to build with GCC 11: error: ISO C++17
does not allow dynamic exception specifications
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263538



--- Description ---
Updating GCC_DEFAULT from GCC 10 to GCC 11 is blocked by the fact that building
this port with GCC 11 gives errors like the following (full log in URL):

/wrkdirs/usr/ports/multimedia/avidemux/work/avidemux_2.7.6/avidemux_core/ADM_co
reUtils/src/Source/JSONDefs/GNU_C.h:58:28:
error: ISO C++17 does not allow dynamic exception specifications
   58 |     #define json_throws(x) throw(x)
      | 			   ^~~~~

Also, please check that USE_GCC is still needed and that the default clang
compier can't be used instead.