httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject core.c error
Date Tue, 29 Mar 2016 19:14:47 GMT
Looks like clang had been updated and a new error warning:

core.c:2410:14: error: logical not is only applied to the left hand side of this comparison
      [-Werror,-Wlogical-not-parentheses]
    else if (!strcmp(cmd->path, "/") == 0)
             ^                       ~~
core.c:2410:14: note: add parentheses after the '!' to evaluate the comparison first
    else if (!strcmp(cmd->path, "/") == 0)
             ^
              (                          )
core.c:2410:14: note: add parentheses around left hand side expression to silence this warning
    else if (!strcmp(cmd->path, "/") == 0)
             ^
             (                      )
Mime
View raw message