diff --git a/CMakeLists.txt b/CMakeLists.txt index 403a2f55..eaff0652 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,10 @@ if(ADDRESS_SANITIZER) add_compile_options($,$>,-fsanitize=address,>) endif() +if(MSVC) + add_compile_options("/wd4838") +endif() + # whether we are using MSBuild as a generator set(usingMsBuild $) diff --git a/TODO b/TODO index 8b137891..e4bb3a3c 100644 --- a/TODO +++ b/TODO @@ -1 +1,4 @@ +# stuff that needs doing +# priority (LOW,HIGH) and description +LOW readd the C4838 (https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4838) warning to CMakeLists.txt once they're all fixed in the code