Re: [PATCH] Fix warnings reported by GCC7

Kevin Atkinson <[email protected]> Mon, 19 Dec 2016 11:55:00 -0500 (EST)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323329-1243107494-1482166500=:25612
Content-Type: TEXT/PLAIN; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

On Mon, 19 Dec 2016, Martin Li=A8ka wrote:

> 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.

> 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 comparis=
on between pointer and integer [-fpermissive]
> [   78s]        if (top.in_what =3D=3D Parm || top.in_what =3D=3D Opt |=
| top.do_check =3D=3D '\0')
> [   78s]                                                               =
          ^~~~


Okay, I will still like to know the full details of how it was compiled (=
all=20
the flags used in GCC).  Very odd that Gcc 6.2 does not have a problem wi=
th=20
this, or Clang.

Thanks,
Kevin

--8323329-1243107494-1482166500=:25612
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aspell-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/aspell-devel

--8323329-1243107494-1482166500=:25612--