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: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 10 Feb 2018 19:32:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1518287522; bh=lrJDK8eZsueOIharE8Tcjg4dJ9irKr+5b6FiDWp6j8g=; h=Date:From:To:Subject:From; b=rwicSanaP93ZEsjEoG9eVI2NWhwy235KmG3wctIIk1q7a5dUFjG1zC0yM1HXI0Cyy jhDuKVecDQad9R6NNBRe+26g2ysUmIjDGXrzaZT/HKkzwmLIQKuXlMHZ+bHtJP+Da1 BI+PP0k6/vXq8QUHRQ/fJDkFBidfmrMArMTGvI4ijU/WTAqKp9NL7S6LF0J7gcXKBg 7V5kI+EjM/8XJtCjDrJKr8jllGWy80JheVUsfMNF6Jehc70FMvs7ny8pIC60X+wko+ YuAIxCY8mSsZYgBJ1H7B6yb0d46cqOVOsYGK7/TfHQgTTpMh2WjywwAzwFxsC68+kF Z1WapA40Vvmxw==
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