[compilation]
Posted: Mon Mar 07, 2016 3:27 am
Hey!
I compile a module and then I end up with the following error:
I saw the bug tracker (https://bugs.unrealircd.org/view.php?id=4547) but I have not figured out how to fix it
Thank you for your answers
Cordially Dydouch
I compile a module and then I end up with the following error:
Code: Select all
In file included from /usr/include/mysql/mysql.h:75:0,
from sqlmod.c:37:
/usr/include/mysql/my_list.h:30:14: error: conflicting types for ‘list_add’
extern LIST *list_add(LIST *root,LIST *element);
^
In file included from /home/dydouch/bots_c/unreal/include/common.h:50:0,
from /home/dydouch/bots_c/unreal/include/struct.h:42,
from sqlmod.c:9:
/home/dydouch/bots_c/unreal/include/list.h:87:14: note: previous definition of ‘list_add’ was here
SINLINE void list_add(struct list_head *new, struct list_head *head)
^
Thank you for your answers
Cordially Dydouch