Added more compiler warning options for gcc 4.3
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
|
Daniel Fandrich (17 Nov 2008)
|
||||||
|
- Added more compiler warning options for gcc 4.3
|
||||||
|
|
||||||
Yang Tse (17 Nov 2008)
|
Yang Tse (17 Nov 2008)
|
||||||
- Fix a remaining problem in the inet_pton() runtime configure check. And
|
- Fix a remaining problem in the inet_pton() runtime configure check. And
|
||||||
fix internal Curl_inet_pton() failures to reject certain malformed literals.
|
fix internal Curl_inet_pton() failures to reject certain malformed literals.
|
||||||
|
|||||||
@@ -881,6 +881,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
|
tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
dnl Only gcc 4.3 or later
|
||||||
|
if test "$compiler_num" -ge "403"; then
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers"
|
||||||
|
fi
|
||||||
|
#
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
dnl Do not issue warnings for code in system include paths.
|
dnl Do not issue warnings for code in system include paths.
|
||||||
|
|||||||
Reference in New Issue
Block a user