gccxml_gem 0.9.2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. data/Rakefile +84 -0
  2. data/bin/gccxml.exe +0 -0
  3. data/bin/gccxml_cc1plus.exe +0 -0
  4. data/bin/gccxml_vcconfig.bat +52 -0
  5. data/bin/gccxml_vcconfig.exe +0 -0
  6. data/gccxml.rb +57 -0
  7. data/share/doc/gccxml-0.9/Copyright.txt +55 -0
  8. data/share/doc/gccxml-0.9/gccxml.html +168 -0
  9. data/share/doc/gccxml-0.9/gccxml.txt +293 -0
  10. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm +7 -0
  11. data/share/gccxml-0.9/Borland/5.5/Wrappers/algorithm.h +7 -0
  12. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset +7 -0
  13. data/share/gccxml-0.9/Borland/5.5/Wrappers/bitset.h +7 -0
  14. data/share/gccxml-0.9/Borland/5.5/Wrappers/cctype +1 -0
  15. data/share/gccxml-0.9/Borland/5.5/Wrappers/cfloat +1 -0
  16. data/share/gccxml-0.9/Borland/5.5/Wrappers/climits +1 -0
  17. data/share/gccxml-0.9/Borland/5.5/Wrappers/cmath +1 -0
  18. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex +7 -0
  19. data/share/gccxml-0.9/Borland/5.5/Wrappers/complex.h +7 -0
  20. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstddef +1 -0
  21. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdio +1 -0
  22. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstdlib +1 -0
  23. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring +7 -0
  24. data/share/gccxml-0.9/Borland/5.5/Wrappers/cstring.h +7 -0
  25. data/share/gccxml-0.9/Borland/5.5/Wrappers/ctime +1 -0
  26. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwchar +1 -0
  27. data/share/gccxml-0.9/Borland/5.5/Wrappers/cwctype +1 -0
  28. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque +7 -0
  29. data/share/gccxml-0.9/Borland/5.5/Wrappers/deque.h +7 -0
  30. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception +7 -0
  31. data/share/gccxml-0.9/Borland/5.5/Wrappers/exception.h +7 -0
  32. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream +7 -0
  33. data/share/gccxml-0.9/Borland/5.5/Wrappers/fstream.h +7 -0
  34. data/share/gccxml-0.9/Borland/5.5/Wrappers/function +7 -0
  35. data/share/gccxml-0.9/Borland/5.5/Wrappers/function.h +7 -0
  36. data/share/gccxml-0.9/Borland/5.5/Wrappers/functional +7 -0
  37. data/share/gccxml-0.9/Borland/5.5/Wrappers/gccxml_typeinfo.h +146 -0
  38. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip +7 -0
  39. data/share/gccxml-0.9/Borland/5.5/Wrappers/iomanip.h +7 -0
  40. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios +7 -0
  41. data/share/gccxml-0.9/Borland/5.5/Wrappers/ios.h +7 -0
  42. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd +7 -0
  43. data/share/gccxml-0.9/Borland/5.5/Wrappers/iosfwd.h +7 -0
  44. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream +7 -0
  45. data/share/gccxml-0.9/Borland/5.5/Wrappers/iostream.h +7 -0
  46. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream +7 -0
  47. data/share/gccxml-0.9/Borland/5.5/Wrappers/istream.h +7 -0
  48. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator +7 -0
  49. data/share/gccxml-0.9/Borland/5.5/Wrappers/iterator.h +7 -0
  50. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits +7 -0
  51. data/share/gccxml-0.9/Borland/5.5/Wrappers/limits.h +7 -0
  52. data/share/gccxml-0.9/Borland/5.5/Wrappers/list +7 -0
  53. data/share/gccxml-0.9/Borland/5.5/Wrappers/list.h +7 -0
  54. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale +7 -0
  55. data/share/gccxml-0.9/Borland/5.5/Wrappers/locale.h +7 -0
  56. data/share/gccxml-0.9/Borland/5.5/Wrappers/map +7 -0
  57. data/share/gccxml-0.9/Borland/5.5/Wrappers/map.h +7 -0
  58. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory +7 -0
  59. data/share/gccxml-0.9/Borland/5.5/Wrappers/memory.h +7 -0
  60. data/share/gccxml-0.9/Borland/5.5/Wrappers/new +7 -0
  61. data/share/gccxml-0.9/Borland/5.5/Wrappers/new.h +7 -0
  62. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric +7 -0
  63. data/share/gccxml-0.9/Borland/5.5/Wrappers/numeric.h +7 -0
  64. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream +7 -0
  65. data/share/gccxml-0.9/Borland/5.5/Wrappers/ostream.h +7 -0
  66. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue +7 -0
  67. data/share/gccxml-0.9/Borland/5.5/Wrappers/queue.h +7 -0
  68. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/codecvt +1 -0
  69. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/collate +1 -0
  70. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/ctype +1 -0
  71. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iosbase +1 -0
  72. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iotraits +1 -0
  73. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/iterator +1 -0
  74. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/lochelp +1 -0
  75. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locimpl +1 -0
  76. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/locvector +1 -0
  77. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/messages +1 -0
  78. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/money +1 -0
  79. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numbrw +1 -0
  80. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/numeral +1 -0
  81. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwdispatch.h +1 -0
  82. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwlocale +1 -0
  83. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/rwstderr_macros.h +64 -0
  84. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/string_ref +1 -0
  85. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/time +1 -0
  86. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/traits +1 -0
  87. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/tree +1 -0
  88. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/usefacet +1 -0
  89. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/valimp +1 -0
  90. data/share/gccxml-0.9/Borland/5.5/Wrappers/rw/vendor +1 -0
  91. data/share/gccxml-0.9/Borland/5.5/Wrappers/set +7 -0
  92. data/share/gccxml-0.9/Borland/5.5/Wrappers/set.h +7 -0
  93. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream +7 -0
  94. data/share/gccxml-0.9/Borland/5.5/Wrappers/sstream.h +7 -0
  95. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack +7 -0
  96. data/share/gccxml-0.9/Borland/5.5/Wrappers/stack.h +7 -0
  97. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept +7 -0
  98. data/share/gccxml-0.9/Borland/5.5/Wrappers/stdexcept.h +7 -0
  99. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf +7 -0
  100. data/share/gccxml-0.9/Borland/5.5/Wrappers/streambuf.h +7 -0
  101. data/share/gccxml-0.9/Borland/5.5/Wrappers/string +7 -0
  102. data/share/gccxml-0.9/Borland/5.5/Wrappers/string.h +7 -0
  103. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream +7 -0
  104. data/share/gccxml-0.9/Borland/5.5/Wrappers/strstream.h +7 -0
  105. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo +7 -0
  106. data/share/gccxml-0.9/Borland/5.5/Wrappers/typeinfo.h +7 -0
  107. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility +7 -0
  108. data/share/gccxml-0.9/Borland/5.5/Wrappers/utility.h +7 -0
  109. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray +7 -0
  110. data/share/gccxml-0.9/Borland/5.5/Wrappers/valarray.h +7 -0
  111. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector +7 -0
  112. data/share/gccxml-0.9/Borland/5.5/Wrappers/vector.h +7 -0
  113. data/share/gccxml-0.9/Borland/5.5/except.h +154 -0
  114. data/share/gccxml-0.9/Borland/5.5/gccxml_fstream.h +431 -0
  115. data/share/gccxml-0.9/Borland/5.5/gccxml_new.h +166 -0
  116. data/share/gccxml-0.9/Borland/5.5/gccxml_valarray.h +786 -0
  117. data/share/gccxml-0.9/Borland/5.5/gccxml_vector.h +1457 -0
  118. data/share/gccxml-0.9/Borland/5.5/io.h +352 -0
  119. data/share/gccxml-0.9/Borland/5.5/oaidl.h +7006 -0
  120. data/share/gccxml-0.9/Borland/5.5/propidl.h +1477 -0
  121. data/share/gccxml-0.9/Borland/5.5/rw/locimpl.h +477 -0
  122. data/share/gccxml-0.9/Borland/5.5/rw/rwlocale.h +619 -0
  123. data/share/gccxml-0.9/Borland/5.5/stdarg.h +55 -0
  124. data/share/gccxml-0.9/Borland/5.5/valarray.cc +2883 -0
  125. data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
  126. data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
  127. data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
  128. data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
  129. data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
  130. data/share/gccxml-0.9/GCC/2.95/complex +38 -0
  131. data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
  132. data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
  133. data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
  134. data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
  135. data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
  136. data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
  137. data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
  138. data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
  139. data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
  140. data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
  141. data/share/gccxml-0.9/GCC/2.95/deque +19 -0
  142. data/share/gccxml-0.9/GCC/2.95/exception +20 -0
  143. data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
  144. data/share/gccxml-0.9/GCC/2.95/functional +64 -0
  145. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
  146. data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
  147. data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
  148. data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
  149. data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
  150. data/share/gccxml-0.9/GCC/2.95/list +19 -0
  151. data/share/gccxml-0.9/GCC/2.95/map +20 -0
  152. data/share/gccxml-0.9/GCC/2.95/memory +21 -0
  153. data/share/gccxml-0.9/GCC/2.95/new +13 -0
  154. data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
  155. data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
  156. data/share/gccxml-0.9/GCC/2.95/queue +20 -0
  157. data/share/gccxml-0.9/GCC/2.95/set +20 -0
  158. data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
  159. data/share/gccxml-0.9/GCC/2.95/stack +19 -0
  160. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
  161. data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
  162. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
  163. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
  164. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
  165. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
  166. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
  167. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
  168. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
  169. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
  170. data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
  171. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
  172. data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
  173. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
  174. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
  175. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
  176. data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
  177. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
  178. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
  179. data/share/gccxml-0.9/GCC/2.95/string +26 -0
  180. data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
  181. data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
  182. data/share/gccxml-0.9/GCC/2.95/utility +25 -0
  183. data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
  184. data/share/gccxml-0.9/GCC/2.95/vector +19 -0
  185. data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
  186. data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
  187. data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
  188. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
  189. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +581 -0
  190. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
  191. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  192. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  193. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  194. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  195. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  196. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  197. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  198. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  199. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  200. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  201. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  202. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  203. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  204. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  205. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  206. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  207. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  208. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  209. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  210. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  211. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  212. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  213. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  214. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  215. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  216. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  217. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +664 -0
  218. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  219. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  220. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +618 -0
  221. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  222. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  223. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +182 -0
  224. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  225. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  226. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  227. data/share/gccxml-0.9/IBM/README +8 -0
  228. data/share/gccxml-0.9/IBM/find_flags +51 -0
  229. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  230. data/share/gccxml-0.9/Intel/find_flags +56 -0
  231. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  232. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  233. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  234. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  235. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  236. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  237. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  238. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  239. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  240. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  241. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  242. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  243. data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
  244. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  245. data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
  246. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  247. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  248. data/share/gccxml-0.9/Sun/README +8 -0
  249. data/share/gccxml-0.9/Sun/find_flags +51 -0
  250. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  251. data/share/gccxml-0.9/VcInstall/vc6Include.patch +4560 -0
  252. data/share/gccxml-0.9/VcInstall/vc71Include.patch +921 -0
  253. data/share/gccxml-0.9/VcInstall/vc71PlatformSDK.patch +146 -0
  254. data/share/gccxml-0.9/VcInstall/vc7Include.patch +1139 -0
  255. data/share/gccxml-0.9/VcInstall/vc7PlatformSDK.patch +146 -0
  256. data/share/gccxml-0.9/VcInstall/vc8ExpressInclude.patch +1887 -0
  257. data/share/gccxml-0.9/VcInstall/vc8ExpressPlatformSDK.patch +252 -0
  258. data/share/gccxml-0.9/VcInstall/vc8Include.patch +1887 -0
  259. data/share/gccxml-0.9/VcInstall/vc8PlatformSDK.patch +252 -0
  260. data/share/gccxml-0.9/VcInstall/vc8sp1ExpressInclude.patch +1941 -0
  261. data/share/gccxml-0.9/VcInstall/vc8sp1Include.patch +1970 -0
  262. data/share/gccxml-0.9/VcInstall/vc8sp1PlatformSDK.patch +252 -0
  263. data/share/gccxml-0.9/VcInstall/vc9Include.patch +2047 -0
  264. data/share/gccxml-0.9/VcInstall/vc9PlatformSDK.patch +383 -0
  265. data/share/gccxml-0.9/VcInstall/vc9sp1Include.patch +2565 -0
  266. data/share/gccxml-0.9/VcInstall/vcCat.exe +0 -0
  267. data/share/gccxml-0.9/VcInstall/vcCat.readme.txt +3 -0
  268. data/share/gccxml-0.9/VcInstall/vcPatch.exe +0 -0
  269. data/share/gccxml-0.9/VcInstall/vcPatch.readme.txt +27 -0
  270. data/share/gccxml-0.9/VcInstall/vc_helper +1 -0
  271. data/share/gccxml-0.9/gccxml_config +2 -0
  272. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  273. data/share/man/man1/gccxml.1 +246 -0
  274. metadata +331 -0
