mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-01-19 04:22:11 +00:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Copyright 2022 Peter Dimov
|
|
# Copyright 2023 - 2024 Matt Borland
|
|
# Copyright 2023 - 2024 Christopher Kormanyos
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
require-b2 5.0.1 ;
|
|
import-search /boost/config/checks ;
|
|
import config : requires ;
|
|
import modules ;
|
|
import testing ;
|
|
|
|
project : requirements
|
|
|
|
<toolset>gcc:<cxxflags>-Wall
|
|
<toolset>gcc:<cxxflags>-Wextra
|
|
|
|
# Clang-Cl gives errors that are incorrect or irrelevant (e.g. C++98 compat)
|
|
#<toolset>clang:<cxxflags>-Wall
|
|
#<toolset>clang:<cxxflags>-Wextra
|
|
|
|
<toolset>msvc:<warnings>all
|
|
|
|
# Additional flags by request
|
|
<toolset>gcc:<cxxflags>-Wsign-conversion
|
|
<toolset>gcc:<cxxflags>-Wconversion
|
|
<toolset>gcc:<cxxflags>-Wundef
|
|
<toolset>gcc:<cxxflags>-Wold-style-cast
|
|
#<toolset>gcc:<cxxflags>-Wduplicated-branches
|
|
<toolset>gcc:<cxxflags>-Wfloat-equal
|
|
|
|
<toolset>clang:<cxxflags>-Wsign-conversion
|
|
<toolset>clang:<cxxflags>-Wconversion
|
|
<toolset>clang:<cxxflags>-Wundef
|
|
<toolset>clang:<cxxflags>-Wold-style-cast
|
|
<toolset>clang:<cxxflags>-Wfloat-equal
|
|
|
|
[ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ]
|
|
;
|
|
|
|
run reduced_cpp_double_fp.cpp ;
|