Comment 7 for bug 1477885

Revision history for this message
Goetz T. Fischer (g-fischer) wrote :

i had a peek ahead and got hit by:

"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/hstcpsvr_worker.cpp", line 764: Error: The function "alloca" must have a prototype.
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/hstcpsvr_worker.cpp", line 764: Error: Using static_cast to convert from int to dena::string_ref* not allowed.
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/hstcpsvr_worker.cpp", line 884: Error: The function "alloca" must have a prototype.
"/build/percona-server-5.6.25-73.1/plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/hstcpsvr_worker.cpp", line 884: Error: Using static_cast to convert from int to dena::string_ref* not allowed.

the first one is just a missing alloca.h (seems they didn't test this with anything but gcc and are not afraid of gcc-isms either) but then we're back to the previous auto_ptr issue again.
this handler socket package seems to be one of those "oh, gcc is not the only compiler?" cases.

i read about it and from what i've seen i don't need it. any way to disable it? because it's quite a pity, everything else seems decent