mirror of
https://github.com/boostorg/test.git
synced 2026-01-19 04:42:13 +00:00
Merge pull request #466 from boostorg/pr/clang-win-werror
Disable more Clang warnings. Fixes #465.
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wvariadic-macros"
|
||||
# pragma clang diagnostic ignored "-Wmissing-declarations"
|
||||
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
# if BOOST_CLANG_VERSION >= 190000
|
||||
# pragma clang diagnostic ignored "-Wcast-function-type-mismatch"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_GCC) && (BOOST_GCC >= 4 * 10000 + 6 * 100)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace env_detail {
|
||||
|
||||
#ifndef UNDER_CE
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4996) // getenv
|
||||
#endif
|
||||
@@ -46,7 +46,7 @@ sys_read_var( cstring var_name )
|
||||
return std::make_pair( cstring(res), res != NULL );
|
||||
}
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user