mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 06:35:46 +03:00
Silence expected and harmless errors
This commit is contained in:
parent
16992af05c
commit
e5c634ce0b
@ -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…
Reference in New Issue
Block a user