Skip to content

Commit

Permalink
Fix C4351
Browse files Browse the repository at this point in the history
```
warning C4351: new behavior: elements of array 'TR_PersistentMemory::_totalPersistentAllocations' will be default initialized
```
  • Loading branch information
fjeremic committed Jun 7, 2021
1 parent aa4cbb1 commit 946ac17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/platform/toolcfg/msvc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ list(APPEND OMR_PLATFORM_COMPILE_OPTIONS
/Zm400 # Precompiled header memory allocation limit
/wd4577 # Disable warning: Specifying noexcept when exceptions are disabled
/wd4091 # Disable warning: Caused by broken windows SDK, see also https://connect.microsoft.com/VisualStudio/feedback/details/1302025/warning-c4091-in-sdk-7-1a-shlobj-h-1051-dbghelp-h-1054-3056
/wd4351 # Disable warning: Zero initialization of of arrays in initializer lists
)

if(OMR_ENV_DATA64)
Expand Down

0 comments on commit 946ac17

Please sign in to comment.