[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] [PATCH] Fix warnings reported by GCC7
From: |
Martin Liška |
Subject: |
Re: [aspell-devel] [PATCH] Fix warnings reported by GCC7 |
Date: |
Mon, 19 Dec 2016 10:40:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
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