diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-08-20 12:36:45 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-08-20 12:36:45 +0300 |
commit | e43ef4f6953230803a30453bbab20061b009fe05 (patch) | |
tree | d87483bf12c9f7484e5e6784a8ce26d3dc397bae | |
parent | 044418de759c225ec72e43e6fe74ce2a5ab0fdaf (diff) |
Suppress codecvt warnings in path_view on GCC.
-rw-r--r-- | include/llfio/v2.0/detail/impl/path_view.ipp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llfio/v2.0/detail/impl/path_view.ipp b/include/llfio/v2.0/detail/impl/path_view.ipp index ffd783fa..f47561ad 100644 --- a/include/llfio/v2.0/detail/impl/path_view.ipp +++ b/include/llfio/v2.0/detail/impl/path_view.ipp @@ -30,6 +30,11 @@ Distributed under the Boost Software License, Version 1.0. #include "windows/import.hpp" #endif +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // for codecvt +#endif + LLFIO_V2_NAMESPACE_BEGIN namespace detail @@ -521,3 +526,8 @@ namespace detail } // namespace detail LLFIO_V2_NAMESPACE_END + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + |