Menu

#87 Can't compile v7.4, problems with thirdparty/ilmbase-1.0.1

open
nobody
None
5
2021-12-28
2021-12-28
Fabio Loli
No

Hello, I can't compile and package v7.4 on Manjaro Linux, code from thirdparty/ilmbase-1.0.1 fails with "error: ISO C++17 does not allow dynamic exception specifications"

Attached there is a more complete log created by makepkg

In file included from thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:43:
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:220:41: error: ISO C++17 does not allow dynamic exception specifications
  220 |     const Vec2 &        normalizeExc () throw (Iex::MathExc);
      |                                         ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:224:48: error: ISO C++17 does not allow dynamic exception specifications
  224 |     Vec2<T>             normalizedExc () const throw (Iex::MathExc);
      |                                                ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:413:41: error: ISO C++17 does not allow dynamic exception specifications
  413 |     const Vec3 &        normalizeExc () throw (Iex::MathExc);
      |                                         ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:417:48: error: ISO C++17 does not allow dynamic exception specifications
  417 |     Vec3<T>             normalizedExc () const throw (Iex::MathExc);
      |                                                ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:494:30: error: ISO C++17 does not allow dynamic exception specifications
  494 | Vec2<short>::normalizeExc () throw (Iex::MathExc);
      |                              ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:503:37: error: ISO C++17 does not allow dynamic exception specifications
  503 | Vec2<short>::normalizedExc () const throw (Iex::MathExc);
      |                                     ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:518:28: error: ISO C++17 does not allow dynamic exception specifications
  518 | Vec2<int>::normalizeExc () throw (Iex::MathExc);
      |                            ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:527:35: error: ISO C++17 does not allow dynamic exception specifications
  527 | Vec2<int>::normalizedExc () const throw (Iex::MathExc);
      |                                   ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:542:30: error: ISO C++17 does not allow dynamic exception specifications
  542 | Vec3<short>::normalizeExc () throw (Iex::MathExc);
      |                              ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:551:37: error: ISO C++17 does not allow dynamic exception specifications
  551 | Vec3<short>::normalizedExc () const throw (Iex::MathExc);
      |                                     ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:566:28: error: ISO C++17 does not allow dynamic exception specifications
  566 | Vec3<int>::normalizeExc () throw (Iex::MathExc);
      |                            ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:575:35: error: ISO C++17 does not allow dynamic exception specifications
  575 | Vec3<int>::normalizedExc () const throw (Iex::MathExc);
      |                                   ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:907:26: error: ISO C++17 does not allow dynamic exception specifications
  907 | Vec2<T>::normalizeExc () throw (Iex::MathExc)
      |                          ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:944:33: error: ISO C++17 does not allow dynamic exception specifications
  944 | Vec2<T>::normalizedExc () const throw (Iex::MathExc)
      |                                 ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:1323:26: error: ISO C++17 does not allow dynamic exception specifications
 1323 | Vec3<T>::normalizeExc () throw (Iex::MathExc)
      |                          ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.h:1362:33: error: ISO C++17 does not allow dynamic exception specifications
 1362 | Vec3<T>::normalizedExc () const throw (Iex::MathExc)
      |                                 ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:125:30: error: ISO C++17 does not allow dynamic exception specifications
  125 | Vec2<short>::normalizeExc () throw (Iex::MathExc)
      |                              ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:153:37: error: ISO C++17 does not allow dynamic exception specifications
  153 | Vec2<short>::normalizedExc () const throw (Iex::MathExc)
      |                                     ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:194:28: error: ISO C++17 does not allow dynamic exception specifications
  194 | Vec2<int>::normalizeExc () throw (Iex::MathExc)
      |                            ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:222:35: error: ISO C++17 does not allow dynamic exception specifications
  222 | Vec2<int>::normalizedExc () const throw (Iex::MathExc)
      |                                   ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:263:30: error: ISO C++17 does not allow dynamic exception specifications
  263 | Vec3<short>::normalizeExc () throw (Iex::MathExc)
      |                              ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:291:37: error: ISO C++17 does not allow dynamic exception specifications
  291 | Vec3<short>::normalizedExc () const throw (Iex::MathExc)
      |                                     ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:332:28: error: ISO C++17 does not allow dynamic exception specifications
  332 | Vec3<int>::normalizeExc () throw (Iex::MathExc)
      |                            ^~~~~
thirdparty/ilmbase-1.0.1/Imath/ImathVec.cpp:360:35: error: ISO C++17 does not allow dynamic exception specifications
  360 | Vec3<int>::normalizedExc () const throw (Iex::MathExc)
      |                                   ^~~~~
1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB