Re: [hatari-devel] fix a warning for debugui.c

[ Thread Index | Date Index | More Archives ]


On 02/09/2018 01:16 PM, benoît tuduri wrote:
LLVM report a warning with the Hatari string and the rl_readline_name
type conflict.
The fixes seems fix it. It's in a attachment

Thanks for the patch, but it's not a fix.

The problem is your readline.h header.

Mine defines rl_readline_name as const pointer:
$ grep rl_readline_name /usr/include/readline/*
/usr/include/readline/readline.h:extern const char *rl_readline_name;

	- Eero

Mail converted by MHonArc 2.6.19+