Changeset 14363
- Timestamp:
- Dec 6, 2014, 4:28:53 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r14350 r14363 272 272 273 273 set(NEEDED_COMPILER_FLAGS 274 -Wpointer-arith 274 -Wcast-align 275 -Wextra 276 -Wfloat-equal 275 277 -Wformat 276 278 -Wformat-security 277 -Wcast-align 278 -Wundef 279 -Wcast-align 279 -Winit-self 280 -Winline 280 281 -Wmissing-declarations 281 282 -Wmissing-format-attribute 283 -Wpointer-arith 282 284 -Wredundant-decls 285 -Wundef 283 286 -Wunused-parameter 284 -Wwrite-strings 285 -Winline 286 -Wfloat-equal 287 -Wextra 288 -Winit-self 289 -Wvariadic-macros) 287 -Wvariadic-macros 288 -Wwrite-strings) 290 289 291 290 set(NEEDED_C_COMPILER_FLAGS 292 291 ${NEEDED_COMPILER_FLAGS} 293 -W strict-prototypes292 -Wdeclaration-after-statement 294 293 -Wnested-externs 295 -W declaration-after-statement)294 -Wstrict-prototypes) 296 295 string(REPLACE ";" " " NEEDED_C_COMPILER_FLAGS_STRING "${NEEDED_C_COMPILER_FLAGS}") 297 296 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${NEEDED_C_COMPILER_FLAGS_STRING}") … … 318 317 319 318 set(NEEDED_FUNCTIONS 319 canonicalize_file_name 320 320 daemon 321 321 fallocate64 -
trunk/configure.ac
r14328 r14363 76 76 if test "x$GCC" = "xyes" ; then 77 77 78 CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -W cast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal"78 CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal" 79 79 80 80 dnl figure out gcc version … … 100 100 101 101 AC_CHECK_HEADERS([stdbool.h]) 102 AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll mkdtemp])102 AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename canonicalize_file_name strcasecmp localtime_r fallocate64 posix_fallocate memmem strsep strtold syslog valloc getpagesize posix_memalign statvfs htonll ntohll mkdtemp]) 103 103 AC_PROG_INSTALL 104 104 AC_PROG_MAKE_SET
Note: See TracChangeset
for help on using the changeset viewer.