]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/src/tools/features/exception-feature.jam
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / tools / features / exception-feature.jam
1 # Copyright 2017 Rene Rivera
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE.txt or copy at
4 # https://www.bfgroup.xyz/b2/LICENSE.txt)
5
6 # TODO: Documentation.
7
8 import feature ;
9
10 #| tag::doc[]
11
12 [[bbv2.builtin.features.exception-handling]]`exception-handling`::
13 *Allowed values:* `on`, `off`.
14 +
15 Disables exceptions.
16
17 |# # end::doc[]
18
19 feature.feature exception-handling
20 : on off
21 : propagated ;
22
23 #| tag::asynch-doc[]
24
25 [[bbv2.builtin.features.asynch-exceptions]]`asynch-exceptions`::
26 *Allowed values:* `off`, `on`.
27 +
28 Selects whether there is support for asynchronous EH (e.g. catching SEGVs).
29
30 |# # end::asynch-doc[]
31
32 feature.feature asynch-exceptions
33 : off on
34 : propagated ;
35
36 #| tag::doc[]
37
38 [[bbv2.builtin.features.extern-c-nothrow]]`extern-c-nothrow`::
39 *Allowed values:* `off`, `on`.
40 +
41 Selects whether all `extern "C"` functions are considered `nothrow` by default.
42
43 |# # end::doc[]
44
45 feature.feature extern-c-nothrow
46 : off on
47 : propagated ;