diff options
| author | 2023-02-01 16:12:58 +1100 | |
|---|---|---|
| committer | 2023-02-01 16:12:58 +1100 | |
| commit | 0ae68e4dea29dd55338bc829b72a67d2f59debf7 (patch) | |
| tree | 190c54185700cb5b2444b27cfbe58dd4b443da3a /scripts | |
| parent | c4830168a56953af9714907664ceee72999df70c (diff) | |
Use EQUIVALENT_ARRAY to avoid issues with std::size on member arrays, enable warnings for VLAs in C++.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index b6b9f303667..8bdcfdfdba2 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1010,6 +1010,7 @@ end -- warnings only applicable to C++ compiles buildoptions_cpp { "-Woverloaded-virtual", + "-Wvla", } if _OPTIONS["SANITIZE"] then |
