Cannot compile with g++ --std=c++17

Bug #1694740 reported by Aaron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
log4cpp (Ubuntu)
New
Undecided
Unassigned

Bug Description

Compiling with

g++ -Wall -Wextra -pedantic -std=c++17 -g -O0

gives

/usr/include/log4cpp/Priority.hh:107:2: error: ISO C++1z does not allow dynamic exception specifications
    throw(std::invalid_argument);

g++ --version returns g++ (GCC) 7.1.1 20170516

log4cpp-config --version returns 1.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.