Opened 5 years ago

Closed 5 years ago

#59129 closed defect (fixed)

aspell @0.60.6.1: comparison between pointer and integer

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jokuha (Jochen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: aspell

Description

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.

Change History (2)

comment:1 Changed 5 years ago by kencu (Ken)

one of the many errors you see trying to compile everything with clang-8.0 on 10.6.8.

somebody will fix this, but for now I just set my default compiler to clang-5.0 to avoid this (and many similar)

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 9f4f2518f8f7d92805a70e841fc9776b141bd8de/macports-ports (master):

aspell: Update to 0.60.7

Closes: #59129

Note: See TracTickets for help on using tickets.