From f2541bb90af059680aa7036f315f052175999355 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 8 Apr 2015 03:09:47 +0000 Subject: Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2. --- libs/thread/build/Jamfile.v2 | 7 ++++++- .../thread/build/has_atomic_flag_lockfree_test.cpp | 24 +++++++++++----------- 2 files changed, 18 insertions(+), 13 deletions(-) (limited to 'libs/thread/build') diff --git a/libs/thread/build/Jamfile.v2 b/libs/thread/build/Jamfile.v2 index 17d44a597..7e06cb3c4 100644 --- a/libs/thread/build/Jamfile.v2 +++ b/libs/thread/build/Jamfile.v2 @@ -63,6 +63,7 @@ project boost/thread gcc:-Wno-variadic-macros #gcc:-Wunused-local-typedefs gcc:-Wunused-function + gcc:-Wno-unused-parameter darwin:-Wextra darwin:-pedantic @@ -72,18 +73,20 @@ project boost/thread darwin:-Wno-variadic-macros #darwin:-Wunused-local-typedefs darwin:-Wunused-function + darwin:-Wno-unused-parameter #pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic + clang:on clang:-Wextra #clang:-ansi #clang:-fpermissive clang:-Wno-long-long clang:-Wunused-function clang:-Wno-variadic-macros - clang:on + clang:-Wno-unused-parameter #gcc-mingw-4.4.0:-fdiagnostics-show-option #gcc-mingw-4.5.0:-fdiagnostics-show-option @@ -116,7 +119,9 @@ project boost/thread intel:-wd1418 intel:-wd2415 + msvc:/wd4100 msvc:/wd4512 + msvc:/wd6246 # : default-build multi diff --git a/libs/thread/build/has_atomic_flag_lockfree_test.cpp b/libs/thread/build/has_atomic_flag_lockfree_test.cpp index 3190745fd..ca6940546 100644 --- a/libs/thread/build/has_atomic_flag_lockfree_test.cpp +++ b/libs/thread/build/has_atomic_flag_lockfree_test.cpp @@ -1,13 +1,13 @@ -// Copyright (c) 2013, Petr Machata, Red Hat Inc. -// -// Use modification and distribution are subject to the boost Software -// License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). - -#include "../../../boost/atomic.hpp" -#include "../../../boost/static_assert.hpp" +// Copyright (c) 2013, Petr Machata, Red Hat Inc. +// +// Use modification and distribution are subject to the boost Software +// License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). -int main(int argc, char *argv[]) -{ - BOOST_STATIC_ASSERT(BOOST_ATOMIC_FLAG_LOCK_FREE); - return 0; -} \ No newline at end of file +#include "../../../boost/atomic.hpp" +#include "../../../boost/static_assert.hpp" + +int main(int argc, char *argv[]) +{ + BOOST_STATIC_ASSERT(BOOST_ATOMIC_FLAG_LOCK_FREE); + return 0; +} -- cgit v1.2.1