Skip to content

Commit acfa19a

Browse files
committed
Disable Spectre warning.
1 parent 08d68a8 commit acfa19a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stdafx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#define WINVER 0x0501
2323

2424
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
25+
#pragma warning(disable: 5045) // Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
2526

2627
#include <afxwin.h> // MFC core and standard components
2728
#include <afxext.h> // MFC extensions

0 commit comments

Comments
 (0)