Jamfile.v2 875 B

1234567891011121314151617181920212223242526272829
  1. # Copyright (C) 2001-2003 Douglas Gregor
  2. # Copyright (C) 2011-2014 Antony Polukhin
  3. #
  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)
  6. #
  7. import testing ;
  8. import feature ;
  9. project
  10. : requirements
  11. <toolset>gcc-4.7:<cxxflags>-ftrapv
  12. <toolset>gcc-4.6:<cxxflags>-ftrapv
  13. <toolset>clang:<cxxflags>-ftrapv
  14. # default to all warnings on:
  15. <warnings>all
  16. # set warnings as errors for those compilers we know we get warning free:
  17. <toolset>gcc:<cxxflags>-Wextra
  18. <toolset>gcc:<cxxflags>-Wno-uninitialized
  19. ;
  20. test-suite conversion
  21. : [ run implicit_cast.cpp ]
  22. [ compile-fail implicit_cast_fail.cpp ]
  23. [ run cast_test.cpp ]
  24. [ run polymorphic_cast_test.cpp ]
  25. [ compile-fail implicit_cast_fail2.cpp ]
  26. ;