mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
[master] build failure in C99
3478. [port] Fix a build failure in strict C99 environments [RT #32475]
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,4 +1,7 @@
|
|||||||
3477. [func] expand logging when adding records via DDNS update
|
3478. [port] Fix a build failure in strict C99 environments
|
||||||
|
[RT #32475]
|
||||||
|
|
||||||
|
3477. [func] Expand logging when adding records via DDNS update
|
||||||
[RT #32365]
|
[RT #32365]
|
||||||
|
|
||||||
3476. [bug] "rndc zonestatus" could report a spurious "not
|
3476. [bug] "rndc zonestatus" could report a spurious "not
|
||||||
|
@@ -391,17 +391,15 @@ AC_CHECK_FUNCS(setegid setresgid)
|
|||||||
# is reported to not support "static inline" (RT #1212).
|
# is reported to not support "static inline" (RT #1212).
|
||||||
#
|
#
|
||||||
AC_MSG_CHECKING(for static inline breakage)
|
AC_MSG_CHECKING(for static inline breakage)
|
||||||
AC_TRY_COMPILE(, [
|
AC_TRY_COMPILE([
|
||||||
foo1();
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int foo1() {
|
static inline int foo1() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int foo2() {
|
static inline int foo2() {
|
||||||
return foo1();
|
return foo1();
|
||||||
],
|
}
|
||||||
|
], [foo1();],
|
||||||
[AC_MSG_RESULT(no)],
|
[AC_MSG_RESULT(no)],
|
||||||
[AC_MSG_RESULT(yes)
|
[AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(inline, ,[Define to empty if your compiler does not support "static inline".])])
|
AC_DEFINE(inline, ,[Define to empty if your compiler does not support "static inline".])])
|
||||||
|
Reference in New Issue
Block a user