bug-readline
[Top][All Lists]
Advanced

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

Re: Recent clang warns on rl_message()


From: 林宏雄
Subject: Re: Recent clang warns on rl_message()
Date: Mon, 5 Jun 2023 12:10:58 +0900

I had to check the git repository first.
https://git.savannah.gnu.org/cgit/readline.git/tree/readline.h?h=devel#n407

Now rl_message() is declared as:
extern int rl_message (const char *, ...)  __attribute__((__format__ (printf, 1, 2)));

> For now, you can sidestep the issue by arranging for HAVE_STDARG_H to be
> defined before including readline.h, perhaps on the cc/gcc command line.

I made this fix, but reverted it because I thought readline.h should be fixed.

Thanks.
--
Hiroo Hayashi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]