[bluez/bluez] fccc3d: configure.ac: check for stdarg.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/974481
  Home:   https://github.com/bluez/bluez
  Commit: fccc3d434d4c98c2784523cffdb4d5a11ce3a565
      https://github.com/bluez/bluez/commit/fccc3d434d4c98c2784523cffdb4d5a11ce3a565
  Author: Til Kaiser <mail@xxxxxxxx>
  Date:   2025-06-21 (Sat, 21 Jun 2025)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: check for stdarg.h

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@xxxxxxxx>



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux