- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# tbb_config.h

    00001 /*
    00002     Copyright 2005-2012 Intel Corporation.  All Rights Reserved.
    00003
    00004     This file is part of Threading Building Blocks.
    00005
    00006     Threading Building Blocks is free software; you can redistribute it
    00007     and/or modify it under the terms of the GNU General Public License
    00008     version 2 as published by the Free Software Foundation.
    00009
    00010     Threading Building Blocks is distributed in the hope that it will be
    00011     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
    00012     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00013     GNU General Public License for more details.
    00014
    00015     You should have received a copy of the GNU General Public License
    00016     along with Threading Building Blocks; if not, write to the Free Software
    00017     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    00018
    00019     As a special exception, you may use this file as part of a free software
    00020     library without restriction.  Specifically, if other files instantiate
    00021     templates or use macros or inline functions from this file, or you compile
    00022     this file and link it with other files to produce an executable, this
    00023     file does not by itself cause the resulting executable to be covered by
    00024     the GNU General Public License.  This exception does not however
    00025     invalidate any other reasons why the executable file might be covered by
    00026     the GNU General Public License.
    00027 */
    00028
    00029 #ifndef __TBB_tbb_config_H
    00030 #define __TBB_tbb_config_H
    00031
    00040 #define __TBB_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
    00041
    00042 #if __clang__
    00043     #define __TBB_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
    00044 #endif
    00045
    00048 #if __INTEL_COMPILER == 9999 && __INTEL_COMPILER_BUILD_DATE == 20110811
    00049 /* Intel Composer XE 2011 Update 6 incorrectly sets __INTEL_COMPILER. Fix it. */
    00050     #undef __INTEL_COMPILER
    00051     #define __INTEL_COMPILER 1210
    00052 #endif
    00053
    00054 #if (__TBB_GCC_VERSION >= 40400) && !defined(__INTEL_COMPILER)
    00055
    00056     #define __TBB_GCC_WARNING_SUPPRESSION_PRESENT 1
    00057 #endif
    00058
    00059 /* Select particular features of C++11 based on compiler version.
    00060    ICC 12.1 (Linux), GCC 4.3 and higher, clang 2.9 and higher
    00061    set __GXX_EXPERIMENTAL_CXX0X__ in c++11 mode.
    00062
    00063    Compilers that mimics other compilers (ICC, clang) must be processed before
    00064    compilers they mimic (GCC, MSVC).
    00065
    00066    TODO: The following conditions should be extended when new compilers/runtimes
    00067    support added.
    00068  */
    00069
    00070 #if __INTEL_COMPILER
    00071
    00074     #define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT __GXX_EXPERIMENTAL_CXX0X__ && __VARIADIC_TEMPLATES
    00075     #define __TBB_CPP11_RVALUE_REF_PRESENT         (__GXX_EXPERIMENTAL_CXX0X__ || _MSC_VER >= 1600) && (__INTEL_COMPILER >= 1200)
    00076     #if  _MSC_VER >= 1600
    00077         #define __TBB_EXCEPTION_PTR_PRESENT        __INTEL_COMPILER > 1300                                                  \
    00078                                                    /*ICC 12.1 Upd 10 and 13 beta Upd 2 fixed exception_ptr linking  issue*/ \
    00079                                                    || (__INTEL_COMPILER == 1300 && __INTEL_COMPILER_BUILD_DATE >= 20120530) \
    00080                                                    || (__INTEL_COMPILER == 1210 && __INTEL_COMPILER_BUILD_DATE >= 20120410)
    00081
    00082     #elif (__TBB_GCC_VERSION >= 40404) && (__TBB_GCC_VERSION < 40600)
    00083         #define __TBB_EXCEPTION_PTR_PRESENT        __GXX_EXPERIMENTAL_CXX0X__ && __INTEL_COMPILER >= 1200
    00084     #else
    00085         #define __TBB_EXCEPTION_PTR_PRESENT        0
    00086     #endif
    00087     #define __TBB_MAKE_EXCEPTION_PTR_PRESENT       (_MSC_VER >= 1700 || (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40600))
    00088     #define __TBB_STATIC_ASSERT_PRESENT            __GXX_EXPERIMENTAL_CXX0X__ || (_MSC_VER >= 1600)
    00089     #define __TBB_CPP11_TUPLE_PRESENT              (_MSC_VER >= 1600) || ((__GXX_EXPERIMENTAL_CXX0X__) && (__TBB_GCC_VERSION >= 40300))
    00090
    00091     #define __TBB_INITIALIZER_LISTS_PRESENT        0
    00092 #elif __clang__
    00093 //TODO: these options need to be rechecked
    00094     #define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_CLANG_VERSION >= 20900)
    00095     #define __TBB_CPP11_RVALUE_REF_PRESENT         (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_CLANG_VERSION >= 20900)
    00096     #define __TBB_EXCEPTION_PTR_PRESENT            __GXX_EXPERIMENTAL_CXX0X__
    00097     #define __TBB_MAKE_EXCEPTION_PTR_PRESENT       (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_CLANG_VERSION > 30100)// TODO: check version
    00098     #define __TBB_STATIC_ASSERT_PRESENT            (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_CLANG_VERSION >= 20900)
    00099     #define __TBB_CPP11_TUPLE_PRESENT              ((__GXX_EXPERIMENTAL_CXX0X__) && (__TBB_GCC_VERSION >= 40300))
    00100     #define __TBB_INITIALIZER_LISTS_PRESENT        0
    00101 #elif __GNUC__
    00102     #define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT __GXX_EXPERIMENTAL_CXX0X__
    00103     #define __TBB_CPP11_RVALUE_REF_PRESENT         __GXX_EXPERIMENTAL_CXX0X__
    00104
    00107     #define __TBB_EXCEPTION_PTR_PRESENT            (__GXX_EXPERIMENTAL_CXX0X__ && (__TBB_GCC_VERSION >= 40404) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
    00108     #define __TBB_MAKE_EXCEPTION_PTR_PRESENT       (__GXX_EXPERIMENTAL_CXX0X__ && __TBB_GCC_VERSION >= 40600)
    00109     #define __TBB_STATIC_ASSERT_PRESENT            ((__TBB_GCC_VERSION >= 40300) && (__GXX_EXPERIMENTAL_CXX0X__))
    00110     #define __TBB_CPP11_TUPLE_PRESENT              ((__GXX_EXPERIMENTAL_CXX0X__) && (__TBB_GCC_VERSION >= 40300))
    00111     #define __TBB_INITIALIZER_LISTS_PRESENT        ((__GXX_EXPERIMENTAL_CXX0X__) && (__TBB_GCC_VERSION >= 40400))
    00112 #elif _MSC_VER
    00113     #define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT 0
    00114     #define __TBB_CPP11_RVALUE_REF_PRESENT         0
    00115     #define __TBB_EXCEPTION_PTR_PRESENT            (_MSC_VER >= 1600)
    00116     #define __TBB_STATIC_ASSERT_PRESENT            (_MSC_VER >= 1600)
    00117     #define __TBB_MAKE_EXCEPTION_PTR_PRESENT       (_MSC_VER >= 1700)
    00118     #define __TBB_CPP11_TUPLE_PRESENT              (_MSC_VER >= 1600)
    00119     #define __TBB_INITIALIZER_LISTS_PRESENT        0
    00120 #else
    00121     #define __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT 0
    00122     #define __TBB_CPP11_RVALUE_REF_PRESENT         0
    00123     #define __TBB_EXCEPTION_PTR_PRESENT            0
    00124     #define __TBB_STATIC_ASSERT_PRESENT            0
    00125     #define __TBB_MAKE_EXCEPTION_PTR_PRESENT       0
    00126     #define __TBB_CPP11_TUPLE_PRESENT              0
    00127     #define __TBB_INITIALIZER_LISTS_PRESENT        0
    00128 #endif
    00129
    00130 //TODO: not clear how exactly this macro affects exception_ptr - investigate
    00131 // On linux ICC fails to find existing std::exception_ptr in libstdc++ without this define
    00132 #if __INTEL_COMPILER && __GNUC__ && __TBB_EXCEPTION_PTR_PRESENT && !defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4)
    00133     #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
    00134 #endif
    00135
    00136 // Work around a bug in MinGW32
    00137 #if __MINGW32__ && __TBB_EXCEPTION_PTR_PRESENT && !defined(_GLIBCXX_ATOMIC_BUILTINS_4)
    00138     #define _GLIBCXX_ATOMIC_BUILTINS_4
    00139 #endif
    00140
    00141 #if __GNUC__ || __SUNPRO_CC || __IBMCPP__
    00142     /* ICC defines __GNUC__ and so is covered */
    00143     #define __TBB_ATTRIBUTE_ALIGNED_PRESENT 1
    00144 #elif _MSC_VER && (_MSC_VER >= 1300 || __INTEL_COMPILER)
    00145     #define __TBB_DECLSPEC_ALIGN_PRESENT 1
    00146 #endif
    00147
    00148 /* Actually ICC supports gcc __sync_* intrinsics starting 11.1,
    00149  * but 64 bit support for 32 bit target comes in later ones*/
    00150 /* TODO: change the version back to 4.1.2 once macro __TBB_WORD_SIZE become optional */
    00151 #if (__TBB_GCC_VERSION >= 40306) || (__INTEL_COMPILER >= 1200)
    00152
    00153     #define __TBB_GCC_BUILTIN_ATOMICS_PRESENT 1
    00154 #endif
    00155
    00156 #if (__INTEL_COMPILER >= 1210)
    00157
    00158     #define __TBB_ICC_BUILTIN_ATOMICS_PRESENT 1
    00159 #endif
    00160
    00163 #ifndef TBB_USE_DEBUG
    00164 #ifdef TBB_DO_ASSERT
    00165 #define TBB_USE_DEBUG TBB_DO_ASSERT
    00166 #else
    00167 #ifdef _DEBUG
    00168 #define TBB_USE_DEBUG _DEBUG
    00169 #else
    00170 #define TBB_USE_DEBUG 0
    00171 #endif
    00172 #endif /* TBB_DO_ASSERT */
    00173 #endif /* TBB_USE_DEBUG */
    00174
    00175 #ifndef TBB_USE_ASSERT
    00176 #ifdef TBB_DO_ASSERT
    00177 #define TBB_USE_ASSERT TBB_DO_ASSERT
    00178 #else
    00179 #define TBB_USE_ASSERT TBB_USE_DEBUG
    00180 #endif /* TBB_DO_ASSERT */
    00181 #endif /* TBB_USE_ASSERT */
    00182
    00183 #ifndef TBB_USE_THREADING_TOOLS
    00184 #ifdef TBB_DO_THREADING_TOOLS
    00185 #define TBB_USE_THREADING_TOOLS TBB_DO_THREADING_TOOLS
    00186 #else
    00187 #define TBB_USE_THREADING_TOOLS TBB_USE_DEBUG
    00188 #endif /* TBB_DO_THREADING_TOOLS */
    00189 #endif /* TBB_USE_THREADING_TOOLS */
    00190
    00191 #ifndef TBB_USE_PERFORMANCE_WARNINGS
    00192 #ifdef TBB_PERFORMANCE_WARNINGS
    00193 #define TBB_USE_PERFORMANCE_WARNINGS TBB_PERFORMANCE_WARNINGS
    00194 #else
    00195 #define TBB_USE_PERFORMANCE_WARNINGS TBB_USE_DEBUG
    00196 #endif /* TBB_PEFORMANCE_WARNINGS */
    00197 #endif /* TBB_USE_PERFORMANCE_WARNINGS */
    00198
    00199 #if __MIC__ || __MIC2__
    00200 #define __TBB_DEFINE_MIC 1
    00201 #endif
    00202
    00203 #if !defined(__EXCEPTIONS) && !defined(_CPPUNWIND) && !defined(__SUNPRO_CC) || defined(_XBOX)
    00204     #if TBB_USE_EXCEPTIONS
    00205         #error Compilation settings do not support exception handling. Please do not set TBB_USE_EXCEPTIONS macro or set it to 0.
    00206     #elif !defined(TBB_USE_EXCEPTIONS)
    00207         #define TBB_USE_EXCEPTIONS 0
    00208     #endif
    00209 #elif !defined(TBB_USE_EXCEPTIONS)
    00210     #if __TBB_DEFINE_MIC
    00211     #define TBB_USE_EXCEPTIONS 0
    00212     #else
    00213     #define TBB_USE_EXCEPTIONS 1
    00214     #endif
    00215 #elif TBB_USE_EXCEPTIONS && __TBB_DEFINE_MIC
    00216     #error Please do not set TBB_USE_EXCEPTIONS macro or set it to 0.
    00217 #endif
    00218
    00219 #ifndef TBB_IMPLEMENT_CPP0X
    00220
    00221     #if __GNUC__==4 && __GNUC_MINOR__>=4 && __GXX_EXPERIMENTAL_CXX0X__
    00222         #define TBB_IMPLEMENT_CPP0X 0
    00223     #else
    00224         #define TBB_IMPLEMENT_CPP0X 1
    00225     #endif
    00226 #endif /* TBB_IMPLEMENT_CPP0X */
    00227
    00228 /* TBB_USE_CAPTURED_EXCEPTION should be explicitly set to either 0 or 1, as it is used as C++ const */
    00229 #ifndef TBB_USE_CAPTURED_EXCEPTION
    00230
    00231     #if __TBB_EXCEPTION_PTR_PRESENT && !defined(__GNUC__)
    00232         #define TBB_USE_CAPTURED_EXCEPTION 0
    00233     #else
    00234         #define TBB_USE_CAPTURED_EXCEPTION 1
    00235     #endif
    00236 #else /* defined TBB_USE_CAPTURED_EXCEPTION */
    00237     #if !TBB_USE_CAPTURED_EXCEPTION && !__TBB_EXCEPTION_PTR_PRESENT
    00238         #error Current runtime does not support std::exception_ptr. Set TBB_USE_CAPTURED_EXCEPTION and make sure that your code is ready to catch tbb::captured_exception.
    00239     #endif
    00240 #endif /* defined TBB_USE_CAPTURED_EXCEPTION */
    00241
    00243 #if (TBB_USE_GCC_BUILTINS && !__TBB_GCC_BUILTIN_ATOMICS_PRESENT)
    00244     #error "GCC atomic built-ins are not supported."
    00245 #endif
    00246
    00250 #define __TBB_WEAK_SYMBOLS_PRESENT !_WIN32 && !__APPLE__ && !__sun && ((__TBB_GCC_VERSION >= 40000) || defined(__INTEL_COMPILER))
    00251
    00253 #ifndef __TBB_DYNAMIC_LOAD_ENABLED
    00254     #define __TBB_DYNAMIC_LOAD_ENABLED 1
    00255 #endif
    00256
    00260 #if (_WIN32||_WIN64) && __TBB_SOURCE_DIRECTLY_INCLUDED
    00261     #define __TBB_NO_IMPLICIT_LINKAGE 1
    00262     #define __TBBMALLOC_NO_IMPLICIT_LINKAGE 1
    00263 #endif
    00264
    00265 #ifndef __TBB_COUNT_TASK_NODES
    00266     #define __TBB_COUNT_TASK_NODES TBB_USE_ASSERT
    00267 #endif
    00268
    00269 #ifndef __TBB_TASK_GROUP_CONTEXT
    00270     #define __TBB_TASK_GROUP_CONTEXT 1
    00271 #endif /* __TBB_TASK_GROUP_CONTEXT */
    00272
    00273 #ifndef __TBB_SCHEDULER_OBSERVER
    00274     #define __TBB_SCHEDULER_OBSERVER 1
    00275 #endif /* __TBB_SCHEDULER_OBSERVER */
    00276
    00277 #if !defined(TBB_PREVIEW_TASK_ARENA) && __TBB_BUILD
    00278     #define TBB_PREVIEW_TASK_ARENA __TBB_CPF_BUILD
    00279 #endif /* TBB_PREVIEW_TASK_ARENA */
    00280 #define __TBB_TASK_ARENA TBB_PREVIEW_TASK_ARENA
    00281 #if TBB_PREVIEW_TASK_ARENA
    00282     #define TBB_PREVIEW_LOCAL_OBSERVER 1
    00283     #define __TBB_NO_IMPLICIT_LINKAGE 1
    00284     #define __TBB_TASK_PRIORITY 0 // TODO: it will be removed in next versions
    00285     #if !__TBB_SCHEDULER_OBSERVER
    00286         #error TBB_PREVIEW_TASK_ARENA requires __TBB_SCHEDULER_OBSERVER to be enabled
    00287     #endif
    00288 #endif /* TBB_PREVIEW_TASK_ARENA */
    00289
    00290 #if !defined(TBB_PREVIEW_LOCAL_OBSERVER) && __TBB_BUILD && __TBB_SCHEDULER_OBSERVER
    00291     #define TBB_PREVIEW_LOCAL_OBSERVER 1
    00292 #endif /* TBB_PREVIEW_LOCAL_OBSERVER */
    00293
    00294 #if TBB_USE_EXCEPTIONS && !__TBB_TASK_GROUP_CONTEXT
    00295     #error TBB_USE_EXCEPTIONS requires __TBB_TASK_GROUP_CONTEXT to be enabled
    00296 #endif
    00297
    00298 #ifndef __TBB_TASK_PRIORITY
    00299     #define __TBB_TASK_PRIORITY __TBB_TASK_GROUP_CONTEXT
    00300 #endif /* __TBB_TASK_PRIORITY */
    00301
    00302 #if __TBB_TASK_PRIORITY && !__TBB_TASK_GROUP_CONTEXT
    00303     #error __TBB_TASK_PRIORITY requires __TBB_TASK_GROUP_CONTEXT to be enabled
    00304 #endif
    00305
    00306 #if !defined(__TBB_SURVIVE_THREAD_SWITCH) && \
    00307           (_WIN32 || _WIN64 || __APPLE__ || (__linux__ && !__ANDROID__))
    00308     #define __TBB_SURVIVE_THREAD_SWITCH 1
    00309 #endif /* __TBB_SURVIVE_THREAD_SWITCH */
    00310
    00311 #ifndef __TBB_DEFAULT_PARTITIONER
    00312 #if TBB_DEPRECATED
    00313
    00314 #define __TBB_DEFAULT_PARTITIONER tbb::simple_partitioner
    00315 #else
    00316
    00317 #define __TBB_DEFAULT_PARTITIONER tbb::auto_partitioner
    00318 #endif /* TBB_DEPRECATED */
    00319 #endif /* !defined(__TBB_DEFAULT_PARTITIONER */
    00320
    00321 #ifdef _VARIADIC_MAX
    00322 #define __TBB_VARIADIC_MAX _VARIADIC_MAX
    00323 #else
    00324 #if _MSC_VER >= 1700
    00325 #define __TBB_VARIADIC_MAX 5  /* current VS11 setting, may change. */
    00326 #else
    00327 #define __TBB_VARIADIC_MAX 10
    00328 #endif
    00329 #endif
    00330
    00337 #if __ANDROID__ && __TBB_GCC_VERSION <= 40403 && !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
    00338
    00341     #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
    00342 #endif
    00343
    00344 #if __GNUC__ && __TBB_x86_64 && __INTEL_COMPILER == 1200
    00345     #define __TBB_ICC_12_0_INL_ASM_FSTCW_BROKEN 1
    00346 #endif
    00347
    00348 #if _MSC_VER && __INTEL_COMPILER && (__INTEL_COMPILER<1110 || __INTEL_COMPILER==1110 && __INTEL_COMPILER_BUILD_DATE < 20091012)
    00349
    00352     #define __TBB_DEFAULT_DTOR_THROW_SPEC_BROKEN 1
    00353 #endif
    00354
    00355 #if defined(_MSC_VER) && _MSC_VER < 1500 && !defined(__INTEL_COMPILER)
    00356
    00358     #define __TBB_TEMPLATE_FRIENDS_BROKEN 1
    00359 #endif
    00360
    00361 #if __GLIBC__==2 && __GLIBC_MINOR__==3 || __MINGW32__ || (__APPLE__ && __INTEL_COMPILER==1200 && !TBB_USE_DEBUG)
    00362
    00364     #define __TBB_THROW_ACROSS_MODULE_BOUNDARY_BROKEN 1
    00365 #else
    00366     #define __TBB_THROW_ACROSS_MODULE_BOUNDARY_BROKEN 0
    00367 #endif
    00368
    00369 #if (_WIN32||_WIN64) && __INTEL_COMPILER == 1110
    00370
    00371     #define __TBB_ICL_11_1_CODE_GEN_BROKEN 1
    00372 #endif
    00373
    00374 #if __clang__ || (__GNUC__==3 && __GNUC_MINOR__==3 && !defined(__INTEL_COMPILER))
    00375
    00376     #define __TBB_PROTECTED_NESTED_CLASS_BROKEN 1
    00377 #endif
    00378
    00379 #if __MINGW32__ && (__GNUC__<4 || __GNUC__==4 && __GNUC_MINOR__<2)
    00380
    00382     #define __TBB_SSE_STACK_ALIGNMENT_BROKEN 1
    00383 #else
    00384     #define __TBB_SSE_STACK_ALIGNMENT_BROKEN 0
    00385 #endif
    00386
    00387 #if __GNUC__==4 && __GNUC_MINOR__==3 && __GNUC_PATCHLEVEL__==0
    00388     /* GCC of this version may rashly ignore control dependencies */
    00389     #define __TBB_GCC_OPTIMIZER_ORDERING_BROKEN 1
    00390 #endif
    00391
    00392 #if __FreeBSD__
    00393
    00395     #define __TBB_PRIO_INHERIT_BROKEN 1
    00396
    00399     #define __TBB_PLACEMENT_NEW_EXCEPTION_SAFETY_BROKEN 1
    00400 #endif /* __FreeBSD__ */
    00401
    00402 #if (__linux__ || __APPLE__) && __i386__ && defined(__INTEL_COMPILER)
    00403
    00405     #define __TBB_ICC_ASM_VOLATILE_BROKEN 1
    00406 #endif
    00407
    00408 #if !__INTEL_COMPILER && (_MSC_VER || __GNUC__==3 && __GNUC_MINOR__<=2)
    00409
    00411     #define __TBB_ALIGNOF_NOT_INSTANTIATED_TYPES_BROKEN 1
    00412 #endif
    00413
    00414 #if __INTEL_COMPILER
    00415     #define __TBB_CPP11_STD_FORWARD_BROKEN 1
    00416 #else
    00417     #define __TBB_CPP11_STD_FORWARD_BROKEN 0
    00418 #endif
    00419
    00420 #if __TBB_DEFINE_MIC
    00421
    00422     #define __TBB_MAIN_THREAD_AFFINITY_BROKEN 1
    00423 #endif
    00424
    00427 #if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_APP
    00428     #define __TBB_WIN8UI_SUPPORT 1
    00429 #else
    00430     #define __TBB_WIN8UI_SUPPORT 0
    00431 #endif
    00432
    00433 #if !defined(__EXCEPTIONS) && __GNUC__==4 && (__GNUC_MINOR__==4 ||__GNUC_MINOR__==5 || (__INTEL_COMPILER==1300 && __TBB_GCC_VERSION>=40600 && __TBB_GCC_VERSION<=40700)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
    00434 /* There is an issue for specific GCC toolchain when C++11 is enabled
    00435    and exceptions are disabled:
    00436    exceprion_ptr.h/nested_exception.h are using throw unconditionally.
    00437  */
    00438     #define __TBB_LIBSTDCPP_EXCEPTION_HEADERS_BROKEN 1
    00439 #else
    00440     #define __TBB_LIBSTDCPP_EXCEPTION_HEADERS_BROKEN 0
    00441 #endif
    00442
    00443 #endif /* __TBB_tbb_config_H */

Copyright © 2005-2012 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.