[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263538

            Bug ID: 263538
           Summary: multimedia/avidemux: Fails to build with GCC 11:
                    error: ISO C++17 does not allow dynamic exception
                    specifications
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package18.nyi.freebsd.org/data/122amd64-default
                    -foo/2021-09-18_18h41m21s/logs/errors/avidemux-2.7.6_2
                    .log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 258378
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

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_coreUtils/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.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258378
[Bug 258378] [exp-run] Update GCC_DEFAULT from 10 to 11
-- 
You are receiving this mail because:
You are the assignee for the bug.