Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions include/boost/test/detail/suppress_warnings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions include/boost/test/utils/runtime/env/fetch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down