You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I tried to build bcc, I got the following error:
src/parse/dec.c: In function ‘read_func’:
src/parse/dec.c:1963:41: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if ( dec->static_qual && ! dec->area == DEC_LOCAL ) {
^
cc1: all warnings being treated as errors
Makefile:139: recipe for target 'build/parse/dec.o' failed
make: *** [build/parse/dec.o] Error 1
My specs are: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
I changed the line to if ( dec->static_qual && dec->area != DEC_LOCAL ) and the error disappeared but I am not sure if that has any other consequences.
The text was updated successfully, but these errors were encountered:
Hi, when I tried to build
bcc
, I got the following error:My specs are:
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
I changed the line to if
( dec->static_qual && dec->area != DEC_LOCAL )
and the error disappeared but I am not sure if that has any other consequences.The text was updated successfully, but these errors were encountered: