|
From: | Kevin Atkinson |
Subject: | Re: [aspell-devel] [PATCH] Fix warnings reported by GCC7 |
Date: | Mon, 19 Dec 2016 11:55:00 -0500 (EST) |
User-agent: | Alpine 2.11 (DEB 23 2013-08-11) |
On Mon, 19 Dec 2016, Martin Liška 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 comparison between pointer and integer [-fpermissive] [ 78s] if (top.in_what == Parm || top.in_what == Opt || top.do_check == '\0') [ 78s] ^~~~
Okay, I will still like to know the full details of how it was compiled (all the flags used in GCC). Very odd that Gcc 6.2 does not have a problem with this, or Clang.
Thanks, Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |