View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003404 | unreal | installing | public | 2007-06-26 14:24 | 2007-06-27 07:37 |
Reporter | Bock | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i386 | OS | win32 | OS Version | 2003 |
Product Version | 3.2.7-RC1 | ||||
Fixed in Version | 3.2.7-RC1 | ||||
Summary | 0003404: can't compililng 3.2.7-rc1 | ||||
Description | Errors on compiling: on ircd.c: cl /MD /Zi /I ""e:\dev\curl\include"" /I ""e:\dev\zlib-1.2.3"" /I ""e:\d ev\openssl-lib\inc32"" /J /I ./INCLUDE /I ./INCLUDE/WIN32/ARES /Fosrc/ /nologo /D ZIP_LINKS /D ZLIB_DLL /D USE_LIBCURL /D FD_SETSIZE=16384 /D USE_SSL /D NOSPO OF=1 /c /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _USE_32BIT_T IME_T src/ircd.c ircd.c src\ircd.c(100) : error C2061: syntax error : identifier 'irc_uid' src\ircd.c(100) : error C2059: syntax error : ';' src\ircd.c(100) : error C2513: '/*global*/ ' : no variable declared before '=' src\ircd.c(101) : error C2061: syntax error : identifier 'irc_gid' src\ircd.c(101) : error C2059: syntax error : ';' src\ircd.c(101) : error C2513: '/*global*/ ' : no variable declared before '=' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. fix: #ifndef _WIN32 uid_t irc_uid = 0; gid_t irc_gid = 0; #endif on m_chghost: M_CHGHOST.C src\modules\m_chghost.c(156) : error C2143: syntax error : missing ';' before 't ype' src\modules\m_chghost.c(160) : error C2065: 'did_parts' : undeclared identifier src\modules\m_chghost.c(160) : warning C4022: 'free' : pointer mismatch for actu al parameter 1 src\modules\m_chghost.c(170) : warning C4022: 'free' : pointer mismatch for actu al parameter 1 src\modules\m_chghost.c(180) : warning C4022: 'free' : pointer mismatch for actu al parameter 1 src\modules\m_chghost.c(185) : warning C4047: 'function' : 'char *' differs in l evels of indirection from 'int' src\modules\m_chghost.c(214) : warning C4047: 'function' : 'char *' differs in l evels of indirection from 'int' src\modules\m_chghost.c(215) : warning C4022: 'free' : pointer mismatch for actu al parameter 1 | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
child of | 0003111 | closed | 3.2.7 Release |
|
error only on 2 modules: M_CHGHOST.C src\modules\m_chghost.c(156) : error C2143: syntax error : missing ';' before 't ype' src\modules\m_chghost.c(185) : error C2065: 'did_parts' : undeclared identifier src\modules\m_chghost.c(185) : warning C4047: 'function' : 'char *' differs in l evels of indirection from 'int' src\modules\m_chghost.c(214) : warning C4047: 'function' : 'char *' differs in l evels of indirection from 'int' M_SDESC.C M_SETIDENT.C M_SETNAME.C M_SETHOST.C M_CHGIDENT.C src\modules\m_chgident.c(168) : error C2143: syntax error : missing ';' before ' type' src\modules\m_chgident.c(191) : error C2065: 'did_parts' : undeclared identifier src\modules\m_chgident.c(191) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' src\modules\m_chgident.c(215) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int' M_SVSMOTD.C all other modules compiling fine. |
|
fix for m_chgident and m_chghost: m_chghost.c.diff --- m_chghost.c.old 2007-04-25 15:33:43.000000000 +0300 +++ m_chghost.c 2007-06-27 09:46:26.000000000 +0300 @@ -146,14 +146,15 @@ if ((acptr = find_person(parv[1], NULL))) { + DYN_LOCAL(char, did_parts, acptr->user->joined); if (MyClient(sptr) && (IsLocOp(sptr) && !MyClient(acptr))) { sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); + DYN_FREE(did_parts); return 0; } - DYN_LOCAL(char, did_parts, acptr->user->joined); if (!strcmp(GetHost(acptr), parv[2])) { sendnotice(sptr, "*** /ChgHost Error: requested host is same as current host."); m_chgident.c.diff --- m_chgident.c.old 2007-04-25 15:33:43.000000000 +0300 +++ m_chgident.c 2007-06-27 09:45:49.000000000 +0300 @@ -158,14 +158,15 @@ if ((acptr = find_person(parv[1], NULL))) { + DYN_LOCAL(char, did_parts, acptr->user->joined); if (MyClient(sptr) && (IsLocOp(sptr) && !MyClient(acptr))) { sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]); + DYN_FREE(did_parts); return 0; } - DYN_LOCAL(char, did_parts, acptr->user->joined); switch (UHOST_ALLOWED) { case UHALLOW_NEVER: |
|
Fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-06-26 14:24 | Bock | New Issue | |
2007-06-26 14:59 |
|
Relationship added | child of 0003111 |
2007-06-26 14:59 |
|
Status | new => acknowledged |
2007-06-26 15:02 | Bock | Note Added: 0014415 | |
2007-06-27 01:47 | Bock | Note Added: 0014422 | |
2007-06-27 07:37 |
|
Status | acknowledged => resolved |
2007-06-27 07:37 |
|
Fixed in Version | => 3.2.7-RC1 |
2007-06-27 07:37 |
|
Resolution | open => fixed |
2007-06-27 07:37 |
|
Assigned To | => stskeeps |
2007-06-27 07:37 |
|
Note Added: 0014423 |