Blame view

3rdparty/boost_1_81_0/libs/conversion/test/Jamfile.v2 876 Bytes
977ed18d   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  # Copyright (C) 2001-2003 Douglas Gregor
  # Copyright (C) Antony Polukhin, 2011-2022
  #
  # Distributed under the Boost Software License, Version 1.0. (See accompanying
  # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  #
  
  import testing ;
  import feature ;
  
  project
      : requirements
          <toolset>gcc-4.7:<cxxflags>-ftrapv
          <toolset>gcc-4.6:<cxxflags>-ftrapv
          <toolset>clang:<cxxflags>-ftrapv
          # default to all warnings on:
          <warnings>all
          # set warnings as errors for those compilers we know we get warning free:
          <toolset>gcc:<cxxflags>-Wextra
          <toolset>gcc:<cxxflags>-Wno-uninitialized
      ;
  
  test-suite conversion
    : [ run implicit_cast.cpp ]
      [ compile-fail implicit_cast_fail.cpp ]
      [ run cast_test.cpp ]
      [ run polymorphic_cast_test.cpp ]
      [ compile-fail implicit_cast_fail2.cpp ]
    ;