Re: [PATCH] Fix warnings reported by GCC7
Martin Liška <[email protected]> Mon, 19 Dec 2016 10:40:24 +0100
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/16/2016 10:28 PM, Kevin Atkinson wrote:
>
> Hi,
>
> Are these warnings or errors?
>
> The fixes look valid but I need to make sure that it was the intended behavior.
>
> Thanks,
> Kevin
Hello.
It's an error:
[ 78s] modules/filter/tex.cpp: In member function 'bool {anonymous}::TexFilter::process_char(acommon::FilterChar::Chr)':
[ 78s] modules/filter/tex.cpp:177:72: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
[ 78s] if (top.in_what == Parm || top.in_what == Opt || top.do_check == '\0')
[ 78s] ^~~~
And it's definitely bug in the code base, hopefully the patch fixes that in the right way ;)
Thanks,
Martin