wsrep_listener.c fails to compile

Bug #1378890 reported by Alex Yurchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wsrep API
Fix Committed
Undecided
Unassigned

Bug Description

$ make listener
gcc -Wall -Wextra -Werror -O2 -g -I. -o listener wsrep_listener.c libwsrep.a -ldl -lpthread
wsrep_listener.c: In function ‘main’:
wsrep_listener.c:203:9: error: initialization from incompatible pointer type [-Werror]
         .apply_cb = apply_cb,
         ^
wsrep_listener.c:203:9: error: (near initialization for ‘wsrep_args.apply_cb’) [-Werror]
wsrep_listener.c:204:9: error: initialization from incompatible pointer type [-Werror]
         .commit_cb = commit_cb,
         ^
wsrep_listener.c:204:9: error: (near initialization for ‘wsrep_args.commit_cb’) [-Werror]
cc1: all warnings being treated as errors
make: *** [listener] Error 1

Revision history for this message
Alex Yurchenko (ayurchen) wrote :
Changed in wsrep:
status: New → Fix Committed
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.