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:
authorThomas Dinges <blender@dingto.org>2015-10-25 22:48:28 +0300
committerThomas Dinges <blender@dingto.org>2015-10-26 13:52:24 +0300
commitaa49c16bd94f0ef38edcc1e24e90717799354445 (patch)
tree594fae3359426edbd185f4c987f1c8a4117c5026 /intern/cycles/kernel/osl
parent72592cfbe0ea8dc6af3d17c5ea4126121b997a70 (diff)
Cleanup: Avoid some warnings on OS X with clang and update comment.
Diffstat (limited to 'intern/cycles/kernel/osl')
-rw-r--r--intern/cycles/kernel/osl/osl_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_services.cpp b/intern/cycles/kernel/osl/osl_services.cpp
index 3c1955a1e1e..b0609ad1da9 100644
--- a/intern/cycles/kernel/osl/osl_services.cpp
+++ b/intern/cycles/kernel/osl/osl_services.cpp
@@ -18,7 +18,7 @@
* here, so for now we just put here. In the future it might be better
* to have dedicated file for such tweaks.
*/
-#if defined(__GNUC__) && defined(NDEBUG)
+#if (defined(__GNUC__) && !defined(__clang__)) && defined(NDEBUG)
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
# pragma GCC diagnostic ignored "-Wuninitialized"
#endif