mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 00:04:34 +01:00
Silence expected and harmless errors
This commit is contained in:
parent
16992af05c
commit
e5c634ce0b
1 changed files with 4 additions and 2 deletions
|
|
@ -1237,8 +1237,10 @@ for sdkver in sdk_versions:
|
|||
|
||||
diagnostics = list(linux_build.diagnostics)
|
||||
if len(diagnostics) > 0:
|
||||
print('There were parse errors')
|
||||
pprint.pprint(diagnostics)
|
||||
# Ignore known and harmless issues
|
||||
if not(len(diagnostics) == 1 and "This file isn't used any more" in diagnostics[0].spelling):
|
||||
print('There were parse errors')
|
||||
pprint.pprint(diagnostics)
|
||||
else:
|
||||
windows_build = index.parse(input_name, args=['-x', 'c++', '-m32', '-Isteamworks_sdk_%s/' % sdkver, '-I' + CLANG_PATH + '/include/', '-mms-bitfields', '-U__linux__', '-Wno-incompatible-ms-struct'])
|
||||
windows_build64 = index.parse(input_name, args=['-x', 'c++', '-Isteamworks_sdk_%s/' % sdkver, '-I' + CLANG_PATH + '/include/', '-mms-bitfields', '-U__linux__', '-Wno-incompatible-ms-struct'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue