1 # Copyright (C) 2001-2003 Douglas Gregor
2 # Copyright (C) 2011-2014 Antony Polukhin
4 # Distributed under the Boost Software License, Version 1.0. (See accompanying
5 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
13 <toolset>gcc-4.7:<cxxflags>-ftrapv
14 <toolset>gcc-4.6:<cxxflags>-ftrapv
15 <toolset>clang:<cxxflags>-ftrapv
16 # default to all warnings on:
18 # set warnings as errors for those compilers we know we get warning free:
19 <toolset>gcc:<cxxflags>-Wextra
20 <toolset>gcc:<cxxflags>-Wno-uninitialized
24 : [ run implicit_cast.cpp ]
25 [ compile-fail implicit_cast_fail.cpp ]
27 [ run polymorphic_cast_test.cpp ]
28 [ compile-fail implicit_cast_fail2.cpp ]