More Clang warning suppression

This commit is contained in:
Peter Dimov committed 2021-12-16 06:20:42 +02:00
1 parent 277757befc
commit acaca854c4
2 files changed
+10

No files matched your search

+5
View File
@@ -8,6 +8,11 @@
// For more information, see http://www.boost.org/ // 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 <boost/function.hpp>
#include <iostream> #include <iostream>
+5
View File
@@ -8,6 +8,11 @@
// For more information, see http://www.boost.org/ // 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 <boost/function.hpp>
#include <iostream> #include <iostream>