More Clang warning suppression

This commit is contained in:
Peter Dimov
2021-12-16 06:20:42 +02:00
parent 277757befc
commit acaca854c4
2 changed files with 12 additions and 2 deletions

View File

@ -8,6 +8,11 @@
// For more information, see http://www.boost.org/
#if defined(__clang__) && defined(__has_warning)
# if __has_warning( "-Wdeprecated-declarations" )
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
# endif
#endif
#include <boost/function.hpp>
#include <iostream>

View File

@ -8,6 +8,11 @@
// For more information, see http://www.boost.org/
#if defined(__clang__) && defined(__has_warning)
# if __has_warning( "-Wdeprecated-declarations" )
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
# endif
#endif
#include <boost/function.hpp>
#include <iostream>