diff --git a/build/BUILD.gn b/build/BUILD.gn index a3cd72c..b1209c4 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -203,6 +203,8 @@ config("warnings") { "/wd4305", # truncation from 'double' to 'float'. "/wd4365", # conversion, signed/unsigned mismatch. # "/wd5219", # conversion, possible loss of data. 'int' to 'float' + "/wd4722", # destructor never returns, potential memory leak + "/wd4702", # unreachable code # Possible compiler bug? Needs investigation. "/wd4668", # '__STDC_WANT_SECURE_LIB__' is not defined as a preprocessor