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.
This commit is contained in:
parent
e6d0a438ab
commit
372dcacbe4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue