Disable non-literal-null-conversion warning issued by clang

This commit is contained in:
Geert Janssens 2014-07-04 16:25:12 +02:00
parent 4b3373c96b
commit 147a5f5d00

View File

@ -1317,6 +1317,9 @@ AX_CHECK_COMPILE_FLAG([-Wno-deprecated-register],
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"], [AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"],
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"], [-Werror]) [AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"], [-Werror])
AC_LANG([C]) AC_LANG([C])
AX_CHECK_COMPILE_FLAG([-Wno-non-literal-null-conversion],
[AM_CFLAGS="${AM_CFLAGS} -Wno-non-literal-null-conversion"],
[], [-Werror])
AC_MSG_CHECKING(what extra warning flags to pass to the C compiler) AC_MSG_CHECKING(what extra warning flags to pass to the C compiler)
if test ${GCC}x = yesx if test ${GCC}x = yesx
then then