Skip to content

Commit

Permalink
disable 5045
Browse files Browse the repository at this point in the history
  • Loading branch information
correaa committed Feb 16, 2025
1 parent f0c9223 commit 723d27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ else()
>
$<$<CXX_COMPILER_ID:MSVC>:
/GS # Enables buffer security check (can help detect stack-based buffer overflows)
/Wall /EHsc /Qspectre # /volatile:iso /WX /Zc:wchar_t /Zc:forScope /Zc:inline /permissive- /W4
/Wall /EHsc # /volatile:iso /WX /Zc:wchar_t /Zc:forScope /Zc:inline /permissive- /W4
/wd4371 # layout of class may have changed from a previous version of the compiler due to better packing of member
/wd4514 # unreferenced inline function has been removed
/wd4623 # default constructor was implicitly defined as deleted #TODO(correaa) investigate
Expand All @@ -329,7 +329,7 @@ else()
/wd4868 # compiler may not enforce left-to-right evaluation order in braced initializer list
/wd5026 # move constructor was implicitly defined as deleted
/wd5027 # move assignment operator was implicitly defined as deleted
# /wd5045 # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
/wd5045 # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
>
)

Expand Down

0 comments on commit 723d27a

Please sign in to comment.