Re: [hatari-devel] fix a warning for debugui.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] fix a warning for debugui.c
- From: benoît tuduri <benoit.tuduri@xxxxxxxxx>
- Date: Sun, 11 Feb 2018 10:02:21 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=uXivNDbuh7jjPUg1JnAmVKysckICWCAfKvGbKcQDLFA=; b=BgizlwdI12cOk5XuhED/dBOUPocaSBGud2e6CcdN4emG2B4dTFH/wr4DoULUOSuoXW iN8ilrqUjF7gvuCyl2qkO1ZdQw0fEIQU1POJSRoyq3shPWGOZpPOqWhREU+LLjGEo492 yR10H1IJ3XZqb5ypFHU64DfILUGLl4uGD8vwVBsJVFzfZhVk8Z1WF3wXtoIIkLJy5M2p uIB+8x7v0Mn/gWH/CUZ5rUuB6VQEbcrQ8837CIgBIPGESKBAjux/nkwufsN9faU6dVOF uMCwxyTDEY7GrOSlmHQRfEGdUL4jy8UsMhox1ZIVlwRgw8viqp/VClR2UlDZ9bGAhVOB /YpA==
Thomas, I'm using the libreadline 7 (7.0.3_1) .
2018-02-10 19:32 GMT+01:00 Thomas Huth <th.huth@xxxxxxxxx>:
> Am Sat, 10 Feb 2018 00:05:32 +0200
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
>
>> Hi,
>>
>> 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;
>
> The problem might be that macOS uses libedit instead of libreadline, so
> I guess the problem is located in that lib. I think you should report
> this problem to the libedit project so that they fix it there.
>
> Thomas
>
>