[MacPorts] #59129: aspell @0.60.6.1: comparison between pointer and integer
MacPorts
noreply at macports.org
Sun Sep 29 23:20:08 UTC 2019
#59129: aspell @0.60.6.1: comparison between pointer and integer
------------------------+----------------------
Reporter: ryandesign | Owner: jokuha
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: aspell
------------------------+----------------------
[https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/38/steps
/install-dependencies/logs/stdio aspell doesn't build]:
{{{
prog/check_funs.cpp:650:14: error: comparison between pointer and integer
('const char *' and 'char')
if (word == '\0')
~~~~ ^ ~~~~
prog/aspell.cpp:237:6: warning: logical not is only applied to the left
hand side of this comparison [-Wlogical-not-parentheses]
&& !strcmp(str, i->name) == 0)
^ ~~
prog/aspell.cpp:237:6: note: add parentheses after the '!' to evaluate the
comparison first
&& !strcmp(str, i->name) == 0)
^
( )
prog/aspell.cpp:237:6: note: add parentheses around left hand side
expression to silence this warning
&& !strcmp(str, i->name) == 0)
^
( )
1 error generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59129>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list