Ticket #5 (closed task: fixed)

Opened 4 years ago

Last modified 4 years ago

list_delete Function Rename

Reported by: BarkerJr Owned by: pseudo
Priority: trivial Milestone: 1.6.20
Component: Build process Version: 1.6.20
Keywords: mysql Cc:

Description

With version 5.0.0, MySQL decided to add a function called list_delete to its
headers. Unfortunately, this makes it so mysql.mod fails to compile, as
list_delete also exists in Eggdrop.

In file included from /usr/include/mysql/mysql.h:62,

from ../mysql.mod/mysql_mod.h:34,
from ../mysql.mod/mysql.c:24:

/usr/include/mysql/my_list.h:32: error: conflicting types for `list_delete'
../../../src/users.h:40: error: previous declaration of `list_delete'

In this, I request that list_delete be renamed to egg_list_delete . For now,
I'll provide a patch with my module, but that kind of defeats the purpose of
using a module.

Attachments

eggdrop1.6-list_delete.patch Download (7.9 KB) - added by pseudo 4 years ago.
Patch fixing this.

Change History

comment:1 Changed 4 years ago by simple

  • Milestone CIDR deleted

comment:2 Changed 4 years ago by pseudo

  • Owner changed from somebody to pseudo
  • Status changed from new to assigned
  • Milestone set to 1.6.20

comment:3 Changed 4 years ago by simple

  • Version set to 1.6.20 CVS

Changed 4 years ago by pseudo

Patch fixing this.

comment:4 Changed 4 years ago by pseudo

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed.

Note: See TracTickets for help on using tickets.