Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-03-11 23:07:47 +0300
committerRay Molenkamp <github@lazydodo.com>2020-03-11 23:07:47 +0300
commit372dcacbe4f3131115166c725820305a6823a5e1 (patch)
tree7c29d7bb423fcbed192e232f69cd489fd31c38aa /extern
parente6d0a438ab951f188f4fc7e2678a0f867b9b350f (diff)
Windows: Cleanup warning about non returning dtor
`google::LogMessageFatal::~LogMessageFatal` calls `abort` which MSVC correctly identifies as 'not returning' and warns about a potential memory leak. Given this is intended behaviour and glog is not overly concerned with shutting down the process nicely, we can safely ignore this warning.
Diffstat (limited to 'extern')
-rw-r--r--extern/glog/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/extern/glog/CMakeLists.txt b/extern/glog/CMakeLists.txt
index c60e30d0b48..d7ad04435e8 100644
--- a/extern/glog/CMakeLists.txt
+++ b/extern/glog/CMakeLists.txt
@@ -77,6 +77,9 @@ if(WIN32)
list(APPEND INC
src/windows
)
+ # Repress warning about google::LogMessageFatal::~LogMessageFatal
+ # not returning.
+ add_definitions("/wd4722")
else()
list(APPEND INC
include