File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 5050
5151#endif /* __GNUC__ */
5252
53+ #if defined(_MSC_VER)
54+ #pragma warning( disable : 4503 )
55+ #endif
56+
5357// This is a hack to avoid memory leak reports from the debug MSVC CRT for all
5458// programs using the library: ASIO calls SSL_library_init() which calls
5559// SSL_COMP_get_compression_methods(), which allocates some heap memory and the
Original file line number Diff line number Diff line change @@ -285,6 +285,14 @@ TEST(latin1_to_utf16)
285285 }
286286}
287287
288+ #if defined(_MSC_VER)
289+ #pragma warning(disable : 4996)
290+ #elif defined(__clang__)
291+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
292+ #elif defined(__GNUC__)
293+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
294+ #endif
295+
288296TEST (print_string_locale, " Ignore:Android" , " Locale unsupported on Android" )
289297{
290298 std::locale changedLocale;
You can’t perform that action at this time.
0 commit comments