Removed a second declaration for BLI_uniquename.

Also supressed cmake/gcc warnings about unused parameters since these are everywhere (sometimes with good reason, for callbacks)
This commit is contained in:
Nicholas Bishop
2009-01-14 17:36:13 +00:00
parent 8eb035f64f
commit 2ecb371950
2 changed files with 1 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ IF(UNIX)
SET(PLATFORM_LINKFLAGS "-pthread")
# Better warnings
SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement")
SET(C_WARNINGS "-Wall -Wno-char-subscripts -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wredundant-decls -Wdeclaration-after-statement -Wno-unused-parameter")
INCLUDE_DIRECTORIES(/usr/include /usr/local/include)
ENDIF(UNIX)