2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-21 05:22:15 +00:00

fix or silence (msvc) compiler warnings about constant conditional expressions, unused parameters, narrowing, unreachable code, use of 'this' in base member initializations, and some other minor stuff

Signed-off-by: Daniela Engert <dani@ngrt.de>
This commit is contained in:
Daniela Engert
2015-02-15 17:23:33 +01:00
parent 981e993d40
commit 4e83359537
37 changed files with 157 additions and 2 deletions

View File

@@ -22,6 +22,9 @@
#if defined BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION \
&& ! defined BOOST_NO_CXX11_LAMBDAS && ! (defined BOOST_MSVC && _MSC_VER < 1700)
#ifdef BOOST_MSVC
#pragma warning(disable: 4127) // conditional expression is constant
#endif
int main()
{