Disable -Wdeprecated-declarations for GCC 12

This commit is contained in:
Peter Dimov
2022-05-30 18:18:09 +03:00
parent f7e42dc08f
commit e665d1e9af
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@
# endif
#endif
#if defined(__GNUC__) && __GNUC__ >= 12
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include <boost/function.hpp>
#include <iostream>
#include <functional>