Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/endian/detail/disable_warnings.hpp @ 130:d659ed4b9197
Another point to run repoint
author | Chris Cannam |
---|---|
date | Thu, 07 Feb 2019 11:48:53 +0000 |
parents | f46d142149f5 |
children |
line wrap: on
line source
// disable_warnings.hpp --------------------------------------------------------------// // Copyright Beman Dawes 2011 // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt //--------------------------------------------------------------------------------------// #ifdef _MSC_VER #ifndef _SCL_SECURE_NO_WARNINGS # define _SCL_SECURE_NO_WARNINGS #endif #ifndef _CRT_SECURE_NO_WARNINGS # define _CRT_SECURE_NO_WARNINGS #endif # pragma warning(push) // triggered by boost/detail/lightweight_test.hpp # pragma warning( disable : 4640 ) // ... construction of local static object is not thread-safe // triggered by Microsoft's own headers, so disable # pragma warning( disable : 4820 ) // padding added after data member # pragma warning( disable : 4548 ) // expression before comma has no effect # pragma warning( disable : 4668 ) // ... is not defined as a preprocessor macro # pragma warning( disable : 4514 ) // ... unreferenced inline function has been removed # pragma warning( disable : 4710 ) // ... function not inlined # pragma warning( disable : 4986 ) // ... exception specification does not match previous declaration # pragma warning( disable : 4711 ) // ... selected for automatic inline expansion #endif