Public bug reported:

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

** Affects: log4cpp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: compilation-error

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1694740

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/log4cpp/+bug/1694740/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to