Compiles but generates a binary that will not work:
short example:
m_stats.c:220:1: note: use 'static' to give inline function 'stats_combine_parv' internal linkage
inline char *stats_combine_parv(char *p1, char *p2)
^
static
m_stats.c:368:2: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
static char buffer[BUFSIZE+1];
^
m_stats.c:366:1: note: use 'static' to give inline function 'stats_operonly_long_to_short' internal linkage
inline char *stats_operonly_long_to_short()
^
static
.2 warnings generated.
.m_mode.c:377:36: warning: passing 'int *' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
set_mode(chptr, cptr, parc, parv, &pcount, pvar, 1);
^~~~~~~
m_mode.c:404:36: warning: passing 'int *' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
set_mode(chptr, sptr, parc, parv, &pcount, pvar, 0);
^~~~~~~
2 warnings generated.
.m_part.c:173:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
comment = (char *)StripColors(comment);
^~~~~~~
1 warning generated.
m_join.c:380:6: warning: invalid conversion specifier 'B' [-Wformat-invalid-specifier]
"%B %s :%s%s ", (long)chptr->creationtime,
~^
1 warning generated.
.nocolorumode.c:82:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpyzt(retbuf, StripControlCodes(text), sizeof(retbuf));
^~~~
../include/struct.h:1722:47: note: expanded from macro 'strncpyzt'
define strncpyzt(x, y, N) do{(void)strncpy(x,y,N);x[N-1]='\0';}while(0)
1 warning generated.
nocodeschanmode.c:116:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpyzt(retbuf, StripControlCodes(text), sizeof(retbuf));
^~~~
../include/struct.h:1722:47: note: expanded from macro 'strncpyzt'
define strncpyzt(x, y, N) do{(void)strncpy(x,y,N);x[N-1]='\0';}while(0)
1 warning generated.
.textban.c:467:41: warning: passing 'char ' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(filtered, StripControlCodes(text), sizeof(filtered));
^~~~
1 warning generated.
m_antibot.c:84:101: warning: data argument not used by format string [-Wformat-extra-args]
sendto_one(cptr, "NOTICE AUTH :** Please wait while we scan your connection for open proxies...", me.name, cptr->name);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
tn-data/scripts/run.sh: line 67: 55514 Killed beachball 1>&2 (wd: ~)
Compiles but generates a binary that will not work:
short example:
m_stats.c:220:1: note: use 'static' to give inline function 'stats_combine_parv' internal linkage
inline char *stats_combine_parv(char *p1, char *p2)
^
static
m_stats.c:368:2: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline]
static char buffer[BUFSIZE+1];
^
m_stats.c:366:1: note: use 'static' to give inline function 'stats_operonly_long_to_short' internal linkage
inline char *stats_operonly_long_to_short()
^
static
.2 warnings generated.
.m_mode.c:377:36: warning: passing 'int *' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
set_mode(chptr, cptr, parc, parv, &pcount, pvar, 1);
^~~~~~~
m_mode.c:404:36: warning: passing 'int *' to parameter of type 'u_int *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
set_mode(chptr, sptr, parc, parv, &pcount, pvar, 0);
^~~~~~~
2 warnings generated.
.m_part.c:173:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
comment = (char *)StripColors(comment);
^~~~~~~
1 warning generated.
m_join.c:380:6: warning: invalid conversion specifier 'B' [-Wformat-invalid-specifier]
"%B %s :%s%s ", (long)chptr->creationtime,
~^
1 warning generated.
.nocolorumode.c:82:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpyzt(retbuf, StripControlCodes(text), sizeof(retbuf));
^~~~
../include/struct.h:1722:47: note: expanded from macro 'strncpyzt'
define strncpyzt(x, y, N) do{(void)strncpy(x,y,N);x[N-1]='\0';}while(0)
1 warning generated.
nocodeschanmode.c:116:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpyzt(retbuf, StripControlCodes(text), sizeof(retbuf));
^~~~
../include/struct.h:1722:47: note: expanded from macro 'strncpyzt'
define strncpyzt(x, y, N) do{(void)strncpy(x,y,N);x[N-1]='\0';}while(0)
1 warning generated.
.textban.c:467:41: warning: passing 'char ' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strlcpy(filtered, StripControlCodes(text), sizeof(filtered));
^~~~
1 warning generated.
m_antibot.c:84:101: warning: data argument not used by format string [-Wformat-extra-args]
sendto_one(cptr, "NOTICE AUTH :** Please wait while we scan your connection for open proxies...", me.name, cptr->name);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 warning generated.
tn-data/scripts/run.sh: line 67: 55514 Killed beachball 1>&2 (wd: ~)