mysql.inc problem
#1

i tried to compile my server, then i got this

City Roelplay\pawno\include\mysql.inc(113) : warning 201: redefinition of constant/macro (symbol "mysql_reload(%1)")
City Roelplay\pawno\include\mysql.inc(124) : error 021: symbol already defined: "mysql_connect"
City Roelplay\pawno\include\mysql.inc(124) : error 025: function heading differs from prototype
City Roelplay\pawno\include\mysql.inc(124) : error 025: function heading differs from prototype
City Roelplay\pawno\include\mysql.inc(124) : fatal error 107: too many error messages on one line

And here is the line 113-124 from mysql.inc:

native MySQL:mysql_init(logtype = LOG_ONLY_ERRORS, printerrors = 1);
native mysql_connect(const host[], const user[], const pass[], const db[], MySQL:handle = (MySQL:0), auto_reconnect = 0);
native mysql_close(MySQL:handle = (MySQL:0));
native mysql_refresh(options, MySQL:handle = (MySQL:0));
native mysql_select_db(const db[], MySQL:handle = (MySQL:0));
native mysql_query(const query[], resultid = (-1), spareid = (0), MySQL:handle = (MySQL:0));
native mysql_query_array(const query[], resultid = (-1), {Float,_}:extravars[], MySQL:handle = (MySQL:0));
native mysql_store_result(MySQL:handle = (MySQL:0));
native mysql_free_result(MySQL:handle = (MySQL:0));
native mysql_result_stored(MySQL:handle = (MySQL:0));
native mysql_fetch_field(const fieldname[], dest[], MySQL:handle = (MySQL:0));
native mysql_fetch_field_num(fieldnum, dest[], MySQL:handle = (MySQL:0));
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)