@dittolive/ditto 4.5.0 → 4.5.1-experimental.aarch64-linux.1.aarch64

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 (289) hide show
  1. package/README.md +2 -2
  2. package/node/ditto.cjs.js +2 -9620
  3. package/node/{ditto.linux-x64.node → ditto.linux-arm64.node} +0 -0
  4. package/package.json +38 -34
  5. package/types/ditto.d.ts +0 -2
  6. package/web/ditto.es6.js +1 -1
  7. package/web/ditto.umd.js +1 -1
  8. package/web/ditto.wasm +0 -0
  9. package/DittoReactNative.podspec +0 -27
  10. package/node/ditto.darwin-arm64.node +0 -0
  11. package/node/ditto.darwin-x64.node +0 -0
  12. package/node/ditto.linux-arm.node +0 -0
  13. package/node/ditto.win32-x64.node +0 -0
  14. package/node/transports.darwin-arm64.node +0 -0
  15. package/node/transports.darwin-x64.node +0 -0
  16. package/react-native/android/CMakeLists.txt +0 -37
  17. package/react-native/android/build.gradle +0 -203
  18. package/react-native/android/cpp-adapter.cpp +0 -254
  19. package/react-native/android/gradle.properties +0 -5
  20. package/react-native/android/src/main/AndroidManifest.xml +0 -4
  21. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKModule.java +0 -85
  22. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKPackage.java +0 -28
  23. package/react-native/boost/boost/assert.hpp +0 -85
  24. package/react-native/boost/boost/config/abi/borland_prefix.hpp +0 -27
  25. package/react-native/boost/boost/config/abi/borland_suffix.hpp +0 -12
  26. package/react-native/boost/boost/config/abi/msvc_prefix.hpp +0 -22
  27. package/react-native/boost/boost/config/abi/msvc_suffix.hpp +0 -8
  28. package/react-native/boost/boost/config/abi_prefix.hpp +0 -25
  29. package/react-native/boost/boost/config/abi_suffix.hpp +0 -25
  30. package/react-native/boost/boost/config/assert_cxx03.hpp +0 -211
  31. package/react-native/boost/boost/config/assert_cxx11.hpp +0 -209
  32. package/react-native/boost/boost/config/assert_cxx14.hpp +0 -47
  33. package/react-native/boost/boost/config/assert_cxx17.hpp +0 -62
  34. package/react-native/boost/boost/config/assert_cxx20.hpp +0 -59
  35. package/react-native/boost/boost/config/assert_cxx98.hpp +0 -23
  36. package/react-native/boost/boost/config/auto_link.hpp +0 -525
  37. package/react-native/boost/boost/config/compiler/borland.hpp +0 -339
  38. package/react-native/boost/boost/config/compiler/clang.hpp +0 -366
  39. package/react-native/boost/boost/config/compiler/clang_version.hpp +0 -83
  40. package/react-native/boost/boost/config/compiler/codegear.hpp +0 -385
  41. package/react-native/boost/boost/config/compiler/comeau.hpp +0 -59
  42. package/react-native/boost/boost/config/compiler/common_edg.hpp +0 -183
  43. package/react-native/boost/boost/config/compiler/compaq_cxx.hpp +0 -19
  44. package/react-native/boost/boost/config/compiler/cray.hpp +0 -446
  45. package/react-native/boost/boost/config/compiler/diab.hpp +0 -26
  46. package/react-native/boost/boost/config/compiler/digitalmars.hpp +0 -143
  47. package/react-native/boost/boost/config/compiler/gcc.hpp +0 -383
  48. package/react-native/boost/boost/config/compiler/gcc_xml.hpp +0 -114
  49. package/react-native/boost/boost/config/compiler/greenhills.hpp +0 -28
  50. package/react-native/boost/boost/config/compiler/hp_acc.hpp +0 -149
  51. package/react-native/boost/boost/config/compiler/intel.hpp +0 -577
  52. package/react-native/boost/boost/config/compiler/kai.hpp +0 -33
  53. package/react-native/boost/boost/config/compiler/metrowerks.hpp +0 -198
  54. package/react-native/boost/boost/config/compiler/mpw.hpp +0 -140
  55. package/react-native/boost/boost/config/compiler/nvcc.hpp +0 -61
  56. package/react-native/boost/boost/config/compiler/pathscale.hpp +0 -138
  57. package/react-native/boost/boost/config/compiler/pgi.hpp +0 -23
  58. package/react-native/boost/boost/config/compiler/sgi_mipspro.hpp +0 -29
  59. package/react-native/boost/boost/config/compiler/sunpro_cc.hpp +0 -222
  60. package/react-native/boost/boost/config/compiler/vacpp.hpp +0 -186
  61. package/react-native/boost/boost/config/compiler/visualc.hpp +0 -391
  62. package/react-native/boost/boost/config/compiler/xlcpp.hpp +0 -299
  63. package/react-native/boost/boost/config/compiler/xlcpp_zos.hpp +0 -173
  64. package/react-native/boost/boost/config/detail/cxx_composite.hpp +0 -203
  65. package/react-native/boost/boost/config/detail/posix_features.hpp +0 -95
  66. package/react-native/boost/boost/config/detail/select_compiler_config.hpp +0 -157
  67. package/react-native/boost/boost/config/detail/select_platform_config.hpp +0 -147
  68. package/react-native/boost/boost/config/detail/select_stdlib_config.hpp +0 -121
  69. package/react-native/boost/boost/config/detail/suffix.hpp +0 -1294
  70. package/react-native/boost/boost/config/header_deprecated.hpp +0 -26
  71. package/react-native/boost/boost/config/helper_macros.hpp +0 -37
  72. package/react-native/boost/boost/config/no_tr1/cmath.hpp +0 -28
  73. package/react-native/boost/boost/config/no_tr1/complex.hpp +0 -28
  74. package/react-native/boost/boost/config/no_tr1/functional.hpp +0 -28
  75. package/react-native/boost/boost/config/no_tr1/memory.hpp +0 -28
  76. package/react-native/boost/boost/config/no_tr1/utility.hpp +0 -28
  77. package/react-native/boost/boost/config/platform/aix.hpp +0 -33
  78. package/react-native/boost/boost/config/platform/amigaos.hpp +0 -15
  79. package/react-native/boost/boost/config/platform/beos.hpp +0 -26
  80. package/react-native/boost/boost/config/platform/bsd.hpp +0 -83
  81. package/react-native/boost/boost/config/platform/cloudabi.hpp +0 -18
  82. package/react-native/boost/boost/config/platform/cray.hpp +0 -18
  83. package/react-native/boost/boost/config/platform/cygwin.hpp +0 -71
  84. package/react-native/boost/boost/config/platform/haiku.hpp +0 -31
  85. package/react-native/boost/boost/config/platform/hpux.hpp +0 -87
  86. package/react-native/boost/boost/config/platform/irix.hpp +0 -31
  87. package/react-native/boost/boost/config/platform/linux.hpp +0 -106
  88. package/react-native/boost/boost/config/platform/macos.hpp +0 -87
  89. package/react-native/boost/boost/config/platform/qnxnto.hpp +0 -31
  90. package/react-native/boost/boost/config/platform/solaris.hpp +0 -31
  91. package/react-native/boost/boost/config/platform/symbian.hpp +0 -97
  92. package/react-native/boost/boost/config/platform/vms.hpp +0 -25
  93. package/react-native/boost/boost/config/platform/vxworks.hpp +0 -422
  94. package/react-native/boost/boost/config/platform/wasm.hpp +0 -23
  95. package/react-native/boost/boost/config/platform/win32.hpp +0 -90
  96. package/react-native/boost/boost/config/platform/zos.hpp +0 -32
  97. package/react-native/boost/boost/config/pragma_message.hpp +0 -31
  98. package/react-native/boost/boost/config/requires_threads.hpp +0 -92
  99. package/react-native/boost/boost/config/stdlib/dinkumware.hpp +0 -324
  100. package/react-native/boost/boost/config/stdlib/libcomo.hpp +0 -93
  101. package/react-native/boost/boost/config/stdlib/libcpp.hpp +0 -180
  102. package/react-native/boost/boost/config/stdlib/libstdcpp3.hpp +0 -482
  103. package/react-native/boost/boost/config/stdlib/modena.hpp +0 -79
  104. package/react-native/boost/boost/config/stdlib/msl.hpp +0 -98
  105. package/react-native/boost/boost/config/stdlib/roguewave.hpp +0 -208
  106. package/react-native/boost/boost/config/stdlib/sgi.hpp +0 -168
  107. package/react-native/boost/boost/config/stdlib/stlport.hpp +0 -258
  108. package/react-native/boost/boost/config/stdlib/vacpp.hpp +0 -74
  109. package/react-native/boost/boost/config/stdlib/xlcpp_zos.hpp +0 -61
  110. package/react-native/boost/boost/config/user.hpp +0 -133
  111. package/react-native/boost/boost/config/warning_disable.hpp +0 -47
  112. package/react-native/boost/boost/config/workaround.hpp +0 -305
  113. package/react-native/boost/boost/config.hpp +0 -67
  114. package/react-native/boost/boost/cstdint.hpp +0 -556
  115. package/react-native/boost/boost/intrusive_ptr.hpp +0 -18
  116. package/react-native/boost/boost/smart_ptr/detail/atomic_count.hpp +0 -103
  117. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp +0 -79
  118. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +0 -63
  119. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +0 -88
  120. package/react-native/boost/boost/smart_ptr/detail/atomic_count_nt.hpp +0 -66
  121. package/react-native/boost/boost/smart_ptr/detail/atomic_count_pt.hpp +0 -104
  122. package/react-native/boost/boost/smart_ptr/detail/atomic_count_spin.hpp +0 -69
  123. package/react-native/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +0 -67
  124. package/react-native/boost/boost/smart_ptr/detail/atomic_count_sync.hpp +0 -72
  125. package/react-native/boost/boost/smart_ptr/detail/atomic_count_win32.hpp +0 -70
  126. package/react-native/boost/boost/smart_ptr/detail/local_counted_base.hpp +0 -148
  127. package/react-native/boost/boost/smart_ptr/detail/local_sp_deleter.hpp +0 -91
  128. package/react-native/boost/boost/smart_ptr/detail/operator_bool.hpp +0 -64
  129. package/react-native/boost/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
  130. package/react-native/boost/boost/smart_ptr/detail/shared_count.hpp +0 -707
  131. package/react-native/boost/boost/smart_ptr/detail/sp_convertible.hpp +0 -92
  132. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base.hpp +0 -92
  133. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +0 -163
  134. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp +0 -152
  135. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +0 -185
  136. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +0 -148
  137. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +0 -170
  138. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +0 -200
  139. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +0 -194
  140. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +0 -179
  141. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +0 -186
  142. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp +0 -119
  143. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp +0 -147
  144. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +0 -174
  145. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp +0 -141
  146. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +0 -147
  147. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp +0 -165
  148. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +0 -163
  149. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp +0 -140
  150. package/react-native/boost/boost/smart_ptr/detail/sp_counted_impl.hpp +0 -309
  151. package/react-native/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp +0 -40
  152. package/react-native/boost/boost/smart_ptr/detail/sp_forward.hpp +0 -52
  153. package/react-native/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +0 -27
  154. package/react-native/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +0 -69
  155. package/react-native/boost/boost/smart_ptr/detail/sp_interlocked.hpp +0 -173
  156. package/react-native/boost/boost/smart_ptr/detail/sp_noexcept.hpp +0 -48
  157. package/react-native/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
  158. package/react-native/boost/boost/smart_ptr/detail/sp_obsolete.hpp +0 -32
  159. package/react-native/boost/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
  160. package/react-native/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp +0 -104
  161. package/react-native/boost/boost/smart_ptr/detail/sp_thread_yield.hpp +0 -100
  162. package/react-native/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp +0 -58
  163. package/react-native/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp +0 -49
  164. package/react-native/boost/boost/smart_ptr/intrusive_ptr.hpp +0 -409
  165. package/react-native/boost/boost/smart_ptr/intrusive_ref_counter.hpp +0 -188
  166. package/react-native/cpp/include/Attachment.h +0 -16
  167. package/react-native/cpp/include/Authentication.h +0 -23
  168. package/react-native/cpp/include/Collection.h +0 -13
  169. package/react-native/cpp/include/DQL.h +0 -21
  170. package/react-native/cpp/include/Document.h +0 -17
  171. package/react-native/cpp/include/Identity.h +0 -17
  172. package/react-native/cpp/include/Lifecycle.h +0 -16
  173. package/react-native/cpp/include/LiveQuery.h +0 -17
  174. package/react-native/cpp/include/Logger.h +0 -22
  175. package/react-native/cpp/include/Misc.h +0 -26
  176. package/react-native/cpp/include/Presence.h +0 -14
  177. package/react-native/cpp/include/RetainableState.h +0 -24
  178. package/react-native/cpp/include/SmallPeerInfo.h +0 -17
  179. package/react-native/cpp/include/Transports.h +0 -25
  180. package/react-native/cpp/include/TypedArray.hpp +0 -167
  181. package/react-native/cpp/include/Utils.h +0 -61
  182. package/react-native/cpp/include/main.h +0 -10
  183. package/react-native/cpp/src/Attachment.cpp +0 -86
  184. package/react-native/cpp/src/Authentication.cpp +0 -224
  185. package/react-native/cpp/src/Collection.cpp +0 -54
  186. package/react-native/cpp/src/DQL.cpp +0 -254
  187. package/react-native/cpp/src/Document.cpp +0 -146
  188. package/react-native/cpp/src/Identity.cpp +0 -123
  189. package/react-native/cpp/src/Lifecycle.cpp +0 -75
  190. package/react-native/cpp/src/LiveQuery.cpp +0 -64
  191. package/react-native/cpp/src/Logger.cpp +0 -200
  192. package/react-native/cpp/src/Misc.cpp +0 -271
  193. package/react-native/cpp/src/Presence.cpp +0 -77
  194. package/react-native/cpp/src/RetainableState.cpp +0 -15
  195. package/react-native/cpp/src/SmallPeerInfo.cpp +0 -108
  196. package/react-native/cpp/src/Transports.cpp +0 -270
  197. package/react-native/cpp/src/TypedArray.cpp +0 -303
  198. package/react-native/cpp/src/Utils.cpp +0 -138
  199. package/react-native/cpp/src/main.cpp +0 -149
  200. package/react-native/dittoffi/dittoffi.h +0 -4698
  201. package/react-native/dittoffi/ifaddrs.cpp +0 -385
  202. package/react-native/dittoffi/ifaddrs.h +0 -206
  203. package/react-native/ios/DittoRNSDK.h +0 -7
  204. package/react-native/ios/DittoRNSDK.mm +0 -107
  205. package/react-native/ios/YeetJSIUtils.h +0 -60
  206. package/react-native/ios/YeetJSIUtils.mm +0 -196
  207. package/react-native/lib/commonjs/ditto.rn.js +0 -93
  208. package/react-native/lib/commonjs/ditto.rn.js.map +0 -1
  209. package/react-native/lib/commonjs/index.js +0 -14
  210. package/react-native/lib/commonjs/index.js.map +0 -1
  211. package/react-native/lib/module/ditto.rn.js +0 -83
  212. package/react-native/lib/module/ditto.rn.js.map +0 -1
  213. package/react-native/lib/module/index.js +0 -13
  214. package/react-native/lib/module/index.js.map +0 -1
  215. package/react-native/lib/typescript/ditto.rn.d.ts +0 -15
  216. package/react-native/lib/typescript/ditto.rn.d.ts.map +0 -1
  217. package/react-native/lib/typescript/index.d.ts +0 -1
  218. package/react-native/lib/typescript/index.d.ts.map +0 -1
  219. package/react-native/scripts/ruby/include_local_boost.rb +0 -78
  220. package/react-native/src/ditto.rn.ts +0 -91
  221. package/react-native/src/environment/environment.fallback.ts +0 -4
  222. package/react-native/src/index.ts +0 -26
  223. package/react-native/src/sources/@cbor-redux.ts +0 -2
  224. package/react-native/src/sources/@ditto.core.ts +0 -1
  225. package/react-native/src/sources/@environment.ts +0 -2
  226. package/react-native/src/sources/attachment-fetch-event.ts +0 -54
  227. package/react-native/src/sources/attachment-fetcher-manager.ts +0 -129
  228. package/react-native/src/sources/attachment-fetcher.ts +0 -124
  229. package/react-native/src/sources/attachment-token.ts +0 -48
  230. package/react-native/src/sources/attachment.ts +0 -59
  231. package/react-native/src/sources/augment.ts +0 -89
  232. package/react-native/src/sources/authenticator.ts +0 -314
  233. package/react-native/src/sources/base-pending-cursor-operation.ts +0 -237
  234. package/react-native/src/sources/base-pending-id-specific-operation.ts +0 -109
  235. package/react-native/src/sources/bridge.ts +0 -549
  236. package/react-native/src/sources/build-time-constants.ts +0 -4
  237. package/react-native/src/sources/cbor.ts +0 -35
  238. package/react-native/src/sources/collection-interface.ts +0 -67
  239. package/react-native/src/sources/collection.ts +0 -212
  240. package/react-native/src/sources/collections-event.ts +0 -99
  241. package/react-native/src/sources/counter.ts +0 -77
  242. package/react-native/src/sources/ditto.ts +0 -945
  243. package/react-native/src/sources/document-id.ts +0 -159
  244. package/react-native/src/sources/document-path.ts +0 -303
  245. package/react-native/src/sources/document.ts +0 -192
  246. package/react-native/src/sources/epilogue.ts +0 -24
  247. package/react-native/src/sources/error-codes.ts +0 -52
  248. package/react-native/src/sources/error.ts +0 -203
  249. package/react-native/src/sources/essentials.ts +0 -53
  250. package/react-native/src/sources/ffi-error.ts +0 -117
  251. package/react-native/src/sources/ffi.ts +0 -1972
  252. package/react-native/src/sources/identity.ts +0 -163
  253. package/react-native/src/sources/init.ts +0 -70
  254. package/react-native/src/sources/internal.ts +0 -113
  255. package/react-native/src/sources/keep-alive.ts +0 -69
  256. package/react-native/src/sources/key-path.ts +0 -195
  257. package/react-native/src/sources/live-query-event.ts +0 -208
  258. package/react-native/src/sources/live-query-manager.ts +0 -101
  259. package/react-native/src/sources/live-query.ts +0 -164
  260. package/react-native/src/sources/logger.ts +0 -196
  261. package/react-native/src/sources/observer-manager.ts +0 -175
  262. package/react-native/src/sources/observer.ts +0 -77
  263. package/react-native/src/sources/pending-collections-operation.ts +0 -232
  264. package/react-native/src/sources/pending-cursor-operation.ts +0 -218
  265. package/react-native/src/sources/pending-id-specific-operation.ts +0 -216
  266. package/react-native/src/sources/presence-manager.ts +0 -160
  267. package/react-native/src/sources/presence.ts +0 -238
  268. package/react-native/src/sources/query-result-item.ts +0 -116
  269. package/react-native/src/sources/query-result.ts +0 -55
  270. package/react-native/src/sources/register.ts +0 -92
  271. package/react-native/src/sources/small-peer-info.ts +0 -176
  272. package/react-native/src/sources/static-tcp-client.ts +0 -6
  273. package/react-native/src/sources/store-observer.ts +0 -176
  274. package/react-native/src/sources/store.ts +0 -365
  275. package/react-native/src/sources/subscription-manager.ts +0 -98
  276. package/react-native/src/sources/subscription.ts +0 -88
  277. package/react-native/src/sources/sync-subscription.ts +0 -90
  278. package/react-native/src/sources/sync.ts +0 -495
  279. package/react-native/src/sources/test-helpers.ts +0 -24
  280. package/react-native/src/sources/transport-conditions-manager.ts +0 -104
  281. package/react-native/src/sources/transport-config.ts +0 -428
  282. package/react-native/src/sources/update-result.ts +0 -66
  283. package/react-native/src/sources/update-results-map.ts +0 -57
  284. package/react-native/src/sources/websocket-client.ts +0 -6
  285. package/react-native/src/sources/write-transaction-collection.ts +0 -122
  286. package/react-native/src/sources/write-transaction-pending-cursor-operation.ts +0 -101
  287. package/react-native/src/sources/write-transaction-pending-id-specific-operation.ts +0 -72
  288. package/react-native/src/sources/write-transaction.ts +0 -119
  289. package/react-native.config.js +0 -9
