* [PATCH BlueZ] configure.ac: check for stdarg.h
@ 2025-06-21 10:44 Til Kaiser
2025-06-21 12:16 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Til Kaiser @ 2025-06-21 10:44 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Til Kaiser
Currently, there is the following compile error while
building with -std=gnu23, which is now default for GCC 15:
src/shared/shell.c: In function 'rl_cleanup':
src/shared/shell.c:1435:9: error: too many arguments to function 'rl_message'; expected 0, have 2
1435 | rl_message("%s", "");
| ^~~~~~~~~~ ~~~~
In file included from src/shared/shell.c:29:
/usr/include/readline/readline.h:410:12: note: declared here
410 | extern int rl_message ();
| ^~~~~~~~~~
This adds a check for stdarg.h inside the configure script so that
HAVE_STDARG_H gets defined and the correct prototype is picked
from readline.h.
Signed-off-by: Til Kaiser <mail@tk154.de>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 07aeb46ca..ad03a45e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,7 @@ AC_CHECK_LIB(pthread, pthread_create, dummy=yes,
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))
-AC_CHECK_HEADERS(stdio.h string.h linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h sys/random.h)
+AC_CHECK_HEADERS(stdarg.h stdio.h string.h linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h sys/random.h)
# basename may be only available in libgen.h with the POSIX behavior,
# not desired here
--
2.50.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [BlueZ] configure.ac: check for stdarg.h
2025-06-21 10:44 [PATCH BlueZ] configure.ac: check for stdarg.h Til Kaiser
@ 2025-06-21 12:16 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2025-06-21 12:16 UTC (permalink / raw)
To: linux-bluetooth, mail
[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=974481
---Test result---
Test Summary:
CheckPatch PENDING 0.19 seconds
GitLint PENDING 0.25 seconds
BuildEll PASS 20.28 seconds
BluezMake PASS 2844.23 seconds
MakeCheck PASS 20.38 seconds
MakeDistcheck PASS 198.97 seconds
CheckValgrind PASS 278.16 seconds
CheckSmatch PASS 304.32 seconds
bluezmakeextell PASS 127.90 seconds
IncrementalBuild PENDING 0.24 seconds
ScanBuild PASS 914.31 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-21 12:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-21 10:44 [PATCH BlueZ] configure.ac: check for stdarg.h Til Kaiser
2025-06-21 12:16 ` [BlueZ] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox