Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2022 19:01:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263529] cad/alliance: Fails to build with GCC 11: error: ISO C++17 does not allow dynamic exception specifications
Message-ID:  <bug-263529-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263529

            Bug ID: 263529
           Summary: cad/alliance: 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/alliance-5.1.1_2
                    .log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 258378

Building port with GCC 11 gives the following error message (full log in UR=
L):

!!! build failure encountered !!!
                                                         5140,1        Fon
  153 |     char  z2via         (int z) throw (except_done);
      |                                 ^~~~~
MMBK.h:261:49: error: ISO C++17 does not allow dynamic exception specificat=
ions
  261 |     CFig (string &nameLofig, string &namePhfig) throw (except_done);
      |                                                 ^~~~~
MMBK.h:354:60: error: ISO C++17 does not allow dynamic exception specificat=
ions
  354 |     CPowers (CFig*, long xoff, long yoff, char, int, long) throw
(except_done);
      |                                                            ^~~~~
In file included from RDefs.h:23,
                 from nero.cpp:19:
ADefs.h:274:38: error: ISO C++17 does not allow dynamic exception
specifications
  274 |     private: bool  step       (void) throw (trapped_astar);
      |                                      ^~~~~
ADefs.h:282:44: error: ISO C++17 does not allow dynamic exception
specifications
  282 |     public:  void  route      (CNet *pNet) throw (reach_max_pri);
      |                                            ^~~~~
In file included from nero.cpp:19:
RDefs.h:73:42: error: ISO C++17 does not allow dynamic exception specificat=
ions
   73 |     public: void  mbksave (string &name) throw (except_done);
      |                                          ^~~~~


Referenced Bugs:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263529-7788>