@@ -1,525 +0,0 @@
1
- // (C) Copyright John Maddock 2003.
2
- // Use, modification and distribution are subject to the
3
- // Boost Software License, Version 1.0. (See accompanying file
4
- // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
-
6
- /*
7
- * LOCATION: see http://www.boost.org for most recent version.
8
- * FILE auto_link.hpp
9
- * VERSION see <boost/version.hpp>
10
- * DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
11
- */
12
-
13
- /*************************************************************************
14
-
15
- USAGE:
16
- ~~~~~~
17
-
18
- Before including this header you must define one or more of define the following macros:
19
-
20
- BOOST_LIB_NAME: Required: A string containing the basename of the library,
21
- for example boost_regex.
22
- BOOST_LIB_TOOLSET: Optional: the base name of the toolset.
23
- BOOST_DYN_LINK: Optional: when set link to dll rather than static library.
24
- BOOST_LIB_DIAGNOSTIC: Optional: when set the header will print out the name
25
- of the library selected (useful for debugging).
26
- BOOST_AUTO_LINK_NOMANGLE: Specifies that we should link to BOOST_LIB_NAME.lib,
27
- rather than a mangled-name version.
28
- BOOST_AUTO_LINK_TAGGED: Specifies that we link to libraries built with the --layout=tagged option.
29
- This is essentially the same as the default name-mangled version, but without
30
- the compiler name and version, or the Boost version. Just the build options.
31
- BOOST_AUTO_LINK_SYSTEM: Specifies that we link to libraries built with the --layout=system option.
32
- This is essentially the same as the non-name-mangled version, but with
33
- the prefix to differentiate static and dll builds
34
-
35
- These macros will be undef'ed at the end of the header, further this header
36
- has no include guards - so be sure to include it only once from your library!
37
-
38
- Algorithm:
39
- ~~~~~~~~~~
40
-
41
- Libraries for Borland and Microsoft compilers are automatically
42
- selected here, the name of the lib is selected according to the following
43
- formula:
44
-
45
- BOOST_LIB_PREFIX
46
- + BOOST_LIB_NAME
47
- + "_"
48
- + BOOST_LIB_TOOLSET
49
- + BOOST_LIB_THREAD_OPT
50
- + BOOST_LIB_RT_OPT
51
- + BOOST_LIB_ARCH_AND_MODEL_OPT
52
- "-"
53
- + BOOST_LIB_VERSION
54
- + BOOST_LIB_SUFFIX
55
-
56
- These are defined as:
57
-
58
- BOOST_LIB_PREFIX: "lib" for static libraries otherwise "".
59
-
60
- BOOST_LIB_NAME: The base name of the lib ( for example boost_regex).
61
-
62
- BOOST_LIB_TOOLSET: The compiler toolset name (vc6, vc7, bcb5 etc).
63
-
64
- BOOST_LIB_THREAD_OPT: "-mt" for multithread builds, otherwise nothing.
65
-
66
- BOOST_LIB_RT_OPT: A suffix that indicates the runtime library used,
67
- contains one or more of the following letters after
68
- a hyphen:
69
-
70
- s static runtime (dynamic if not present).
71
- g debug/diagnostic runtime (release if not present).
72
- y Python debug/diagnostic runtime (release if not present).
73
- d debug build (release if not present).
74
- p STLport build.
75
- n STLport build without its IOStreams.
76
-
77
- BOOST_LIB_ARCH_AND_MODEL_OPT: The architecture and address model
78
- (-x32 or -x64 for x86/32 and x86/64 respectively)
79
-
80
- BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
81
-
82
- BOOST_LIB_SUFFIX: Static/import libraries extension (".lib", ".a") for the compiler.
83
-
84
- ***************************************************************************/
85
-
86
- #ifdef __cplusplus
87
- # ifndef BOOST_CONFIG_HPP
88
- # include <boost/config.hpp>
89
- # endif
90
- #elif defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__EDG_VERSION__)
91
- //
92
- // C language compatability (no, honestly)
93
- //
94
- # define BOOST_MSVC _MSC_VER
95
- # define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
96
- # define BOOST_DO_STRINGIZE(X) #X
97
- #endif
98
- //
99
- // Only include what follows for known and supported compilers:
100
- //
101
- #if defined(BOOST_MSVC) \
102
- || defined(BOOST_EMBTC_WINDOWS) \
103
- || defined(BOOST_BORLANDC) \
104
- || (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) \
105
- || (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200)) \
106
- || (defined(BOOST_CLANG) && defined(BOOST_WINDOWS) && defined(_MSC_VER) && (__clang_major__ >= 4))
107
-
108
- #ifndef BOOST_VERSION_HPP
109
- # include <boost/version.hpp>
110
- #endif
111
-
112
- #ifndef BOOST_LIB_NAME
113
- # error "Macro BOOST_LIB_NAME not set (internal error)"
114
- #endif
115
-
116
- //
117
- // error check:
118
- //
119
- #if defined(__MSVC_RUNTIME_CHECKS) && !defined(_DEBUG)
120
- # pragma message("Using the /RTC option without specifying a debug runtime will lead to linker errors")
121
- # pragma message("Hint: go to the code generation options and switch to one of the debugging runtimes")
122
- # error "Incompatible build options"
123
- #endif
124
- //
125
- // select toolset if not defined already:
126
- //
127
- #ifndef BOOST_LIB_TOOLSET
128
- # if defined(BOOST_MSVC) && (BOOST_MSVC < 1200)
129
- // Note: no compilers before 1200 are supported
130
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
131
-
132
- # ifdef UNDER_CE
133
- // eVC4:
134
- # define BOOST_LIB_TOOLSET "evc4"
135
- # else
136
- // vc6:
137
- # define BOOST_LIB_TOOLSET "vc6"
138
- # endif
139
-
140
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1310)
141
-
142
- // vc7:
143
- # define BOOST_LIB_TOOLSET "vc7"
144
-
145
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1400)
146
-
147
- // vc71:
148
- # define BOOST_LIB_TOOLSET "vc71"
149
-
150
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1500)
151
-
152
- // vc80:
153
- # define BOOST_LIB_TOOLSET "vc80"
154
-
155
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1600)
156
-
157
- // vc90:
158
- # define BOOST_LIB_TOOLSET "vc90"
159
-
160
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1700)
161
-
162
- // vc10:
163
- # define BOOST_LIB_TOOLSET "vc100"
164
-
165
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1800)
166
-
167
- // vc11:
168
- # define BOOST_LIB_TOOLSET "vc110"
169
-
170
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1900)
171
-
172
- // vc12:
173
- # define BOOST_LIB_TOOLSET "vc120"
174
-
175
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1910)
176
-
177
- // vc14:
178
- # define BOOST_LIB_TOOLSET "vc140"
179
-
180
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1920)
181
-
182
- // vc14.1:
183
- # define BOOST_LIB_TOOLSET "vc141"
184
-
185
- # elif defined(BOOST_MSVC) && (BOOST_MSVC < 1930)
186
-
187
- // vc14.2:
188
- # define BOOST_LIB_TOOLSET "vc142"
189
-
190
- # elif defined(BOOST_MSVC)
191
-
192
- // vc14.3:
193
- # define BOOST_LIB_TOOLSET "vc143"
194
-
195
- # elif defined(BOOST_EMBTC_WINDOWS)
196
-
197
- // Embarcadero Clang based compilers:
198
- # define BOOST_LIB_TOOLSET "embtc"
199
-
200
- # elif defined(BOOST_BORLANDC)
201
-
202
- // CBuilder 6:
203
- # define BOOST_LIB_TOOLSET "bcb"
204
-
205
- # elif defined(__ICL)
206
-
207
- // Intel C++, no version number:
208
- # define BOOST_LIB_TOOLSET "iw"
209
-
210
- # elif defined(__MWERKS__) && (__MWERKS__ <= 0x31FF )
211
-
212
- // Metrowerks CodeWarrior 8.x
213
- # define BOOST_LIB_TOOLSET "cw8"
214
-
215
- # elif defined(__MWERKS__) && (__MWERKS__ <= 0x32FF )
216
-
217
- // Metrowerks CodeWarrior 9.x
218
- # define BOOST_LIB_TOOLSET "cw9"
219
-
220
- # elif defined(BOOST_CLANG) && defined(BOOST_WINDOWS) && defined(_MSC_VER) && (__clang_major__ >= 4)
221
-
222
- // Clang on Windows
223
- # define BOOST_LIB_TOOLSET "clangw" BOOST_STRINGIZE(__clang_major__)
224
-
225
- # endif
226
- #endif // BOOST_LIB_TOOLSET
227
-
228
- //
229
- // select thread opt:
230
- //
231
- #if defined(_MT) || defined(__MT__)
232
- # define BOOST_LIB_THREAD_OPT "-mt"
233
- #else
234
- # define BOOST_LIB_THREAD_OPT
235
- #endif
236
-
237
- #if defined(_MSC_VER) || defined(__MWERKS__)
238
-
239
- # ifdef _DLL
240
-
241
- # if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
242
-
243
- # if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
244
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
245
- # define BOOST_LIB_RT_OPT "-gydp"
246
- # elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
247
- # define BOOST_LIB_RT_OPT "-gdp"
248
- # elif defined(_DEBUG)\
249
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
250
- # define BOOST_LIB_RT_OPT "-gydp"
251
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
252
- # error "Build options aren't compatible with pre-built libraries"
253
- # elif defined(_DEBUG)
254
- # define BOOST_LIB_RT_OPT "-gdp"
255
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
256
- # error "Build options aren't compatible with pre-built libraries"
257
- # else
258
- # define BOOST_LIB_RT_OPT "-p"
259
- # endif
260
-
261
- # elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
262
-
263
- # if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
264
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
265
- # define BOOST_LIB_RT_OPT "-gydpn"
266
- # elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
267
- # define BOOST_LIB_RT_OPT "-gdpn"
268
- # elif defined(_DEBUG)\
269
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
270
- # define BOOST_LIB_RT_OPT "-gydpn"
271
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
272
- # error "Build options aren't compatible with pre-built libraries"
273
- # elif defined(_DEBUG)
274
- # define BOOST_LIB_RT_OPT "-gdpn"
275
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
276
- # error "Build options aren't compatible with pre-built libraries"
277
- # else
278
- # define BOOST_LIB_RT_OPT "-pn"
279
- # endif
280
-
281
- # else
282
-
283
- # if defined(_DEBUG) && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
284
- # define BOOST_LIB_RT_OPT "-gyd"
285
- # elif defined(_DEBUG)
286
- # define BOOST_LIB_RT_OPT "-gd"
287
- # else
288
- # define BOOST_LIB_RT_OPT
289
- # endif
290
-
291
- # endif
292
-
293
- # else
294
-
295
- # if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && (defined(_STLP_OWN_IOSTREAMS) || defined(__STL_OWN_IOSTREAMS))
296
-
297
- # if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
298
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
299
- # define BOOST_LIB_RT_OPT "-sgydp"
300
- # elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
301
- # define BOOST_LIB_RT_OPT "-sgdp"
302
- # elif defined(_DEBUG)\
303
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
304
- # define BOOST_LIB_RT_OPT "-sgydp"
305
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
306
- # error "Build options aren't compatible with pre-built libraries"
307
- # elif defined(_DEBUG)
308
- # define BOOST_LIB_RT_OPT "-sgdp"
309
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
310
- # error "Build options aren't compatible with pre-built libraries"
311
- # else
312
- # define BOOST_LIB_RT_OPT "-sp"
313
- # endif
314
-
315
- # elif defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
316
-
317
- # if defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))\
318
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
319
- # define BOOST_LIB_RT_OPT "-sgydpn"
320
- # elif defined(_DEBUG) && (defined(__STL_DEBUG) || defined(_STLP_DEBUG))
321
- # define BOOST_LIB_RT_OPT "-sgdpn"
322
- # elif defined(_DEBUG)\
323
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
324
- # define BOOST_LIB_RT_OPT "-sgydpn"
325
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
326
- # error "Build options aren't compatible with pre-built libraries"
327
- # elif defined(_DEBUG)
328
- # define BOOST_LIB_RT_OPT "-sgdpn"
329
- # pragma message("warning: STLport debug versions are built with /D_STLP_DEBUG=1")
330
- # error "Build options aren't compatible with pre-built libraries"
331
- # else
332
- # define BOOST_LIB_RT_OPT "-spn"
333
- # endif
334
-
335
- # else
336
-
337
- # if defined(_DEBUG)\
338
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
339
- # define BOOST_LIB_RT_OPT "-sgyd"
340
- # elif defined(_DEBUG)
341
- # define BOOST_LIB_RT_OPT "-sgd"
342
- # else
343
- # define BOOST_LIB_RT_OPT "-s"
344
- # endif
345
-
346
- # endif
347
-
348
- # endif
349
-
350
- #elif defined(BOOST_EMBTC_WINDOWS)
351
-
352
- # ifdef _RTLDLL
353
-
354
- # if defined(_DEBUG)
355
- # define BOOST_LIB_RT_OPT "-d"
356
- # else
357
- # define BOOST_LIB_RT_OPT
358
- # endif
359
-
360
- # else
361
-
362
- # if defined(_DEBUG)
363
- # define BOOST_LIB_RT_OPT "-sd"
364
- # else
365
- # define BOOST_LIB_RT_OPT "-s"
366
- # endif
367
-
368
- # endif
369
-
370
- #elif defined(BOOST_BORLANDC)
371
-
372
- //
373
- // figure out whether we want the debug builds or not:
374
- //
375
- #if BOOST_BORLANDC > 0x561
376
- #pragma defineonoption BOOST_BORLAND_DEBUG -v
377
- #endif
378
- //
379
- // sanity check:
380
- //
381
- #if defined(__STL_DEBUG) || defined(_STLP_DEBUG)
382
- #error "Pre-built versions of the Boost libraries are not provided in STLport-debug form"
383
- #endif
384
-
385
- # ifdef _RTLDLL
386
-
387
- # if defined(BOOST_BORLAND_DEBUG)\
388
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
389
- # define BOOST_LIB_RT_OPT "-yd"
390
- # elif defined(BOOST_BORLAND_DEBUG)
391
- # define BOOST_LIB_RT_OPT "-d"
392
- # elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
393
- # define BOOST_LIB_RT_OPT "-y"
394
- # else
395
- # define BOOST_LIB_RT_OPT
396
- # endif
397
-
398
- # else
399
-
400
- # if defined(BOOST_BORLAND_DEBUG)\
401
- && defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
402
- # define BOOST_LIB_RT_OPT "-syd"
403
- # elif defined(BOOST_BORLAND_DEBUG)
404
- # define BOOST_LIB_RT_OPT "-sd"
405
- # elif defined(BOOST_DEBUG_PYTHON) && defined(BOOST_LINKING_PYTHON)
406
- # define BOOST_LIB_RT_OPT "-sy"
407
- # else
408
- # define BOOST_LIB_RT_OPT "-s"
409
- # endif
410
-
411
- # endif
412
-
413
- #endif
414
-
415
- //
416
- // BOOST_LIB_ARCH_AND_MODEL_OPT
417
- //
418
-
419
- #if defined( _M_IX86 )
420
- # define BOOST_LIB_ARCH_AND_MODEL_OPT "-x32"
421
- #elif defined( _M_X64 )
422
- # define BOOST_LIB_ARCH_AND_MODEL_OPT "-x64"
423
- #elif defined( _M_ARM )
424
- # define BOOST_LIB_ARCH_AND_MODEL_OPT "-a32"
425
- #elif defined( _M_ARM64 )
426
- # define BOOST_LIB_ARCH_AND_MODEL_OPT "-a64"
427
- #endif
428
-
429
- //
430
- // select linkage opt:
431
- //
432
- #if (defined(_DLL) || defined(_RTLDLL)) && defined(BOOST_DYN_LINK)
433
- # define BOOST_LIB_PREFIX
434
- #elif defined(BOOST_DYN_LINK)
435
- # error "Mixing a dll boost library with a static runtime is a really bad idea..."
436
- #else
437
- # define BOOST_LIB_PREFIX "lib"
438
- #endif
439
-
440
- //
441
- // now include the lib:
442
- //
443
- #if defined(BOOST_LIB_NAME) \
444
- && defined(BOOST_LIB_PREFIX) \
445
- && defined(BOOST_LIB_TOOLSET) \
446
- && defined(BOOST_LIB_THREAD_OPT) \
447
- && defined(BOOST_LIB_RT_OPT) \
448
- && defined(BOOST_LIB_ARCH_AND_MODEL_OPT) \
449
- && defined(BOOST_LIB_VERSION)
450
-
451
- #if defined(BOOST_EMBTC_WIN64)
452
- # define BOOST_LIB_SUFFIX ".a"
453
- #else
454
- # define BOOST_LIB_SUFFIX ".lib"
455
- #endif
456
-
457
- #ifdef BOOST_AUTO_LINK_NOMANGLE
458
- # pragma comment(lib, BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
459
- # ifdef BOOST_LIB_DIAGNOSTIC
460
- # pragma message ("Linking to lib file: " BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
461
- # endif
462
- #elif defined(BOOST_AUTO_LINK_TAGGED)
463
- # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT BOOST_LIB_SUFFIX)
464
- # ifdef BOOST_LIB_DIAGNOSTIC
465
- # pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT BOOST_LIB_SUFFIX)
466
- # endif
467
- #elif defined(BOOST_AUTO_LINK_SYSTEM)
468
- # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
469
- # ifdef BOOST_LIB_DIAGNOSTIC
470
- # pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) BOOST_LIB_SUFFIX)
471
- # endif
472
- #elif defined(BOOST_LIB_BUILDID)
473
- # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION "-" BOOST_STRINGIZE(BOOST_LIB_BUILDID) BOOST_LIB_SUFFIX)
474
- # ifdef BOOST_LIB_DIAGNOSTIC
475
- # pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION "-" BOOST_STRINGIZE(BOOST_LIB_BUILDID) BOOST_LIB_SUFFIX)
476
- # endif
477
- #else
478
- # pragma comment(lib, BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION BOOST_LIB_SUFFIX)
479
- # ifdef BOOST_LIB_DIAGNOSTIC
480
- # pragma message ("Linking to lib file: " BOOST_LIB_PREFIX BOOST_STRINGIZE(BOOST_LIB_NAME) "-" BOOST_LIB_TOOLSET BOOST_LIB_THREAD_OPT BOOST_LIB_RT_OPT BOOST_LIB_ARCH_AND_MODEL_OPT "-" BOOST_LIB_VERSION BOOST_LIB_SUFFIX)
481
- # endif
482
- #endif
483
-
484
- #else
485
- # error "some required macros where not defined (internal logic error)."
486
- #endif
487
-
488
-
489
- #endif // _MSC_VER || __BORLANDC__
490
-
491
- //
492
- // finally undef any macros we may have set:
493
- //
494
- #ifdef BOOST_LIB_PREFIX
495
- # undef BOOST_LIB_PREFIX
496
- #endif
497
- #if defined(BOOST_LIB_NAME)
498
- # undef BOOST_LIB_NAME
499
- #endif
500
- // Don't undef this one: it can be set by the user and should be the
501
- // same for all libraries:
502
- //#if defined(BOOST_LIB_TOOLSET)
503
- //# undef BOOST_LIB_TOOLSET
504
- //#endif
505
- #if defined(BOOST_LIB_THREAD_OPT)
506
- # undef BOOST_LIB_THREAD_OPT
507
- #endif
508
- #if defined(BOOST_LIB_RT_OPT)
509
- # undef BOOST_LIB_RT_OPT
510
- #endif
511
- #if defined(BOOST_LIB_ARCH_AND_MODEL_OPT)
512
- # undef BOOST_LIB_ARCH_AND_MODEL_OPT
513
- #endif
514
- #if defined(BOOST_LIB_LINK_OPT)
515
- # undef BOOST_LIB_LINK_OPT
516
- #endif
517
- #if defined(BOOST_LIB_DEBUG_OPT)
518
- # undef BOOST_LIB_DEBUG_OPT
519
- #endif
520
- #if defined(BOOST_DYN_LINK)
521
- # undef BOOST_DYN_LINK
522
- #endif
523
- #if defined(BOOST_LIB_SUFFIX)
524
- # undef BOOST_LIB_SUFFIX
525
- #endif