Skip to content

Commit

Permalink
Disable -Wold-style-cast for lua test with gcc #pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Jun 3, 2016
1 parent a6228e8 commit 3cc654d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/test_lua.cpp
Expand Up @@ -23,6 +23,8 @@
# include <fenv.h>
#endif

#pragma GCC diagnostic ignored "-Wold-style-cast"

BOOST_AUTO_TEST_SUITE( lua )

static int lua_round(lua_State * L, double d)
Expand Down

0 comments on commit 3cc654d

Please sign in to comment.