View Issue Details

IDProjectCategoryView StatusLast Update
0004052unrealmodule apipublic2011-11-12 10:57
Reporterwarg Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.9 
Summary0004052: 3rd party module m_staff.c (maintained by Syzop) fails to compile
DescriptionThe 3rd party module m_staff.c (maintained by Syzop) fails to compile due to significant changes to struct.h in 3.2.9, specifically changes to aMotd.


m_staff.c:71: error: expected ‘)’ before ‘*’ token
m_staff.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
m_staff.c: In function ‘Mod_Unload’:
m_staff.c:140: error: ‘staff’ undeclared (first use in this function)
m_staff.c:140: error: (Each undeclared identifier is reported only once
m_staff.c:140: error: for each function it appears in.)
m_staff.c: At top level:
m_staff.c:305: error: expected ‘)’ before ‘*’ token
m_staff.c: In function ‘cb_conf’:
m_staff.c:387: error: ‘staff’ undeclared (first use in this function)
m_staff.c:387: error: ‘aMotd’ undeclared (first use in this function)
m_staff.c:387: error: expected expression before ‘)’ token
m_staff.c: In function ‘cb_rehashflag’:
m_staff.c:424: error: ‘staff’ undeclared (first use in this function)
m_staff.c:424: error: ‘aMotd’ undeclared (first use in this function)
m_staff.c:424: error: expected expression before ‘)’ token
m_staff.c: In function ‘m_staff’:
m_staff.c:433: error: ‘aMotd’ undeclared (first use in this function)
m_staff.c:433: error: ‘temp’ undeclared (first use in this function)
m_staff.c:442: error: ‘staff’ undeclared (first use in this function)
make[2]: *** [custommodule] Error 1
make[2]: Leaving directory `/usr/src/Unreal3.2.9/src/modules'
make[1]: *** [custommodule] Error 2
make[1]: Leaving directory `/usr/src/Unreal3.2.9/src'
make: *** [custommodule] Error 2
Additional InformationI've set severity to this bug report as major because I believe it requires significant changes to fix it due to the significant changes in 3.2.9 affecting aMotd.
Attached Files
m_staff_patch.diff (3,174 bytes)
3rd party modulesm_staff.c - http://www.unrealircd.com/modules/view/20

Activities

Nath

2011-11-12 06:01

reporter   ~0016785

Submitted a diff that should fix compatibility with 3.2.9

warg

2011-11-12 06:09

reporter   ~0016786

Thanks, Nath :)

syzop

2011-11-12 10:57

administrator   ~0016787

Thanks, fixed.

Next time, send an email to [email protected] instead please, as the bugtracker is meant to track bugs in UnrealIRCd and not in 3rd party modules.

Issue History

Date Modified Username Field Change
2011-11-12 04:55 warg New Issue
2011-11-12 06:00 Nath File Added: m_staff_patch.diff
2011-11-12 06:01 Nath Note Added: 0016785
2011-11-12 06:09 warg Note Added: 0016786
2011-11-12 10:57 syzop Note Added: 0016787
2011-11-12 10:57 syzop Status new => closed
2011-11-12 10:57 syzop Resolution open => no change required
2017-01-06 15:48 syzop Category module => module api