2024-10-17 07:57:17 +03:00
|
|
|
CompileFlags:
|
2025-08-27 20:37:31 -04:00
|
|
|
Add: [
|
|
|
|
|
"-Wno-c++11-compat-deprecated-writable-strings",
|
|
|
|
|
"-Wno-multichar",
|
|
|
|
|
"-fdeclspec",
|
|
|
|
|
"-Wno-c++11-extensions",
|
2025-12-23 18:53:10 -05:00
|
|
|
"-Wuninitialized",
|
|
|
|
|
"-Wsometimes-uninitialized",
|
|
|
|
|
"-Wlogical-op-parentheses",
|
|
|
|
|
"-Wbitwise-op-parentheses",
|
|
|
|
|
# "-Wunused-variable",
|
|
|
|
|
# "-Wunused-but-set-variable",
|
|
|
|
|
"-Wunused-parameter",
|
|
|
|
|
"-Wunused-but-set-parameter",
|
|
|
|
|
"-Wself-assign",
|
2025-08-27 20:37:31 -04:00
|
|
|
]
|
2025-01-27 01:01:05 -05:00
|
|
|
Diagnostics:
|
|
|
|
|
Suppress:
|
|
|
|
|
- "warn_char_constant_too_large"
|
2025-03-22 02:03:43 -04:00
|
|
|
- "illegal_union_or_anon_struct_member"
|
2024-10-19 01:54:22 -07:00
|
|
|
---
|
|
|
|
|
If:
|
|
|
|
|
PathMatch: .*/*.inc
|
|
|
|
|
Diagnostics:
|
|
|
|
|
Suppress:
|
|
|
|
|
- "undeclared_var_use"
|
|
|
|
|
- "undeclared_var_use_suggest"
|
|
|
|
|
- "bound_member_function"
|
|
|
|
|
- "typecheck_subscript_value"
|
|
|
|
|
- "unknown_typename"
|
2025-08-24 02:52:08 -04:00
|
|
|
---
|
2025-08-27 20:37:31 -04:00
|
|
|
If:
|
|
|
|
|
PathMatch: src/PowerPC_EABI_Support/MSL/MSL_C\+\+/.*\.h
|
|
|
|
|
CompileFlags:
|
|
|
|
|
Add: ["--language=c++", "--std=c++98"]
|
|
|
|
|
---
|
2025-08-24 02:52:08 -04:00
|
|
|
If:
|
|
|
|
|
PathMatch: .*\.pch
|
|
|
|
|
CompileFlags:
|
|
|
|
|
Add: ["--language=c++", "--std=c++98"]
|