Fedora 14 x86_64 build error

Bug #731717 reported by Oleg Tsarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MOVED - Percona Playback
Invalid
Undecided
Oleg Tsarev

Bug Description

[ 37%] Building CXX object src/CMakeFiles/stress.dir/stress.cc.o
cc1plus: warnings being treated as errors
In file included from /storage/project/playback/head/src/stress.h:10:0,
                 from /storage/project/playback/head/src/stress.cc:3:
/storage/project/playback/head/src/slow_query_log_parser.h: In member function ‘void Parser<Result>::work() [with Result = Slow_Query_Log_Processor]’:
/storage/project/playback/head/src/slow_query_log_parser.h:159:25: instantiated from ‘Parser<Result>::Parser(String_Queue&, size_t, Result*) [with Result = Slow_Query_Log_Processor, String_Queue = Queue<String>, size_t = long unsigned int]’
/storage/project/playback/head/src/stress.h:24:56: instantiated from here
/storage/project/playback/head/src/slow_query_log_parser.h:649:3: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h:651:3: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h: In member function ‘bool Parser<Result>::try_thread_id() [with Result = Slow_Query_Log_Processor]’:
/storage/project/playback/head/src/slow_query_log_parser.h:653:3: instantiated from ‘void Parser<Result>::work() [with Result = Slow_Query_Log_Processor]
/storage/project/playback/head/src/slow_query_log_parser.h:159:25: instantiated from ‘Parser<Result>::Parser(String_Queue&, size_t, Result*) [with Result = Slow_Query_Log_Processor, String_Queue = Queue<String>, size_t = long unsigned int]’
/storage/project/playback/head/src/stress.h:24:56: instantiated from here
/storage/project/playback/head/src/slow_query_log_parser.h:603:5: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h: In member function ‘bool Parser<Result>::try_query_time_and_thread_id() [with Result = Slow_Query_Log_Processor]’:
/storage/project/playback/head/src/slow_query_log_parser.h:658:8: instantiated from ‘void Parser<Result>::work() [with Result = Slow_Query_Log_Processor]
/storage/project/playback/head/src/slow_query_log_parser.h:159:25: instantiated from ‘Parser<Result>::Parser(String_Queue&, size_t, Result*) [with Result = Slow_Query_Log_Processor, String_Queue = Queue<String>, size_t = long unsigned int]’
/storage/project/playback/head/src/stress.h:24:56: instantiated from here
/storage/project/playback/head/src/slow_query_log_parser.h:582:5: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h:658:8: instantiated from ‘void Parser<Result>::work() [with Result = Slow_Query_Log_Processor]
/storage/project/playback/head/src/slow_query_log_parser.h:159:25: instantiated from ‘Parser<Result>::Parser(String_Queue&, size_t, Result*) [with Result = Slow_Query_Log_Processor, String_Queue = Queue<String>, size_t = long unsigned int]’
/storage/project/playback/head/src/stress.h:24:56: instantiated from here
/storage/project/playback/head/src/slow_query_log_parser.h:582:5: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h:582:5: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h:658:8: instantiated from ‘void Parser<Result>::work() [with Result = Slow_Query_Log_Processor]
/storage/project/playback/head/src/slow_query_log_parser.h:159:25: instantiated from ‘Parser<Result>::Parser(String_Queue&, size_t, Result*) [with Result = Slow_Query_Log_Processor, String_Queue = Queue<String>, size_t = long unsigned int]’
/storage/project/playback/head/src/stress.h:24:56: instantiated from here
/storage/project/playback/head/src/slow_query_log_parser.h:582:5: error: suggest parentheses around ‘&&’ within ‘||’
/storage/project/playback/head/src/slow_query_log_parser.h:582:5: error: suggest parentheses around ‘&&’ within ‘||’
...

Oleg Tsarev (tsarev)
Changed in percona-playback:
assignee: nobody → Oleg Tsarev (tsarev)
status: New → In Progress
status: In Progress → Fix Committed
Stewart Smith (stewart)
Changed in percona-playback:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.