diff --git a/r5dev/core/stdafx.h b/r5dev/core/stdafx.h index afa376fe..01dc4030 100644 --- a/r5dev/core/stdafx.h +++ b/r5dev/core/stdafx.h @@ -26,6 +26,9 @@ #include "thirdparty/imgui/backends/imgui_impl_win32.h" #endif // !DEDICATED && !NETCONSOLE && !PLUGINSDK + +#pragma warning(push) +#pragma warning( disable : 4505 ) #include "thirdparty/spdlog/spdlog.h" #include "thirdparty/spdlog/async.h" #include "thirdparty/spdlog/sinks/ostream_sink.h" @@ -34,6 +37,7 @@ #include "thirdparty/spdlog/sinks/stdout_color_sinks.h" #include "thirdparty/spdlog/sinks/ansicolor_sink.h" #include "thirdparty/spdlog/sinks/rotating_file_sink.h" +#pragma warning(pop) // Tier0 includes. #include "tier0/utility.h" diff --git a/r5dev/thirdparty/imgui/CMakeLists.txt b/r5dev/thirdparty/imgui/CMakeLists.txt index 345a6eab..746a11f9 100644 --- a/r5dev/thirdparty/imgui/CMakeLists.txt +++ b/r5dev/thirdparty/imgui/CMakeLists.txt @@ -36,4 +36,5 @@ add_sources( SOURCE_GROUP "Misc" ) end_sources() +thirdparty_suppress_warnings() target_compile_definitions( ${PROJECT_NAME} PRIVATE BUILDING_LIBIMGUI )