Loading [MathJax]/jax/output/HTML-CSS/config.js
|
ROOT 6.12/07 Reference Guide |
|
Go to the documentation of this file. 27 #if defined __has_feature 28 # if __has_feature(modules) 29 # define R__CXXMODULES 33 #define R__USE_SHADOW_CLASS 40 # if (_MSC_VER < 1910) 41 # error "ROOT requires Visual Studio 2017 or higher." 46 # if defined(__cplusplus) && (__cplusplus < 201103L) 47 # error "ROOT requires support for C++11 or higher." 48 # if defined(__GNUC__) || defined(__clang__) 49 # error "Pass `-std=c++11` as compiler argument." 65 # define NEED_SNPRINTF 74 # define R__PLACEMENTINLINE 75 # define NEED_STRCASECMP 78 #if defined(__linux) || defined(__linux__) 84 #if defined(__CYGWIN__) && defined(__GNUC__) 93 #if defined(__sun) && !(defined(linux) || defined(__FCC_VERSION)) 112 # if __SUNPRO_CC > 0x420 113 # define R__SOLARIS_CC50 114 # define R__PLACEMENTINLINE 116 # if __SUNPRO_CC >= 0x420 119 # if __GNUC__ >= 3 || __GNUC_MINOR__ >= 90 124 #if defined(__FCC_VERSION) 134 # ifndef _LARGEFILE64_SOURCE 135 # define _LARGEFILE64_SOURCE 137 # include <features.h> 138 # if __GNU_LIBRARY__ == 6 143 # if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 144 # define R__NONSCALARFPOS2 145 # define R__USESTHROW 150 #if defined(linux) && defined(__i386__) 160 #if defined(linux) && defined(__ia64__) 168 #if defined(linux) && defined(__x86_64__) 176 #if defined(linux) && defined(__arm__) 183 #if defined(linux) && defined(__sparc__) 190 #if defined(linux) && defined(__hppa) 196 #if defined(linux) && defined(__powerpc__) 200 # if defined(R__ppc64) 203 # if defined(_LITTLE_ENDIAN) 208 #if defined(linux) && defined(__aarch64__) 216 #if defined(linux) && defined(__s390__) 222 #if defined(linux) && defined(__s390x__) 229 #if defined(__MACH__) && defined(__i386__) && !defined(__APPLE__) 238 #if defined(__Lynx__) && defined(__powerpc__) 243 # define NEED_STRCASECMP 244 # define NEED_SNPRINTF 247 #if defined(__FreeBSD__) 251 # if defined(__i386__) 256 # if defined(__amd64__) 262 #if defined(__OpenBSD__) 266 # if defined(__i386__) 271 # if defined(__amd64__) 277 #if defined(__APPLE__) 278 # include <AvailabilityMacros.h> 280 # include <TargetConditionals.h> 284 # if defined(__xlC__) || defined(__xlc__) 286 # define R__PLACEMENTINLINE 288 # if defined(__ppc64__) 291 # if defined(__i386__) 294 # if defined(__arm__) 297 # if defined(__x86_64__) 308 # define NEED_SNPRINTF 315 # if __GNUC__ >= 3 || __GNUC_MINOR__ >= 90 316 # define R__VECNEWDELETE 317 # define R__PLACEMENTDELETE 319 # if __GNUC__ >= 3 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 95) 320 # define R__PLACEMENTINLINE 322 # if defined(__ia64__) && __GNUC__ < 3 323 # define R__VECNEWDELETE 324 # define R__PLACEMENTDELETE 326 # if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ > 1) 327 # define R__PRAGMA_DIAGNOSTIC 332 # if defined(R__MACOSX) && !defined(MAC_OS_X_VERSION_10_12) 336 # elif !defined(__GNUC__) 337 # define R__SIZEDDELETE 339 # define R__SIZEDDELETE 345 #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 346 # define R__HIDDEN __attribute__((__visibility__("hidden"))) 351 #ifdef __INTEL_COMPILER 352 # define R__INTEL_COMPILER 353 # define R__VECNEWDELETE 354 # define R__PLACEMENTDELETE 355 # define R__PLACEMENTINLINE 361 # define R__VECNEWDELETE 362 # define R__PLACEMENTINLINE 363 # if __HP_aCC <= 015000 365 # define R__TEMPLATE_OVERLOAD_BUG 366 # define R__GLOBALSTL 367 # error "ROOT requires proper support for C++11 or higher" 369 # define R__PLACEMENTDELETE 370 # define R__TMPLTSTREAM 372 # ifndef _INCLUDE_LONGLONG 373 # define _INCLUDE_LONGLONG 383 # define R__ACCESS_IN_SYMBOL 393 # define NEED_STRCASECMP 394 # define NEED_SNPRINTF 398 # define NEED_STRCASECMP 404 # define R__VISUAL_CPLUSPLUS 406 # define NEED_STRCASECMP 408 # define NEED_SNPRINTF 411 # define R__VECNEWDELETE 412 # define R__PLACEMENTDELETE 413 # define R__PLACEMENTINLINE 414 # if _MSC_VER >= 1400 415 # define DONTNEED_VSNPRINTF 418 # define R__NO_CLASS_TEMPLATE_SPECIALIZATION 420 # if _MSC_VER <= 1800 421 # define R__NO_ATOMIC_FUNCTION_POINTER 433 # define _NAME1_(name) name 434 # define _NAME2_(name1,name2) name1##name2 435 # define _NAME3_(name1,name2,name3) name1##name2##name3 438 # define _QUOTE_(name) #name 442 # define _NAME1_(name) name 443 # define _NAME2_(name1,name2) _NAME1_(name1)name2 444 # define _NAME3_(name1,name2,name3) _NAME2_(name1,name2)name3 446 # define _QUOTE_(name) "name" 452 # define _R__JOIN_(X,Y) _NAME2_(X,Y) 453 # define _R__JOIN3_(F,X,Y) _NAME3_(F,X,Y) 454 # define _R__UNIQUE_DICT_(X) _R__JOIN3_(R__DICTIONARY_FILENAME,X,__LINE__) 455 # define _R__UNIQUE_(X) _R__JOIN_(X,__LINE__) 459 # define _R__UNIQUE_(X) X 463 #if defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER) 464 # if __GNUC__ == 5 && (__GNUC_MINOR__ == 1 || __GNUC_MINOR__ == 2) 466 # define _R__DEPRECATED_LATER(REASON) 468 # define _R__DEPRECATED_LATER(REASON) __attribute__((deprecated(REASON))) 470 #elif defined(_MSC_VER) 471 # define _R__DEPRECATED_LATER(REASON) __declspec(deprecated(REASON)) 474 # define _R__DEPRECATED_LATER(REASON) 476 #define _R_DEPRECATED_REMOVE_NOW(REASON) __attribute__((REMOVE_THIS_NOW)) 479 #if ROOT_VERSION_CODE < ROOT_VERSION(6,11,0) 480 # define _R__DEPRECATED_612(REASON) _R__DEPRECATED_LATER(REASON) 482 # define _R__DEPRECATED_612(REASON) _R_DEPRECATED_REMOVE_NOW(REASON) 486 #if ROOT_VERSION_CODE < ROOT_VERSION(6,13,0) 487 # define _R__DEPRECATED_614(REASON) _R__DEPRECATED_LATER(REASON) 489 # define _R__DEPRECATED_614(REASON) _R_DEPRECATED_REMOVE_NOW(REASON) 493 #if ROOT_VERSION_CODE < ROOT_VERSION(6,99,0) 494 # define _R__DEPRECATED_700(REASON) _R__DEPRECATED_LATER(REASON) 496 # define _R__DEPRECATED_700(REASON) _R_DEPRECATED_REMOVE_NOW(REASON) 501 #define R__DEPRECATED(MAJOR, MINOR, REASON) \ 502 _R__JOIN3_(_R__DEPRECATED_,MAJOR,MINOR)("will be removed in ROOT v" #MAJOR "." #MINOR ": " REASON) 507 # define SafeDelete(p) { if (p) { delete p; p = 0; } } 509 # define SafeDelete(p) { delete p; p = 0; } 517 #define R__DO_PRAGMA(x) _Pragma (#x) 518 # define R__INTENTIONALLY_UNINIT_BEGIN \ 519 R__DO_PRAGMA(GCC diagnostic push) \ 520 R__DO_PRAGMA(GCC diagnostic ignored "-Wmaybe-uninitialized") \ 521 R__DO_PRAGMA(GCC diagnostic ignored "-Wuninitialized") 522 # define R__INTENTIONALLY_UNINIT_END \ 523 R__DO_PRAGMA(GCC diagnostic pop) 525 # define R__INTENTIONALLY_UNINIT_BEGIN 526 # define R__INTENTIONALLY_UNINIT_END 530 #ifdef R__HAS_ATTRIBUTE_ALWAYS_INLINE 531 #define R__ALWAYS_INLINE inline __attribute__((always_inline)) 533 #define R__ALWAYS_INLINE inline 546 #if (__GNUC__ >= 3) || defined(__INTEL_COMPILER) 547 #if !defined(R__unlikely) 548 #define R__unlikely(expr) __builtin_expect(!!(expr), 0) 550 #if !defined(R__likely) 551 #define R__likely(expr) __builtin_expect(!!(expr), 1) 554 #define R__unlikely(expr) expr 555 #define R__likely(expr) expr