diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 08:02:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 08:04:20 +0400 |
commit | c16bd951cdff8d9dd4ba44e4634cb284c6f09342 (patch) | |
tree | de4f0af701a6516ac803e002038baeb7f61b13ec /source/blender/blenlib/BLI_strict_flags.h | |
parent | 0782187979b67a743fe612d7404fe5698a4a7f24 (diff) |
Enable GCC pedantic warnings with strict flags,
also modify MIN/MAX macros to prevent shadowing.
Diffstat (limited to 'source/blender/blenlib/BLI_strict_flags.h')
-rw-r--r-- | source/blender/blenlib/BLI_strict_flags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_strict_flags.h b/source/blender/blenlib/BLI_strict_flags.h index cb92f7837ec..ce39078ea73 100644 --- a/source/blender/blenlib/BLI_strict_flags.h +++ b/source/blender/blenlib/BLI_strict_flags.h @@ -28,6 +28,7 @@ */ #ifdef __GNUC__ +# pragma GCC diagnostic error "-Wpedantic" # pragma GCC diagnostic error "-Wsign-conversion" # if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 /* gcc4.6+ only */ # pragma GCC diagnostic error "-Wsign-compare" |