It appears that throw(..) specifications were so unused that they're no longer legal.
/usr/local/gcc/bin/g++ .... -std=gnu++17
/usr/include/log4cpp/Priority.hh:107:2: error: ISO C++17 does not allow dynamic exception specifications
107 | throw(std::invalid_argument);
Luckily it's easy to fix - just get rid of them all.
Hello,
This seems to have been done already at https://sourceforge.net/p/log4cpp/codegit/ci/1b9f8f7c031d6947c7468d54bc1da4b2f414558d/
Are you looking at the latest master branch?
Or are referring to the "Non-throwing dynamic exception specification" (i.e., throw() ) instead?
Non-throwing dynamic exception specification throw() replaced with noexcept for modern compilers, version of the compiler determined by macro __cplusplus
log4cpp-1.1.4rc2
Tag: REL_1.1.4rc2_Feb_10_2023, https://sourceforge.net/p/log4cpp/codegit/ci/231e96104cf739b03ca011c8b838ac834395e73d