Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
IonutCava committed Apr 27, 2024
1 parent 1df3266 commit 26398fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")

add_compile_options(/Zc:__cplusplus)
add_compile_options(/Zm256)
add_compile_options(/arch:SSE4.2)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
add_compile_definitions(_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING) #ToDo(Ionut): This should be disabled only for third party libs

Expand Down
2 changes: 1 addition & 1 deletion Source/EngineIncludes_pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#pragma warning(disable: 4458) //warning C4458: declaration of 'shift' hides class member
#pragma warning(disable: 4310) //warning C4310: cast truncates constant value
#endif
//#include <stdexcept>
#include <stdexcept>
#include <bytell_hash_map.hpp>
#ifdef _MSC_VER
#pragma warning(pop)
Expand Down

0 comments on commit 26398fb

Please sign in to comment.