Comment 4 for bug 1704195

Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :

With gcc 5.4.1-2:

[ 54%] Building CXX object sql/CMakeFiles/sql.dir/gcalc_tools.cc.o
/home/sveta/src/percona-server-laurynas/sql/gcalc_tools.cc: In member function ‘int Gcalc_function::count_internal()’:
/home/sveta/src/percona-server-laurynas/sql/gcalc_tools.cc:225:18: error: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Werror=parentheses]
         result= !result & next_res;
                  ^
cc1plus: all warnings being treated as errors
sql/CMakeFiles/sql.dir/build.make:385: recipe for target 'sql/CMakeFiles/sql.dir/gcalc_tools.cc.o' failed
make[2]: *** [sql/CMakeFiles/sql.dir/gcalc_tools.cc.o] Error 1
CMakeFiles/Makefile2:5638: recipe for target 'sql/CMakeFiles/sql.dir/all' failed
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2