]> granicus.if.org Git - pdns/commit
LuaWrapper: Disable maybe uninitialized warnings with boost optional
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 3 Jul 2018 09:59:53 +0000 (11:59 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 3 Jul 2018 09:59:53 +0000 (11:59 +0200)
commitb08d5f4b84d8b2a13eb0c0c42b03a902e5a3ec72
tree99e9549d74d2e756e309d44a68d895807a26b5b0
parent010a2dc8e2bebd812cd40435669b2b6b710e32e2
LuaWrapper: Disable maybe uninitialized warnings with boost optional

GCC enables `-Wmaybe-uninitialized` by default with `-Wall`, and it
reports what looks like false positives with boost::optional types

See:
- https://svn.boost.org/trac10/ticket/12513
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78044
ext/luawrapper/include/LuaContext.hpp