From 4a802120891b3dd801cde733b171b1f72d7d758c Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Sun, 6 Aug 2023 00:10:46 +0800 Subject: [PATCH 1/3] Deprecate the contents in `` headers Also make the deprecation of Microsoft extensions controlled by `_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS`. --- stl/inc/cvt/8859_1 | 4 ++-- stl/inc/cvt/8859_10 | 4 ++-- stl/inc/cvt/8859_13 | 4 ++-- stl/inc/cvt/8859_14 | 4 ++-- stl/inc/cvt/8859_15 | 4 ++-- stl/inc/cvt/8859_16 | 4 ++-- stl/inc/cvt/8859_2 | 4 ++-- stl/inc/cvt/8859_3 | 4 ++-- stl/inc/cvt/8859_4 | 4 ++-- stl/inc/cvt/8859_5 | 4 ++-- stl/inc/cvt/8859_6 | 4 ++-- stl/inc/cvt/8859_7 | 4 ++-- stl/inc/cvt/8859_8 | 4 ++-- stl/inc/cvt/8859_9 | 4 ++-- stl/inc/cvt/baltic | 4 ++-- stl/inc/cvt/big5 | 4 ++-- stl/inc/cvt/cp037 | 4 ++-- stl/inc/cvt/cp1006 | 4 ++-- stl/inc/cvt/cp1026 | 4 ++-- stl/inc/cvt/cp1250 | 4 ++-- stl/inc/cvt/cp1251 | 4 ++-- stl/inc/cvt/cp1252 | 4 ++-- stl/inc/cvt/cp1253 | 4 ++-- stl/inc/cvt/cp1254 | 4 ++-- stl/inc/cvt/cp1255 | 4 ++-- stl/inc/cvt/cp1256 | 4 ++-- stl/inc/cvt/cp1257 | 4 ++-- stl/inc/cvt/cp1258 | 4 ++-- stl/inc/cvt/cp424 | 4 ++-- stl/inc/cvt/cp437 | 4 ++-- stl/inc/cvt/cp500 | 4 ++-- stl/inc/cvt/cp737 | 4 ++-- stl/inc/cvt/cp775 | 4 ++-- stl/inc/cvt/cp850 | 4 ++-- stl/inc/cvt/cp852 | 4 ++-- stl/inc/cvt/cp855 | 4 ++-- stl/inc/cvt/cp856 | 4 ++-- stl/inc/cvt/cp857 | 4 ++-- stl/inc/cvt/cp860 | 4 ++-- stl/inc/cvt/cp861 | 4 ++-- stl/inc/cvt/cp862 | 4 ++-- stl/inc/cvt/cp863 | 4 ++-- stl/inc/cvt/cp864 | 4 ++-- stl/inc/cvt/cp865 | 4 ++-- stl/inc/cvt/cp866 | 4 ++-- stl/inc/cvt/cp869 | 4 ++-- stl/inc/cvt/cp874 | 4 ++-- stl/inc/cvt/cp875 | 4 ++-- stl/inc/cvt/cp932 | 4 ++-- stl/inc/cvt/cp936 | 4 ++-- stl/inc/cvt/cp949 | 4 ++-- stl/inc/cvt/cp950 | 4 ++-- stl/inc/cvt/cyrillic | 4 ++-- stl/inc/cvt/ebcdic | 4 ++-- stl/inc/cvt/euc | 4 ++-- stl/inc/cvt/euc_0208 | 4 ++-- stl/inc/cvt/gb12345 | 4 ++-- stl/inc/cvt/gb2312 | 4 ++-- stl/inc/cvt/greek | 4 ++-- stl/inc/cvt/iceland | 4 ++-- stl/inc/cvt/jis | 4 ++-- stl/inc/cvt/jis0201 | 4 ++-- stl/inc/cvt/jis_0208 | 4 ++-- stl/inc/cvt/ksc5601 | 4 ++-- stl/inc/cvt/latin2 | 4 ++-- stl/inc/cvt/one_one | 4 ++-- stl/inc/cvt/roman | 4 ++-- stl/inc/cvt/sjis | 4 ++-- stl/inc/cvt/sjis_0208 | 4 ++-- stl/inc/cvt/turkish | 4 ++-- stl/inc/cvt/utf16 | 4 ++-- stl/inc/cvt/utf8 | 4 ++-- stl/inc/cvt/utf8_utf16 | 4 ++-- stl/inc/cvt/wbuffer | 4 ++-- stl/inc/cvt/wstring | 4 ++-- stl/inc/cvt/xjis | 4 ++-- stl/inc/cvt/xone_byte | 4 ++-- stl/inc/cvt/xtwo_byte | 4 ++-- stl/inc/yvals_core.h | 21 ++++++++++++++----- .../test.compile.pass.cpp | 1 + tests/std/tests/P0218R1_filesystem/test.cpp | 2 ++ .../test.compile.pass.cpp | 1 + tests/tr1/tests/cvt/8859_1/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_10/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_13/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_14/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_15/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_16/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_2/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_3/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_4/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_5/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_6/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_7/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_8/test.cpp | 2 ++ tests/tr1/tests/cvt/8859_9/test.cpp | 2 ++ tests/tr1/tests/cvt/baltic/test.cpp | 2 ++ tests/tr1/tests/cvt/big5/test.cpp | 2 ++ tests/tr1/tests/cvt/cp037/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1006/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1026/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1250/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1251/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1252/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1253/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1254/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1255/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1256/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1257/test.cpp | 2 ++ tests/tr1/tests/cvt/cp1258/test.cpp | 2 ++ tests/tr1/tests/cvt/cp424/test.cpp | 2 ++ tests/tr1/tests/cvt/cp437/test.cpp | 2 ++ tests/tr1/tests/cvt/cp500/test.cpp | 2 ++ tests/tr1/tests/cvt/cp737/test.cpp | 2 ++ tests/tr1/tests/cvt/cp775/test.cpp | 2 ++ tests/tr1/tests/cvt/cp850/test.cpp | 2 ++ tests/tr1/tests/cvt/cp852/test.cpp | 2 ++ tests/tr1/tests/cvt/cp855/test.cpp | 2 ++ tests/tr1/tests/cvt/cp856/test.cpp | 2 ++ tests/tr1/tests/cvt/cp857/test.cpp | 2 ++ tests/tr1/tests/cvt/cp860/test.cpp | 2 ++ tests/tr1/tests/cvt/cp861/test.cpp | 2 ++ tests/tr1/tests/cvt/cp862/test.cpp | 2 ++ tests/tr1/tests/cvt/cp863/test.cpp | 2 ++ tests/tr1/tests/cvt/cp864/test.cpp | 2 ++ tests/tr1/tests/cvt/cp865/test.cpp | 2 ++ tests/tr1/tests/cvt/cp866/test.cpp | 2 ++ tests/tr1/tests/cvt/cp869/test.cpp | 2 ++ tests/tr1/tests/cvt/cp874/test.cpp | 2 ++ tests/tr1/tests/cvt/cp875/test.cpp | 2 ++ tests/tr1/tests/cvt/cp932/test.cpp | 2 ++ tests/tr1/tests/cvt/cp936/test.cpp | 2 ++ tests/tr1/tests/cvt/cp949/test.cpp | 2 ++ tests/tr1/tests/cvt/cp950/test.cpp | 2 ++ tests/tr1/tests/cvt/cyrillic/test.cpp | 2 ++ tests/tr1/tests/cvt/ebcdic/test.cpp | 2 ++ tests/tr1/tests/cvt/euc/test.cpp | 2 ++ tests/tr1/tests/cvt/euc_0208/test.cpp | 2 ++ tests/tr1/tests/cvt/gb12345/test.cpp | 2 ++ tests/tr1/tests/cvt/gb2312/test.cpp | 2 ++ tests/tr1/tests/cvt/greek/test.cpp | 2 ++ tests/tr1/tests/cvt/iceland/test.cpp | 2 ++ tests/tr1/tests/cvt/jis/test.cpp | 2 ++ tests/tr1/tests/cvt/jis0201/test.cpp | 2 ++ tests/tr1/tests/cvt/jis_0208/test.cpp | 2 ++ tests/tr1/tests/cvt/ksc5601/test.cpp | 2 ++ tests/tr1/tests/cvt/latin2/test.cpp | 2 ++ tests/tr1/tests/cvt/one_one/test.cpp | 2 ++ tests/tr1/tests/cvt/roman/test.cpp | 2 ++ tests/tr1/tests/cvt/sjis/test.cpp | 2 ++ tests/tr1/tests/cvt/sjis_0208/test.cpp | 2 ++ tests/tr1/tests/cvt/turkish/test.cpp | 2 ++ tests/tr1/tests/cvt/utf16/test.cpp | 2 ++ tests/tr1/tests/cvt/utf8/test.cpp | 2 ++ tests/tr1/tests/cvt/utf8_utf16/test.cpp | 2 ++ tests/tr1/tests/cvt/wbuffer/test.cpp | 2 ++ tests/tr1/tests/cvt/wstring/test.cpp | 2 ++ 157 files changed, 326 insertions(+), 161 deletions(-) diff --git a/stl/inc/cvt/8859_1 b/stl/inc/cvt/8859_1 index b3611970e32..591da9db589 100644 --- a/stl/inc/cvt/8859_1 +++ b/stl/inc/cvt/8859_1 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_1 { enum { _Nlow = 0x100, _Nbytes = 1 }; @@ -86,7 +86,7 @@ namespace stdext { const unsigned char _tab_8859_1<_Dummy>::_Wtb[1] = {0}; template class codecvt_8859_1 : public _Cvt_one_byte<_Elem, _tab_8859_1, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_10 b/stl/inc/cvt/8859_10 index cdec0235311..5309cfcf879 100644 --- a/stl/inc/cvt/8859_10 +++ b/stl/inc/cvt/8859_10 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_10 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -105,7 +105,7 @@ namespace stdext { template class codecvt_8859_10 : public _Cvt_one_byte<_Elem, _tab_8859_10, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_13 b/stl/inc/cvt/8859_13 index 5bba2abccc9..7569faeb0d4 100644 --- a/stl/inc/cvt/8859_13 +++ b/stl/inc/cvt/8859_13 @@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_13 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -103,7 +103,7 @@ namespace stdext { template class codecvt_8859_13 : public _Cvt_one_byte<_Elem, _tab_8859_13, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_14 b/stl/inc/cvt/8859_14 index abf8b6dcad9..f1bec695747 100644 --- a/stl/inc/cvt/8859_14 +++ b/stl/inc/cvt/8859_14 @@ -60,7 +60,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_14 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -100,7 +100,7 @@ namespace stdext { template class codecvt_8859_14 : public _Cvt_one_byte<_Elem, _tab_8859_14, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_15 b/stl/inc/cvt/8859_15 index 101a5917617..5ca529a98ea 100644 --- a/stl/inc/cvt/8859_15 +++ b/stl/inc/cvt/8859_15 @@ -62,7 +62,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_15 { enum { _Nlow = 0xa4, _Nbytes = 1 }; @@ -98,7 +98,7 @@ namespace stdext { template class codecvt_8859_15 : public _Cvt_one_byte<_Elem, _tab_8859_15, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_16 b/stl/inc/cvt/8859_16 index 86b43970d23..d0bf158cb11 100644 --- a/stl/inc/cvt/8859_16 +++ b/stl/inc/cvt/8859_16 @@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_16 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -101,7 +101,7 @@ namespace stdext { template class codecvt_8859_16 : public _Cvt_one_byte<_Elem, _tab_8859_16, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_2 b/stl/inc/cvt/8859_2 index a77ded35224..3a7b84cfcd1 100644 --- a/stl/inc/cvt/8859_2 +++ b/stl/inc/cvt/8859_2 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_2 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -107,7 +107,7 @@ namespace stdext { template class codecvt_8859_2 : public _Cvt_one_byte<_Elem, _tab_8859_2, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_3 b/stl/inc/cvt/8859_3 index 8693ce8e00f..20c10f2504f 100644 --- a/stl/inc/cvt/8859_3 +++ b/stl/inc/cvt/8859_3 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_3 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -103,7 +103,7 @@ namespace stdext { template class codecvt_8859_3 : public _Cvt_one_byte<_Elem, _tab_8859_3, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_4 b/stl/inc/cvt/8859_4 index b166034b88b..097700c210e 100644 --- a/stl/inc/cvt/8859_4 +++ b/stl/inc/cvt/8859_4 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_4 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -105,7 +105,7 @@ namespace stdext { template class codecvt_8859_4 : public _Cvt_one_byte<_Elem, _tab_8859_4, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_5 b/stl/inc/cvt/8859_5 index d08555b0ebe..2f5964c5d6b 100644 --- a/stl/inc/cvt/8859_5 +++ b/stl/inc/cvt/8859_5 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_5 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -113,7 +113,7 @@ namespace stdext { template class codecvt_8859_5 : public _Cvt_one_byte<_Elem, _tab_8859_5, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_6 b/stl/inc/cvt/8859_6 index 3adbcac6c28..68966a25f4d 100644 --- a/stl/inc/cvt/8859_6 +++ b/stl/inc/cvt/8859_6 @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_6 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -107,7 +107,7 @@ namespace stdext { template class codecvt_8859_6 : public _Cvt_one_byte<_Elem, _tab_8859_6, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_7 b/stl/inc/cvt/8859_7 index b78a2cafb19..ec0b800893a 100644 --- a/stl/inc/cvt/8859_7 +++ b/stl/inc/cvt/8859_7 @@ -68,7 +68,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_7 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -114,7 +114,7 @@ namespace stdext { template class codecvt_8859_7 : public _Cvt_one_byte<_Elem, _tab_8859_7, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_8 b/stl/inc/cvt/8859_8 index 94176207bfe..538b9b4cc70 100644 --- a/stl/inc/cvt/8859_8 +++ b/stl/inc/cvt/8859_8 @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_8 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -105,7 +105,7 @@ namespace stdext { template class codecvt_8859_8 : public _Cvt_one_byte<_Elem, _tab_8859_8, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/8859_9 b/stl/inc/cvt/8859_9 index ebbc556009f..5af1f93317f 100644 --- a/stl/inc/cvt/8859_9 +++ b/stl/inc/cvt/8859_9 @@ -65,7 +65,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_8859_9 { enum { _Nlow = 0xd0, _Nbytes = 1 }; @@ -97,7 +97,7 @@ namespace stdext { template class codecvt_8859_9 : public _Cvt_one_byte<_Elem, _tab_8859_9, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/baltic b/stl/inc/cvt/baltic index 1540d64b152..62f0140c841 100644 --- a/stl/inc/cvt/baltic +++ b/stl/inc/cvt/baltic @@ -31,7 +31,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_baltic { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -75,7 +75,7 @@ namespace stdext { template class codecvt_baltic : public _Cvt_one_byte<_Elem, _tab_baltic, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/big5 b/stl/inc/cvt/big5 index 271c88dd068..c065eab60b8 100644 --- a/stl/inc/cvt/big5 +++ b/stl/inc/cvt/big5 @@ -121,7 +121,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_big5 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -4379,7 +4379,7 @@ namespace stdext { template class codecvt_big5 : public _Cvt_two_byte<_Elem, _tab_big5, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp037 b/stl/inc/cvt/cp037 index 13942239097..4470f1a5079 100644 --- a/stl/inc/cvt/cp037 +++ b/stl/inc/cvt/cp037 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp037 { enum { _Nlow = 0x04, _Nbytes = 1 }; @@ -118,7 +118,7 @@ namespace stdext { template class codecvt_cp037 : public _Cvt_one_byte<_Elem, _tab_cp037, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1006 b/stl/inc/cvt/cp1006 index e4679b57e28..dacee4667ea 100644 --- a/stl/inc/cvt/cp1006 +++ b/stl/inc/cvt/cp1006 @@ -62,7 +62,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1006 { enum { _Nlow = 0xa1, _Nbytes = 1 }; @@ -112,7 +112,7 @@ namespace stdext { template class codecvt_cp1006 : public _Cvt_one_byte<_Elem, _tab_cp1006, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1026 b/stl/inc/cvt/cp1026 index a2649e0e501..26f2be4900d 100644 --- a/stl/inc/cvt/cp1026 +++ b/stl/inc/cvt/cp1026 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1026 { enum { _Nlow = 0x04, _Nbytes = 1 }; @@ -118,7 +118,7 @@ namespace stdext { template class codecvt_cp1026 : public _Cvt_one_byte<_Elem, _tab_cp1026, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1250 b/stl/inc/cvt/cp1250 index e16fa7e8a30..757d7214005 100644 --- a/stl/inc/cvt/cp1250 +++ b/stl/inc/cvt/cp1250 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1250 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -81,7 +81,7 @@ namespace stdext { template class codecvt_cp1250 : public _Cvt_one_byte<_Elem, _tab_cp1250, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1251 b/stl/inc/cvt/cp1251 index 2912810a5b3..b54ec99add3 100644 --- a/stl/inc/cvt/cp1251 +++ b/stl/inc/cvt/cp1251 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1251 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -87,7 +87,7 @@ namespace stdext { template class codecvt_cp1251 : public _Cvt_one_byte<_Elem, _tab_cp1251, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1252 b/stl/inc/cvt/cp1252 index 85c4f863038..fa00c9a2dad 100644 --- a/stl/inc/cvt/cp1252 +++ b/stl/inc/cvt/cp1252 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1252 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -75,7 +75,7 @@ namespace stdext { template class codecvt_cp1252 : public _Cvt_one_byte<_Elem, _tab_cp1252, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1253 b/stl/inc/cvt/cp1253 index 30038a6f584..083e18b7446 100644 --- a/stl/inc/cvt/cp1253 +++ b/stl/inc/cvt/cp1253 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1253 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -83,7 +83,7 @@ namespace stdext { template class codecvt_cp1253 : public _Cvt_one_byte<_Elem, _tab_cp1253, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1254 b/stl/inc/cvt/cp1254 index 7cf1ac99fe8..0c508442719 100644 --- a/stl/inc/cvt/cp1254 +++ b/stl/inc/cvt/cp1254 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1254 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -75,7 +75,7 @@ namespace stdext { template class codecvt_cp1254 : public _Cvt_one_byte<_Elem, _tab_cp1254, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1255 b/stl/inc/cvt/cp1255 index f4d7991c47c..133483f374c 100644 --- a/stl/inc/cvt/cp1255 +++ b/stl/inc/cvt/cp1255 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1255 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -81,7 +81,7 @@ namespace stdext { template class codecvt_cp1255 : public _Cvt_one_byte<_Elem, _tab_cp1255, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1256 b/stl/inc/cvt/cp1256 index 52c61e945d5..055a545979d 100644 --- a/stl/inc/cvt/cp1256 +++ b/stl/inc/cvt/cp1256 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1256 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -83,7 +83,7 @@ namespace stdext { template class codecvt_cp1256 : public _Cvt_one_byte<_Elem, _tab_cp1256, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1257 b/stl/inc/cvt/cp1257 index 47206b18738..198e5ce4086 100644 --- a/stl/inc/cvt/cp1257 +++ b/stl/inc/cvt/cp1257 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1257 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -81,7 +81,7 @@ namespace stdext { template class codecvt_cp1257 : public _Cvt_one_byte<_Elem, _tab_cp1257, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp1258 b/stl/inc/cvt/cp1258 index 4d1051e2118..73efaa4a77b 100644 --- a/stl/inc/cvt/cp1258 +++ b/stl/inc/cvt/cp1258 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp1258 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -75,7 +75,7 @@ namespace stdext { template class codecvt_cp1258 : public _Cvt_one_byte<_Elem, _tab_cp1258, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp424 b/stl/inc/cvt/cp424 index 62727cb9d24..7c8d9c921ae 100644 --- a/stl/inc/cvt/cp424 +++ b/stl/inc/cvt/cp424 @@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp424 { enum { _Nlow = 0x04, _Nbytes = 1 }; @@ -141,7 +141,7 @@ namespace stdext { template class codecvt_cp424 : public _Cvt_one_byte<_Elem, _tab_cp424, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp437 b/stl/inc/cvt/cp437 index d7225d842cb..4766e184d1a 100644 --- a/stl/inc/cvt/cp437 +++ b/stl/inc/cvt/cp437 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp437 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp437 : public _Cvt_one_byte<_Elem, _tab_cp437, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp500 b/stl/inc/cvt/cp500 index ba67523a438..fb383b42539 100644 --- a/stl/inc/cvt/cp500 +++ b/stl/inc/cvt/cp500 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp500 { enum { _Nlow = 0x04, _Nbytes = 1 }; @@ -118,7 +118,7 @@ namespace stdext { template class codecvt_cp500 : public _Cvt_one_byte<_Elem, _tab_cp500, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp737 b/stl/inc/cvt/cp737 index 352ba15dcd4..989ef9b7b57 100644 --- a/stl/inc/cvt/cp737 +++ b/stl/inc/cvt/cp737 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp737 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp737 : public _Cvt_one_byte<_Elem, _tab_cp737, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp775 b/stl/inc/cvt/cp775 index d842408dd84..bd5c2478ec7 100644 --- a/stl/inc/cvt/cp775 +++ b/stl/inc/cvt/cp775 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp775 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp775 : public _Cvt_one_byte<_Elem, _tab_cp775, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp850 b/stl/inc/cvt/cp850 index c3a6f979279..52892dbfee3 100644 --- a/stl/inc/cvt/cp850 +++ b/stl/inc/cvt/cp850 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp850 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp850 : public _Cvt_one_byte<_Elem, _tab_cp850, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp852 b/stl/inc/cvt/cp852 index 0334e981df9..039433e7a1e 100644 --- a/stl/inc/cvt/cp852 +++ b/stl/inc/cvt/cp852 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp852 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp852 : public _Cvt_one_byte<_Elem, _tab_cp852, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp855 b/stl/inc/cvt/cp855 index 5ac282afb22..f45c7622ef9 100644 --- a/stl/inc/cvt/cp855 +++ b/stl/inc/cvt/cp855 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp855 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp855 : public _Cvt_one_byte<_Elem, _tab_cp855, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp856 b/stl/inc/cvt/cp856 index af600e895de..1466bf72f61 100644 --- a/stl/inc/cvt/cp856 +++ b/stl/inc/cvt/cp856 @@ -62,7 +62,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp856 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -112,7 +112,7 @@ namespace stdext { template class codecvt_cp856 : public _Cvt_one_byte<_Elem, _tab_cp856, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp857 b/stl/inc/cvt/cp857 index 938e09d63f6..5043c0276ed 100644 --- a/stl/inc/cvt/cp857 +++ b/stl/inc/cvt/cp857 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp857 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp857 : public _Cvt_one_byte<_Elem, _tab_cp857, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp860 b/stl/inc/cvt/cp860 index b86395dc957..c07177beb19 100644 --- a/stl/inc/cvt/cp860 +++ b/stl/inc/cvt/cp860 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp860 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp860 : public _Cvt_one_byte<_Elem, _tab_cp860, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp861 b/stl/inc/cvt/cp861 index 5b202388819..a3f12fcd756 100644 --- a/stl/inc/cvt/cp861 +++ b/stl/inc/cvt/cp861 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp861 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp861 : public _Cvt_one_byte<_Elem, _tab_cp861, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp862 b/stl/inc/cvt/cp862 index 23c3418fb90..7e1e3347b96 100644 --- a/stl/inc/cvt/cp862 +++ b/stl/inc/cvt/cp862 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp862 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp862 : public _Cvt_one_byte<_Elem, _tab_cp862, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp863 b/stl/inc/cvt/cp863 index 69732d7dba3..3fdb5700a8b 100644 --- a/stl/inc/cvt/cp863 +++ b/stl/inc/cvt/cp863 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp863 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp863 : public _Cvt_one_byte<_Elem, _tab_cp863, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp864 b/stl/inc/cvt/cp864 index 69eac98e266..4490a6c9f09 100644 --- a/stl/inc/cvt/cp864 +++ b/stl/inc/cvt/cp864 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp864 { enum { _Nlow = 0x25, _Nbytes = 1 }; @@ -97,7 +97,7 @@ namespace stdext { template class codecvt_cp864 : public _Cvt_one_byte<_Elem, _tab_cp864, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp865 b/stl/inc/cvt/cp865 index 992f5d6f2ce..e45f8364c76 100644 --- a/stl/inc/cvt/cp865 +++ b/stl/inc/cvt/cp865 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp865 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp865 : public _Cvt_one_byte<_Elem, _tab_cp865, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp866 b/stl/inc/cvt/cp866 index 4822af4b76c..c1467b480a3 100644 --- a/stl/inc/cvt/cp866 +++ b/stl/inc/cvt/cp866 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp866 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp866 : public _Cvt_one_byte<_Elem, _tab_cp866, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp869 b/stl/inc/cvt/cp869 index a87fc460b5b..233b4f3918f 100644 --- a/stl/inc/cvt/cp869 +++ b/stl/inc/cvt/cp869 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp869 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cp869 : public _Cvt_one_byte<_Elem, _tab_cp869, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp874 b/stl/inc/cvt/cp874 index 362d432aa5b..9ba7f508f65 100644 --- a/stl/inc/cvt/cp874 +++ b/stl/inc/cvt/cp874 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp874 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -85,7 +85,7 @@ namespace stdext { template class codecvt_cp874 : public _Cvt_one_byte<_Elem, _tab_cp874, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp875 b/stl/inc/cvt/cp875 index fba746d3447..8a6bdb246b1 100644 --- a/stl/inc/cvt/cp875 +++ b/stl/inc/cvt/cp875 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp875 { enum { _Nlow = 0x04, _Nbytes = 1 }; @@ -118,7 +118,7 @@ namespace stdext { template class codecvt_cp875 : public _Cvt_one_byte<_Elem, _tab_cp875, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp932 b/stl/inc/cvt/cp932 index 61cf2fc0e9a..c9c6f8c1817 100644 --- a/stl/inc/cvt/cp932 +++ b/stl/inc/cvt/cp932 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp932 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -2459,7 +2459,7 @@ namespace stdext { template class codecvt_cp932 : public _Cvt_two_byte<_Elem, _tab_cp932, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp936 b/stl/inc/cvt/cp936 index 21a7189490f..177e4e29bf1 100644 --- a/stl/inc/cvt/cp936 +++ b/stl/inc/cvt/cp936 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp936 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -6779,7 +6779,7 @@ namespace stdext { template class codecvt_cp936 : public _Cvt_two_byte<_Elem, _tab_cp936, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp949 b/stl/inc/cvt/cp949 index 73751dd3e7f..28686066832 100644 --- a/stl/inc/cvt/cp949 +++ b/stl/inc/cvt/cp949 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp949 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -5319,7 +5319,7 @@ namespace stdext { template class codecvt_cp949 : public _Cvt_two_byte<_Elem, _tab_cp949, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cp950 b/stl/inc/cvt/cp950 index 481b8f6fcf0..af258aa4c6d 100644 --- a/stl/inc/cvt/cp950 +++ b/stl/inc/cvt/cp950 @@ -33,7 +33,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cp950 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -4227,7 +4227,7 @@ namespace stdext { template class codecvt_cp950 : public _Cvt_two_byte<_Elem, _tab_cp950, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/cyrillic b/stl/inc/cvt/cyrillic index f0a726e46a6..5c26b27bbdd 100644 --- a/stl/inc/cvt/cyrillic +++ b/stl/inc/cvt/cyrillic @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_cyrillic { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_cyrillic : public _Cvt_one_byte<_Elem, _tab_cyrillic, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/ebcdic b/stl/inc/cvt/ebcdic index 98108eb69d4..e29b0f3a973 100644 --- a/stl/inc/cvt/ebcdic +++ b/stl/inc/cvt/ebcdic @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; template @@ -175,7 +175,7 @@ namespace stdext { 0xdc, 0xdd, 0xde, 0xdf, 0xea, 0xeb, 0xec, 0xed, // 0xee, 0xef, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, // }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/euc b/stl/inc/cvt/euc index 6857562d866..adb9dd60204 100644 --- a/stl/inc/cvt/euc +++ b/stl/inc/cvt/euc @@ -77,7 +77,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_euc { enum { _Nlow = 0x5c, _Nbytes = 2 }; @@ -2256,7 +2256,7 @@ namespace stdext { template class codecvt_euc : public _Cvt_two_byte<_Elem, _tab_euc, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/euc_0208 b/stl/inc/cvt/euc_0208 index 9ecbe2d6521..8ef4d12722e 100644 --- a/stl/inc/cvt/euc_0208 +++ b/stl/inc/cvt/euc_0208 @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; template @@ -186,7 +186,7 @@ namespace stdext { return 0; // 0 => varying length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/gb12345 b/stl/inc/cvt/gb12345 index a3d8ef88e27..a19c58910f2 100644 --- a/stl/inc/cvt/gb12345 +++ b/stl/inc/cvt/gb12345 @@ -44,7 +44,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_gb12345 { enum { _Nlow = 0x5c, _Nbytes = 2 }; @@ -2409,7 +2409,7 @@ namespace stdext { template class codecvt_gb12345 : public _Cvt_two_byte<_Elem, _tab_gb12345, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/gb2312 b/stl/inc/cvt/gb2312 index 0487a86312a..fa797bf6284 100644 --- a/stl/inc/cvt/gb2312 +++ b/stl/inc/cvt/gb2312 @@ -87,7 +87,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_gb2312 { enum { _Nlow = 0x5c, _Nbytes = 2 }; @@ -2420,7 +2420,7 @@ namespace stdext { template class codecvt_gb2312 : public _Cvt_two_byte<_Elem, _tab_gb2312, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/greek b/stl/inc/cvt/greek index d698b013304..34dae7b05a4 100644 --- a/stl/inc/cvt/greek +++ b/stl/inc/cvt/greek @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_greek { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_greek : public _Cvt_one_byte<_Elem, _tab_greek, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/iceland b/stl/inc/cvt/iceland index 93a4400da79..955ffa8c808 100644 --- a/stl/inc/cvt/iceland +++ b/stl/inc/cvt/iceland @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_iceland { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_iceland : public _Cvt_one_byte<_Elem, _tab_iceland, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/jis b/stl/inc/cvt/jis index d946dcff072..6ef1230d727 100644 --- a/stl/inc/cvt/jis +++ b/stl/inc/cvt/jis @@ -77,7 +77,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_jis { enum { _Nlow = 0x5c, _Nbytes = 2 }; @@ -2246,7 +2246,7 @@ namespace stdext { 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7, 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df, 0x2131, 0x216f}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #include diff --git a/stl/inc/cvt/jis0201 b/stl/inc/cvt/jis0201 index d13cf1eefb7..b8e3bdbfbeb 100644 --- a/stl/inc/cvt/jis0201 +++ b/stl/inc/cvt/jis0201 @@ -77,7 +77,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_jis0201 { enum { _Nlow = 0x5c, _Nbytes = 1 }; @@ -126,7 +126,7 @@ namespace stdext { template class codecvt_jis0201 : public _Cvt_one_byte<_Elem, _tab_jis0201, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/jis_0208 b/stl/inc/cvt/jis_0208 index 28b338536da..40a8e14cb5b 100644 --- a/stl/inc/cvt/jis_0208 +++ b/stl/inc/cvt/jis_0208 @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; #define _ESC_CODE 0x1b @@ -243,7 +243,7 @@ namespace stdext { return 0; // 0 => varying length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/ksc5601 b/stl/inc/cvt/ksc5601 index c8d9e560a62..241ba63e3f9 100644 --- a/stl/inc/cvt/ksc5601 +++ b/stl/inc/cvt/ksc5601 @@ -47,7 +47,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_ksc5601 { enum { _Nlow = 0x80, _Nbytes = 2 }; @@ -5333,7 +5333,7 @@ namespace stdext { template class codecvt_ksc5601 : public _Cvt_two_byte<_Elem, _tab_ksc5601, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/latin2 b/stl/inc/cvt/latin2 index fe0f99f1cd5..8f7e91a8f53 100644 --- a/stl/inc/cvt/latin2 +++ b/stl/inc/cvt/latin2 @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_latin2 { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_latin2 : public _Cvt_one_byte<_Elem, _tab_latin2, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/one_one b/stl/inc/cvt/one_one index 3869df909e0..287b65e3ab3 100644 --- a/stl/inc/cvt/one_one +++ b/stl/inc/cvt/one_one @@ -19,7 +19,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -225,7 +225,7 @@ namespace stdext { } }; _STL_RESTORE_DEPRECATED_WARNING - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/roman b/stl/inc/cvt/roman index b2e0efe29dd..27004cf35a5 100644 --- a/stl/inc/cvt/roman +++ b/stl/inc/cvt/roman @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_roman { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_roman : public _Cvt_one_byte<_Elem, _tab_roman, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/sjis b/stl/inc/cvt/sjis index 2d94acf997f..19e125ff2dd 100644 --- a/stl/inc/cvt/sjis +++ b/stl/inc/cvt/sjis @@ -77,7 +77,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_sjis { enum { _Nlow = 0x5c, _Nbytes = 2 }; @@ -2248,7 +2248,7 @@ namespace stdext { template class codecvt_sjis : public _Cvt_two_byte<_Elem, _tab_sjis, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/sjis_0208 b/stl/inc/cvt/sjis_0208 index 64115176e7d..521f44aa0d3 100644 --- a/stl/inc/cvt/sjis_0208 +++ b/stl/inc/cvt/sjis_0208 @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -174,7 +174,7 @@ namespace stdext { return 0; // 0 => varying length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/turkish b/stl/inc/cvt/turkish index e59857b6810..bbf61316f8c 100644 --- a/stl/inc/cvt/turkish +++ b/stl/inc/cvt/turkish @@ -34,7 +34,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template struct _tab_turkish { enum { _Nlow = 0x80, _Nbytes = 1 }; @@ -90,7 +90,7 @@ namespace stdext { template class codecvt_turkish : public _Cvt_one_byte<_Elem, _tab_turkish, _Maxcode> {}; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/utf16 b/stl/inc/cvt/utf16 index 64d65307c72..c97f6ce47df 100644 --- a/stl/inc/cvt/utf16 +++ b/stl/inc/cvt/utf16 @@ -19,7 +19,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; _STL_DISABLE_DEPRECATED_WARNING @@ -254,7 +254,7 @@ namespace stdext { } }; _STL_RESTORE_DEPRECATED_WARNING - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/utf8 b/stl/inc/cvt/utf8 index 4e8e0befd62..81a4c3393e7 100644 --- a/stl/inc/cvt/utf8 +++ b/stl/inc/cvt/utf8 @@ -19,7 +19,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -233,7 +233,7 @@ namespace stdext { } }; _STL_RESTORE_DEPRECATED_WARNING - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/utf8_utf16 b/stl/inc/cvt/utf8_utf16 index 2c5593f988d..745eee4204f 100644 --- a/stl/inc/cvt/utf8_utf16 +++ b/stl/inc/cvt/utf8_utf16 @@ -19,7 +19,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Mbstatype = _CSTD mbstate_t; @@ -289,7 +289,7 @@ namespace stdext { } }; _STL_RESTORE_DEPRECATED_WARNING - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/wbuffer b/stl/inc/cvt/wbuffer index 90b3302b087..a3d8f1c9a7a 100644 --- a/stl/inc/cvt/wbuffer +++ b/stl/inc/cvt/wbuffer @@ -23,7 +23,7 @@ _STL_DISABLE_CLANG_WARNINGS // mywcout << static_cast(0x80); // writes 0xc2 0x80 namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template > class wbuffer_convert @@ -314,7 +314,7 @@ namespace stdext { _STD string _Str; // unconsumed input bytes _STD locale _Loc; // manages reference to codecvt facet }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") _STL_RESTORE_CLANG_WARNINGS diff --git a/stl/inc/cvt/wstring b/stl/inc/cvt/wstring index 80a3078dba0..a481a8adb61 100644 --- a/stl/inc/cvt/wstring +++ b/stl/inc/cvt/wstring @@ -20,7 +20,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { template class wstring_convert { // converts between _Elem (wide) and char (byte) strings @@ -217,7 +217,7 @@ namespace stdext { bool _Has_werr; size_t _Nconv; }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") _STL_RESTORE_CLANG_WARNINGS diff --git a/stl/inc/cvt/xjis b/stl/inc/cvt/xjis index 047e724d89d..5d246dfd6da 100644 --- a/stl/inc/cvt/xjis +++ b/stl/inc/cvt/xjis @@ -22,7 +22,7 @@ _STL_DISABLE_CLANG_WARNINGS #endif // _CVT_JIS_ namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -306,7 +306,7 @@ namespace stdext { return 0; // 0 => varying length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/xone_byte b/stl/inc/cvt/xone_byte index 7bc94360117..dae7499ed1e 100644 --- a/stl/inc/cvt/xone_byte +++ b/stl/inc/cvt/xone_byte @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -125,7 +125,7 @@ namespace stdext { return 1; // >0 => fixed sequence length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/cvt/xtwo_byte b/stl/inc/cvt/xtwo_byte index 46cc686728d..897aadf516d 100644 --- a/stl/inc/cvt/xtwo_byte +++ b/stl/inc/cvt/xtwo_byte @@ -18,7 +18,7 @@ _STL_DISABLE_CLANG_WARNINGS #undef new namespace stdext { - namespace cvt { + namespace _DEPRECATE_STDEXT_CVT cvt { using _Statype = _CSTD mbstate_t; @@ -192,7 +192,7 @@ namespace stdext { return 0; // 0 => varying length } }; - } // namespace cvt + } // namespace _DEPRECATE_STDEXT_CVT cvt } // namespace stdext #pragma pop_macro("new") diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index e4ec9109126..2a606e8dad7 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -1485,18 +1485,29 @@ _EMIT_STL_ERROR(STL1004, "C++98 unexpected() is incompatible with C++23 unexpect #endif // ^^^ warning disabled ^^^ #if _HAS_CXX17 && !defined(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) \ - && !defined(_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS) + && !defined(_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS) #define _DEPRECATE_STDEXT_ARR_ITERS \ [[deprecated( \ "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_CXX17_DEPRECATION_WARNINGS to suppress this warning.")]] + "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.")]] #else // ^^^ warning enabled / warning disabled vvv #define _DEPRECATE_STDEXT_ARR_ITERS #endif // ^^^ warning disabled ^^^ -// next warning number: STL4044 +#if _HAS_CXX17 && !defined(_SILENCE_STDEXT_CVT_DEPRECATION_WARNING) \ + && !defined(_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS) +#define _DEPRECATE_STDEXT_CVT \ + [[deprecated("warning STL4044: The contents in the stdext::cvt namespace are non-Standard extensions and will be " \ + "removed in the future. MultiByteToWideChar() and WideCharToMultiByte() functions can be used " \ + "instead. You can define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING or " \ + "_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.")]] +#else // ^^^ warning enabled / warning disabled vvv +#define _DEPRECATE_STDEXT_CVT +#endif // ^^^ warning disabled ^^^ + +// next warning number: STL4045 // next error number: STL1006 diff --git a/tests/std/tests/Dev11_0453373_codecvt_compiles/test.compile.pass.cpp b/tests/std/tests/Dev11_0453373_codecvt_compiles/test.compile.pass.cpp index a619377cf5b..4b17ef8544b 100644 --- a/tests/std/tests/Dev11_0453373_codecvt_compiles/test.compile.pass.cpp +++ b/tests/std/tests/Dev11_0453373_codecvt_compiles/test.compile.pass.cpp @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING #include #include diff --git a/tests/std/tests/P0218R1_filesystem/test.cpp b/tests/std/tests/P0218R1_filesystem/test.cpp index 9dccd939413..0c9da8b2b45 100644 --- a/tests/std/tests/P0218R1_filesystem/test.cpp +++ b/tests/std/tests/P0218R1_filesystem/test.cpp @@ -2,6 +2,8 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include #include #include diff --git a/tests/std/tests/VSO_0000000_instantiate_cvt/test.compile.pass.cpp b/tests/std/tests/VSO_0000000_instantiate_cvt/test.compile.pass.cpp index e2502be67e3..e5e9231c37f 100644 --- a/tests/std/tests/VSO_0000000_instantiate_cvt/test.compile.pass.cpp +++ b/tests/std/tests/VSO_0000000_instantiate_cvt/test.compile.pass.cpp @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING #define _USE_NAMED_IDL_NAMESPACE 1 #ifndef _M_CEE_PURE // chk builds of /clr:pure compile this test extremely slowly. diff --git a/tests/tr1/tests/cvt/8859_1/test.cpp b/tests/tr1/tests/cvt/8859_1/test.cpp index e6475471c9a..569a8eb2165 100644 --- a/tests/tr1/tests/cvt/8859_1/test.cpp +++ b/tests/tr1/tests/cvt/8859_1/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_10/test.cpp b/tests/tr1/tests/cvt/8859_10/test.cpp index 14522527ea6..b3058463fde 100644 --- a/tests/tr1/tests/cvt/8859_10/test.cpp +++ b/tests/tr1/tests/cvt/8859_10/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_13/test.cpp b/tests/tr1/tests/cvt/8859_13/test.cpp index e0b3def8373..58f2eb5241e 100644 --- a/tests/tr1/tests/cvt/8859_13/test.cpp +++ b/tests/tr1/tests/cvt/8859_13/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_14/test.cpp b/tests/tr1/tests/cvt/8859_14/test.cpp index b7b2c46492b..9a746b78a19 100644 --- a/tests/tr1/tests/cvt/8859_14/test.cpp +++ b/tests/tr1/tests/cvt/8859_14/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_15/test.cpp b/tests/tr1/tests/cvt/8859_15/test.cpp index b41a0d41be8..09e3ca9a726 100644 --- a/tests/tr1/tests/cvt/8859_15/test.cpp +++ b/tests/tr1/tests/cvt/8859_15/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_16/test.cpp b/tests/tr1/tests/cvt/8859_16/test.cpp index 54a5342325b..583f2b910c6 100644 --- a/tests/tr1/tests/cvt/8859_16/test.cpp +++ b/tests/tr1/tests/cvt/8859_16/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_2/test.cpp b/tests/tr1/tests/cvt/8859_2/test.cpp index 0a9c8866dc1..7416cd32f70 100644 --- a/tests/tr1/tests/cvt/8859_2/test.cpp +++ b/tests/tr1/tests/cvt/8859_2/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_3/test.cpp b/tests/tr1/tests/cvt/8859_3/test.cpp index 72ec7e6bc67..d3d39761b65 100644 --- a/tests/tr1/tests/cvt/8859_3/test.cpp +++ b/tests/tr1/tests/cvt/8859_3/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_4/test.cpp b/tests/tr1/tests/cvt/8859_4/test.cpp index d26f88a3ca1..aad279a73f0 100644 --- a/tests/tr1/tests/cvt/8859_4/test.cpp +++ b/tests/tr1/tests/cvt/8859_4/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_5/test.cpp b/tests/tr1/tests/cvt/8859_5/test.cpp index d4baffbc97b..84140c09bf9 100644 --- a/tests/tr1/tests/cvt/8859_5/test.cpp +++ b/tests/tr1/tests/cvt/8859_5/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_6/test.cpp b/tests/tr1/tests/cvt/8859_6/test.cpp index 33e1f544ec2..ea028b1f8d1 100644 --- a/tests/tr1/tests/cvt/8859_6/test.cpp +++ b/tests/tr1/tests/cvt/8859_6/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_7/test.cpp b/tests/tr1/tests/cvt/8859_7/test.cpp index 4b5e7a8e9a3..c8fd7fdfd19 100644 --- a/tests/tr1/tests/cvt/8859_7/test.cpp +++ b/tests/tr1/tests/cvt/8859_7/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_8/test.cpp b/tests/tr1/tests/cvt/8859_8/test.cpp index 2e1f8216b33..08d8739d7c0 100644 --- a/tests/tr1/tests/cvt/8859_8/test.cpp +++ b/tests/tr1/tests/cvt/8859_8/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_9/test.cpp b/tests/tr1/tests/cvt/8859_9/test.cpp index 53d8dea179f..767e4ee9da2 100644 --- a/tests/tr1/tests/cvt/8859_9/test.cpp +++ b/tests/tr1/tests/cvt/8859_9/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/baltic/test.cpp b/tests/tr1/tests/cvt/baltic/test.cpp index aa018bb99ea..ca896ac78a2 100644 --- a/tests/tr1/tests/cvt/baltic/test.cpp +++ b/tests/tr1/tests/cvt/baltic/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/big5/test.cpp b/tests/tr1/tests/cvt/big5/test.cpp index 1375df780cb..f90297a46aa 100644 --- a/tests/tr1/tests/cvt/big5/test.cpp +++ b/tests/tr1/tests/cvt/big5/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp037/test.cpp b/tests/tr1/tests/cvt/cp037/test.cpp index cd66934979c..d55a75002d8 100644 --- a/tests/tr1/tests/cvt/cp037/test.cpp +++ b/tests/tr1/tests/cvt/cp037/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1006/test.cpp b/tests/tr1/tests/cvt/cp1006/test.cpp index 3cdfc8882ae..d68de725882 100644 --- a/tests/tr1/tests/cvt/cp1006/test.cpp +++ b/tests/tr1/tests/cvt/cp1006/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1026/test.cpp b/tests/tr1/tests/cvt/cp1026/test.cpp index e6894f05270..b170f33d912 100644 --- a/tests/tr1/tests/cvt/cp1026/test.cpp +++ b/tests/tr1/tests/cvt/cp1026/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1250/test.cpp b/tests/tr1/tests/cvt/cp1250/test.cpp index 535743d38d8..ccac4d342f5 100644 --- a/tests/tr1/tests/cvt/cp1250/test.cpp +++ b/tests/tr1/tests/cvt/cp1250/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1251/test.cpp b/tests/tr1/tests/cvt/cp1251/test.cpp index 7fbe6d53767..ed6f3329a3d 100644 --- a/tests/tr1/tests/cvt/cp1251/test.cpp +++ b/tests/tr1/tests/cvt/cp1251/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1252/test.cpp b/tests/tr1/tests/cvt/cp1252/test.cpp index c291488743c..1d48dc115aa 100644 --- a/tests/tr1/tests/cvt/cp1252/test.cpp +++ b/tests/tr1/tests/cvt/cp1252/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1253/test.cpp b/tests/tr1/tests/cvt/cp1253/test.cpp index 1a8fcd7c941..ea1d652ecea 100644 --- a/tests/tr1/tests/cvt/cp1253/test.cpp +++ b/tests/tr1/tests/cvt/cp1253/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1254/test.cpp b/tests/tr1/tests/cvt/cp1254/test.cpp index ddcab280454..5ff4da8d734 100644 --- a/tests/tr1/tests/cvt/cp1254/test.cpp +++ b/tests/tr1/tests/cvt/cp1254/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1255/test.cpp b/tests/tr1/tests/cvt/cp1255/test.cpp index 0b3699f7197..4ce4446290b 100644 --- a/tests/tr1/tests/cvt/cp1255/test.cpp +++ b/tests/tr1/tests/cvt/cp1255/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1256/test.cpp b/tests/tr1/tests/cvt/cp1256/test.cpp index fe35aaf9f25..6f113a5c21f 100644 --- a/tests/tr1/tests/cvt/cp1256/test.cpp +++ b/tests/tr1/tests/cvt/cp1256/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1257/test.cpp b/tests/tr1/tests/cvt/cp1257/test.cpp index 1c65ee1d0e8..d74ad6b2d06 100644 --- a/tests/tr1/tests/cvt/cp1257/test.cpp +++ b/tests/tr1/tests/cvt/cp1257/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1258/test.cpp b/tests/tr1/tests/cvt/cp1258/test.cpp index 74d6418defd..5e63c38cc59 100644 --- a/tests/tr1/tests/cvt/cp1258/test.cpp +++ b/tests/tr1/tests/cvt/cp1258/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp424/test.cpp b/tests/tr1/tests/cvt/cp424/test.cpp index 429aeef521e..f3646f52ada 100644 --- a/tests/tr1/tests/cvt/cp424/test.cpp +++ b/tests/tr1/tests/cvt/cp424/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp437/test.cpp b/tests/tr1/tests/cvt/cp437/test.cpp index 29bda315f8d..0c2ae285edd 100644 --- a/tests/tr1/tests/cvt/cp437/test.cpp +++ b/tests/tr1/tests/cvt/cp437/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp500/test.cpp b/tests/tr1/tests/cvt/cp500/test.cpp index c5f675aedf7..53a505a2aba 100644 --- a/tests/tr1/tests/cvt/cp500/test.cpp +++ b/tests/tr1/tests/cvt/cp500/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp737/test.cpp b/tests/tr1/tests/cvt/cp737/test.cpp index 3be7f4a4567..5d5c310b828 100644 --- a/tests/tr1/tests/cvt/cp737/test.cpp +++ b/tests/tr1/tests/cvt/cp737/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp775/test.cpp b/tests/tr1/tests/cvt/cp775/test.cpp index 3b936d25c23..a3c5a1bf4de 100644 --- a/tests/tr1/tests/cvt/cp775/test.cpp +++ b/tests/tr1/tests/cvt/cp775/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp850/test.cpp b/tests/tr1/tests/cvt/cp850/test.cpp index c2843191003..8febd3757a7 100644 --- a/tests/tr1/tests/cvt/cp850/test.cpp +++ b/tests/tr1/tests/cvt/cp850/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp852/test.cpp b/tests/tr1/tests/cvt/cp852/test.cpp index 43984665461..c88269347c6 100644 --- a/tests/tr1/tests/cvt/cp852/test.cpp +++ b/tests/tr1/tests/cvt/cp852/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp855/test.cpp b/tests/tr1/tests/cvt/cp855/test.cpp index 2320daf93af..7ec19f811e0 100644 --- a/tests/tr1/tests/cvt/cp855/test.cpp +++ b/tests/tr1/tests/cvt/cp855/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp856/test.cpp b/tests/tr1/tests/cvt/cp856/test.cpp index 10f71273a38..c90992bcdcd 100644 --- a/tests/tr1/tests/cvt/cp856/test.cpp +++ b/tests/tr1/tests/cvt/cp856/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp857/test.cpp b/tests/tr1/tests/cvt/cp857/test.cpp index 6f5b9ef859b..da84e22fbdb 100644 --- a/tests/tr1/tests/cvt/cp857/test.cpp +++ b/tests/tr1/tests/cvt/cp857/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp860/test.cpp b/tests/tr1/tests/cvt/cp860/test.cpp index 34c2baf65a6..c7416c8fa7b 100644 --- a/tests/tr1/tests/cvt/cp860/test.cpp +++ b/tests/tr1/tests/cvt/cp860/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp861/test.cpp b/tests/tr1/tests/cvt/cp861/test.cpp index 2752f4c8eb9..7ea7ba63676 100644 --- a/tests/tr1/tests/cvt/cp861/test.cpp +++ b/tests/tr1/tests/cvt/cp861/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp862/test.cpp b/tests/tr1/tests/cvt/cp862/test.cpp index b538ee5cb84..2d379a90bd9 100644 --- a/tests/tr1/tests/cvt/cp862/test.cpp +++ b/tests/tr1/tests/cvt/cp862/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp863/test.cpp b/tests/tr1/tests/cvt/cp863/test.cpp index d02f768cc49..faa1e68b39b 100644 --- a/tests/tr1/tests/cvt/cp863/test.cpp +++ b/tests/tr1/tests/cvt/cp863/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp864/test.cpp b/tests/tr1/tests/cvt/cp864/test.cpp index a51707667ec..2bd7251e475 100644 --- a/tests/tr1/tests/cvt/cp864/test.cpp +++ b/tests/tr1/tests/cvt/cp864/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp865/test.cpp b/tests/tr1/tests/cvt/cp865/test.cpp index b51a9b871bf..6461a2cf967 100644 --- a/tests/tr1/tests/cvt/cp865/test.cpp +++ b/tests/tr1/tests/cvt/cp865/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp866/test.cpp b/tests/tr1/tests/cvt/cp866/test.cpp index aa55cf69e63..9d546865ff1 100644 --- a/tests/tr1/tests/cvt/cp866/test.cpp +++ b/tests/tr1/tests/cvt/cp866/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp869/test.cpp b/tests/tr1/tests/cvt/cp869/test.cpp index 0e0a5bd4651..74ba48a1910 100644 --- a/tests/tr1/tests/cvt/cp869/test.cpp +++ b/tests/tr1/tests/cvt/cp869/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp874/test.cpp b/tests/tr1/tests/cvt/cp874/test.cpp index 00613938774..0da5be3d7f8 100644 --- a/tests/tr1/tests/cvt/cp874/test.cpp +++ b/tests/tr1/tests/cvt/cp874/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp875/test.cpp b/tests/tr1/tests/cvt/cp875/test.cpp index 2eb3719842c..54cfd600f34 100644 --- a/tests/tr1/tests/cvt/cp875/test.cpp +++ b/tests/tr1/tests/cvt/cp875/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp932/test.cpp b/tests/tr1/tests/cvt/cp932/test.cpp index 09e26f6c1c2..5c910011836 100644 --- a/tests/tr1/tests/cvt/cp932/test.cpp +++ b/tests/tr1/tests/cvt/cp932/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp936/test.cpp b/tests/tr1/tests/cvt/cp936/test.cpp index 4a689744409..11b03732c77 100644 --- a/tests/tr1/tests/cvt/cp936/test.cpp +++ b/tests/tr1/tests/cvt/cp936/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp949/test.cpp b/tests/tr1/tests/cvt/cp949/test.cpp index f46efd302db..0d4acdb39bc 100644 --- a/tests/tr1/tests/cvt/cp949/test.cpp +++ b/tests/tr1/tests/cvt/cp949/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp950/test.cpp b/tests/tr1/tests/cvt/cp950/test.cpp index 1e15cddc6cb..e45ad8f5c3e 100644 --- a/tests/tr1/tests/cvt/cp950/test.cpp +++ b/tests/tr1/tests/cvt/cp950/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cyrillic/test.cpp b/tests/tr1/tests/cvt/cyrillic/test.cpp index 2c2384139fa..d69215db3d8 100644 --- a/tests/tr1/tests/cvt/cyrillic/test.cpp +++ b/tests/tr1/tests/cvt/cyrillic/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/ebcdic/test.cpp b/tests/tr1/tests/cvt/ebcdic/test.cpp index 5e00a3badf0..a7ee0ab372c 100644 --- a/tests/tr1/tests/cvt/ebcdic/test.cpp +++ b/tests/tr1/tests/cvt/ebcdic/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/euc/test.cpp b/tests/tr1/tests/cvt/euc/test.cpp index 15a112c5a56..8fc150f120c 100644 --- a/tests/tr1/tests/cvt/euc/test.cpp +++ b/tests/tr1/tests/cvt/euc/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/euc_0208/test.cpp b/tests/tr1/tests/cvt/euc_0208/test.cpp index e10f1bc3f33..2e99867a2be 100644 --- a/tests/tr1/tests/cvt/euc_0208/test.cpp +++ b/tests/tr1/tests/cvt/euc_0208/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/gb12345/test.cpp b/tests/tr1/tests/cvt/gb12345/test.cpp index e539d78247a..9493b31c81f 100644 --- a/tests/tr1/tests/cvt/gb12345/test.cpp +++ b/tests/tr1/tests/cvt/gb12345/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/gb2312/test.cpp b/tests/tr1/tests/cvt/gb2312/test.cpp index c0ff1292bed..12d9f07d024 100644 --- a/tests/tr1/tests/cvt/gb2312/test.cpp +++ b/tests/tr1/tests/cvt/gb2312/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/greek/test.cpp b/tests/tr1/tests/cvt/greek/test.cpp index ed20241b6dc..567fa481bcb 100644 --- a/tests/tr1/tests/cvt/greek/test.cpp +++ b/tests/tr1/tests/cvt/greek/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/iceland/test.cpp b/tests/tr1/tests/cvt/iceland/test.cpp index 6484a2f978d..3bd18cc2dbe 100644 --- a/tests/tr1/tests/cvt/iceland/test.cpp +++ b/tests/tr1/tests/cvt/iceland/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis/test.cpp b/tests/tr1/tests/cvt/jis/test.cpp index 2f88efa133d..034c0e08ffe 100644 --- a/tests/tr1/tests/cvt/jis/test.cpp +++ b/tests/tr1/tests/cvt/jis/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis0201/test.cpp b/tests/tr1/tests/cvt/jis0201/test.cpp index 3187015efad..c8c98436646 100644 --- a/tests/tr1/tests/cvt/jis0201/test.cpp +++ b/tests/tr1/tests/cvt/jis0201/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis_0208/test.cpp b/tests/tr1/tests/cvt/jis_0208/test.cpp index 22ece78f352..8ca6d73a178 100644 --- a/tests/tr1/tests/cvt/jis_0208/test.cpp +++ b/tests/tr1/tests/cvt/jis_0208/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/ksc5601/test.cpp b/tests/tr1/tests/cvt/ksc5601/test.cpp index c1589133b29..d4612d77949 100644 --- a/tests/tr1/tests/cvt/ksc5601/test.cpp +++ b/tests/tr1/tests/cvt/ksc5601/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/latin2/test.cpp b/tests/tr1/tests/cvt/latin2/test.cpp index bdbfd1e0c0d..2b83ef1cf58 100644 --- a/tests/tr1/tests/cvt/latin2/test.cpp +++ b/tests/tr1/tests/cvt/latin2/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/one_one/test.cpp b/tests/tr1/tests/cvt/one_one/test.cpp index 8ded831cbc2..5b08ab77f06 100644 --- a/tests/tr1/tests/cvt/one_one/test.cpp +++ b/tests/tr1/tests/cvt/one_one/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/roman/test.cpp b/tests/tr1/tests/cvt/roman/test.cpp index 4268e910272..2dea18d20e4 100644 --- a/tests/tr1/tests/cvt/roman/test.cpp +++ b/tests/tr1/tests/cvt/roman/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/sjis/test.cpp b/tests/tr1/tests/cvt/sjis/test.cpp index b9b5febc1b9..6f3d4ae9bc5 100644 --- a/tests/tr1/tests/cvt/sjis/test.cpp +++ b/tests/tr1/tests/cvt/sjis/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/sjis_0208/test.cpp b/tests/tr1/tests/cvt/sjis_0208/test.cpp index 0ead74a1f24..df73c54cd90 100644 --- a/tests/tr1/tests/cvt/sjis_0208/test.cpp +++ b/tests/tr1/tests/cvt/sjis_0208/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include #include diff --git a/tests/tr1/tests/cvt/turkish/test.cpp b/tests/tr1/tests/cvt/turkish/test.cpp index 65a4934410a..6a2fab294c5 100644 --- a/tests/tr1/tests/cvt/turkish/test.cpp +++ b/tests/tr1/tests/cvt/turkish/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf16/test.cpp b/tests/tr1/tests/cvt/utf16/test.cpp index 4c1df87386c..4e10adbe7c4 100644 --- a/tests/tr1/tests/cvt/utf16/test.cpp +++ b/tests/tr1/tests/cvt/utf16/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf8/test.cpp b/tests/tr1/tests/cvt/utf8/test.cpp index a154ef64316..7d9d49e4870 100644 --- a/tests/tr1/tests/cvt/utf8/test.cpp +++ b/tests/tr1/tests/cvt/utf8/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf8_utf16/test.cpp b/tests/tr1/tests/cvt/utf8_utf16/test.cpp index 094009bd585..620f61f092b 100644 --- a/tests/tr1/tests/cvt/utf8_utf16/test.cpp +++ b/tests/tr1/tests/cvt/utf8_utf16/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/wbuffer/test.cpp b/tests/tr1/tests/cvt/wbuffer/test.cpp index 74abce574b0..8a80db65a65 100644 --- a/tests/tr1/tests/cvt/wbuffer/test.cpp +++ b/tests/tr1/tests/cvt/wbuffer/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + // test "cvt/wbuffer" #define TEST_NAME "" diff --git a/tests/tr1/tests/cvt/wstring/test.cpp b/tests/tr1/tests/cvt/wstring/test.cpp index ce337e26841..bc026ed9440 100644 --- a/tests/tr1/tests/cvt/wstring/test.cpp +++ b/tests/tr1/tests/cvt/wstring/test.cpp @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING + // test "cvt/wbuffer" #define TEST_NAME "" From e49ae2c49d22f2189773b6759a89186120f1f669 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Mon, 7 Aug 2023 18:36:46 -0700 Subject: [PATCH 2/3] Centralize suppression in `tests/tr1/tests/cvt/env.lst`. --- tests/tr1/tests/cvt/8859_1/test.cpp | 2 -- tests/tr1/tests/cvt/8859_10/test.cpp | 2 -- tests/tr1/tests/cvt/8859_13/test.cpp | 2 -- tests/tr1/tests/cvt/8859_14/test.cpp | 2 -- tests/tr1/tests/cvt/8859_15/test.cpp | 2 -- tests/tr1/tests/cvt/8859_16/test.cpp | 2 -- tests/tr1/tests/cvt/8859_2/test.cpp | 2 -- tests/tr1/tests/cvt/8859_3/test.cpp | 2 -- tests/tr1/tests/cvt/8859_4/test.cpp | 2 -- tests/tr1/tests/cvt/8859_5/test.cpp | 2 -- tests/tr1/tests/cvt/8859_6/test.cpp | 2 -- tests/tr1/tests/cvt/8859_7/test.cpp | 2 -- tests/tr1/tests/cvt/8859_8/test.cpp | 2 -- tests/tr1/tests/cvt/8859_9/test.cpp | 2 -- tests/tr1/tests/cvt/baltic/test.cpp | 2 -- tests/tr1/tests/cvt/big5/test.cpp | 2 -- tests/tr1/tests/cvt/cp037/test.cpp | 2 -- tests/tr1/tests/cvt/cp1006/test.cpp | 2 -- tests/tr1/tests/cvt/cp1026/test.cpp | 2 -- tests/tr1/tests/cvt/cp1250/test.cpp | 2 -- tests/tr1/tests/cvt/cp1251/test.cpp | 2 -- tests/tr1/tests/cvt/cp1252/test.cpp | 2 -- tests/tr1/tests/cvt/cp1253/test.cpp | 2 -- tests/tr1/tests/cvt/cp1254/test.cpp | 2 -- tests/tr1/tests/cvt/cp1255/test.cpp | 2 -- tests/tr1/tests/cvt/cp1256/test.cpp | 2 -- tests/tr1/tests/cvt/cp1257/test.cpp | 2 -- tests/tr1/tests/cvt/cp1258/test.cpp | 2 -- tests/tr1/tests/cvt/cp424/test.cpp | 2 -- tests/tr1/tests/cvt/cp437/test.cpp | 2 -- tests/tr1/tests/cvt/cp500/test.cpp | 2 -- tests/tr1/tests/cvt/cp737/test.cpp | 2 -- tests/tr1/tests/cvt/cp775/test.cpp | 2 -- tests/tr1/tests/cvt/cp850/test.cpp | 2 -- tests/tr1/tests/cvt/cp852/test.cpp | 2 -- tests/tr1/tests/cvt/cp855/test.cpp | 2 -- tests/tr1/tests/cvt/cp856/test.cpp | 2 -- tests/tr1/tests/cvt/cp857/test.cpp | 2 -- tests/tr1/tests/cvt/cp860/test.cpp | 2 -- tests/tr1/tests/cvt/cp861/test.cpp | 2 -- tests/tr1/tests/cvt/cp862/test.cpp | 2 -- tests/tr1/tests/cvt/cp863/test.cpp | 2 -- tests/tr1/tests/cvt/cp864/test.cpp | 2 -- tests/tr1/tests/cvt/cp865/test.cpp | 2 -- tests/tr1/tests/cvt/cp866/test.cpp | 2 -- tests/tr1/tests/cvt/cp869/test.cpp | 2 -- tests/tr1/tests/cvt/cp874/test.cpp | 2 -- tests/tr1/tests/cvt/cp875/test.cpp | 2 -- tests/tr1/tests/cvt/cp932/test.cpp | 2 -- tests/tr1/tests/cvt/cp936/test.cpp | 2 -- tests/tr1/tests/cvt/cp949/test.cpp | 2 -- tests/tr1/tests/cvt/cp950/test.cpp | 2 -- tests/tr1/tests/cvt/cyrillic/test.cpp | 2 -- tests/tr1/tests/cvt/ebcdic/test.cpp | 2 -- tests/tr1/tests/cvt/env.lst | 2 ++ tests/tr1/tests/cvt/euc/test.cpp | 2 -- tests/tr1/tests/cvt/euc_0208/test.cpp | 2 -- tests/tr1/tests/cvt/gb12345/test.cpp | 2 -- tests/tr1/tests/cvt/gb2312/test.cpp | 2 -- tests/tr1/tests/cvt/greek/test.cpp | 2 -- tests/tr1/tests/cvt/iceland/test.cpp | 2 -- tests/tr1/tests/cvt/jis/test.cpp | 2 -- tests/tr1/tests/cvt/jis0201/test.cpp | 2 -- tests/tr1/tests/cvt/jis_0208/test.cpp | 2 -- tests/tr1/tests/cvt/ksc5601/test.cpp | 2 -- tests/tr1/tests/cvt/latin2/test.cpp | 2 -- tests/tr1/tests/cvt/one_one/test.cpp | 2 -- tests/tr1/tests/cvt/roman/test.cpp | 2 -- tests/tr1/tests/cvt/sjis/test.cpp | 2 -- tests/tr1/tests/cvt/sjis_0208/test.cpp | 2 -- tests/tr1/tests/cvt/turkish/test.cpp | 2 -- tests/tr1/tests/cvt/utf16/test.cpp | 2 -- tests/tr1/tests/cvt/utf8/test.cpp | 2 -- tests/tr1/tests/cvt/utf8_utf16/test.cpp | 2 -- tests/tr1/tests/cvt/wbuffer/test.cpp | 2 -- tests/tr1/tests/cvt/wstring/test.cpp | 2 -- 76 files changed, 2 insertions(+), 150 deletions(-) diff --git a/tests/tr1/tests/cvt/8859_1/test.cpp b/tests/tr1/tests/cvt/8859_1/test.cpp index 569a8eb2165..e6475471c9a 100644 --- a/tests/tr1/tests/cvt/8859_1/test.cpp +++ b/tests/tr1/tests/cvt/8859_1/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_10/test.cpp b/tests/tr1/tests/cvt/8859_10/test.cpp index b3058463fde..14522527ea6 100644 --- a/tests/tr1/tests/cvt/8859_10/test.cpp +++ b/tests/tr1/tests/cvt/8859_10/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_13/test.cpp b/tests/tr1/tests/cvt/8859_13/test.cpp index 58f2eb5241e..e0b3def8373 100644 --- a/tests/tr1/tests/cvt/8859_13/test.cpp +++ b/tests/tr1/tests/cvt/8859_13/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_14/test.cpp b/tests/tr1/tests/cvt/8859_14/test.cpp index 9a746b78a19..b7b2c46492b 100644 --- a/tests/tr1/tests/cvt/8859_14/test.cpp +++ b/tests/tr1/tests/cvt/8859_14/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_15/test.cpp b/tests/tr1/tests/cvt/8859_15/test.cpp index 09e3ca9a726..b41a0d41be8 100644 --- a/tests/tr1/tests/cvt/8859_15/test.cpp +++ b/tests/tr1/tests/cvt/8859_15/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_16/test.cpp b/tests/tr1/tests/cvt/8859_16/test.cpp index 583f2b910c6..54a5342325b 100644 --- a/tests/tr1/tests/cvt/8859_16/test.cpp +++ b/tests/tr1/tests/cvt/8859_16/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_2/test.cpp b/tests/tr1/tests/cvt/8859_2/test.cpp index 7416cd32f70..0a9c8866dc1 100644 --- a/tests/tr1/tests/cvt/8859_2/test.cpp +++ b/tests/tr1/tests/cvt/8859_2/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_3/test.cpp b/tests/tr1/tests/cvt/8859_3/test.cpp index d3d39761b65..72ec7e6bc67 100644 --- a/tests/tr1/tests/cvt/8859_3/test.cpp +++ b/tests/tr1/tests/cvt/8859_3/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_4/test.cpp b/tests/tr1/tests/cvt/8859_4/test.cpp index aad279a73f0..d26f88a3ca1 100644 --- a/tests/tr1/tests/cvt/8859_4/test.cpp +++ b/tests/tr1/tests/cvt/8859_4/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_5/test.cpp b/tests/tr1/tests/cvt/8859_5/test.cpp index 84140c09bf9..d4baffbc97b 100644 --- a/tests/tr1/tests/cvt/8859_5/test.cpp +++ b/tests/tr1/tests/cvt/8859_5/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_6/test.cpp b/tests/tr1/tests/cvt/8859_6/test.cpp index ea028b1f8d1..33e1f544ec2 100644 --- a/tests/tr1/tests/cvt/8859_6/test.cpp +++ b/tests/tr1/tests/cvt/8859_6/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_7/test.cpp b/tests/tr1/tests/cvt/8859_7/test.cpp index c8fd7fdfd19..4b5e7a8e9a3 100644 --- a/tests/tr1/tests/cvt/8859_7/test.cpp +++ b/tests/tr1/tests/cvt/8859_7/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_8/test.cpp b/tests/tr1/tests/cvt/8859_8/test.cpp index 08d8739d7c0..2e1f8216b33 100644 --- a/tests/tr1/tests/cvt/8859_8/test.cpp +++ b/tests/tr1/tests/cvt/8859_8/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/8859_9/test.cpp b/tests/tr1/tests/cvt/8859_9/test.cpp index 767e4ee9da2..53d8dea179f 100644 --- a/tests/tr1/tests/cvt/8859_9/test.cpp +++ b/tests/tr1/tests/cvt/8859_9/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/baltic/test.cpp b/tests/tr1/tests/cvt/baltic/test.cpp index ca896ac78a2..aa018bb99ea 100644 --- a/tests/tr1/tests/cvt/baltic/test.cpp +++ b/tests/tr1/tests/cvt/baltic/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/big5/test.cpp b/tests/tr1/tests/cvt/big5/test.cpp index f90297a46aa..1375df780cb 100644 --- a/tests/tr1/tests/cvt/big5/test.cpp +++ b/tests/tr1/tests/cvt/big5/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp037/test.cpp b/tests/tr1/tests/cvt/cp037/test.cpp index d55a75002d8..cd66934979c 100644 --- a/tests/tr1/tests/cvt/cp037/test.cpp +++ b/tests/tr1/tests/cvt/cp037/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1006/test.cpp b/tests/tr1/tests/cvt/cp1006/test.cpp index d68de725882..3cdfc8882ae 100644 --- a/tests/tr1/tests/cvt/cp1006/test.cpp +++ b/tests/tr1/tests/cvt/cp1006/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1026/test.cpp b/tests/tr1/tests/cvt/cp1026/test.cpp index b170f33d912..e6894f05270 100644 --- a/tests/tr1/tests/cvt/cp1026/test.cpp +++ b/tests/tr1/tests/cvt/cp1026/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1250/test.cpp b/tests/tr1/tests/cvt/cp1250/test.cpp index ccac4d342f5..535743d38d8 100644 --- a/tests/tr1/tests/cvt/cp1250/test.cpp +++ b/tests/tr1/tests/cvt/cp1250/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1251/test.cpp b/tests/tr1/tests/cvt/cp1251/test.cpp index ed6f3329a3d..7fbe6d53767 100644 --- a/tests/tr1/tests/cvt/cp1251/test.cpp +++ b/tests/tr1/tests/cvt/cp1251/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1252/test.cpp b/tests/tr1/tests/cvt/cp1252/test.cpp index 1d48dc115aa..c291488743c 100644 --- a/tests/tr1/tests/cvt/cp1252/test.cpp +++ b/tests/tr1/tests/cvt/cp1252/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1253/test.cpp b/tests/tr1/tests/cvt/cp1253/test.cpp index ea1d652ecea..1a8fcd7c941 100644 --- a/tests/tr1/tests/cvt/cp1253/test.cpp +++ b/tests/tr1/tests/cvt/cp1253/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1254/test.cpp b/tests/tr1/tests/cvt/cp1254/test.cpp index 5ff4da8d734..ddcab280454 100644 --- a/tests/tr1/tests/cvt/cp1254/test.cpp +++ b/tests/tr1/tests/cvt/cp1254/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1255/test.cpp b/tests/tr1/tests/cvt/cp1255/test.cpp index 4ce4446290b..0b3699f7197 100644 --- a/tests/tr1/tests/cvt/cp1255/test.cpp +++ b/tests/tr1/tests/cvt/cp1255/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1256/test.cpp b/tests/tr1/tests/cvt/cp1256/test.cpp index 6f113a5c21f..fe35aaf9f25 100644 --- a/tests/tr1/tests/cvt/cp1256/test.cpp +++ b/tests/tr1/tests/cvt/cp1256/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1257/test.cpp b/tests/tr1/tests/cvt/cp1257/test.cpp index d74ad6b2d06..1c65ee1d0e8 100644 --- a/tests/tr1/tests/cvt/cp1257/test.cpp +++ b/tests/tr1/tests/cvt/cp1257/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp1258/test.cpp b/tests/tr1/tests/cvt/cp1258/test.cpp index 5e63c38cc59..74d6418defd 100644 --- a/tests/tr1/tests/cvt/cp1258/test.cpp +++ b/tests/tr1/tests/cvt/cp1258/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp424/test.cpp b/tests/tr1/tests/cvt/cp424/test.cpp index f3646f52ada..429aeef521e 100644 --- a/tests/tr1/tests/cvt/cp424/test.cpp +++ b/tests/tr1/tests/cvt/cp424/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp437/test.cpp b/tests/tr1/tests/cvt/cp437/test.cpp index 0c2ae285edd..29bda315f8d 100644 --- a/tests/tr1/tests/cvt/cp437/test.cpp +++ b/tests/tr1/tests/cvt/cp437/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp500/test.cpp b/tests/tr1/tests/cvt/cp500/test.cpp index 53a505a2aba..c5f675aedf7 100644 --- a/tests/tr1/tests/cvt/cp500/test.cpp +++ b/tests/tr1/tests/cvt/cp500/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp737/test.cpp b/tests/tr1/tests/cvt/cp737/test.cpp index 5d5c310b828..3be7f4a4567 100644 --- a/tests/tr1/tests/cvt/cp737/test.cpp +++ b/tests/tr1/tests/cvt/cp737/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp775/test.cpp b/tests/tr1/tests/cvt/cp775/test.cpp index a3c5a1bf4de..3b936d25c23 100644 --- a/tests/tr1/tests/cvt/cp775/test.cpp +++ b/tests/tr1/tests/cvt/cp775/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp850/test.cpp b/tests/tr1/tests/cvt/cp850/test.cpp index 8febd3757a7..c2843191003 100644 --- a/tests/tr1/tests/cvt/cp850/test.cpp +++ b/tests/tr1/tests/cvt/cp850/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp852/test.cpp b/tests/tr1/tests/cvt/cp852/test.cpp index c88269347c6..43984665461 100644 --- a/tests/tr1/tests/cvt/cp852/test.cpp +++ b/tests/tr1/tests/cvt/cp852/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp855/test.cpp b/tests/tr1/tests/cvt/cp855/test.cpp index 7ec19f811e0..2320daf93af 100644 --- a/tests/tr1/tests/cvt/cp855/test.cpp +++ b/tests/tr1/tests/cvt/cp855/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp856/test.cpp b/tests/tr1/tests/cvt/cp856/test.cpp index c90992bcdcd..10f71273a38 100644 --- a/tests/tr1/tests/cvt/cp856/test.cpp +++ b/tests/tr1/tests/cvt/cp856/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp857/test.cpp b/tests/tr1/tests/cvt/cp857/test.cpp index da84e22fbdb..6f5b9ef859b 100644 --- a/tests/tr1/tests/cvt/cp857/test.cpp +++ b/tests/tr1/tests/cvt/cp857/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp860/test.cpp b/tests/tr1/tests/cvt/cp860/test.cpp index c7416c8fa7b..34c2baf65a6 100644 --- a/tests/tr1/tests/cvt/cp860/test.cpp +++ b/tests/tr1/tests/cvt/cp860/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp861/test.cpp b/tests/tr1/tests/cvt/cp861/test.cpp index 7ea7ba63676..2752f4c8eb9 100644 --- a/tests/tr1/tests/cvt/cp861/test.cpp +++ b/tests/tr1/tests/cvt/cp861/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp862/test.cpp b/tests/tr1/tests/cvt/cp862/test.cpp index 2d379a90bd9..b538ee5cb84 100644 --- a/tests/tr1/tests/cvt/cp862/test.cpp +++ b/tests/tr1/tests/cvt/cp862/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp863/test.cpp b/tests/tr1/tests/cvt/cp863/test.cpp index faa1e68b39b..d02f768cc49 100644 --- a/tests/tr1/tests/cvt/cp863/test.cpp +++ b/tests/tr1/tests/cvt/cp863/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp864/test.cpp b/tests/tr1/tests/cvt/cp864/test.cpp index 2bd7251e475..a51707667ec 100644 --- a/tests/tr1/tests/cvt/cp864/test.cpp +++ b/tests/tr1/tests/cvt/cp864/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp865/test.cpp b/tests/tr1/tests/cvt/cp865/test.cpp index 6461a2cf967..b51a9b871bf 100644 --- a/tests/tr1/tests/cvt/cp865/test.cpp +++ b/tests/tr1/tests/cvt/cp865/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp866/test.cpp b/tests/tr1/tests/cvt/cp866/test.cpp index 9d546865ff1..aa55cf69e63 100644 --- a/tests/tr1/tests/cvt/cp866/test.cpp +++ b/tests/tr1/tests/cvt/cp866/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp869/test.cpp b/tests/tr1/tests/cvt/cp869/test.cpp index 74ba48a1910..0e0a5bd4651 100644 --- a/tests/tr1/tests/cvt/cp869/test.cpp +++ b/tests/tr1/tests/cvt/cp869/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp874/test.cpp b/tests/tr1/tests/cvt/cp874/test.cpp index 0da5be3d7f8..00613938774 100644 --- a/tests/tr1/tests/cvt/cp874/test.cpp +++ b/tests/tr1/tests/cvt/cp874/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp875/test.cpp b/tests/tr1/tests/cvt/cp875/test.cpp index 54cfd600f34..2eb3719842c 100644 --- a/tests/tr1/tests/cvt/cp875/test.cpp +++ b/tests/tr1/tests/cvt/cp875/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp932/test.cpp b/tests/tr1/tests/cvt/cp932/test.cpp index 5c910011836..09e26f6c1c2 100644 --- a/tests/tr1/tests/cvt/cp932/test.cpp +++ b/tests/tr1/tests/cvt/cp932/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp936/test.cpp b/tests/tr1/tests/cvt/cp936/test.cpp index 11b03732c77..4a689744409 100644 --- a/tests/tr1/tests/cvt/cp936/test.cpp +++ b/tests/tr1/tests/cvt/cp936/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp949/test.cpp b/tests/tr1/tests/cvt/cp949/test.cpp index 0d4acdb39bc..f46efd302db 100644 --- a/tests/tr1/tests/cvt/cp949/test.cpp +++ b/tests/tr1/tests/cvt/cp949/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cp950/test.cpp b/tests/tr1/tests/cvt/cp950/test.cpp index e45ad8f5c3e..1e15cddc6cb 100644 --- a/tests/tr1/tests/cvt/cp950/test.cpp +++ b/tests/tr1/tests/cvt/cp950/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/cyrillic/test.cpp b/tests/tr1/tests/cvt/cyrillic/test.cpp index d69215db3d8..2c2384139fa 100644 --- a/tests/tr1/tests/cvt/cyrillic/test.cpp +++ b/tests/tr1/tests/cvt/cyrillic/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/ebcdic/test.cpp b/tests/tr1/tests/cvt/ebcdic/test.cpp index a7ee0ab372c..5e00a3badf0 100644 --- a/tests/tr1/tests/cvt/ebcdic/test.cpp +++ b/tests/tr1/tests/cvt/ebcdic/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/env.lst b/tests/tr1/tests/cvt/env.lst index 05d39111052..815c53e70ba 100644 --- a/tests/tr1/tests/cvt/env.lst +++ b/tests/tr1/tests/cvt/env.lst @@ -2,3 +2,5 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception RUNALL_INCLUDE ..\..\env_single.lst +RUNALL_CROSSLIST +PM_CL="/D_SILENCE_STDEXT_CVT_DEPRECATION_WARNING" diff --git a/tests/tr1/tests/cvt/euc/test.cpp b/tests/tr1/tests/cvt/euc/test.cpp index 8fc150f120c..15a112c5a56 100644 --- a/tests/tr1/tests/cvt/euc/test.cpp +++ b/tests/tr1/tests/cvt/euc/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/euc_0208/test.cpp b/tests/tr1/tests/cvt/euc_0208/test.cpp index 2e99867a2be..e10f1bc3f33 100644 --- a/tests/tr1/tests/cvt/euc_0208/test.cpp +++ b/tests/tr1/tests/cvt/euc_0208/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/gb12345/test.cpp b/tests/tr1/tests/cvt/gb12345/test.cpp index 9493b31c81f..e539d78247a 100644 --- a/tests/tr1/tests/cvt/gb12345/test.cpp +++ b/tests/tr1/tests/cvt/gb12345/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/gb2312/test.cpp b/tests/tr1/tests/cvt/gb2312/test.cpp index 12d9f07d024..c0ff1292bed 100644 --- a/tests/tr1/tests/cvt/gb2312/test.cpp +++ b/tests/tr1/tests/cvt/gb2312/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/greek/test.cpp b/tests/tr1/tests/cvt/greek/test.cpp index 567fa481bcb..ed20241b6dc 100644 --- a/tests/tr1/tests/cvt/greek/test.cpp +++ b/tests/tr1/tests/cvt/greek/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/iceland/test.cpp b/tests/tr1/tests/cvt/iceland/test.cpp index 3bd18cc2dbe..6484a2f978d 100644 --- a/tests/tr1/tests/cvt/iceland/test.cpp +++ b/tests/tr1/tests/cvt/iceland/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis/test.cpp b/tests/tr1/tests/cvt/jis/test.cpp index 034c0e08ffe..2f88efa133d 100644 --- a/tests/tr1/tests/cvt/jis/test.cpp +++ b/tests/tr1/tests/cvt/jis/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis0201/test.cpp b/tests/tr1/tests/cvt/jis0201/test.cpp index c8c98436646..3187015efad 100644 --- a/tests/tr1/tests/cvt/jis0201/test.cpp +++ b/tests/tr1/tests/cvt/jis0201/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/jis_0208/test.cpp b/tests/tr1/tests/cvt/jis_0208/test.cpp index 8ca6d73a178..22ece78f352 100644 --- a/tests/tr1/tests/cvt/jis_0208/test.cpp +++ b/tests/tr1/tests/cvt/jis_0208/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/ksc5601/test.cpp b/tests/tr1/tests/cvt/ksc5601/test.cpp index d4612d77949..c1589133b29 100644 --- a/tests/tr1/tests/cvt/ksc5601/test.cpp +++ b/tests/tr1/tests/cvt/ksc5601/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/latin2/test.cpp b/tests/tr1/tests/cvt/latin2/test.cpp index 2b83ef1cf58..bdbfd1e0c0d 100644 --- a/tests/tr1/tests/cvt/latin2/test.cpp +++ b/tests/tr1/tests/cvt/latin2/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/one_one/test.cpp b/tests/tr1/tests/cvt/one_one/test.cpp index 5b08ab77f06..8ded831cbc2 100644 --- a/tests/tr1/tests/cvt/one_one/test.cpp +++ b/tests/tr1/tests/cvt/one_one/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/roman/test.cpp b/tests/tr1/tests/cvt/roman/test.cpp index 2dea18d20e4..4268e910272 100644 --- a/tests/tr1/tests/cvt/roman/test.cpp +++ b/tests/tr1/tests/cvt/roman/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/sjis/test.cpp b/tests/tr1/tests/cvt/sjis/test.cpp index 6f3d4ae9bc5..b9b5febc1b9 100644 --- a/tests/tr1/tests/cvt/sjis/test.cpp +++ b/tests/tr1/tests/cvt/sjis/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/sjis_0208/test.cpp b/tests/tr1/tests/cvt/sjis_0208/test.cpp index df73c54cd90..0ead74a1f24 100644 --- a/tests/tr1/tests/cvt/sjis_0208/test.cpp +++ b/tests/tr1/tests/cvt/sjis_0208/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include #include diff --git a/tests/tr1/tests/cvt/turkish/test.cpp b/tests/tr1/tests/cvt/turkish/test.cpp index 6a2fab294c5..65a4934410a 100644 --- a/tests/tr1/tests/cvt/turkish/test.cpp +++ b/tests/tr1/tests/cvt/turkish/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf16/test.cpp b/tests/tr1/tests/cvt/utf16/test.cpp index 4e10adbe7c4..4c1df87386c 100644 --- a/tests/tr1/tests/cvt/utf16/test.cpp +++ b/tests/tr1/tests/cvt/utf16/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf8/test.cpp b/tests/tr1/tests/cvt/utf8/test.cpp index 7d9d49e4870..a154ef64316 100644 --- a/tests/tr1/tests/cvt/utf8/test.cpp +++ b/tests/tr1/tests/cvt/utf8/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/utf8_utf16/test.cpp b/tests/tr1/tests/cvt/utf8_utf16/test.cpp index 620f61f092b..094009bd585 100644 --- a/tests/tr1/tests/cvt/utf8_utf16/test.cpp +++ b/tests/tr1/tests/cvt/utf8_utf16/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - #include "tdefs.h" #include diff --git a/tests/tr1/tests/cvt/wbuffer/test.cpp b/tests/tr1/tests/cvt/wbuffer/test.cpp index 8a80db65a65..74abce574b0 100644 --- a/tests/tr1/tests/cvt/wbuffer/test.cpp +++ b/tests/tr1/tests/cvt/wbuffer/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - // test "cvt/wbuffer" #define TEST_NAME "" diff --git a/tests/tr1/tests/cvt/wstring/test.cpp b/tests/tr1/tests/cvt/wstring/test.cpp index bc026ed9440..ce337e26841 100644 --- a/tests/tr1/tests/cvt/wstring/test.cpp +++ b/tests/tr1/tests/cvt/wstring/test.cpp @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -#define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING - // test "cvt/wbuffer" #define TEST_NAME "" From bed3ffab30ce6ad2ae7a78d21c5ade19017bfe67 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Mon, 7 Aug 2023 18:47:35 -0700 Subject: [PATCH 3/3] Improve message grammar. --- stl/inc/yvals_core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index 2a606e8dad7..abe49868cd3 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -1499,8 +1499,8 @@ _EMIT_STL_ERROR(STL1004, "C++98 unexpected() is incompatible with C++23 unexpect #if _HAS_CXX17 && !defined(_SILENCE_STDEXT_CVT_DEPRECATION_WARNING) \ && !defined(_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS) #define _DEPRECATE_STDEXT_CVT \ - [[deprecated("warning STL4044: The contents in the stdext::cvt namespace are non-Standard extensions and will be " \ - "removed in the future. MultiByteToWideChar() and WideCharToMultiByte() functions can be used " \ + [[deprecated("warning STL4044: The contents of the stdext::cvt namespace are non-Standard extensions and will be " \ + "removed in the future. The MultiByteToWideChar() and WideCharToMultiByte() functions can be used " \ "instead. You can define _SILENCE_STDEXT_CVT_DEPRECATION_WARNING or " \ "_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.")]] #else // ^^^ warning enabled / warning disabled vvv