diff options
author | 2022-09-15 13:38:44 +0100 | |
---|---|---|
committer | 2022-09-15 13:39:13 +0100 | |
commit | bdb9404c08908249210be53ddd640c165e6df1ed (patch) | |
tree | e8851389faac488b937c9e3008a1b381777730c5 /scripts/src/3rdparty.lua | |
parent | 8a5a7f7ccdd90ece71f8fe6e61391ccd4092f68b (diff) |
fixes for clang 15.0 on windows [smf]
Diffstat (limited to 'scripts/src/3rdparty.lua')
-rw-r--r-- | scripts/src/3rdparty.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 1787fc09ad3..442879da9b5 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1052,6 +1052,12 @@ end configuration { } + if string.find(_OPTIONS["gcc"], "clang") and str_to_version(_OPTIONS["gcc_version"]) >= 150000 then + buildoptions_c { + "-Wno-strict-prototypes", + } + end + files { MAME_DIR .. "3rdparty/portmidi/pm_common/portmidi.c", MAME_DIR .. "3rdparty/portmidi/pm_common/pmutil.c", |