Browse Source

Zach Welch <zw@superlucidity.net> add -Wformat-security (4 of 4)

git-svn-id: svn://svn.berlios.de/openocd/trunk@1483 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.2.0
oharboe 15 years ago
parent
commit
713854f714
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      configure.in

+ 1
- 1
configure.in View File

@@ -692,7 +692,7 @@ AC_PROG_CC
AC_PROG_RANLIB AC_PROG_RANLIB


# set default gcc warnings # set default gcc warnings
GCC_WARNINGS="-Wall -Wstrict-prototypes"
GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security"
if test "${gcc_wextra}" = yes; then if test "${gcc_wextra}" = yes; then
GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter" GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter"
fi fi


Loading…
Cancel
Save