Disable warning LNK4098

Even with lots of effort [1] to isolate the offending library there is
little to be had, as such disable the warning.

[1] https://gitea.wildfiregames.com/0ad/0ad/pulls/7798#issuecomment-119332

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-05-31 14:52:00 +02:00
parent 241b9f0952
commit 623e7f7a47
+7
View File
@@ -461,6 +461,13 @@ function project_create(project_name, target_type)
linkoptions "/ignore:4221"
filter {}
if arch == "amd64" then
filter { "Debug", "action:vs*" }
-- FIXME: disable LNK4098, some of the prebuilt libs for 64bit debug build have non matching options.
linkoptions "/ignore:4098"
filter {}
end
project_set_target(project_name)
project_set_build_flags()
end