GCC 4.6 fixes

This commit is contained in:
Siana Gearz
2011-05-16 01:37:00 +02:00
parent 3abc778f2c
commit adeba18356
4 changed files with 11 additions and 5 deletions

View File

@@ -164,6 +164,11 @@ if (LINUX)
add_definitions(-Wno-parentheses)
endif (${CXX_VERSION} GREATER 429)
#gcc 4.6 has a new spammy warning
if(NOT ${CXX_VERSION} LESS 460)
add_definitions(-Wno-unused-but-set-variable)
endif (NOT ${CXX_VERSION} LESS 460)
# End of hacks.
add_definitions(