Kouhei Sutou
null+****@clear*****
Fri Oct 4 16:06:46 JST 2013
Kouhei Sutou 2013-10-04 16:06:46 +0900 (Fri, 04 Oct 2013) New Revision: 9026d0edeac06d1327ad76dba15e56688100a971 https://github.com/mroonga/mroonga/commit/9026d0edeac06d1327ad76dba15e56688100a971 Message: cmake: add warning options Modified files: CMakeLists.txt Modified: CMakeLists.txt (+5 -0) =================================================================== --- CMakeLists.txt 2013-10-04 16:00:38 +0900 (c5de80e) +++ CMakeLists.txt 2013-10-04 16:06:46 +0900 (70a6c06) @@ -232,6 +232,11 @@ else() set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -fno-exceptions") set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -fno-rtti") set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -felide-constructors") + set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -Wall") + set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -Wextra") + set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -Wno-unused-parameter") + set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -Wno-strict-aliasing") + set(MYSQL_CFLAGS "${MYSQL_CFLAGS} -Wno-deprecated") endif() set_source_files_properties(${MROONGA_SOURCES} PROPERTIES COMPILE_FLAGS "${MYSQL_CFLAGS}") -------------- next part -------------- HTML����������������������������... ダウンロード