1 // Compatibility symbols for previous versions -*- C++ -*-
3 // Copyright (C) 2005, 2006, 2009
4 // Free Software Foundation, Inc.
6 // This file is part of the GNU ISO C++ Library. This library is free
7 // software; you can redistribute it and/or modify it under the
8 // terms of the GNU General Public License as published by the
9 // Free Software Foundation; either version 3, or (at your option)
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // Under Section 7 of GPL version 3, you are granted additional
18 // permissions described in the GCC Runtime Library Exception, version
19 // 3.1, as published by the Free Software Foundation.
21 // You should have received a copy of the GNU General Public License and
22 // a copy of the GCC Runtime Library Exception along with this program;
23 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24 // <http://www.gnu.org/licenses/>.
26 /** @file bits/compatibility.h
27 * This is an internal header file, included by other library sources.
28 * You should not attempt to use it directly.
31 // Switch for symbol version macro.
32 #ifndef _GLIBCXX_APPLY_SYMVER
33 #error must define _GLIBCXX_APPLY_SYMVER before including __FILE__
37 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv
38 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv
42 _GLIBCXX_APPLY_SYMVER(_ZNSt21istreambuf_iteratorXXIcSt11char_traitsIcEEppEv
,
43 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv
)
45 #ifdef _GLIBCXX_USE_WCHAR_T
46 _GLIBCXX_APPLY_SYMVER(_ZNSt21istreambuf_iteratorXXIwSt11char_traitsIwEEppEv
,
47 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv
)
49 } // anonymous namespace
52 _ZNSs4_Rep26_M_set_length_and_sharableEj
56 _ZNKSs11_M_disjunctEPKc
57 _ZNKSs15_M_check_lengthEjjPKc
58 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEj
59 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwj
60 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwj
61 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwjw
62 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw
63 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEjjPKc
65 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv
66 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv
67 _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv
68 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv
69 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv
70 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv
74 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEi
75 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv
77 _ZNSt11char_traitsIcE2eqERKcS2_
78 _ZNSt11char_traitsIwE2eqERKwS2_
82 _GLIBCXX_APPLY_SYMVER(_ZNSt11char_traitsIcE4eqXXERKcS2_
,
83 _ZNSt11char_traitsIcE2eqERKcS2_
)
85 #ifdef _GLIBCXX_SIZE_T_IS_UINT
86 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_copyXXEPcPKcj
,
89 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_copyXXEPcPKcm
,
93 #ifdef _GLIBCXX_SIZE_T_IS_UINT
94 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_moveXXEPcPKcj
,
97 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_moveXXEPcPKcm
,
101 #ifdef _GLIBCXX_SIZE_T_IS_UINT
102 _GLIBCXX_APPLY_SYMVER(_ZNSs11_M_assignXXEPcjc
,
103 _ZNSs9_M_assignEPcjc
)
105 _GLIBCXX_APPLY_SYMVER(_ZNSs11_M_assignXXEPcmc
,
106 _ZNSs9_M_assignEPcmc
)
109 _GLIBCXX_APPLY_SYMVER(_ZNKSs13_M_disjunctXXEPKc
,
110 _ZNKSs11_M_disjunctEPKc
)
112 #ifdef _GLIBCXX_SIZE_T_IS_UINT
113 _GLIBCXX_APPLY_SYMVER(_ZNKSs17_M_check_lengthXXEjjPKc
,
114 _ZNKSs15_M_check_lengthEjjPKc
)
116 _GLIBCXX_APPLY_SYMVER(_ZNKSs17_M_check_lengthXXEmmPKc
,
117 _ZNKSs15_M_check_lengthEmmPKc
)
120 #ifdef _GLIBCXX_SIZE_T_IS_UINT
121 _GLIBCXX_APPLY_SYMVER(_ZNSs4_Rep28_M_set_length_and_sharableXXEj
,
122 _ZNSs4_Rep26_M_set_length_and_sharableEj
)
124 _GLIBCXX_APPLY_SYMVER(_ZNSs4_Rep28_M_set_length_and_sharableXXEm
,
125 _ZNSs4_Rep26_M_set_length_and_sharableEm
)
128 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEv
, _ZNSi6ignoreEv
)
130 #ifdef _GLIBCXX_PTRDIFF_T_IS_INT
131 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEi
, _ZNSi6ignoreEi
)
133 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEl
, _ZNSi6ignoreEl
)
136 _GLIBCXX_APPLY_SYMVER(_ZNKSt15basic_fstreamXXIcSt11char_traitsIcEE7is_openEv
,
137 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv
)
139 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ifstreamXXIcSt11char_traitsIcEE7is_openEv
,
140 _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv
)
142 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ofstreamXXIcSt11char_traitsIcEE7is_openEv
,
143 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv
)
145 // Support for wchar_t.
146 #ifdef _GLIBCXX_USE_WCHAR_T
147 _GLIBCXX_APPLY_SYMVER(_ZNSt11char_traitsIwE4eqXXERKwS2_
,
148 _ZNSt11char_traitsIwE2eqERKwS2_
)
150 #ifdef _GLIBCXX_SIZE_T_IS_UINT
151 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_copyXXEPwPKwj
,
152 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwj
)
154 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_copyXXEPwPKwm
,
155 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm
)
158 #ifdef _GLIBCXX_SIZE_T_IS_UINT
159 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_moveXXEPwPKwj
,
160 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwj
)
162 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_moveXXEPwPKwm
,
163 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm
)
166 #ifdef _GLIBCXX_SIZE_T_IS_UINT
167 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE11_M_assignXXEPwjw
,
168 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwjw
)
170 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE11_M_assignXXEPwmw
,
171 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw
)
174 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE13_M_disjunctXXEPKw
,
175 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw
)
177 #ifdef _GLIBCXX_SIZE_T_IS_UINT
178 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE17_M_check_lengthXXEjjPKc
,
179 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEjjPKc
)
181 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE17_M_check_lengthXXEmmPKc
,
182 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc
)
185 #ifdef _GLIBCXX_SIZE_T_IS_UINT
186 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep28_M_set_length_and_sharableXXEj
,
187 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEj
)
189 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep28_M_set_length_and_sharableXXEm
,
190 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm
)
193 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEv
,
194 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv
)
196 #ifdef _GLIBCXX_PTRDIFF_T_IS_INT
197 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEi
,
198 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEi
)
200 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEl
,
201 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl
)
204 _GLIBCXX_APPLY_SYMVER(_ZNKSt15basic_fstreamXXIwSt11char_traitsIwEE7is_openEv
,
205 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv
)
207 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ifstreamXXIwSt11char_traitsIwEE7is_openEv
,
208 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv
)
210 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ofstreamXXIwSt11char_traitsIwEE7is_openEv
,
211 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv
)
213 } // anonymous namespace