-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround for the MSVC / Visual Studio bug of its latest version (#42)
- Loading branch information
1 parent
c177937
commit 2715f55
Showing
4 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#include "predefined.h" | ||
#include "logger.h" | ||
|
||
#include "internal_error.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
#include "predefined.h" | ||
#include "logger.h" | ||
|
||
#include "mainwindow.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
#include "predefined.h" | ||
#include "mainwindow.h" | ||
#include "./ui_mainwindow.h" | ||
#include <QMessageBox> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
#ifdef _MSC_VER | ||
//1 > C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\xutility(1141, 31) : warning C4996 : 'stdext::checked_array_iterator<T *>' : warning STL4043 : stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non - Standard extensions and will be removed in the future.std::span(since C++20) and gsl::span can be used instead.You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning. | ||
#define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING | ||
#endif // _MSC_VER | ||
|