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:
authorCampbell Barton <ideasman42@gmail.com>2014-03-30 12:37:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-30 12:37:43 +0400
commit8d1b289b78be3fc781aacfc55688a83425f1720e (patch)
treeffa2f5cdaf0e58d0d74a33ba7ee872c0fde77911 /source/blender/blenlib/BLI_strict_flags.h
parent90d4bb1403e0cf18200c485e7a0a4516a344745e (diff)
Code cleanup: warnings (clang)
Diffstat (limited to 'source/blender/blenlib/BLI_strict_flags.h')
-rw-r--r--source/blender/blenlib/BLI_strict_flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_strict_flags.h b/source/blender/blenlib/BLI_strict_flags.h
index ce39078ea73..908d02eb4ad 100644
--- a/source/blender/blenlib/BLI_strict_flags.h
+++ b/source/blender/blenlib/BLI_strict_flags.h
@@ -37,6 +37,9 @@
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 /* gcc4.8+ only (behavior changed to ignore globals)*/
# pragma GCC diagnostic error "-Wshadow"
# endif
+# ifdef __clang__ /* pedantic causes clang error */
+# pragma GCC diagnostic ignored "-Wlanguage-extension-token"
+# endif
#endif
#ifdef _MSC_VER