wsrep_listener.c fails to compile

Bug #1378890 reported by Alex Yurchenko on 2014-10-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wsrep API

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

Alex Yurchenko (ayurchen) wrote :
Changed in wsrep:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers