]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/tools/features/warnings-feature.jam
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / tools / features / warnings-feature.jam
CommitLineData
b32b8144
FG
1# Copyright 2017 Rene Rivera
2# Distributed under the Boost Software License, Version 1.0.
1e59de90
TL
3# (See accompanying file LICENSE.txt or copy at
4# https://www.bfgroup.xyz/b2/LICENSE.txt)
b32b8144 5
b32b8144
FG
6import feature ;
7
f67539c2
TL
8#| tag::doc[]
9
10[[bbv2.builtin.features.warnings]]`warnings`::
11*Allowed values:* `on`, `all`, `extra`, `pedantic`, `off`.
12+
13Controls the warning level of compilers.
14+
15`on`::: enable default/"reasonable" warning level.
16`all`::: enable most warnings.
17`extra`::: enable extra, possibly conflicting, warnings.
18`pedantic`::: enable likely inconsequential, and conflicting, warnings.
19`off`::: disable all warnings.
20+
21Default value is `all`.
22
23|# # end::doc[]
24
b32b8144 25feature.feature warnings
f67539c2 26 : on all extra pedantic off
b32b8144
FG
27 : incidental propagated ;
28
f67539c2
TL
29#| tag::doc[]
30
31[[bbv2.builtin.features.warnings-as-errors]]`warnings-as-errors`::
32*Allowed values:* `off`, `on`.
33+
34Makes it possible to treat warnings as errors and abort compilation on a
35warning.
36
37|# # end::doc[]
38
b32b8144 39feature.feature warnings-as-errors
f67539c2 40 : off on
b32b8144 41 : incidental propagated ;