From 9df16279971b48787c1db232c274054f173531df Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 12 May 2022 08:58:46 -0400 Subject: Compiler: Add werror kwarg to compiles(), links() and run() methods Fixes: #5399 --- docs/yaml/objects/compiler.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/yaml/objects') diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index 3ba9c44db..d5d7df569 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -127,6 +127,7 @@ methods: - compiler._dependencies - compiler._no_builtin_args - compiler._name + - compiler._werror - name: _header returns: void @@ -157,6 +158,16 @@ methods: When set to a [`feature`](Build-options.md#features) option, the feature will control if it is searched and whether to fail if not found. +- name: _werror + returns: void + description: You have found a bug if you can see this! + kwargs: + werror: + type: bool + default: false + description: When set to `true`, compiler warnings are treated as error. + since: 1.3.0 + # Star of the actual functions - name: version returns: str -- cgit v1.2.3