Suppress more bogus warnings

This commit is contained in:
Victor Zverovich 2020-11-08 06:29:50 -08:00
parent 7787792e8d
commit 4e8d000f76

View File

@ -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)