mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
Silence deprecation warnings.
Required because libdbi-0.9 emits them when using libdbi-0.8 API.
This commit is contained in:
parent
039a4336e2
commit
29138bc793
@ -1558,6 +1558,9 @@ AC_LANG([C++])
|
||||
AX_CHECK_COMPILE_FLAG([-Wno-deprecated-register],
|
||||
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"],
|
||||
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"], [-Werror])
|
||||
AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations],
|
||||
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-deprecated-declarations"],
|
||||
[AM_CXXFLAGS="${AM_CXXFLAGS}"], [-Werror])
|
||||
AC_LANG([C])
|
||||
|
||||
AC_MSG_CHECKING(what extra warning flags to pass to the C compiler)
|
||||
|
Loading…
Reference in New Issue
Block a user