Skip to content

Commit

Permalink
headers: ignore two warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bwrsandman committed Sep 30, 2024
1 parent ed1eb0a commit 3add0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/headers/bw1_decomp_gen/generate_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def batched_arg_to_csnake(type_decls):
source_list.append(f"void __arg_to_csnake_wrapping_declaration__{i}__{j}__({a});")

source = "\n".join(source_list)
translation_unit = cindex.TranslationUnit.from_source('tmp.c', args=["-m32"], unsaved_files=[('tmp.c', source)])
translation_unit = cindex.TranslationUnit.from_source('tmp.c', args=["-m32", "-Wno-visibility", "-Wno-microsoft-enum-forward-reference"], unsaved_files=[('tmp.c', source)])

error_strings: list[str] = []
for diagnostic in translation_unit.diagnostics:
Expand Down

0 comments on commit 3add0e0

Please sign in to comment.