Skip to content

Commit

Permalink
Disable GCC warning. Fixes #9596.
Browse files Browse the repository at this point in the history
  • Loading branch information
swatanabe committed Mar 11, 2014
1 parent 8a461db commit 00c2504
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/boost/random/detail/disable_warnings.hpp
Expand Up @@ -21,3 +21,8 @@
#pragma warning(disable:4127)
#pragma warning(disable:4724)
#endif

#if defined(BOOST_GCC) && BOOST_GCC >= 40600
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wlogical-op"
#endif
4 changes: 4 additions & 0 deletions include/boost/random/detail/enable_warnings.hpp
Expand Up @@ -16,3 +16,7 @@
#ifdef BOOST_MSVC
#pragma warning(pop)
#endif

#if defined(BOOST_GCC) && BOOST_GCC >= 40600
#pragma GCC diagnostic pop
#endif

0 comments on commit 00c2504

Please sign in to comment.