mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-27 03:39:51 +00:00
Suppress more bogus warnings
This commit is contained in:
parent
7787792e8d
commit
4e8d000f76
@ -88,9 +88,11 @@ def build_docs(version='dev', **kwargs):
|
||||
EXCLUDE_SYMBOLS = fmt::formatter fmt::printf_formatter fmt::arg_join \
|
||||
fmt::basic_format_arg::handle
|
||||
'''.format(include_dir, doxyxml_dir).encode('UTF-8'))
|
||||
out = re.sub(
|
||||
".*warning: Member .* of class fmt::detail::.* is not documented.\n",
|
||||
"", out)
|
||||
noisy_warnings = [
|
||||
'warning: .* fmt::detail::.* is not documented.'
|
||||
]
|
||||
for w in noisy_warnings:
|
||||
out = re.sub('.*' + w + '\n', '', out)
|
||||
print(out)
|
||||
if p.returncode != 0:
|
||||
raise CalledProcessError(p.returncode, cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user