diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-13 19:41:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-13 19:41:14 +0400 |
commit | 80de3192a78a78447810a42c9c404e9b0244dfb2 (patch) | |
tree | 871858390054e2a24e55a7d451737c358b93124d /source/blender/blenlib/BLI_math_inline.h | |
parent | 6d070e47c1862b76a0e0b56ee697c8828a15b866 (diff) |
attempt to quiet warnings for gcc4.2
Diffstat (limited to 'source/blender/blenlib/BLI_math_inline.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_inline.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_inline.h b/source/blender/blenlib/BLI_math_inline.h index 6dad44644f2..2bf3b9532dd 100644 --- a/source/blender/blenlib/BLI_math_inline.h +++ b/source/blender/blenlib/BLI_math_inline.h @@ -56,6 +56,11 @@ extern "C" { # define MALWAYS_INLINE #endif +/* gcc 4.6 (supports push/pop) */ +#if (defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 406)) +# define BLI_MATH_GCC_WARN_PRAGMA 1 +#endif + #ifdef __cplusplus } #endif |