mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Suppress more bogus warnings
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user