Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/build_environment/patches/tbb.diff')
-rw-r--r--build_files/build_environment/patches/tbb.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/build_files/build_environment/patches/tbb.diff b/build_files/build_environment/patches/tbb.diff
new file mode 100644
index 00000000000..c05c35bca95
--- /dev/null
+++ b/build_files/build_environment/patches/tbb.diff
@@ -0,0 +1,13 @@
+diff --git a/include/tbb/tbb_config.h b/include/tbb/tbb_config.h
+index 7a8d06a0..886699d8 100644
+--- a/include/tbb/tbb_config.h
++++ b/include/tbb/tbb_config.h
+@@ -620,7 +620,7 @@ There are four cases that are supported:
+ // instantiation site, which is too late for suppression of the corresponding messages for internal
+ // stuff.
+ #if !defined(__INTEL_COMPILER) && (!defined(TBB_SUPPRESS_DEPRECATED_MESSAGES) || (TBB_SUPPRESS_DEPRECATED_MESSAGES == 0))
+- #if (__cplusplus >= 201402L)
++ #if (__cplusplus >= 201402L && (!defined(_MSC_VER) || _MSC_VER >= 1920))
+ #define __TBB_DEPRECATED [[deprecated]]
+ #define __TBB_DEPRECATED_MSG(msg) [[deprecated(msg)]]
+ #elif _MSC_VER \ No newline at end of file