diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-08 03:09:47 +0000 |
---|---|---|
committer | <> | 2015-05-05 14:37:32 +0000 |
commit | f2541bb90af059680aa7036f315f052175999355 (patch) | |
tree | a5b214744b256f07e1dc2bd7273035a7808c659f /libs/thread/build | |
parent | ed232fdd34968697a68783b3195b1da4226915b5 (diff) | |
download | boost-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/thread/build')
-rw-r--r-- | libs/thread/build/Jamfile.v2 | 7 | ||||
-rw-r--r-- | libs/thread/build/has_atomic_flag_lockfree_test.cpp | 24 |
2 files changed, 18 insertions, 13 deletions
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 <toolset>gcc:<cxxflags>-Wno-variadic-macros #<toolset>gcc:<cxxflags>-Wunused-local-typedefs <toolset>gcc:<cxxflags>-Wunused-function + <toolset>gcc:<cxxflags>-Wno-unused-parameter <toolset>darwin:<cxxflags>-Wextra <toolset>darwin:<cxxflags>-pedantic @@ -72,18 +73,20 @@ project boost/thread <toolset>darwin:<cxxflags>-Wno-variadic-macros #<toolset>darwin:<cxxflags>-Wunused-local-typedefs <toolset>darwin:<cxxflags>-Wunused-function + <toolset>darwin:<cxxflags>-Wno-unused-parameter #<toolset>pathscale:<cxxflags>-Wextra <toolset>pathscale:<cxxflags>-Wno-long-long <toolset>pathscale:<cxxflags>-pedantic + <toolset>clang:<warnings>on <toolset>clang:<cxxflags>-Wextra #<toolset>clang:<cxxflags>-ansi #<toolset>clang:<cxxflags>-fpermissive <toolset>clang:<cxxflags>-Wno-long-long <toolset>clang:<cxxflags>-Wunused-function <toolset>clang:<cxxflags>-Wno-variadic-macros - <toolset>clang:<warnings>on + <toolset>clang:<cxxflags>-Wno-unused-parameter #<toolset>gcc-mingw-4.4.0:<cxxflags>-fdiagnostics-show-option #<toolset>gcc-mingw-4.5.0:<cxxflags>-fdiagnostics-show-option @@ -116,7 +119,9 @@ project boost/thread <toolset>intel:<cxxflags>-wd1418 <toolset>intel:<cxxflags>-wd2415 + <toolset>msvc:<cxxflags>/wd4100 <toolset>msvc:<cxxflags>/wd4512 + <toolset>msvc:<cxxflags>/wd6246 # : default-build <threading>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; +} |