@@ -0,0 +1,1941 @@
1
+ Index: algorithm
2
+ ===================================================================
3
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/algorithm,v
4
+ retrieving revision 1.1
5
+ retrieving revision 1.2
6
+ diff -c -3 -p -r1.1 -r1.2
7
+ *** algorithm 13 Feb 2007 15:03:08 -0000 1.1
8
+ --- algorithm 10 Oct 2007 14:52:29 -0000 1.2
9
+ ***************
10
+ *** 11,16 ****
11
+ --- 11,51 ----
12
+ #pragma warning(disable: 4244)
13
+ #endif /* _MSC_VER */
14
+
15
+ + /* ------------------------------------------------------------------------ */
16
+ + /* Forward declare these now because they are used as non-dependent names. */
17
+ + _STDEXT_BEGIN
18
+ + template<class _InIt, class _OutIt, class _Ty>
19
+ + inline _OutIt unchecked_remove_copy(_InIt _First, _InIt _Last,
20
+ + _OutIt _Dest, const _Ty& _Val);
21
+ + template<class _InIt, class _OutIt, class _Pr>
22
+ + inline _OutIt unchecked_remove_copy_if(_InIt _First, _InIt _Last,
23
+ + _OutIt _Dest, _Pr _Pred);
24
+ + template<class _InIt1, class _InIt2, class _OutIt>
25
+ + inline _OutIt unchecked_merge(_InIt1 _First1, _InIt1 _Last1,
26
+ + _InIt2 _First2, _InIt2 _Last2, _OutIt _Dest);
27
+ + template<class _InIt1, class _InIt2, class _OutIt, class _Pr>
28
+ + inline _OutIt unchecked_merge(_InIt1 _First1, _InIt1 _Last1,
29
+ + _InIt2 _First2, _InIt2 _Last2, _OutIt _Dest,
30
+ + _Pr _Pred);
31
+ + template<class _BidIt1, class _BidIt2, class _BidIt3>
32
+ + inline _BidIt3 _Unchecked_merge_backward(_BidIt1 _First1, _BidIt1 _Last1,
33
+ + _BidIt2 _First2, _BidIt2 _Last2,
34
+ + _BidIt3 _Dest);
35
+ + template<class _BidIt1, class _BidIt2, class _BidIt3, class _Pr>
36
+ + inline _BidIt3 _Unchecked_merge_backward(_BidIt1 _First1, _BidIt1 _Last1,
37
+ + _BidIt2 _First2, _BidIt2 _Last2,
38
+ + _BidIt3 _Dest, _Pr _Pred);
39
+ + template<class _BidIt, class _OutIt, class _Diff>
40
+ + inline void _Unchecked_chunked_merge(_BidIt _First, _BidIt _Last,
41
+ + _OutIt _Dest, _Diff _Chunk,
42
+ + _Diff _Count);
43
+ + template<class _BidIt, class _OutIt, class _Diff, class _Pr>
44
+ + inline void _Unchecked_chunked_merge(_BidIt _First, _BidIt _Last,
45
+ + _OutIt _Dest, _Diff _Chunk,
46
+ + _Diff _Count, _Pr _Pred);
47
+ + _STDEXT_END
48
+ + /* ------------------------------------------------------------------------ */
49
+ +
50
+ _STD_BEGIN
51
+
52
+ // COMMON SORT PARAMETERS
53
+ Index: comdef.h
54
+ ===================================================================
55
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comdef.h,v
56
+ retrieving revision 1.1
57
+ retrieving revision 1.2
58
+ diff -c -3 -p -r1.1 -r1.2
59
+ *** comdef.h 13 Feb 2007 15:03:08 -0000 1.1
60
+ --- comdef.h 13 Feb 2007 16:09:18 -0000 1.2
61
+ *************** public:
62
+ *** 106,112 ****
63
+ DWORD HelpContext() const throw();
64
+ _bstr_t HelpFile() const ;
65
+ _bstr_t Source() const ;
66
+ ! GUID GUID() const throw();
67
+
68
+ // FormatMessage accessors
69
+ //
70
+ --- 106,112 ----
71
+ DWORD HelpContext() const throw();
72
+ _bstr_t HelpFile() const ;
73
+ _bstr_t Source() const ;
74
+ ! struct _GUID GUID() const throw();
75
+
76
+ // FormatMessage accessors
77
+ //
78
+ *************** inline _com_error& _com_error::operator=
79
+ *** 163,169 ****
80
+ {
81
+ if (this != &that) {
82
+ this->_com_error::~_com_error();
83
+ ! this->_com_error::_com_error(that);
84
+ }
85
+ return *this;
86
+ }
87
+ --- 163,169 ----
88
+ {
89
+ if (this != &that) {
90
+ this->_com_error::~_com_error();
91
+ ! new (this) _com_error(that);
92
+ }
93
+ return *this;
94
+ }
95
+ Index: comip.h
96
+ ===================================================================
97
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comip.h,v
98
+ retrieving revision 1.1
99
+ retrieving revision 1.2
100
+ diff -c -3 -p -r1.1 -r1.2
101
+ *** comip.h 13 Feb 2007 15:03:08 -0000 1.1
102
+ --- comip.h 13 Feb 2007 16:09:18 -0000 1.2
103
+ *************** public:
104
+ *** 101,114 ****
105
+
106
+ // Make sure correct ctor is called
107
+ //
108
+ ! template<> _com_ptr_t(__in LPSTR str)
109
+ {
110
+ new(this) _com_ptr_t(static_cast<LPCSTR> (str), NULL);
111
+ }
112
+
113
+ // Make sure correct ctor is called
114
+ //
115
+ ! template<> _com_ptr_t(__in LPWSTR str)
116
+ {
117
+ new(this) _com_ptr_t(static_cast<LPCWSTR> (str), NULL);
118
+ }
119
+ --- 101,114 ----
120
+
121
+ // Make sure correct ctor is called
122
+ //
123
+ ! _com_ptr_t(__in LPSTR str)
124
+ {
125
+ new(this) _com_ptr_t(static_cast<LPCSTR> (str), NULL);
126
+ }
127
+
128
+ // Make sure correct ctor is called
129
+ //
130
+ ! _com_ptr_t(__in LPWSTR str)
131
+ {
132
+ new(this) _com_ptr_t(static_cast<LPCWSTR> (str), NULL);
133
+ }
134
+ *************** public:
135
+ *** 116,122 ****
136
+ // Disable conversion using _com_ptr_t* specialization of
137
+ // template<typename _InterfaceType> _com_ptr_t(_InterfaceType* p)
138
+ //
139
+ ! template<> explicit _com_ptr_t(_com_ptr_t* p)
140
+ : m_pInterface(NULL)
141
+ {
142
+ if (p == NULL) {
143
+ --- 116,122 ----
144
+ // Disable conversion using _com_ptr_t* specialization of
145
+ // template<typename _InterfaceType> _com_ptr_t(_InterfaceType* p)
146
+ //
147
+ ! explicit _com_ptr_t(_com_ptr_t* p)
148
+ : m_pInterface(NULL)
149
+ {
150
+ if (p == NULL) {
151
+ *************** public:
152
+ *** 156,162 ****
153
+
154
+ // Saves the interface.
155
+ //
156
+ ! template<> _com_ptr_t(Interface* pInterface) throw()
157
+ : m_pInterface(pInterface)
158
+ {
159
+ _AddRef();
160
+ --- 156,162 ----
161
+
162
+ // Saves the interface.
163
+ //
164
+ ! _com_ptr_t(Interface* pInterface) throw()
165
+ : m_pInterface(pInterface)
166
+ {
167
+ _AddRef();
168
+ *************** public:
169
+ *** 251,257 ****
170
+
171
+ // Saves the interface.
172
+ //
173
+ ! template<> _com_ptr_t& operator=(Interface* pInterface) throw()
174
+ {
175
+ if (m_pInterface != pInterface) {
176
+ Interface* pOldInterface = m_pInterface;
177
+ --- 251,257 ----
178
+
179
+ // Saves the interface.
180
+ //
181
+ ! _com_ptr_t& operator=(Interface* pInterface) throw()
182
+ {
183
+ if (m_pInterface != pInterface) {
184
+ Interface* pOldInterface = m_pInterface;
185
+ *************** public:
186
+ *** 431,437 ****
187
+
188
+ // Compare with other interface
189
+ //
190
+ ! template<> bool operator==(Interface* p)
191
+ {
192
+ return (m_pInterface == p)
193
+ ? true
194
+ --- 431,437 ----
195
+
196
+ // Compare with other interface
197
+ //
198
+ ! bool operator==(Interface* p)
199
+ {
200
+ return (m_pInterface == p)
201
+ ? true
202
+ *************** public:
203
+ *** 440,453 ****
204
+
205
+ // Compare two smart pointers
206
+ //
207
+ ! template<> bool operator==(const _com_ptr_t& p) throw()
208
+ {
209
+ return operator==(p.m_pInterface);
210
+ }
211
+
212
+ // Compare two smart pointers
213
+ //
214
+ ! template<> bool operator==(_com_ptr_t& p) throw()
215
+ {
216
+ return operator==(p.m_pInterface);
217
+ }
218
+ --- 440,453 ----
219
+
220
+ // Compare two smart pointers
221
+ //
222
+ ! bool operator==(const _com_ptr_t& p) throw()
223
+ {
224
+ return operator==(p.m_pInterface);
225
+ }
226
+
227
+ // Compare two smart pointers
228
+ //
229
+ ! bool operator==(_com_ptr_t& p) throw()
230
+ {
231
+ return operator==(p.m_pInterface);
232
+ }
233
+ Index: comutil.h
234
+ ===================================================================
235
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/comutil.h,v
236
+ retrieving revision 1.1
237
+ retrieving revision 1.2
238
+ diff -c -3 -p -r1.1 -r1.2
239
+ *** comutil.h 13 Feb 2007 15:03:08 -0000 1.1
240
+ --- comutil.h 13 Feb 2007 16:09:18 -0000 1.2
241
+ *************** class _variant_t;
242
+ *** 77,83 ****
243
+ //////////////////////////////////////////////////////////////////////////////
244
+
245
+ namespace _com_util {
246
+ ! inline void CheckError(HRESULT hr) throw(...)
247
+ {
248
+ if (FAILED(hr)) {
249
+ _com_issue_error(hr);
250
+ --- 77,83 ----
251
+ //////////////////////////////////////////////////////////////////////////////
252
+
253
+ namespace _com_util {
254
+ ! inline void CheckError(HRESULT hr)
255
+ {
256
+ if (FAILED(hr)) {
257
+ _com_issue_error(hr);
258
+ *************** inline void _bstr_t::Attach(BSTR s)
259
+ *** 572,578 ****
260
+
261
+ // Detach the internal BSTR
262
+ //
263
+ ! inline BSTR _bstr_t::Detach()
264
+ {
265
+ _COM_ASSERT(m_Data != NULL && m_Data->RefCount() == 1);
266
+
267
+ --- 572,578 ----
268
+
269
+ // Detach the internal BSTR
270
+ //
271
+ ! inline BSTR _bstr_t::Detach() throw()
272
+ {
273
+ _COM_ASSERT(m_Data != NULL && m_Data->RefCount() == 1);
274
+
275
+ Index: crtdbg.h
276
+ ===================================================================
277
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/crtdbg.h,v
278
+ retrieving revision 1.1
279
+ retrieving revision 1.2
280
+ diff -c -3 -p -r1.1 -r1.2
281
+ *** crtdbg.h 13 Feb 2007 15:03:08 -0000 1.1
282
+ --- crtdbg.h 10 Oct 2007 14:52:53 -0000 1.2
283
+ *************** should not have done so since it was not
284
+ *** 589,594 ****
285
+ --- 589,595 ----
286
+
287
+ #if _MSC_VER >= 1300 && !defined(_CRT_PORTABLE)
288
+ #define _CrtDbgBreak() __debugbreak()
289
+ + extern void __cdecl __debugbreak(void);
290
+ #elif defined(_M_IX86) && !defined(_CRT_PORTABLE)
291
+ #define _CrtDbgBreak() __asm { int 3 }
292
+ #elif defined(_M_IA64) && !defined(_CRT_PORTABLE)
293
+ Index: crtdefs.h
294
+ ===================================================================
295
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/crtdefs.h,v
296
+ retrieving revision 1.1
297
+ retrieving revision 1.2
298
+ diff -c -3 -p -r1.1 -r1.2
299
+ *** crtdefs.h 13 Feb 2007 15:03:08 -0000 1.1
300
+ --- crtdefs.h 13 Feb 2007 16:09:18 -0000 1.2
301
+ *************** typedef __time64_t time_t; /* time
302
+ *** 664,762 ****
303
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst) \
304
+ extern "C++" \
305
+ { \
306
+ ! template <size_t _Size> \
307
+ inline \
308
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
309
+ { \
310
+ ! return _FuncName(_Dst, _Size); \
311
+ } \
312
+ }
313
+
314
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1) \
315
+ extern "C++" \
316
+ { \
317
+ ! template <size_t _Size> \
318
+ inline \
319
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1) \
320
+ { \
321
+ ! return _FuncName(_Dst, _Size, _TArg1); \
322
+ } \
323
+ }
324
+
325
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
326
+ extern "C++" \
327
+ { \
328
+ ! template <size_t _Size> \
329
+ inline \
330
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
331
+ { \
332
+ ! return _FuncName(_Dst, _Size, _TArg1, _TArg2); \
333
+ } \
334
+ }
335
+
336
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
337
+ extern "C++" \
338
+ { \
339
+ ! template <size_t _Size> \
340
+ inline \
341
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
342
+ { \
343
+ ! return _FuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3); \
344
+ } \
345
+ }
346
+
347
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4) \
348
+ extern "C++" \
349
+ { \
350
+ ! template <size_t _Size> \
351
+ inline \
352
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
353
+ { \
354
+ ! return _FuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3, _TArg4); \
355
+ } \
356
+ }
357
+
358
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1) \
359
+ extern "C++" \
360
+ { \
361
+ ! template <size_t _Size> \
362
+ inline \
363
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1) \
364
+ { \
365
+ ! return _FuncName(_HArg1, _Dst, _Size, _TArg1); \
366
+ } \
367
+ }
368
+
369
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
370
+ extern "C++" \
371
+ { \
372
+ ! template <size_t _Size> \
373
+ inline \
374
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
375
+ { \
376
+ ! return _FuncName(_HArg1, _Dst, _Size, _TArg1, _TArg2); \
377
+ } \
378
+ }
379
+
380
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
381
+ extern "C++" \
382
+ { \
383
+ ! template <size_t _Size> \
384
+ inline \
385
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
386
+ { \
387
+ ! return _FuncName(_HArg1, _Dst, _Size, _TArg1, _TArg2, _TArg3); \
388
+ } \
389
+ }
390
+
391
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(_ReturnType, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _DstType, _Dst) \
392
+ extern "C++" \
393
+ { \
394
+ ! template <size_t _Size> \
395
+ inline \
396
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Size]) \
397
+ { \
398
+ ! return _FuncName(_HArg1, _HArg2, _Dst, _Size); \
399
+ } \
400
+ }
401
+
402
+ --- 664,762 ----
403
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(_ReturnType, _FuncName, _DstType, _Dst) \
404
+ extern "C++" \
405
+ { \
406
+ ! template <size_t _Sz> \
407
+ inline \
408
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
409
+ { \
410
+ ! return _FuncName(_Dst, _Sz); \
411
+ } \
412
+ }
413
+
414
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1) \
415
+ extern "C++" \
416
+ { \
417
+ ! template <size_t _Sz> \
418
+ inline \
419
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1) \
420
+ { \
421
+ ! return _FuncName(_Dst, _Sz, _TArg1); \
422
+ } \
423
+ }
424
+
425
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
426
+ extern "C++" \
427
+ { \
428
+ ! template <size_t _Sz> \
429
+ inline \
430
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
431
+ { \
432
+ ! return _FuncName(_Dst, _Sz, _TArg1, _TArg2); \
433
+ } \
434
+ }
435
+
436
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
437
+ extern "C++" \
438
+ { \
439
+ ! template <size_t _Sz> \
440
+ inline \
441
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
442
+ { \
443
+ ! return _FuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3); \
444
+ } \
445
+ }
446
+
447
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_4(_ReturnType, _FuncName, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3, _TType4, _TArg4) \
448
+ extern "C++" \
449
+ { \
450
+ ! template <size_t _Sz> \
451
+ inline \
452
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
453
+ { \
454
+ ! return _FuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3, _TArg4); \
455
+ } \
456
+ }
457
+
458
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_1(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1) \
459
+ extern "C++" \
460
+ { \
461
+ ! template <size_t _Sz> \
462
+ inline \
463
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1) \
464
+ { \
465
+ ! return _FuncName(_HArg1, _Dst, _Sz, _TArg1); \
466
+ } \
467
+ }
468
+
469
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2) \
470
+ extern "C++" \
471
+ { \
472
+ ! template <size_t _Sz> \
473
+ inline \
474
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
475
+ { \
476
+ ! return _FuncName(_HArg1, _Dst, _Sz, _TArg1, _TArg2); \
477
+ } \
478
+ }
479
+
480
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(_ReturnType, _FuncName, _HType1, _HArg1, _DstType, _Dst, _TType1, _TArg1, _TType2, _TArg2, _TType3, _TArg3) \
481
+ extern "C++" \
482
+ { \
483
+ ! template <size_t _Sz> \
484
+ inline \
485
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
486
+ { \
487
+ ! return _FuncName(_HArg1, _Dst, _Sz, _TArg1, _TArg2, _TArg3); \
488
+ } \
489
+ }
490
+
491
+ #define __DEFINE_CPP_OVERLOAD_SECURE_FUNC_2_0(_ReturnType, _FuncName, _HType1, _HArg1, _HType2, _HArg2, _DstType, _Dst) \
492
+ extern "C++" \
493
+ { \
494
+ ! template <size_t _Sz> \
495
+ inline \
496
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Sz]) \
497
+ { \
498
+ ! return _FuncName(_HArg1, _HArg2, _Dst, _Sz); \
499
+ } \
500
+ }
501
+
502
+ *************** typedef __time64_t time_t; /* time
503
+ *** 765,777 ****
504
+ { \
505
+ __pragma(warning(push)); \
506
+ __pragma(warning(disable: 4793)); \
507
+ ! template <size_t _Size> \
508
+ inline \
509
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, ...) \
510
+ { \
511
+ va_list _ArgList; \
512
+ _crt_va_start(_ArgList, _TArg1); \
513
+ ! return _VFuncName(_Dst, _Size, _TArg1, _ArgList); \
514
+ } \
515
+ __pragma(warning(pop)); \
516
+ }
517
+ --- 765,777 ----
518
+ { \
519
+ __pragma(warning(push)); \
520
+ __pragma(warning(disable: 4793)); \
521
+ ! template <size_t _Sz> \
522
+ inline \
523
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, ...) \
524
+ { \
525
+ va_list _ArgList; \
526
+ _crt_va_start(_ArgList, _TArg1); \
527
+ ! return _VFuncName(_Dst, _Sz, _TArg1, _ArgList); \
528
+ } \
529
+ __pragma(warning(pop)); \
530
+ }
531
+ *************** typedef __time64_t time_t; /* time
532
+ *** 781,793 ****
533
+ { \
534
+ __pragma(warning(push)); \
535
+ __pragma(warning(disable: 4793)); \
536
+ ! template <size_t _Size> \
537
+ inline \
538
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, ...) \
539
+ { \
540
+ va_list _ArgList; \
541
+ _crt_va_start(_ArgList, _TArg2); \
542
+ ! return _VFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList); \
543
+ } \
544
+ __pragma(warning(pop)); \
545
+ }
546
+ --- 781,793 ----
547
+ { \
548
+ __pragma(warning(push)); \
549
+ __pragma(warning(disable: 4793)); \
550
+ ! template <size_t _Sz> \
551
+ inline \
552
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, ...) \
553
+ { \
554
+ va_list _ArgList; \
555
+ _crt_va_start(_ArgList, _TArg2); \
556
+ ! return _VFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList); \
557
+ } \
558
+ __pragma(warning(pop)); \
559
+ }
560
+ *************** typedef __time64_t time_t; /* time
561
+ *** 924,934 ****
562
+ { \
563
+ return __insecure_##_FuncName(_Dst); \
564
+ } \
565
+ ! template <size_t _Size> \
566
+ inline \
567
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
568
+ { \
569
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size), _Dst); \
570
+ } \
571
+ template <> \
572
+ inline \
573
+ --- 924,934 ----
574
+ { \
575
+ return __insecure_##_FuncName(_Dst); \
576
+ } \
577
+ ! template <size_t _Sz> \
578
+ inline \
579
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
580
+ { \
581
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz), _Dst); \
582
+ } \
583
+ template <> \
584
+ inline \
585
+ *************** typedef __time64_t time_t; /* time
586
+ *** 969,980 ****
587
+ { \
588
+ return __insecure_##_FuncName(_Dst); \
589
+ } \
590
+ ! template <size_t _Size> \
591
+ inline \
592
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size]) \
593
+ { \
594
+ size_t _SizeRead = 0; \
595
+ ! errno_t _Err = _FuncName##_s(_Dst + 2, (_Size - 2) < ((size_t)_Dst[0]) ? (_Size - 2) : ((size_t)_Dst[0]), &_SizeRead); \
596
+ _Dst[1] = (_DstType)(_SizeRead); \
597
+ return (_Err == 0 ? _Dst + 2 : 0); \
598
+ } \
599
+ --- 969,980 ----
600
+ { \
601
+ return __insecure_##_FuncName(_Dst); \
602
+ } \
603
+ ! template <size_t _Sz> \
604
+ inline \
605
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz]) \
606
+ { \
607
+ size_t _SizeRead = 0; \
608
+ ! errno_t _Err = _FuncName##_s(_Dst + 2, (_Sz - 2) < ((size_t)_Dst[0]) ? (_Sz - 2) : ((size_t)_Dst[0]), &_SizeRead); \
609
+ _Dst[1] = (_DstType)(_SizeRead); \
610
+ return (_Err == 0 ? _Dst + 2 : 0); \
611
+ } \
612
+ *************** typedef __time64_t time_t; /* time
613
+ *** 1024,1034 ****
614
+ { \
615
+ return __insecure_##_FuncName(_Dst, _TArg1); \
616
+ } \
617
+ ! template <size_t _Size> \
618
+ inline \
619
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1) \
620
+ { \
621
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1), _Dst); \
622
+ } \
623
+ template <> \
624
+ inline \
625
+ --- 1024,1034 ----
626
+ { \
627
+ return __insecure_##_FuncName(_Dst, _TArg1); \
628
+ } \
629
+ ! template <size_t _Sz> \
630
+ inline \
631
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1) \
632
+ { \
633
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1), _Dst); \
634
+ } \
635
+ template <> \
636
+ inline \
637
+ *************** typedef __time64_t time_t; /* time
638
+ *** 1069,1079 ****
639
+ { \
640
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
641
+ } \
642
+ ! template <size_t _Size> \
643
+ inline \
644
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
645
+ { \
646
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2), _Dst); \
647
+ } \
648
+ template <> \
649
+ inline \
650
+ --- 1069,1079 ----
651
+ { \
652
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
653
+ } \
654
+ ! template <size_t _Sz> \
655
+ inline \
656
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
657
+ { \
658
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2), _Dst); \
659
+ } \
660
+ template <> \
661
+ inline \
662
+ *************** typedef __time64_t time_t; /* time
663
+ *** 1114,1124 ****
664
+ { \
665
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
666
+ } \
667
+ ! template <size_t _Size> \
668
+ inline \
669
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
670
+ { \
671
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3), _Dst); \
672
+ } \
673
+ template <> \
674
+ inline \
675
+ --- 1114,1124 ----
676
+ { \
677
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
678
+ } \
679
+ ! template <size_t _Sz> \
680
+ inline \
681
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
682
+ { \
683
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3), _Dst); \
684
+ } \
685
+ template <> \
686
+ inline \
687
+ *************** typedef __time64_t time_t; /* time
688
+ *** 1159,1169 ****
689
+ { \
690
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3, _TArg4); \
691
+ } \
692
+ ! template <size_t _Size> \
693
+ inline \
694
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
695
+ { \
696
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3, _TArg4), _Dst); \
697
+ } \
698
+ template <> \
699
+ inline \
700
+ --- 1159,1169 ----
701
+ { \
702
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3, _TArg4); \
703
+ } \
704
+ ! template <size_t _Sz> \
705
+ inline \
706
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3, _TType4 _TArg4) \
707
+ { \
708
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3, _TArg4), _Dst); \
709
+ } \
710
+ template <> \
711
+ inline \
712
+ *************** typedef __time64_t time_t; /* time
713
+ *** 1204,1214 ****
714
+ { \
715
+ return __insecure_##_FuncName(_HArg1, _Dst, _TArg1); \
716
+ } \
717
+ ! template <size_t _Size> \
718
+ inline \
719
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Size], _TType1 _TArg1) \
720
+ { \
721
+ ! _ReturnPolicy(_SecureFuncName(_HArg1, _Dst, _Size, _TArg1), _Dst); \
722
+ } \
723
+ template <> \
724
+ inline \
725
+ --- 1204,1214 ----
726
+ { \
727
+ return __insecure_##_FuncName(_HArg1, _Dst, _TArg1); \
728
+ } \
729
+ ! template <size_t _Sz> \
730
+ inline \
731
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _DstType (&_Dst)[_Sz], _TType1 _TArg1) \
732
+ { \
733
+ ! _ReturnPolicy(_SecureFuncName(_HArg1, _Dst, _Sz, _TArg1), _Dst); \
734
+ } \
735
+ template <> \
736
+ inline \
737
+ *************** typedef __time64_t time_t; /* time
738
+ *** 1249,1259 ****
739
+ { \
740
+ return __insecure_##_FuncName(_HArg1, _HArg2, _Dst); \
741
+ } \
742
+ ! template <size_t _Size> \
743
+ inline \
744
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Size]) \
745
+ { \
746
+ ! _ReturnPolicy(_SecureFuncName(_HArg1, _HArg2, _Dst, _Size), _Dst); \
747
+ } \
748
+ template <> \
749
+ inline \
750
+ --- 1249,1259 ----
751
+ { \
752
+ return __insecure_##_FuncName(_HArg1, _HArg2, _Dst); \
753
+ } \
754
+ ! template <size_t _Sz> \
755
+ inline \
756
+ ! _ReturnType __CRTDECL _FuncName(_HType1 _HArg1, _HType2 _HArg2, _DstType (&_Dst)[_Sz]) \
757
+ { \
758
+ ! _ReturnPolicy(_SecureFuncName(_HArg1, _HArg2, _Dst, _Sz), _Dst); \
759
+ } \
760
+ template <> \
761
+ inline \
762
+ *************** typedef __time64_t time_t; /* time
763
+ *** 1310,1322 ****
764
+ \
765
+ __pragma(warning(push)); \
766
+ __pragma(warning(disable: 4793)); \
767
+ ! template <size_t _Size> \
768
+ inline \
769
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, ...) \
770
+ { \
771
+ va_list _ArgList; \
772
+ _crt_va_start(_ArgList, _TArg1); \
773
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _ArgList), _Dst); \
774
+ } \
775
+ __pragma(warning(pop)); \
776
+ \
777
+ --- 1310,1322 ----
778
+ \
779
+ __pragma(warning(push)); \
780
+ __pragma(warning(disable: 4793)); \
781
+ ! template <size_t _Sz> \
782
+ inline \
783
+ ! _ReturnType __CRTDECL _FuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, ...) \
784
+ { \
785
+ va_list _ArgList; \
786
+ _crt_va_start(_ArgList, _TArg1); \
787
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _ArgList), _Dst); \
788
+ } \
789
+ __pragma(warning(pop)); \
790
+ \
791
+ *************** typedef __time64_t time_t; /* time
792
+ *** 1354,1364 ****
793
+ { \
794
+ return __insecure_##_VFuncName(_Dst, _TArg1, _ArgList); \
795
+ } \
796
+ ! template <size_t _Size> \
797
+ inline \
798
+ ! _ReturnType __CRTDECL _VFuncName(_DstType (&_Dst)[_Size], _TType1 _TArg1, va_list _ArgList) \
799
+ { \
800
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _ArgList), _Dst); \
801
+ } \
802
+ template <> \
803
+ inline \
804
+ --- 1354,1364 ----
805
+ { \
806
+ return __insecure_##_VFuncName(_Dst, _TArg1, _ArgList); \
807
+ } \
808
+ ! template <size_t _Sz> \
809
+ inline \
810
+ ! _ReturnType __CRTDECL _VFuncName(_DstType (&_Dst)[_Sz], _TType1 _TArg1, va_list _ArgList) \
811
+ { \
812
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _ArgList), _Dst); \
813
+ } \
814
+ template <> \
815
+ inline \
816
+ *************** typedef __time64_t time_t; /* time
817
+ *** 1415,1427 ****
818
+ \
819
+ __pragma(warning(push)); \
820
+ __pragma(warning(disable: 4793)); \
821
+ ! template <size_t _Size> \
822
+ inline \
823
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, ...) \
824
+ { \
825
+ va_list _ArgList; \
826
+ _crt_va_start(_ArgList, _TArg2); \
827
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList), _Dst); \
828
+ } \
829
+ __pragma(warning(pop)); \
830
+ \
831
+ --- 1415,1427 ----
832
+ \
833
+ __pragma(warning(push)); \
834
+ __pragma(warning(disable: 4793)); \
835
+ ! template <size_t _Sz> \
836
+ inline \
837
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, ...) \
838
+ { \
839
+ va_list _ArgList; \
840
+ _crt_va_start(_ArgList, _TArg2); \
841
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList), _Dst); \
842
+ } \
843
+ __pragma(warning(pop)); \
844
+ \
845
+ *************** typedef __time64_t time_t; /* time
846
+ *** 1459,1469 ****
847
+ { \
848
+ return __insecure_##_VFuncName(_Dst, _TArg1, _TArg2, _ArgList); \
849
+ } \
850
+ ! template <size_t _Size> \
851
+ inline \
852
+ ! _ReturnType __CRTDECL _VFuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, va_list _ArgList) \
853
+ { \
854
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Size, _TArg1, _TArg2, _ArgList), _Dst); \
855
+ } \
856
+ template <> \
857
+ inline \
858
+ --- 1459,1469 ----
859
+ { \
860
+ return __insecure_##_VFuncName(_Dst, _TArg1, _TArg2, _ArgList); \
861
+ } \
862
+ ! template <size_t _Sz> \
863
+ inline \
864
+ ! _ReturnType __CRTDECL _VFuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, va_list _ArgList) \
865
+ { \
866
+ ! _ReturnPolicy(_SecureVFuncName(_Dst, _Sz, _TArg1, _TArg2, _ArgList), _Dst); \
867
+ } \
868
+ template <> \
869
+ inline \
870
+ *************** typedef __time64_t time_t; /* time
871
+ *** 1504,1515 ****
872
+ { \
873
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
874
+ } \
875
+ ! template <size_t _Size> \
876
+ inline \
877
+ ! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
878
+ { \
879
+ size_t _Ret = 0; \
880
+ ! _SecureFuncName(&_Ret, _Dst, _Size, _TArg1, _TArg2); \
881
+ return (_Ret > 0 ? (_Ret - 1) : _Ret); \
882
+ } \
883
+ template <> \
884
+ --- 1504,1515 ----
885
+ { \
886
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
887
+ } \
888
+ ! template <size_t _Sz> \
889
+ inline \
890
+ ! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
891
+ { \
892
+ size_t _Ret = 0; \
893
+ ! _SecureFuncName(&_Ret, _Dst, _Sz, _TArg1, _TArg2); \
894
+ return (_Ret > 0 ? (_Ret - 1) : _Ret); \
895
+ } \
896
+ template <> \
897
+ *************** typedef __time64_t time_t; /* time
898
+ *** 1553,1564 ****
899
+ { \
900
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
901
+ } \
902
+ ! template <size_t _Size> \
903
+ inline \
904
+ ! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
905
+ { \
906
+ size_t _Ret = 0; \
907
+ ! _SecureFuncName(&_Ret, _Dst, _Size, _TArg1, _TArg2, _TArg3); \
908
+ return (_Ret > 0 ? (_Ret - 1) : _Ret); \
909
+ } \
910
+ template <> \
911
+ --- 1553,1564 ----
912
+ { \
913
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
914
+ } \
915
+ ! template <size_t _Sz> \
916
+ inline \
917
+ ! size_t __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
918
+ { \
919
+ size_t _Ret = 0; \
920
+ ! _SecureFuncName(&_Ret, _Dst, _Sz, _TArg1, _TArg2, _TArg3); \
921
+ return (_Ret > 0 ? (_Ret - 1) : _Ret); \
922
+ } \
923
+ template <> \
924
+ *************** typedef __time64_t time_t; /* time
925
+ *** 1600,1610 ****
926
+ { \
927
+ return __insecure_##_FuncName(_Dst); \
928
+ } \
929
+ ! template <size_t _Size> \
930
+ inline \
931
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size]) \
932
+ { \
933
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size), _Dst); \
934
+ } \
935
+ template <> \
936
+ inline \
937
+ --- 1600,1610 ----
938
+ { \
939
+ return __insecure_##_FuncName(_Dst); \
940
+ } \
941
+ ! template <size_t _Sz> \
942
+ inline \
943
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz]) \
944
+ { \
945
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz), _Dst); \
946
+ } \
947
+ template <> \
948
+ inline \
949
+ *************** typedef __time64_t time_t; /* time
950
+ *** 1643,1653 ****
951
+ { \
952
+ return __insecure_##_FuncName(_Dst, _TArg1); \
953
+ } \
954
+ ! template <size_t _Size> \
955
+ inline \
956
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1) \
957
+ { \
958
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1), _Dst); \
959
+ } \
960
+ template <> \
961
+ inline \
962
+ --- 1643,1653 ----
963
+ { \
964
+ return __insecure_##_FuncName(_Dst, _TArg1); \
965
+ } \
966
+ ! template <size_t _Sz> \
967
+ inline \
968
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1) \
969
+ { \
970
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1), _Dst); \
971
+ } \
972
+ template <> \
973
+ inline \
974
+ *************** typedef __time64_t time_t; /* time
975
+ *** 1686,1696 ****
976
+ { \
977
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
978
+ } \
979
+ ! template <size_t _Size> \
980
+ inline \
981
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2) \
982
+ { \
983
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2), _Dst); \
984
+ } \
985
+ template <> \
986
+ inline \
987
+ --- 1686,1696 ----
988
+ { \
989
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2); \
990
+ } \
991
+ ! template <size_t _Sz> \
992
+ inline \
993
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2) \
994
+ { \
995
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2), _Dst); \
996
+ } \
997
+ template <> \
998
+ inline \
999
+ *************** typedef __time64_t time_t; /* time
1000
+ *** 1729,1739 ****
1001
+ { \
1002
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
1003
+ } \
1004
+ ! template <size_t _Size> \
1005
+ inline \
1006
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Size], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
1007
+ { \
1008
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Size, _TArg1, _TArg2, _TArg3), _Dst); \
1009
+ } \
1010
+ template <> \
1011
+ inline \
1012
+ --- 1729,1739 ----
1013
+ { \
1014
+ return __insecure_##_FuncName(_Dst, _TArg1, _TArg2, _TArg3); \
1015
+ } \
1016
+ ! template <size_t _Sz> \
1017
+ inline \
1018
+ ! _ReturnType __CRTDECL _FuncName(_SecureDstType (&_Dst)[_Sz], _TType1 _TArg1, _TType2 _TArg2, _TType3 _TArg3) \
1019
+ { \
1020
+ ! _ReturnPolicy(_SecureFuncName(_Dst, _Sz, _TArg1, _TArg2, _TArg3), _Dst); \
1021
+ } \
1022
+ template <> \
1023
+ inline \
1024
+ Index: deque
1025
+ ===================================================================
1026
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/deque,v
1027
+ retrieving revision 1.1
1028
+ retrieving revision 1.2
1029
+ diff -c -3 -p -r1.1 -r1.2
1030
+ *** deque 13 Feb 2007 15:03:08 -0000 1.1
1031
+ --- deque 13 Feb 2007 16:09:18 -0000 1.2
1032
+ *************** public:
1033
+ *** 47,54 ****
1034
+ _Deque_const_iterator<_Ty, _Alloc, false>,
1035
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1036
+
1037
+ ! friend _Deque_const_iterator<_Ty, _Alloc, false>;
1038
+ ! friend _Deque_const_iterator<_Ty, _Alloc, true>;
1039
+
1040
+ _Deque_const_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
1041
+ {
1042
+ --- 47,53 ----
1043
+ _Deque_const_iterator<_Ty, _Alloc, false>,
1044
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1045
+
1046
+ ! friend class _Deque_const_iterator<_Ty, _Alloc, !_SECURE_VALIDATION>;
1047
+
1048
+ _Deque_const_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
1049
+ {
1050
+ *************** public:
1051
+ *** 339,346 ****
1052
+ _Deque_iterator<_Ty, _Alloc, false>,
1053
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1054
+
1055
+ ! friend _Deque_iterator<_Ty, _Alloc, false>;
1056
+ ! friend _Deque_iterator<_Ty, _Alloc, true>;
1057
+
1058
+ _Deque_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
1059
+ {
1060
+ --- 338,344 ----
1061
+ _Deque_iterator<_Ty, _Alloc, false>,
1062
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1063
+
1064
+ ! friend class _Deque_iterator<_Ty, _Alloc, !_SECURE_VALIDATION>;
1065
+
1066
+ _Deque_iterator<_Ty, _Alloc, false> _Checked_iterator_base() const
1067
+ {
1068
+ Index: eh.h
1069
+ ===================================================================
1070
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/eh.h,v
1071
+ retrieving revision 1.1
1072
+ retrieving revision 1.2
1073
+ diff -c -3 -p -r1.1 -r1.2
1074
+ *** eh.h 13 Feb 2007 15:03:08 -0000 1.1
1075
+ --- eh.h 13 Feb 2007 16:09:18 -0000 1.2
1076
+ *************** typedef void (__cdecl *_se_translator_fu
1077
+ *** 58,63 ****
1078
+ --- 58,65 ----
1079
+ _CRTIMP __declspec(noreturn) void __cdecl terminate(void);
1080
+ _CRTIMP void __cdecl unexpected(void);
1081
+
1082
+ + namespace std {class type_info;}
1083
+ + using std::type_info;
1084
+ _CRTIMP int __cdecl _is_exception_typeof(__in const type_info &_Type, __in struct _EXCEPTION_POINTERS * _ExceptionPtr);
1085
+
1086
+ #ifndef _M_CEE_PURE
1087
+ Index: functional
1088
+ ===================================================================
1089
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/functional,v
1090
+ retrieving revision 1.1
1091
+ retrieving revision 1.2
1092
+ diff -c -3 -p -r1.1 -r1.2
1093
+ *** functional 13 Feb 2007 15:03:08 -0000 1.1
1094
+ --- functional 13 Feb 2007 16:09:18 -0000 1.2
1095
+ *************** template<class _Arg,
1096
+ *** 403,419 ****
1097
+ return (std::pointer_to_unary_function<_Arg, _Result, _Result (__stdcall *)(_Arg)>(_Left));
1098
+ }
1099
+
1100
+ - #ifndef _M_CEE
1101
+ - template<class _Arg,
1102
+ - class _Result> inline
1103
+ - pointer_to_unary_function<_Arg, _Result,
1104
+ - _Result (__fastcall *)(_Arg)>
1105
+ - ptr_fun(_Result (__fastcall *_Left)(_Arg))
1106
+ - { // return pointer_to_unary_function functor adapter
1107
+ - return (std::pointer_to_unary_function<_Arg, _Result, _Result (__fastcall *)(_Arg)>(_Left));
1108
+ - }
1109
+ -
1110
+ - #endif
1111
+ #endif
1112
+
1113
+ #ifdef _M_CEE
1114
+ --- 403,408 ----
1115
+ *************** template<class _Arg1,
1116
+ *** 448,467 ****
1117
+ _Result (__stdcall *)(_Arg1, _Arg2)>(_Left));
1118
+ }
1119
+
1120
+ - #ifndef _M_CEE
1121
+ -
1122
+ - template<class _Arg1,
1123
+ - class _Arg2,
1124
+ - class _Result> inline
1125
+ - pointer_to_binary_function<_Arg1, _Arg2, _Result,
1126
+ - _Result(__fastcall *)(_Arg1, _Arg2)>
1127
+ - ptr_fun(_Result (__fastcall *_Left)(_Arg1, _Arg2))
1128
+ - { // return pointer_to_binary_function functor adapter
1129
+ - return (std::pointer_to_binary_function<_Arg1, _Arg2, _Result,
1130
+ - _Result (__fastcall *)(_Arg1, _Arg2)>(_Left));
1131
+ - }
1132
+ -
1133
+ - #endif
1134
+ #endif
1135
+
1136
+ #ifdef _M_CEE
1137
+ --- 437,442 ----
1138
+ Index: iosfwd
1139
+ ===================================================================
1140
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iosfwd,v
1141
+ retrieving revision 1.1
1142
+ retrieving revision 1.2
1143
+ diff -c -3 -p -r1.1 -r1.2
1144
+ *** iosfwd 13 Feb 2007 15:03:08 -0000 1.1
1145
+ --- iosfwd 8 Oct 2007 21:29:22 -0000 1.2
1146
+ *************** struct _Secure_char_traits_tag
1147
+ *** 138,143 ****
1148
+ --- 138,185 ----
1149
+ {
1150
+ };
1151
+
1152
+ + /* ------------------------------------------------------------------------ */
1153
+ + /* Forward declare these now because they are used as non-dependent names. */
1154
+ + namespace _Traits_helper
1155
+ + {
1156
+ + // TEMPLATE FUNCTION _Traits_helper::copy_s
1157
+ + template<class _Traits>
1158
+ + inline
1159
+ + typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
1160
+ + const typename _Traits::char_type *_First2, size_t _Count);
1161
+ +
1162
+ + template<class _Traits>
1163
+ + inline
1164
+ + typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
1165
+ + const typename _Traits::char_type *_First2, size_t _Count, _Secure_char_traits_tag);
1166
+ +
1167
+ + // If _SECURE_SCL is turned on, the user will get a deprecation warning when calling an unsecure _Traits::copy
1168
+ + template<class _Traits>
1169
+ + inline
1170
+ + _SCL_INSECURE_DEPRECATE
1171
+ + typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size,
1172
+ + const typename _Traits::char_type *_First2, size_t _Count, _Unsecure_char_traits_tag);
1173
+ +
1174
+ + // TEMPLATE FUNCTION _Traits_helper::move_s
1175
+ + template<class _Traits>
1176
+ + inline
1177
+ + typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
1178
+ + const typename _Traits::char_type *_First2, size_t _Count);
1179
+ +
1180
+ + template<class _Traits>
1181
+ + inline
1182
+ + typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
1183
+ + const typename _Traits::char_type *_First2, size_t _Count, _Secure_char_traits_tag);
1184
+ +
1185
+ + // If _SECURE_SCL is turned on, the user will get a deprecation warning when calling an unsecure _Traits::copy
1186
+ + template<class _Traits>
1187
+ + inline
1188
+ + _SCL_INSECURE_DEPRECATE
1189
+ + typename _Traits::char_type *move_s(typename _Traits::char_type *_First1, size_t _Size,
1190
+ + const typename _Traits::char_type *_First2, size_t _Count, _Unsecure_char_traits_tag);
1191
+ + } // namespace _Traits_helper
1192
+ + /* ------------------------------------------------------------------------ */
1193
+ +
1194
+ // TEMPLATE STRUCT _Char_traits_base
1195
+ // Used to define the Secure_char_traits tag. This typedef is used
1196
+ // only for user defined char_traits. A user defined char_traits should
1197
+ Index: iostream
1198
+ ===================================================================
1199
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iostream,v
1200
+ retrieving revision 1.1
1201
+ retrieving revision 1.2
1202
+ diff -c -3 -p -r1.1 -r1.2
1203
+ *** iostream 13 Feb 2007 15:03:08 -0000 1.1
1204
+ --- iostream 13 Feb 2007 16:09:18 -0000 1.2
1205
+ *************** __PURE_APPDOMAIN_GLOBAL extern _CRTDATA2
1206
+ *** 23,30 ****
1207
+ // CLASS _Winit
1208
+ class _CRTIMP2_PURE _Winit {
1209
+ public:
1210
+ ! __thiscall _Winit();
1211
+ ! __thiscall ~_Winit();
1212
+ private:
1213
+ __PURE_APPDOMAIN_GLOBAL static int _Init_cnt;
1214
+ };
1215
+ --- 23,30 ----
1216
+ // CLASS _Winit
1217
+ class _CRTIMP2_PURE _Winit {
1218
+ public:
1219
+ ! _Winit();
1220
+ ! ~_Winit();
1221
+ private:
1222
+ __PURE_APPDOMAIN_GLOBAL static int _Init_cnt;
1223
+ };
1224
+ Index: iso646.h
1225
+ ===================================================================
1226
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iso646.h,v
1227
+ retrieving revision 1.1
1228
+ retrieving revision 1.2
1229
+ diff -c -3 -p -r1.1 -r1.2
1230
+ *** iso646.h 13 Feb 2007 15:03:08 -0000 1.1
1231
+ --- iso646.h 13 Feb 2007 16:09:18 -0000 1.2
1232
+ ***************
1233
+ *** 3,9 ****
1234
+ #ifndef _ISO646
1235
+ #define _ISO646
1236
+
1237
+ ! #if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
1238
+ #define and &&
1239
+ #define and_eq &=
1240
+ #define bitand &
1241
+ --- 3,9 ----
1242
+ #ifndef _ISO646
1243
+ #define _ISO646
1244
+
1245
+ ! #if 0 && (!defined(__cplusplus) || defined(_MSC_EXTENSIONS))
1246
+ #define and &&
1247
+ #define and_eq &=
1248
+ #define bitand &
1249
+ Index: iterator
1250
+ ===================================================================
1251
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/iterator,v
1252
+ retrieving revision 1.1
1253
+ retrieving revision 1.2
1254
+ diff -c -3 -p -r1.1 -r1.2
1255
+ *** iterator 13 Feb 2007 15:03:08 -0000 1.1
1256
+ --- iterator 13 Feb 2007 16:09:18 -0000 1.2
1257
+ *************** template <class _Cont, class _Iter = typ
1258
+ *** 361,367 ****
1259
+ typename _STD iterator_traits<_Iter>::pointer,
1260
+ typename _STD iterator_traits<_Iter>::reference>
1261
+ {
1262
+ ! friend class checked_iterator;
1263
+ public:
1264
+ typedef checked_iterator<_Cont, _Iter> _Myt;
1265
+ typedef typename _STD iterator_traits<_Iter>::difference_type difference_type;
1266
+ --- 361,367 ----
1267
+ typename _STD iterator_traits<_Iter>::pointer,
1268
+ typename _STD iterator_traits<_Iter>::reference>
1269
+ {
1270
+ ! //friend class checked_iterator;
1271
+ public:
1272
+ typedef checked_iterator<_Cont, _Iter> _Myt;
1273
+ typedef typename _STD iterator_traits<_Iter>::difference_type difference_type;
1274
+ Index: limits
1275
+ ===================================================================
1276
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/limits,v
1277
+ retrieving revision 1.1
1278
+ retrieving revision 1.2
1279
+ diff -c -3 -p -r1.1 -r1.2
1280
+ *** limits 13 Feb 2007 15:03:08 -0000 1.1
1281
+ --- limits 10 Oct 2007 14:53:14 -0000 1.2
1282
+ *************** _STCONSDEF(_Num_base, int, min_exponent)
1283
+ *** 93,110 ****
1284
+ _STCONSDEF(_Num_base, int, min_exponent10)
1285
+ _STCONSDEF(_Num_base, int, radix)
1286
+
1287
+ // TEMPLATE CLASS numeric_limits
1288
+ template<class _Ty>
1289
+ class numeric_limits
1290
+ : public _Num_base
1291
+ { // numeric limits for arbitrary type _Ty (say little or nothing)
1292
+ public:
1293
+ ! static _Ty (__CRTDECL min)() _THROW0()
1294
+ { // return minimum value
1295
+ return (_Ty(0));
1296
+ }
1297
+
1298
+ ! static _Ty (__CRTDECL max)() _THROW0()
1299
+ { // return maximum value
1300
+ return (_Ty(0));
1301
+ }
1302
+ --- 93,111 ----
1303
+ _STCONSDEF(_Num_base, int, min_exponent10)
1304
+ _STCONSDEF(_Num_base, int, radix)
1305
+
1306
+ + #define __GCCXML_AVOID_MACRO_EXPANSION
1307
+ // TEMPLATE CLASS numeric_limits
1308
+ template<class _Ty>
1309
+ class numeric_limits
1310
+ : public _Num_base
1311
+ { // numeric limits for arbitrary type _Ty (say little or nothing)
1312
+ public:
1313
+ ! static _Ty __CRTDECL min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
1314
+ { // return minimum value
1315
+ return (_Ty(0));
1316
+ }
1317
+
1318
+ ! static _Ty __CRTDECL max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
1319
+ { // return maximum value
1320
+ return (_Ty(0));
1321
+ }
1322
+ Index: list
1323
+ ===================================================================
1324
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/list,v
1325
+ retrieving revision 1.1
1326
+ retrieving revision 1.2
1327
+ diff -c -3 -p -r1.1 -r1.2
1328
+ *** list 13 Feb 2007 15:03:08 -0000 1.1
1329
+ --- list 13 Feb 2007 16:09:18 -0000 1.2
1330
+ *************** public:
1331
+ *** 187,194 ****
1332
+ _Const_iterator<false>,
1333
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1334
+
1335
+ ! friend _Const_iterator<false>;
1336
+ ! friend _Const_iterator<true>;
1337
+
1338
+ _Const_iterator<false> _Checked_iterator_base() const
1339
+ {
1340
+ --- 187,193 ----
1341
+ _Const_iterator<false>,
1342
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1343
+
1344
+ ! friend class _Const_iterator<!_SECURE_VALIDATION>;
1345
+
1346
+ _Const_iterator<false> _Checked_iterator_base() const
1347
+ {
1348
+ *************** public:
1349
+ *** 367,374 ****
1350
+ _Iterator<false>,
1351
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1352
+
1353
+ ! friend _Iterator<false>;
1354
+ ! friend _Iterator<true>;
1355
+
1356
+ _Iterator<false> _Checked_iterator_base() const
1357
+ {
1358
+ --- 366,372 ----
1359
+ _Iterator<false>,
1360
+ _Unchanged_checked_iterator_base_type_tag>::_Result _Checked_iterator_base_type;
1361
+
1362
+ ! friend class _Iterator<!_SECURE_VALIDATION>;
1363
+
1364
+ _Iterator<false> _Checked_iterator_base() const
1365
+ {
1366
+ Index: math.h
1367
+ ===================================================================
1368
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/math.h,v
1369
+ retrieving revision 1.1
1370
+ retrieving revision 1.2
1371
+ diff -c -3 -p -r1.1 -r1.2
1372
+ *** math.h 13 Feb 2007 15:03:08 -0000 1.1
1373
+ --- math.h 13 Feb 2007 16:09:18 -0000 1.2
1374
+ *************** _CRTIMP __checkReturn double __cdecl at
1375
+ *** 132,138 ****
1376
+ _CRTIMP __checkReturn double __cdecl _atof_l(__in_z const char *_String, __in_opt _locale_t _Locale);
1377
+ #endif
1378
+
1379
+ ! _CRTIMP double __cdecl _cabs(__in struct _complex _Complex);
1380
+ _CRTIMP double __cdecl ceil(__in double _X);
1381
+ _CRTIMP double __cdecl floor(__in double _X);
1382
+ _CRTIMP double __cdecl frexp(__in double _X, __out int * _Y);
1383
+ --- 132,138 ----
1384
+ _CRTIMP __checkReturn double __cdecl _atof_l(__in_z const char *_String, __in_opt _locale_t _Locale);
1385
+ #endif
1386
+
1387
+ ! _CRTIMP double __cdecl _cabs(__in struct _complex _C);
1388
+ _CRTIMP double __cdecl ceil(__in double _X);
1389
+ _CRTIMP double __cdecl floor(__in double _X);
1390
+ _CRTIMP double __cdecl frexp(__in double _X, __out int * _Y);
1391
+ Index: memory
1392
+ ===================================================================
1393
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/memory,v
1394
+ retrieving revision 1.1
1395
+ retrieving revision 1.3
1396
+ diff -c -3 -p -r1.1 -r1.3
1397
+ *** memory 13 Feb 2007 15:03:08 -0000 1.1
1398
+ --- memory 8 Oct 2007 21:40:49 -0000 1.3
1399
+ ***************
1400
+ *** 11,16 ****
1401
+ --- 11,26 ----
1402
+ #pragma warning(push,3)
1403
+ #endif /* _MSC_VER */
1404
+
1405
+ + /* ------------------------------------------------------------------------ */
1406
+ + /* Forward declare these now because they are used as non-dependent names. */
1407
+ + _STDEXT_BEGIN
1408
+ + template<class _InIt, class _FwdIt>
1409
+ + inline _FwdIt unchecked_uninitialized_copy(_InIt _First, _InIt _Last, _FwdIt _Dest);
1410
+ + template<class _InIt, class _FwdIt, class _Alloc>
1411
+ + inline _FwdIt unchecked_uninitialized_copy(_InIt _First, _InIt _Last, _FwdIt _Dest, _Alloc& _Al);
1412
+ + _STDEXT_END
1413
+ + /* ------------------------------------------------------------------------ */
1414
+ +
1415
+ _STD_BEGIN
1416
+
1417
+ // TEMPLATE FUNCTION get_temporary_buffer
1418
+ Index: process.h
1419
+ ===================================================================
1420
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/process.h,v
1421
+ retrieving revision 1.1
1422
+ retrieving revision 1.2
1423
+ diff -c -3 -p -r1.1 -r1.2
1424
+ *** process.h 13 Feb 2007 15:03:08 -0000 1.1
1425
+ --- process.h 13 Feb 2007 16:09:18 -0000 1.2
1426
+ *************** extern uintptr_t __security_cookie;
1427
+ *** 162,168 ****
1428
+
1429
+ _CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(__in_z char * _Filename);
1430
+ _CRT_OBSOLETE(FreeLibrary) int __cdecl _unloaddll(__in intptr_t _Handle);
1431
+ ! _CRT_OBSOLETE(GetProcAddress) int (__cdecl * __cdecl _getdllprocaddr(__in intptr_t _Handle, __in_z_opt char * _ProcedureName, __in intptr_t _Ordinal))(void);
1432
+
1433
+ /* --------- The preceding functions are OBSOLETE --------- */
1434
+
1435
+ --- 162,169 ----
1436
+
1437
+ _CRT_OBSOLETE(LoadLibrary) intptr_t __cdecl _loaddll(__in_z char * _Filename);
1438
+ _CRT_OBSOLETE(FreeLibrary) int __cdecl _unloaddll(__in intptr_t _Handle);
1439
+ ! typedef int (__cdecl * _getdllprocaddr_type)();
1440
+ ! _CRT_OBSOLETE(GetProcAddress) _getdllprocaddr_type __cdecl _getdllprocaddr(__in intptr_t _Handle, __in_z_opt char * _ProcedureName, __in intptr_t _Ordinal);
1441
+
1442
+ /* --------- The preceding functions are OBSOLETE --------- */
1443
+
1444
+ Index: setjmp.h
1445
+ ===================================================================
1446
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/setjmp.h,v
1447
+ retrieving revision 1.1
1448
+ retrieving revision 1.2
1449
+ diff -c -3 -p -r1.1 -r1.2
1450
+ *** setjmp.h 13 Feb 2007 15:03:08 -0000 1.1
1451
+ --- setjmp.h 13 Feb 2007 16:09:18 -0000 1.2
1452
+ *************** int __cdecl setjmp(__out jmp_buf _Buf);
1453
+ *** 253,259 ****
1454
+ #ifdef __cplusplus
1455
+ extern "C"
1456
+ {
1457
+ ! _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value) throw(...);
1458
+ }
1459
+ #else
1460
+ _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
1461
+ --- 253,259 ----
1462
+ #ifdef __cplusplus
1463
+ extern "C"
1464
+ {
1465
+ ! _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
1466
+ }
1467
+ #else
1468
+ _CRTIMP __declspec(noreturn) void __cdecl longjmp(__in jmp_buf _Buf, __in int _Value);
1469
+ Index: signal.h
1470
+ ===================================================================
1471
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/signal.h,v
1472
+ retrieving revision 1.1
1473
+ retrieving revision 1.2
1474
+ diff -c -3 -p -r1.1 -r1.2
1475
+ *** signal.h 13 Feb 2007 15:03:08 -0000 1.1
1476
+ --- signal.h 13 Feb 2007 16:09:18 -0000 1.2
1477
+ *************** extern void * _pxcptinfoptrs;
1478
+ *** 88,94 ****
1479
+ /* Function prototypes */
1480
+
1481
+ #ifndef _M_CEE_PURE
1482
+ ! _CRTIMP void (__cdecl * __cdecl signal(__in int _SigNum, __in_opt void (__cdecl * _Func)(int)))(int);
1483
+ #endif
1484
+
1485
+ _CRTIMP int __cdecl raise(__in int _SigNum);
1486
+ --- 88,95 ----
1487
+ /* Function prototypes */
1488
+
1489
+ #ifndef _M_CEE_PURE
1490
+ ! typedef void (__cdecl * __signal_handler_t)(int);
1491
+ ! _CRTIMP __signal_handler_t __cdecl signal(__in int _SigNum, __in_opt __signal_handler_t);
1492
+ #endif
1493
+
1494
+ _CRTIMP int __cdecl raise(__in int _SigNum);
1495
+ Index: typeinfo
1496
+ ===================================================================
1497
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/typeinfo,v
1498
+ retrieving revision 1.1
1499
+ retrieving revision 1.2
1500
+ diff -c -3 -p -r1.1 -r1.2
1501
+ *** typeinfo 13 Feb 2007 15:03:08 -0000 1.1
1502
+ --- typeinfo 13 Feb 2007 16:09:18 -0000 1.2
1503
+ *************** struct __type_info_node {
1504
+ *** 40,45 ****
1505
+ --- 40,46 ----
1506
+
1507
+ extern __type_info_node __type_info_root_node;
1508
+
1509
+ + namespace std {
1510
+ class type_info {
1511
+ public:
1512
+ virtual ~type_info();
1513
+ *************** private:
1514
+ *** 56,61 ****
1515
+ --- 57,64 ----
1516
+ _CRTIMP_PURE static const char *__CLRCALL_OR_CDECL _Name_base(const type_info *,__type_info_node* __ptype_info_node);
1517
+ _CRTIMP_PURE static void __CLRCALL_OR_CDECL _Type_info_dtor(type_info *);
1518
+ };
1519
+ + }
1520
+ + using std::type_info;
1521
+
1522
+ #if _HAS_EXCEPTIONS
1523
+
1524
+ Index: vector
1525
+ ===================================================================
1526
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/vector,v
1527
+ retrieving revision 1.1
1528
+ retrieving revision 1.3
1529
+ diff -c -3 -p -r1.1 -r1.3
1530
+ *** vector 13 Feb 2007 15:03:08 -0000 1.1
1531
+ --- vector 10 Oct 2007 14:53:35 -0000 1.3
1532
+ *************** public:
1533
+ *** 1402,1408 ****
1534
+
1535
+ typename _MycontTy::size_type _My_actual_offset() const
1536
+ {
1537
+ ! _MycontTy::size_type _Off = this->_Myoff;
1538
+ _Off += _VBITS * (this->_Myptr - _My_cont_begin());
1539
+ return _Off;
1540
+ }
1541
+ --- 1402,1408 ----
1542
+
1543
+ typename _MycontTy::size_type _My_actual_offset() const
1544
+ {
1545
+ ! typename _MycontTy::size_type _Off = this->_Myoff;
1546
+ _Off += _VBITS * (this->_Myptr - _My_cont_begin());
1547
+ return _Off;
1548
+ }
1549
+ *************** public:
1550
+ *** 2169,2175 ****
1551
+
1552
+ void flip()
1553
+ { // toggle all elements
1554
+ ! for (_Vbtype::iterator _Next = _Myvec.begin();
1555
+ _Next != _Myvec.end(); ++_Next)
1556
+ *_Next = (_Vbase)~*_Next;
1557
+ _Trim(_Mysize);
1558
+ --- 2169,2175 ----
1559
+
1560
+ void flip()
1561
+ { // toggle all elements
1562
+ ! for (typename _Vbtype::iterator _Next = _Myvec.begin();
1563
+ _Next != _Myvec.end(); ++_Next)
1564
+ *_Next = (_Vbase)~*_Next;
1565
+ _Trim(_Mysize);
1566
+ Index: xdebug
1567
+ ===================================================================
1568
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xdebug,v
1569
+ retrieving revision 1.1
1570
+ retrieving revision 1.2
1571
+ diff -c -3 -p -r1.1 -r1.2
1572
+ *** xdebug 13 Feb 2007 15:03:08 -0000 1.1
1573
+ --- xdebug 10 Oct 2007 14:54:01 -0000 1.2
1574
+ *************** template<class _Ty>
1575
+ *** 55,61 ****
1576
+ --- 55,63 ----
1577
+ { // delete from the debug CRT heap even if operator delete exists
1578
+ if (_Ptr != 0)
1579
+ { // worth deleting
1580
+ + #if 0
1581
+ _Ptr->~_Ty();
1582
+ + #endif
1583
+ // delete as _NORMAL_BLOCK, not _CRT_BLOCK, since we might have
1584
+ // facets allocated by normal new.
1585
+ free(_Ptr);
1586
+ *************** public:
1587
+ *** 72,78 ****
1588
+ template<class _Other>
1589
+ struct rebind
1590
+ { // convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
1591
+ ! typedef typename _DebugHeapAllocator<_Other> other;
1592
+ };
1593
+
1594
+ typename allocator<_Ty>::pointer __CLRCALL_OR_CDECL allocate(typename allocator<_Ty>::size_type _Count, const void *)
1595
+ --- 74,80 ----
1596
+ template<class _Other>
1597
+ struct rebind
1598
+ { // convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
1599
+ ! typedef _DebugHeapAllocator<_Other> other;
1600
+ };
1601
+
1602
+ typename allocator<_Ty>::pointer __CLRCALL_OR_CDECL allocate(typename allocator<_Ty>::size_type _Count, const void *)
1603
+ Index: xhash
1604
+ ===================================================================
1605
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xhash,v
1606
+ retrieving revision 1.1
1607
+ retrieving revision 1.2
1608
+ diff -c -3 -p -r1.1 -r1.2
1609
+ *** xhash 13 Feb 2007 15:03:08 -0000 1.1
1610
+ --- xhash 10 Oct 2007 14:54:24 -0000 1.2
1611
+ *************** public:
1612
+ *** 231,237 ****
1613
+ }
1614
+
1615
+ protected:
1616
+ ! typename _Mylist::_Iterator<0> _Mypos;
1617
+ };
1618
+
1619
+ typedef _List_position _Myvec_value_type;
1620
+ --- 231,237 ----
1621
+ }
1622
+
1623
+ protected:
1624
+ ! typename _Mylist::template _Iterator<0>::_Iterator _Mypos;
1625
+ };
1626
+
1627
+ typedef _List_position _Myvec_value_type;
1628
+ Index: xlocale
1629
+ ===================================================================
1630
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xlocale,v
1631
+ retrieving revision 1.1
1632
+ retrieving revision 1.2
1633
+ diff -c -3 -p -r1.1 -r1.2
1634
+ *** xlocale 13 Feb 2007 15:03:08 -0000 1.1
1635
+ --- xlocale 13 Feb 2007 16:09:18 -0000 1.2
1636
+ *************** template<class _Dummy>
1637
+ *** 54,59 ****
1638
+ --- 54,61 ----
1639
+ class locale;
1640
+ template<class _Facet>
1641
+ const _Facet& __CRTDECL use_facet(const locale&);
1642
+ + template<class _Elem>
1643
+ + class collate;
1644
+
1645
+ // warning 4412 is benign here
1646
+ #pragma warning(push)
1647
+ Index: xstddef
1648
+ ===================================================================
1649
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xstddef,v
1650
+ retrieving revision 1.1
1651
+ retrieving revision 1.2
1652
+ diff -c -3 -p -r1.1 -r1.2
1653
+ *** xstddef 13 Feb 2007 15:03:08 -0000 1.1
1654
+ --- xstddef 13 Feb 2007 16:09:18 -0000 1.2
1655
+ *************** _STD_BEGIN
1656
+ *** 28,34 ****
1657
+ #define _RERAISE throw
1658
+
1659
+ #define _THROW0() throw ()
1660
+ ! #define _THROW1(x) throw (...)
1661
+
1662
+ #define _THROW(x, y) throw x(y)
1663
+ #define _THROW_NCEE(x, y) _THROW(x, y)
1664
+ --- 28,34 ----
1665
+ #define _RERAISE throw
1666
+
1667
+ #define _THROW0() throw ()
1668
+ ! #define _THROW1(x) throw (x)
1669
+
1670
+ #define _THROW(x, y) throw x(y)
1671
+ #define _THROW_NCEE(x, y) _THROW(x, y)
1672
+ Index: xutility
1673
+ ===================================================================
1674
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/xutility,v
1675
+ retrieving revision 1.1
1676
+ retrieving revision 1.5
1677
+ diff -c -3 -p -r1.1 -r1.5
1678
+ *** xutility 13 Feb 2007 15:03:08 -0000 1.1
1679
+ --- xutility 10 Oct 2007 14:54:53 -0000 1.5
1680
+ ***************
1681
+ *** 12,19 ****
1682
+ --- 12,48 ----
1683
+ #pragma warning(push,3)
1684
+ #endif /* _MSC_VER */
1685
+
1686
+ + /* GCC-XML simulation of MSVC builtin __is_base_of. */
1687
+ + #define __is_base_of(base, derived) \
1688
+ + __gccxml_is_base_of< base , derived >::value
1689
+ + template <class _Base, class _Derived>
1690
+ + struct __gccxml_is_base_of
1691
+ + {
1692
+ + typedef char(&yes_type)[1];
1693
+ + typedef char(&no_type)[2];
1694
+ + static yes_type check(_Base*);
1695
+ + static no_type check(const volatile void*);
1696
+ + static _Derived* derived();
1697
+ + static const bool value = sizeof(check(derived())) == sizeof(yes_type);
1698
+ + };
1699
+ +
1700
+ + /* ------------------------------------------------------------------------ */
1701
+ + /* Forward declare these now because they are used as non-dependent names. */
1702
+ + _STDEXT_BEGIN
1703
+ + template <class _Iterator> class checked_array_iterator;
1704
+ + template <class _Iter>
1705
+ + checked_array_iterator<_Iter> make_checked_array_iterator(_Iter _Ptr, size_t _Size);
1706
+ + _STDEXT_END
1707
+ + /* ------------------------------------------------------------------------ */
1708
+ +
1709
+ _STD_BEGIN
1710
+
1711
+ + /* ------------------------------------------------------------------------ */
1712
+ + /* Forward declare these now because they are used as non-dependent names. */
1713
+ + class out_of_range;
1714
+ + class invalid_argument;
1715
+ + /* ------------------------------------------------------------------------ */
1716
+ +
1717
+ // RANGE CHECKED ITERATOR TAGS
1718
+ struct _Unchecked_iterator_tag
1719
+ {
1720
+ *************** template<class _Iter1, class _Iter2> inl
1721
+ *** 838,845 ****
1722
+ __CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&)
1723
+ { // return category from iterator argument
1724
+ typename _Iter_random_helper<
1725
+ ! iterator_traits<_Iter1>::iterator_category,
1726
+ ! iterator_traits<_Iter2>::iterator_category>::_Iter_random_cat _Cat;
1727
+ return (_Cat);
1728
+ }
1729
+
1730
+ --- 867,874 ----
1731
+ __CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&)
1732
+ { // return category from iterator argument
1733
+ typename _Iter_random_helper<
1734
+ ! typename iterator_traits<_Iter1>::iterator_category,
1735
+ ! typename iterator_traits<_Iter2>::iterator_category>::_Iter_random_cat _Cat;
1736
+ return (_Cat);
1737
+ }
1738
+
1739
+ *************** template<class _Iter1, class _Iter2, cla
1740
+ *** 851,859 ****
1741
+ __CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&, const _Iter3&)
1742
+ { // return category from iterator argument
1743
+ typename _Iter_random_helper3<
1744
+ ! iterator_traits<_Iter1>::iterator_category,
1745
+ ! iterator_traits<_Iter2>::iterator_category,
1746
+ ! iterator_traits<_Iter3>::iterator_category>::_Iter_random_cat _Cat;
1747
+ return (_Cat);
1748
+ }
1749
+
1750
+ --- 880,888 ----
1751
+ __CLRCALL_OR_CDECL _Iter_random(const _Iter1&, const _Iter2&, const _Iter3&)
1752
+ { // return category from iterator argument
1753
+ typename _Iter_random_helper3<
1754
+ ! typename iterator_traits<_Iter1>::iterator_category,
1755
+ ! typename iterator_traits<_Iter2>::iterator_category,
1756
+ ! typename iterator_traits<_Iter3>::iterator_category>::_Iter_random_cat _Cat;
1757
+ return (_Cat);
1758
+ }
1759
+
1760
+ *************** public:
1761
+ *** 1743,1749 ****
1762
+
1763
+ _Checked_iterator_base_type _Checked_iterator_base() const
1764
+ {
1765
+ ! typename _Checked_iterator_base_type _Base(_CHECKED_BASE(current));
1766
+ return _Base;
1767
+ }
1768
+
1769
+ --- 1772,1778 ----
1770
+
1771
+ _Checked_iterator_base_type _Checked_iterator_base() const
1772
+ {
1773
+ ! _Checked_iterator_base_type _Base(_CHECKED_BASE(current));
1774
+ return _Base;
1775
+ }
1776
+
1777
+ *************** _STDEXT_END
1778
+ *** 3730,3736 ****
1779
+ #define _STR2WSTR(str) __STR2WSTR(str)
1780
+
1781
+ #define __FILEW__ _STR2WSTR(__FILE__)
1782
+ ! #define __FUNCTIONW__ _STR2WSTR(__FUNCTION__)
1783
+
1784
+ #if !defined(_W64)
1785
+ #if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
1786
+ --- 3759,3765 ----
1787
+ #define _STR2WSTR(str) __STR2WSTR(str)
1788
+
1789
+ #define __FILEW__ _STR2WSTR(__FILE__)
1790
+ ! #define __FUNCTIONW__ L"<GCCXML-DISABLED>"
1791
+
1792
+ #if !defined(_W64)
1793
+ #if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
1794
+ Index: yvals.h
1795
+ ===================================================================
1796
+ RCS file: /cvsroot/GxInclude/Vc8sp1/Include/yvals.h,v
1797
+ retrieving revision 1.1
1798
+ retrieving revision 1.4
1799
+ diff -c -3 -p -r1.1 -r1.4
1800
+ *** yvals.h 13 Feb 2007 15:03:08 -0000 1.1
1801
+ --- yvals.h 10 Oct 2007 14:55:16 -0000 1.4
1802
+ ***************
1803
+ *** 110,116 ****
1804
+ #define _STR2WSTR(str) __STR2WSTR(str)
1805
+
1806
+ #define __FILEW__ _STR2WSTR(__FILE__)
1807
+ ! #define __FUNCTIONW__ _STR2WSTR(__FUNCTION__)
1808
+
1809
+ /* _SECURE_SCL switches: default values */
1810
+
1811
+ --- 110,116 ----
1812
+ #define _STR2WSTR(str) __STR2WSTR(str)
1813
+
1814
+ #define __FILEW__ _STR2WSTR(__FILE__)
1815
+ ! #define __FUNCTIONW__ L"<GCCXML-DISABLED>"
1816
+
1817
+ /* _SECURE_SCL switches: default values */
1818
+
1819
+ ***************
1820
+ *** 175,180 ****
1821
+ --- 175,199 ----
1822
+
1823
+ #endif
1824
+
1825
+ + /* ------------------------------------------------------------------------ */
1826
+ + /* Forward declare these now because they are used as non-dependent names. */
1827
+ + #ifdef _DEBUG
1828
+ +
1829
+ + #if !defined(_NATIVE_WCHAR_T_DEFINED) && defined(_M_CEE_PURE)
1830
+ + extern "C++"
1831
+ + #else
1832
+ + extern "C"
1833
+ + #endif
1834
+ + _CRTIMP void __cdecl _invalid_parameter(const wchar_t *, const wchar_t *, const wchar_t *, unsigned int, uintptr_t);
1835
+ +
1836
+ + #else /* _DEBUG */
1837
+ +
1838
+ + extern "C"
1839
+ + _CRTIMP void __cdecl _invalid_parameter_noinfo(void);
1840
+ +
1841
+ + #endif /* def _DEBUG */
1842
+ + /* ------------------------------------------------------------------------ */
1843
+ +
1844
+ #if _SECURE_SCL_THROWS
1845
+
1846
+ #define _SCL_SECURE_INVALID_ARGUMENT_NO_ASSERT _Xinvarg()
1847
+ *************** _STD_END
1848
+ *** 518,525 ****
1849
+ /* VC++ COMPILER PARAMETERS */
1850
+ #define _LONGLONG __int64
1851
+ #define _ULONGLONG unsigned __int64
1852
+ ! #define _LLONG_MAX 0x7fffffffffffffff
1853
+ ! #define _ULLONG_MAX 0xffffffffffffffff
1854
+
1855
+ /* INTEGER PROPERTIES */
1856
+ #define _C2 1 /* 0 if not 2's complement */
1857
+ --- 537,544 ----
1858
+ /* VC++ COMPILER PARAMETERS */
1859
+ #define _LONGLONG __int64
1860
+ #define _ULONGLONG unsigned __int64
1861
+ ! #define _LLONG_MAX 0x7fffffffffffffffi64
1862
+ ! #define _ULLONG_MAX 0xffffffffffffffffui64
1863
+
1864
+ /* INTEGER PROPERTIES */
1865
+ #define _C2 1 /* 0 if not 2's complement */
1866
+ *************** public:
1867
+ *** 577,585 ****
1868
+ _Lockit_dtor(this);
1869
+ }
1870
+ #else
1871
+ ! explicit __thiscall _Lockit(); // set default lock
1872
+ ! explicit __thiscall _Lockit(int); // set the lock
1873
+ ! __thiscall ~_Lockit(); // clear the lock
1874
+ #endif
1875
+
1876
+ static _MRTIMP2_NPURE void __cdecl _Lockit_ctor(int);
1877
+ --- 596,604 ----
1878
+ _Lockit_dtor(this);
1879
+ }
1880
+ #else
1881
+ ! explicit _Lockit(); // set default lock
1882
+ ! explicit _Lockit(int); // set the lock
1883
+ ! ~_Lockit(); // clear the lock
1884
+ #endif
1885
+
1886
+ static _MRTIMP2_NPURE void __cdecl _Lockit_ctor(int);
1887
+ *************** public:
1888
+ *** 728,735 ****
1889
+ _Mutex_Unlock(this);
1890
+ }
1891
+ #else
1892
+ ! __thiscall _Mutex();
1893
+ ! __thiscall ~_Mutex();
1894
+ void __thiscall _Lock();
1895
+ void __thiscall _Unlock();
1896
+ #endif
1897
+ --- 747,754 ----
1898
+ _Mutex_Unlock(this);
1899
+ }
1900
+ #else
1901
+ ! _Mutex();
1902
+ ! ~_Mutex();
1903
+ void __thiscall _Lock();
1904
+ void __thiscall _Unlock();
1905
+ #endif
1906
+ *************** public:
1907
+ *** 772,779 ****
1908
+ _Init_locks_dtor(this);
1909
+ }
1910
+ #else
1911
+ ! __thiscall _Init_locks();
1912
+ ! __thiscall ~_Init_locks();
1913
+ #endif
1914
+
1915
+ private:
1916
+ --- 791,798 ----
1917
+ _Init_locks_dtor(this);
1918
+ }
1919
+ #else
1920
+ ! _Init_locks();
1921
+ ! ~_Init_locks();
1922
+ #endif
1923
+
1924
+ private:
1925
+ *************** typedef int _Mbstatet;
1926
+ *** 810,816 ****
1927
+ _C_STD_END
1928
+
1929
+ #define _EXTERN_TEMPLATE template
1930
+ ! #define _THROW_BAD_ALLOC _THROW1(...)
1931
+
1932
+ #ifdef _MSC_VER
1933
+ #pragma pack(pop)
1934
+ --- 829,835 ----
1935
+ _C_STD_END
1936
+
1937
+ #define _EXTERN_TEMPLATE template
1938
+ ! #define _THROW_BAD_ALLOC
1939
+
1940
+ #ifdef _MSC_VER
1941
+ #pragma pack(pop)