1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Files
archived-php-src/ext
Michael Orlitzky f9cbeaa033 ext/imap/config.m4: -Werror=implicit-function-declaration compatibility.
The recent clang-16 throws errors for implicitly defined functions by
default. In many ./configure tests, an undefined function (which is
"implicitly defined" when you try to call it) is undefined because it
really does not exist. But in one case, utf8_to_mutf7() is undefined
because we forgot to include the header that defines it.

This commit updates the test for utf8_to_mutf7:

  * We now include the header (c-client.h) that defines it.
  * A "checking... yes/no" message was added to the test.
  * The test was switched from PHP_IMAP_TEST_BUILD to AC_COMPILE_IFELSE.
    This was the easiest way to avoid a return-type mismatch that runs
    afoul of -Werror=implicit-int.
  * CPPFLAGS is temporarily amended with the -I flag needed to find
    c-client.h.

Fixes GH-10947.

Closes GH-10948

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-03-28 15:18:18 +01:00
..
2022-06-25 07:39:55 +01:00
2023-03-24 10:10:17 +00:00
2022-07-27 12:13:32 +02:00
2023-02-12 21:33:39 -07:00
2023-03-01 23:02:03 +01:00
2022-09-13 11:33:09 +01:00
2022-04-25 14:29:44 +02:00
2023-03-27 16:33:36 +02:00
2023-03-27 16:33:36 +02:00
2022-06-13 14:43:51 +02:00
2022-08-31 14:22:44 +02:00
2022-12-18 23:20:29 -07:00
2023-03-27 16:33:36 +02:00
2022-10-13 16:00:36 +02:00
2023-03-27 16:33:36 +02:00
2023-03-01 23:02:03 +01:00
2023-03-27 16:33:36 +02:00
2023-03-13 12:36:59 +01:00
2022-06-15 15:39:00 +02:00