Disable -Wdeprecated-volatile

This commit is contained in:
Peter Dimov
2020-05-09 03:57:27 +03:00
parent a7d0da59ad
commit a403f82691
2 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,12 @@
using namespace boost::variant2;
#if defined( __clang__ ) && defined( __has_warning )
# if __has_warning( "-Wdeprecated-volatile" )
# pragma clang diagnostic ignored "-Wdeprecated-volatile"
# endif
#endif
int main()
{
{

View File

@ -15,6 +15,12 @@
using namespace boost::variant2;
#if defined( __clang__ ) && defined( __has_warning )
# if __has_warning( "-Wdeprecated-volatile" )
# pragma clang diagnostic ignored "-Wdeprecated-volatile"
# endif
#endif
int main()
{
{