Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/endian/detail/disable_warnings.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 // disable_warnings.hpp --------------------------------------------------------------// |
Chris@102 | 2 |
Chris@102 | 3 // Copyright Beman Dawes 2011 |
Chris@102 | 4 |
Chris@102 | 5 // Distributed under the Boost Software License, Version 1.0. |
Chris@102 | 6 // See http://www.boost.org/LICENSE_1_0.txt |
Chris@102 | 7 |
Chris@102 | 8 //--------------------------------------------------------------------------------------// |
Chris@102 | 9 |
Chris@102 | 10 #ifdef _MSC_VER |
Chris@102 | 11 |
Chris@102 | 12 #ifndef _SCL_SECURE_NO_WARNINGS |
Chris@102 | 13 # define _SCL_SECURE_NO_WARNINGS |
Chris@102 | 14 #endif |
Chris@102 | 15 |
Chris@102 | 16 #ifndef _CRT_SECURE_NO_WARNINGS |
Chris@102 | 17 # define _CRT_SECURE_NO_WARNINGS |
Chris@102 | 18 #endif |
Chris@102 | 19 |
Chris@102 | 20 # pragma warning(push) |
Chris@102 | 21 |
Chris@102 | 22 // triggered by boost/detail/lightweight_test.hpp |
Chris@102 | 23 # pragma warning( disable : 4640 ) // ... construction of local static object is not thread-safe |
Chris@102 | 24 |
Chris@102 | 25 // triggered by Microsoft's own headers, so disable |
Chris@102 | 26 # pragma warning( disable : 4820 ) // padding added after data member |
Chris@102 | 27 # pragma warning( disable : 4548 ) // expression before comma has no effect |
Chris@102 | 28 # pragma warning( disable : 4668 ) // ... is not defined as a preprocessor macro |
Chris@102 | 29 # pragma warning( disable : 4514 ) // ... unreferenced inline function has been removed |
Chris@102 | 30 # pragma warning( disable : 4710 ) // ... function not inlined |
Chris@102 | 31 # pragma warning( disable : 4986 ) // ... exception specification does not match previous declaration |
Chris@102 | 32 # pragma warning( disable : 4711 ) // ... selected for automatic inline expansion |
Chris@102 | 33 #endif |