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 \ EXCLUDE_SYMBOLS = fmt::formatter fmt::printf_formatter fmt::arg_join \
fmt::basic_format_arg::handle fmt::basic_format_arg::handle
'''.format(include_dir, doxyxml_dir).encode('UTF-8')) '''.format(include_dir, doxyxml_dir).encode('UTF-8'))
out = re.sub( noisy_warnings = [
".*warning: Member .* of class fmt::detail::.* is not documented.\n", 'warning: .* fmt::detail::.* is not documented.'
"", out) ]
for w in noisy_warnings:
out = re.sub('.*' + w + '\n', '', out)
print(out) print(out)
if p.returncode != 0: if p.returncode != 0:
raise CalledProcessError(p.returncode, cmd) raise CalledProcessError(p.returncode, cmd)