We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1e5f7b commit ba91bf4Copy full SHA for ba91bf4
StringUtils.cpp
@@ -7,6 +7,18 @@
7
| SPDX-License-Identifier: GPL-2.0-or-later |
8
\*---------------------------------------------------------*/
9
10
+/*---------------------------------------------------------*\
11
+| codecvt is deprecated, but there's no replacement so we |
12
+| can ignore the warnings |
13
+\*---------------------------------------------------------*/
14
+#if defined(_MSC_VER)
15
+#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
16
+#elif defined(__GNUC__)
17
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
18
+#elif defined(__clang__)
19
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
20
+#endif
21
+
22
#include <codecvt>
23
#include <locale>
24
#include <string>
0 commit comments