Re: [PATCH] Fix warnings reported by GCC7

Kevin Atkinson <[email protected]> Mon, 19 Dec 2016 12:13:32 -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-1045423612-1482167612=:25612
Content-Type: TEXT/PLAIN; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

On Mon, 19 Dec 2016, Kevin Atkinson wrote:

> On Mon, 19 Dec 2016, Martin Li=A8ka wrote:
>
>> On 12/16/2016 10:28 PM, Kevin Atkinson wrote:
>>>=20
>>> Hi,
>>>=20
>>> Are these warnings or errors?
>>>=20
>>> The fixes look valid but I need to make sure that it was the intended=
=20
>>> behavior.
>
>> It's an error:
>>=20
>> [   78s] modules/filter/tex.cpp: In member function 'bool=20
>> {anonymous}::TexFilter::process_char(acommon::FilterChar::Chr)':
>> [   78s] modules/filter/tex.cpp:177:72: error: ISO C++ forbids compari=
son=20
>> between pointer and integer [-fpermissive]
>> [   78s]        if (top.in_what =3D=3D Parm || top.in_what =3D=3D Opt =
||=20
>> top.do_check =3D=3D '\0')
>> [   78s]=20
>> ^~~~
>
> 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 =
with=20
> this, or Clang.

Also posted to GitHub: https://github.com/GNUAspell/aspell/issues/519

Kevin
--8323329-1045423612-1482167612=: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-1045423612-1482167612=:25612--