mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-26 19:00:18 -06:00
Disable non-literal-null-conversion warning issued by clang
This commit is contained in:
parent
4b3373c96b
commit
147a5f5d00
@ -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"], [-Werror])
|
||||
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)
|
||||
if test ${GCC}x = yesx
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user