1 // Compatibility symbols for previous versions -*- C++ -*-
3 // Copyright (C) 2005, 2006
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 2, 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 // You should have received a copy of the GNU General Public License along
18 // with this library; see the file COPYING. If not, write to the Free
19 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
22 // As a special exception, you may use this file as part of a free software
23 // library without restriction. Specifically, if other files instantiate
24 // templates or use macros or inline functions from this file, or you compile
25 // this file and link it with other files to produce an executable, this
26 // file does not by itself cause the resulting executable to be covered by
27 // the GNU General Public License. This exception does not however
28 // invalidate any other reasons why the executable file might be covered by
29 // the GNU General Public License.
31 /** @file bits/compatibility.h
32 * This is an internal header file, included by other library sources.
33 * You should not attempt to use it directly.
36 // Switch for symbol version macro.
37 #ifndef _GLIBCXX_APPLY_SYMVER
38 #error must define _GLIBCXX_APPLY_SYMVER before including __FILE__
42 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv
43 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv
47 _GLIBCXX_APPLY_SYMVER(_ZNSt21istreambuf_iteratorXXIcSt11char_traitsIcEEppEv
,
48 _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv
)
50 #ifdef _GLIBCXX_USE_WCHAR_T
51 _GLIBCXX_APPLY_SYMVER(_ZNSt21istreambuf_iteratorXXIwSt11char_traitsIwEEppEv
,
52 _ZNSt19istreambuf_iteratorIwSt11char_traitsIwEEppEv
)
54 } // anonymous namespace
57 _ZNSs4_Rep26_M_set_length_and_sharableEj
61 _ZNKSs11_M_disjunctEPKc
62 _ZNKSs15_M_check_lengthEjjPKc
63 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEj
64 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwj
65 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwj
66 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwjw
67 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw
68 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEjjPKc
70 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv
71 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv
72 _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv
73 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv
74 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv
75 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv
79 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEi
80 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv
82 _ZNSt11char_traitsIcE2eqERKcS2_
83 _ZNSt11char_traitsIwE2eqERKwS2_
87 _GLIBCXX_APPLY_SYMVER(_ZNSt11char_traitsIcE4eqXXERKcS2_
,
88 _ZNSt11char_traitsIcE2eqERKcS2_
)
90 #ifdef _GLIBCXX_SIZE_T_IS_UINT
91 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_copyXXEPcPKcj
,
94 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_copyXXEPcPKcm
,
98 #ifdef _GLIBCXX_SIZE_T_IS_UINT
99 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_moveXXEPcPKcj
,
100 _ZNSs7_M_moveEPcPKcj
)
102 _GLIBCXX_APPLY_SYMVER(_ZNSs9_M_moveXXEPcPKcm
,
103 _ZNSs7_M_moveEPcPKcm
)
106 #ifdef _GLIBCXX_SIZE_T_IS_UINT
107 _GLIBCXX_APPLY_SYMVER(_ZNSs11_M_assignXXEPcjc
,
108 _ZNSs9_M_assignEPcjc
)
110 _GLIBCXX_APPLY_SYMVER(_ZNSs11_M_assignXXEPcmc
,
111 _ZNSs9_M_assignEPcmc
)
114 _GLIBCXX_APPLY_SYMVER(_ZNKSs13_M_disjunctXXEPKc
,
115 _ZNKSs11_M_disjunctEPKc
)
117 #ifdef _GLIBCXX_SIZE_T_IS_UINT
118 _GLIBCXX_APPLY_SYMVER(_ZNKSs17_M_check_lengthXXEjjPKc
,
119 _ZNKSs15_M_check_lengthEjjPKc
)
121 _GLIBCXX_APPLY_SYMVER(_ZNKSs17_M_check_lengthXXEmmPKc
,
122 _ZNKSs15_M_check_lengthEmmPKc
)
125 #ifdef _GLIBCXX_SIZE_T_IS_UINT
126 _GLIBCXX_APPLY_SYMVER(_ZNSs4_Rep28_M_set_length_and_sharableXXEj
,
127 _ZNSs4_Rep26_M_set_length_and_sharableEj
)
129 _GLIBCXX_APPLY_SYMVER(_ZNSs4_Rep28_M_set_length_and_sharableXXEm
,
130 _ZNSs4_Rep26_M_set_length_and_sharableEm
)
133 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEv
, _ZNSi6ignoreEv
)
135 #ifdef _GLIBCXX_PTRDIFF_T_IS_INT
136 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEi
, _ZNSi6ignoreEi
)
138 _GLIBCXX_APPLY_SYMVER(_ZNSi8ignoreXXEl
, _ZNSi6ignoreEl
)
141 _GLIBCXX_APPLY_SYMVER(_ZNKSt15basic_fstreamXXIcSt11char_traitsIcEE7is_openEv
,
142 _ZNKSt13basic_fstreamIcSt11char_traitsIcEE7is_openEv
)
144 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ifstreamXXIcSt11char_traitsIcEE7is_openEv
,
145 _ZNKSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv
)
147 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ofstreamXXIcSt11char_traitsIcEE7is_openEv
,
148 _ZNKSt14basic_ofstreamIcSt11char_traitsIcEE7is_openEv
)
150 // Support for wchar_t.
151 #ifdef _GLIBCXX_USE_WCHAR_T
152 _GLIBCXX_APPLY_SYMVER(_ZNSt11char_traitsIwE4eqXXERKwS2_
,
153 _ZNSt11char_traitsIwE2eqERKwS2_
)
155 #ifdef _GLIBCXX_SIZE_T_IS_UINT
156 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_copyXXEPwPKwj
,
157 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwj
)
159 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_copyXXEPwPKwm
,
160 _ZNSbIwSt11char_traitsIwESaIwEE7_M_copyEPwPKwm
)
163 #ifdef _GLIBCXX_SIZE_T_IS_UINT
164 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_moveXXEPwPKwj
,
165 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwj
)
167 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE9_M_moveXXEPwPKwm
,
168 _ZNSbIwSt11char_traitsIwESaIwEE7_M_moveEPwPKwm
)
171 #ifdef _GLIBCXX_SIZE_T_IS_UINT
172 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE11_M_assignXXEPwjw
,
173 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwjw
)
175 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE11_M_assignXXEPwmw
,
176 _ZNSbIwSt11char_traitsIwESaIwEE9_M_assignEPwmw
)
179 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE13_M_disjunctXXEPKw
,
180 _ZNKSbIwSt11char_traitsIwESaIwEE11_M_disjunctEPKw
)
182 #ifdef _GLIBCXX_SIZE_T_IS_UINT
183 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE17_M_check_lengthXXEjjPKc
,
184 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEjjPKc
)
186 _GLIBCXX_APPLY_SYMVER(_ZNKSbIwSt11char_traitsIwESaIwEE17_M_check_lengthXXEmmPKc
,
187 _ZNKSbIwSt11char_traitsIwESaIwEE15_M_check_lengthEmmPKc
)
190 #ifdef _GLIBCXX_SIZE_T_IS_UINT
191 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep28_M_set_length_and_sharableXXEj
,
192 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEj
)
194 _GLIBCXX_APPLY_SYMVER(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep28_M_set_length_and_sharableXXEm
,
195 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep26_M_set_length_and_sharableEm
)
198 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEv
,
199 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEv
)
201 #ifdef _GLIBCXX_PTRDIFF_T_IS_INT
202 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEi
,
203 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEi
)
205 _GLIBCXX_APPLY_SYMVER(_ZNSt13basic_istreamIwSt11char_traitsIwEE8ignoreXXEl
,
206 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreEl
)
209 _GLIBCXX_APPLY_SYMVER(_ZNKSt15basic_fstreamXXIwSt11char_traitsIwEE7is_openEv
,
210 _ZNKSt13basic_fstreamIwSt11char_traitsIwEE7is_openEv
)
212 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ifstreamXXIwSt11char_traitsIwEE7is_openEv
,
213 _ZNKSt14basic_ifstreamIwSt11char_traitsIwEE7is_openEv
)
215 _GLIBCXX_APPLY_SYMVER(_ZNKSt16basic_ofstreamXXIwSt11char_traitsIwEE7is_openEv
,
216 _ZNKSt14basic_ofstreamIwSt11char_traitsIwEE7is_openEv
)
218 } // anonymous namespace