Skip to content

Commit 40e1eac

Browse files
Deprecate the contents in <cvt/meow> headers (#3924)
* Deprecate the contents in `<cvt/meow>` headers Also make the deprecation of Microsoft extensions controlled by `_SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS`. * Centralize suppression in `tests/tr1/tests/cvt/env.lst`. * Improve message grammar. --------- Co-authored-by: Stephan T. Lavavej <[email protected]>
1 parent 782dcd5 commit 40e1eac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+178
-161
lines changed

stl/inc/cvt/8859_1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_1 {
6969
enum { _Nlow = 0x100, _Nbytes = 1 };
@@ -86,7 +86,7 @@ namespace stdext {
8686
const unsigned char _tab_8859_1<_Dummy>::_Wtb[1] = {0};
8787
template <class _Elem, unsigned long _Maxcode = 0xffff>
8888
class codecvt_8859_1 : public _Cvt_one_byte<_Elem, _tab_8859_1<int>, _Maxcode> {};
89-
} // namespace cvt
89+
} // namespace _DEPRECATE_STDEXT_CVT cvt
9090
} // namespace stdext
9191

9292
#pragma pop_macro("new")

stl/inc/cvt/8859_10

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_10 {
6969
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -105,7 +105,7 @@ namespace stdext {
105105

106106
template <class _Elem, unsigned long _Maxcode = 0xffff>
107107
class codecvt_8859_10 : public _Cvt_one_byte<_Elem, _tab_8859_10<int>, _Maxcode> {};
108-
} // namespace cvt
108+
} // namespace _DEPRECATE_STDEXT_CVT cvt
109109
} // namespace stdext
110110

111111
#pragma pop_macro("new")

stl/inc/cvt/8859_13

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS
5959
#undef new
6060

6161
namespace stdext {
62-
namespace cvt {
62+
namespace _DEPRECATE_STDEXT_CVT cvt {
6363
template <class _Dummy>
6464
struct _tab_8859_13 {
6565
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -103,7 +103,7 @@ namespace stdext {
103103

104104
template <class _Elem, unsigned long _Maxcode = 0xffff>
105105
class codecvt_8859_13 : public _Cvt_one_byte<_Elem, _tab_8859_13<int>, _Maxcode> {};
106-
} // namespace cvt
106+
} // namespace _DEPRECATE_STDEXT_CVT cvt
107107
} // namespace stdext
108108

109109
#pragma pop_macro("new")

stl/inc/cvt/8859_14

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _STL_DISABLE_CLANG_WARNINGS
6060
#undef new
6161

6262
namespace stdext {
63-
namespace cvt {
63+
namespace _DEPRECATE_STDEXT_CVT cvt {
6464
template <class _Dummy>
6565
struct _tab_8859_14 {
6666
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -100,7 +100,7 @@ namespace stdext {
100100

101101
template <class _Elem, unsigned long _Maxcode = 0xffff>
102102
class codecvt_8859_14 : public _Cvt_one_byte<_Elem, _tab_8859_14<int>, _Maxcode> {};
103-
} // namespace cvt
103+
} // namespace _DEPRECATE_STDEXT_CVT cvt
104104
} // namespace stdext
105105

106106
#pragma pop_macro("new")

stl/inc/cvt/8859_15

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ _STL_DISABLE_CLANG_WARNINGS
6262
#undef new
6363

6464
namespace stdext {
65-
namespace cvt {
65+
namespace _DEPRECATE_STDEXT_CVT cvt {
6666
template <class _Dummy>
6767
struct _tab_8859_15 {
6868
enum { _Nlow = 0xa4, _Nbytes = 1 };
@@ -98,7 +98,7 @@ namespace stdext {
9898

9999
template <class _Elem, unsigned long _Maxcode = 0xffff>
100100
class codecvt_8859_15 : public _Cvt_one_byte<_Elem, _tab_8859_15<int>, _Maxcode> {};
101-
} // namespace cvt
101+
} // namespace _DEPRECATE_STDEXT_CVT cvt
102102
} // namespace stdext
103103

104104
#pragma pop_macro("new")

stl/inc/cvt/8859_16

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ _STL_DISABLE_CLANG_WARNINGS
5959
#undef new
6060

6161
namespace stdext {
62-
namespace cvt {
62+
namespace _DEPRECATE_STDEXT_CVT cvt {
6363
template <class _Dummy>
6464
struct _tab_8859_16 {
6565
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -101,7 +101,7 @@ namespace stdext {
101101

102102
template <class _Elem, unsigned long _Maxcode = 0xffff>
103103
class codecvt_8859_16 : public _Cvt_one_byte<_Elem, _tab_8859_16<int>, _Maxcode> {};
104-
} // namespace cvt
104+
} // namespace _DEPRECATE_STDEXT_CVT cvt
105105
} // namespace stdext
106106

107107
#pragma pop_macro("new")

stl/inc/cvt/8859_2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_2 {
6969
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -107,7 +107,7 @@ namespace stdext {
107107

108108
template <class _Elem, unsigned long _Maxcode = 0xffff>
109109
class codecvt_8859_2 : public _Cvt_one_byte<_Elem, _tab_8859_2<int>, _Maxcode> {};
110-
} // namespace cvt
110+
} // namespace _DEPRECATE_STDEXT_CVT cvt
111111
} // namespace stdext
112112

113113
#pragma pop_macro("new")

stl/inc/cvt/8859_3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_3 {
6969
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -103,7 +103,7 @@ namespace stdext {
103103

104104
template <class _Elem, unsigned long _Maxcode = 0xffff>
105105
class codecvt_8859_3 : public _Cvt_one_byte<_Elem, _tab_8859_3<int>, _Maxcode> {};
106-
} // namespace cvt
106+
} // namespace _DEPRECATE_STDEXT_CVT cvt
107107
} // namespace stdext
108108

109109
#pragma pop_macro("new")

stl/inc/cvt/8859_4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_4 {
6969
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -105,7 +105,7 @@ namespace stdext {
105105

106106
template <class _Elem, unsigned long _Maxcode = 0xffff>
107107
class codecvt_8859_4 : public _Cvt_one_byte<_Elem, _tab_8859_4<int>, _Maxcode> {};
108-
} // namespace cvt
108+
} // namespace _DEPRECATE_STDEXT_CVT cvt
109109
} // namespace stdext
110110

111111
#pragma pop_macro("new")

stl/inc/cvt/8859_5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ _STL_DISABLE_CLANG_WARNINGS
6363
#undef new
6464

6565
namespace stdext {
66-
namespace cvt {
66+
namespace _DEPRECATE_STDEXT_CVT cvt {
6767
template <class _Dummy>
6868
struct _tab_8859_5 {
6969
enum { _Nlow = 0xa1, _Nbytes = 1 };
@@ -113,7 +113,7 @@ namespace stdext {
113113

114114
template <class _Elem, unsigned long _Maxcode = 0xffff>
115115
class codecvt_8859_5 : public _Cvt_one_byte<_Elem, _tab_8859_5<int>, _Maxcode> {};
116-
} // namespace cvt
116+
} // namespace _DEPRECATE_STDEXT_CVT cvt
117117
} // namespace stdext
118118

119119
#pragma pop_macro("new")

0 commit comments

Comments
 (0)