FreeBSD Bugzilla – Attachment 166144 Details for
Bug 206641
net/3proxy: Update to 0.8.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
poudriere log
FreeBSD:10:amd64-default.log (text/x-log), 210.14 KB, created by
Pavel Timofeev
on 2016-01-26 09:31:47 UTC
(
hide
)
Description:
poudriere log
Filename:
MIME Type:
Creator:
Pavel Timofeev
Created:
2016-01-26 09:31:47 UTC
Size:
210.14 KB
patch
obsolete
>build started at Tue Jan 26 12:28:35 MSK 2016 >port directory: /usr/ports/net/3proxy >building for: FreeBSD FreeBSD:10:amd64-default 10.2-RELEASE-p10 FreeBSD 10.2-RELEASE-p10 amd64 >maintained by: timp87@gmail.com >Makefile ident: $FreeBSD: head/net/3proxy/Makefile 407197 2016-01-25 08:24:22Z pi $ >Poudriere version: 3.1.10 >Host OSVERSION: 1100093 >Jail OSVERSION: 1002000 > >---Begin Environment--- >PKGREPOSITORY=/tmp/pkgs >PACKAGES=/tmp/pkgs >SHELL=/bin/csh >OSVERSION=1002000 >UNAME_v=FreeBSD 10.2-RELEASE-p10 >UNAME_r=10.2-RELEASE-p10 >BLOCKSIZE=K >MAIL=/var/mail/root >STATUS=1 >SAVED_TERM=screen >NO_WARNING_PKG_INSTALL_EOL=yes >MASTERMNT=/storage/poudriere/data/.m/FreeBSD:10:amd64-default/ref >FORCE_PACKAGE=yes >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin >POUDRIERE_BUILD_TYPE=bulk >OLDPWD=/usr/home/timp >PWD=/ >MASTERNAME=FreeBSD:10:amd64-default >SCRIPTPREFIX=/usr/local/share/poudriere >USER=root >HOME=/root >POUDRIERE_VERSION=3.1.10 >SCRIPTPATH=/usr/local/share/poudriere/testport.sh >TRYBROKEN=yes >LIBEXECPREFIX=/usr/local/libexec/poudriere >LOCALBASE=/usr/local >PACKAGE_BUILDING=yes >---End Environment--- > >---Begin OPTIONS List--- >===> The following configuration options are available for 3proxy-0.8.3: > DOCS=on: Build and/or install documentation >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/net/3proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/3proxy/work HOME=/wrkdirs/usr/ports/net/3proxy/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >XDG_DATA_HOME=/wrkdirs/usr/ports/net/3proxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/3proxy/work HOME=/wrkdirs/usr/ports/net/3proxy/work TMPDIR="/tmp" NO_PIE=yes NO_DEBUG_FILES=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" >--End MAKE_ENV-- > >--PLIST_SUB-- >OSREL=10.2 >PREFIX=%D >LOCALBASE=/usr/local >RESETPREFIX=/usr/local >PORTDOCS="" >PORTEXAMPLES="" >LIB32DIR=lib >DOCSDIR="share/doc/3proxy" >EXAMPLESDIR="share/examples/3proxy" >DATADIR="share/3proxy" >WWWDIR="www/3proxy" >ETCDIR="etc/3proxy" >--End PLIST_SUB-- > >--SUB_LIST-- >PREFIX=/usr/local >LOCALBASE=/usr/local >DATADIR=/usr/local/share/3proxy >DOCSDIR=/usr/local/share/doc/3proxy >EXAMPLESDIR=/usr/local/share/examples/3proxy >WWWDIR=/usr/local/www/3proxy >ETCDIR=/usr/local/etc/3proxy >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >---End make.conf--- >=======================<phase: check-sanity >============================ >===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user >===> Found saved configuration for 3proxy-0.7.1.3 >=========================================================================== >=======================<phase: pkg-depends >============================ >===> 3proxy-0.8.3 depends on file: /usr/local/sbin/pkg - not found >===> Installing existing package /packages/All/pkg-1.6.2.txz >[FreeBSD:10:amd64-default] Installing pkg-1.6.2... >[FreeBSD:10:amd64-default] Extracting pkg-1.6.2: .......... done >Message from pkg-1.6.2: >If you are upgrading from the old package format, first run: > > # pkg2ng >===> 3proxy-0.8.3 depends on file: /usr/local/sbin/pkg - found >===> Returning to build of 3proxy-0.8.3 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user >===> Found saved configuration for 3proxy-0.7.1.3 >===> 3proxy-0.8.3 depends on file: /usr/local/sbin/pkg - found >=> z3APA3A-3proxy-3proxy-0.8.3_GH0.tar.gz doesn't seem to exist in /portdistfiles/. >=> Attempting to fetch https://codeload.github.com/z3APA3A/3proxy/tar.gz/3proxy-0.8.3?dummy=/z3APA3A-3proxy-3proxy-0.8.3_GH0.tar.gz >z3APA3A-3proxy-3proxy-0.8.3_GH0.tar.gz 0 B 0 Bps >===> Fetching all distfiles required by 3proxy-0.8.3 for building >=========================================================================== >=======================<phase: checksum >============================ >===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user >===> Found saved configuration for 3proxy-0.7.1.3 >===> 3proxy-0.8.3 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by 3proxy-0.8.3 for building >=> SHA256 Checksum OK for z3APA3A-3proxy-3proxy-0.8.3_GH0.tar.gz. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> License APACHE20 BSD2CLAUSE GPLv2 GPLv3 LGPL21 LGPL3 accepted by the user >===> Found saved configuration for 3proxy-0.7.1.3 >===> 3proxy-0.8.3 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by 3proxy-0.8.3 for building >===> Extracting for 3proxy-0.8.3 >=> SHA256 Checksum OK for z3APA3A-3proxy-3proxy-0.8.3_GH0.tar.gz. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for 3proxy-0.8.3 >===> Applying FreeBSD patches for 3proxy-0.8.3 >=========================================================================== >=======================<phase: build-depends >============================ >=========================================================================== >=======================<phase: lib-depends >============================ >=========================================================================== >====>> Recording filesystem state for prebuild... done >=======================<phase: configure >============================ >===> Configuring for 3proxy-0.8.3 >=========================================================================== >=======================<phase: build >============================ >===> Building for 3proxy-0.8.3 >--- all --- >cat Makefile.unix > src/Makefile.var >--- pre --- >--- mycryptmain.o --- >--- pre --- >cd .. && cat copying >--- mycryptmain.o --- >cc -omycryptmain.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN mycrypt.c >--- pre --- >3proxy 0.7 Public License Agreement > >(c) 2000-2014 by 3APA3A (3APA3A@security.nnov.ru) >(c) 2000-2014 by SecurityVulns.com (http://3proxy.ru/) >(c) 2000-2014 by Vladimir Dubrovin (vlad@sandy.ru) > >This software uses: > RSA Data Security, Inc. MD4 Message-Digest Algorithm > RSA Data Security, Inc. MD5 Message-Digest Algorithm > >THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS >"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT >LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR >A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR >CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, >EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, >PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR >PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF >LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING >NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS >SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > >This software is FREEWARE. > >Redistribution and use in source and binary forms, with or without >modification, are permitted provided that following conditions >are met (BSD style license): > > * Redistributions of source code must retain the above copyright notice, > this list of conditions and the following disclaimer. > * Redistributions in binary form must reproduce the above copyright notice, > this list of conditions and the following disclaimer in the documentation > and/or other materials provided with the distribution. > * Neither the name of the SecurityVulns.COM nor the names of its > contributors may be used to endorse or promote products derived from this > software without specific prior written permission. > > >Instead of this license, you can also use and redistribute this software under >terms of compatible license, including: > >1. Apache License, Version 2.0 > You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > >2. GNU General Public License as published by > the Free Software Foundation; either version 2 of the License, or > (at your option) any later version. > You may obtain a copy of the License at > > http://www.gnu.org/licenses/gpl.txt > >3. GNU Lesser General Public License as published by the > Free Software Foundation; either version 2.1 of the License, or > (at your option) any later version. > You may obtain a copy of the License at > > http://www.gnu.org/licenses/lgpl.txt > > >--- pop3p.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP pop3p.c >In file included from pop3p.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >In file included from pop3p.c:71: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); >--- smtpp.o --- >--- pop3p.o --- > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from pop3p.c:71: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from pop3p.c:71: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from pop3p.c:71: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from pop3p.c:71: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from pop3p.c:71: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from pop3p.c:71: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from pop3p.c:71: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >--- smtpp.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP smtpp.c >--- pop3p.o --- >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from pop3p.c:71: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from pop3p.c:71: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- smtpp.o --- >In file included from smtpp.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >smtpp.c:40:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = atoi(buf); > ^~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >smtpp.c:65:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:65:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:121:22: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > command = mystrdup(buf); > ^~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:128:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:135:20: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parseconnusername(username, param, 0, 25); > ^~~~~~~~ >./proxy.h:241:29: note: passing argument to parameter 'username' here >int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); > ^ >smtpp.c:136:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:144:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username); > ^~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:144:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username); > ^ ~~~~~~~~~~~~~~~~~~ >smtpp.c:152:28: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); > ^~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:160:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parseconnusername(username+1, param, 0, 25); > ^~~~~~~~~~ >./proxy.h:241:29: note: passing argument to parameter 'username' here >int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); > ^ >smtpp.c:161:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = (int)strlen(username+1) + 2; > ^~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:164:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username + res); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:164:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username + res); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >smtpp.c:189:14: warning: passing 'unsigned char [320]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = sprintf(buf, "EHLO ["); > ^~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >smtpp.c:190:79: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), buf+strlen(buf), 64); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:190:68: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), buf+strlen(buf), 64); > ^~~~~~~~~~~~~~~ >./proxy.h:191:42: note: passing argument to parameter 'dst' here >int myinet_ntop(int af, void *src, char *dst, socklen_t size); > ^ >smtpp.c:191:26: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += sprintf(buf+strlen(buf), "]\r\n"); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:191:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += sprintf(buf+strlen(buf), "]\r\n"); > ^~~~~~~~~~~~~~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >smtpp.c:207:28: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:210:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:215:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > en64(param->extusername, buf, (int)strlen(param->extusername)); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:216:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:217:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:222:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > en64(param->extpassword, buf, (int)strlen(param->extpassword)); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:223:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:224:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:229:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:235:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = (int)strlen(param->extusername) + 1; > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:238:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = (int)strlen(param->extpassword); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:242:19: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = (int)strlen(buf); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:244:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:269:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); > ^~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >In file included from smtpp.c:315: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from smtpp.c:315: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from smtpp.c:315: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from smtpp.c:315: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from smtpp.c:315: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from smtpp.c:315: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from smtpp.c:315: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from smtpp.c:315: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from smtpp.c:315: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from smtpp.c:315: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- pop3p.o --- >24 warnings generated. >--- ftppr.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP ftppr.c >In file included from ftppr.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >ftppr.c:153:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sprintf(buf, "200 OK\r\n"); > ^~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >In file included from ftppr.c:327: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from ftppr.c:327: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from ftppr.c:327: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from ftppr.c:327: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from ftppr.c:327: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from ftppr.c:327: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from ftppr.c:327: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from ftppr.c:327: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from ftppr.c:327: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from ftppr.c:327: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- smtpp.o --- >57 warnings generated. >--- tcppm.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP tcppm.c >In file included from tcppm.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >In file included from tcppm.c:39: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from tcppm.c:39: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from tcppm.c:39: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from tcppm.c:39: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from tcppm.c:39: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from tcppm.c:39: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from tcppm.c:39: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from tcppm.c:39: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from tcppm.c:39: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from tcppm.c:39: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- ftppr.o --- >25 warnings generated. >--- icqpr.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP icqpr.c >--- tcppm.o --- >24 warnings generated. >--- udppm.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DPORTMAP udppm.c >--- icqpr.o --- >In file included from icqpr.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- udppm.o --- >In file included from udppm.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- icqpr.o --- >icqpr.c:131:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >icqpr.c:135:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ic->id = mystrdup(param->username); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >icqpr.c:205:55: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); > ^~~~~~~~~~~~~~~~~~~~~~ >icqpr.c:208:33: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Out of Sync"); > ^~~~~~~~~~~~~ >icqpr.c:217:32: warning: passing 'char [23]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Warning: Wrong channel"); > ^~~~~~~~~~~~~~~~~~~~~~~~ >icqpr.c:240:33: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- udppm.o --- >In file included from udppm.c:118: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); >--- icqpr.o --- > param->srv->logfunc(param, smallbuf); > ^~~~~~~~ >icqpr.c:245:64: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] > sprintf(smallbuf, "Warning: %hu flaps are lost on resync", state->gotseq - state->srvseq ); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %d >icqpr.c:246:32: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, smallbuf); > ^~~~~~~~ >--- udppm.o --- > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from udppm.c:118: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); >--- icqpr.o --- >icqpr.c:342:39: warning: passing 'char [0]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); > ^~~~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >icqpr.c:421:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!param->username && ic->id) param->username = mystrdup(ic->id); > ^ ~~~~~~~~~~~~~~~~ >In file included from icqpr.c:528: >--- udppm.o --- > ^ >In file included from udppm.c:118: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from udppm.c:118: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >--- icqpr.o --- >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); >--- udppm.o --- >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from udppm.c:118: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- icqpr.o --- > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from icqpr.c:528: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); >--- udppm.o --- > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from udppm.c:118: >--- icqpr.o --- > ^ >In file included from icqpr.c:528: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from icqpr.c:528: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >--- udppm.o --- >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- icqpr.o --- >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from icqpr.c:528: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- udppm.o --- >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from udppm.c:118: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >--- icqpr.o --- > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from icqpr.c:528: >--- udppm.o --- >In file included from udppm.c:118: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from udppm.c:118: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- icqpr.o --- >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- udppm.o --- > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from udppm.c:118: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- icqpr.o --- >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from icqpr.c:528: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >--- udppm.o --- > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- icqpr.o --- >In file included from icqpr.c:528: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from icqpr.c:528: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from icqpr.c:528: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- udppm.o --- >24 warnings generated. >--- socks.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP socks.c >In file included from socks.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >socks.c:162:38: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'struct sockaddr_in6 *' as the destination; expected 'struct sockaddr_in6' or an explicit length [-Wsizeof-pointer-memaccess] > memcpy(¶m->sinsr, ¶m->req, sizeof(¶m->req)); > ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ >socks.c:221:38: warning: 'memcpy' call operates on objects of type 'struct sockaddr_in6' while the size is based on a different type 'struct sockaddr_in6 *' [-Wsizeof-pointer-memaccess] > memcpy(&sin, ¶m->sincl, sizeof(&sin)); > ~~~~ ^~~~ >socks.c:221:38: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? > memcpy(&sin, ¶m->sincl, sizeof(&sin)); > ^~~~ >In file included from socks.c:471: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from socks.c:471: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from socks.c:471: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from socks.c:471: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from socks.c:471: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- icqpr.o --- >34 warnings generated. >--- socks.o --- > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from socks.c:471: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >--- proxy.o --- >--- socks.o --- >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from socks.c:471: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from socks.c:471: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from socks.c:471: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from socks.c:471: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- proxy.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITHMAIN -DNOPORTMAP -DANONYMOUS proxy.c >In file included from proxy.c:10: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >proxy.c:331:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > su = mystrdup(sb); > ^~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxy.c:331:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > su = mystrdup(sb); > ^ ~~~~~~~~~~~~ >proxy.c:493:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u",&contentlength64); > ^~ >/usr/include/stdio.h:268:36: note: passing argument to parameter here >int sscanf(const char * __restrict, const char * __restrict, ...); > ^ >proxy.c:493:42: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u",&contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lu >proxy.c:513:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(req); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >proxy.c:896:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u", &contentlength64); > ^~ >/usr/include/stdio.h:268:36: note: passing argument to parameter here >int sscanf(const char * __restrict, const char * __restrict, ...); > ^ >proxy.c:896:43: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u", &contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lu >proxy.c:912:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(sb, "chunked", 7)){ > ^~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >proxy.c:996:46: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { > ^~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >proxy.c:997:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1006:33: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1010:43: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); > ^~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >proxy.c:1011:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1018:50: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(smallbuf, "%"PRINTF_INT64_MODIFIER"x", &contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lx >proxy.c:1051:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > logurl(param, buf, (char *)req, ftp); > ^~~ >proxy.c:138:55: note: passing argument to parameter 'buf' here >static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ > ^ >proxy.c:1098:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > logurl(param, buf, (char *)req, ftp); > ^~~ >proxy.c:138:55: note: passing argument to parameter 'buf' here >static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ > ^ >In file included from proxy.c:1115: >./proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from proxy.c:1115: >./proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from proxy.c:1115: >./proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >In file included from proxy.c:1115: >./proxymain.c:266:31: warning: comparison between pointer and integer ('sa_family_t *' (aka 'unsigned char *') and 'int') > SAFAMILY(&defparam.sincl) != AF_INET) error = 1; > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ >./proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from proxy.c:1115: >./proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from proxy.c:1115: >./proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >In file included from proxy.c:1115: >./proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >--- socks.o --- >26 warnings generated. >--- proxy.o --- >In file included from proxy.c:1115: >./proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from proxy.c:1115: >./proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- allplugins --- >--- proxy.o --- > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >In file included from proxy.c:1115: >./proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >./proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >--- allplugins --- >--- StringsPlugin.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL StringsPlugin.c >--- StringsPlugin.so --- >cc -o../../StringsPlugin.so -pthread -shared StringsPlugin.o >--- TrafficPlugin.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL TrafficPlugin.c >TrafficPlugin.c:243:242: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > fprintf(stdout, "Port=%hd; Before: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; After: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; nreads=%ld; nwrites=%ld; Rule=%d\n",myhtons(*SAPORT(¶m->sinsr)), statssrv_before, statscli_before, param->statssrv64, param->statscli64,param->nreads,param->nwrites,rule); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ > %lu >TrafficPlugin.c:243:259: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > fprintf(stdout, "Port=%hd; Before: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; After: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; nreads=%ld; nwrites=%ld; Rule=%d\n",myhtons(*SAPORT(¶m->sinsr)), statssrv_before, statscli_before, param->statssrv64, param->statscli64,param->nreads,param->nwrites,rule); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ > %lu >TrafficPlugin.c:243:276: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > fprintf(stdout, "Port=%hd; Before: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; After: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; nreads=%ld; nwrites=%ld; Rule=%d\n",myhtons(*SAPORT(¶m->sinsr)), statssrv_before, statscli_before, param->statssrv64, param->statscli64,param->nreads,param->nwrites,rule); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > %lu >TrafficPlugin.c:243:295: warning: format specifies type 'long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > fprintf(stdout, "Port=%hd; Before: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; After: srv=%"PRINTF_INT64_MODIFIER"d, cli=%"PRINTF_INT64_MODIFIER"d; nreads=%ld; nwrites=%ld; Rule=%d\n",myhtons(*SAPORT(¶m->sinsr)), statssrv_before, statscli_before, param->statssrv64, param->statscli64,param->nreads,param->nwrites,rule); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > %lu >4 warnings generated. >--- TrafficPlugin.so --- >cc -o../../TrafficPlugin.so -pthread -shared TrafficPlugin.o >--- pcre_compile.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_compile.c >--- proxy.o --- >40 warnings generated. >--- allplugins --- >--- pcre_config.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_config.c >--- 3proxy.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c >In file included from 3proxy.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >3proxy.c:206:74: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > fprintf(cfp, "%05d %020"PRINTF_INT64_MODIFIER"u%s%s\n", tl->number, tl->traf64, tl->comment?" #" : "", tl->comment? tl->comment : ""); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ > %020lu >2 warnings generated. >--- allplugins --- >--- pcre_dfa_exec.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dfa_exec.c >--- mainfunc.o --- >cc -omainfunc.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c >In file included from proxymain.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >proxymain.c:25:31: warning: passing 'char [29]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back accept() failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:32:31: warning: passing 'char [24]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back ACL failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:39:31: warning: passing 'char [36]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Connect back sending command failed"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxymain.c:212:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logtarget = mystrdup((unsigned char*)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:235:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(46, argv[i]+2, (struct sockaddr *)&srv.intsa); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >proxymain.c:241:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > error = !getip46(46, argv[i]+2, (struct sockaddr *)&sa6); > ^~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >proxymain.c:274:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxymain.c:274:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv.logformat = mystrdup((unsigned char *)argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:283:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbc_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:287:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > cbl_string = mystrdup(argv[i] + 2); > ^ ~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:472:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbl_string, (struct sockaddr *)&cbsa); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >proxymain.c:474:29: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to allocate connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:485:29: warning: passing 'char [35]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to bind connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:489:29: warning: passing 'char [37]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (*srv.logfunc)(&defparam, "Failed to listen connect back socket"); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:532:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parsehost(srv.family, cbc_string, (struct sockaddr *)&defparam.sincr); > ^~~~~~~~~~ >./proxy.h:238:34: note: passing argument to parameter 'host' here >void parsehost(int family, char *host, struct sockaddr *sa); > ^ >proxymain.c:584:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxymain.c:584:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:664:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxymain.c:664:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logformat = conf.logformat? mystrdup(conf.logformat) : NULL; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:671:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxymain.c:671:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > srv->logtarget = mystrdup(conf.logtarget); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >proxymain.c:694:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > char* logformat = srv->logformat; > ^ ~~~~~~~~~~~~~~ >24 warnings generated. >--- allplugins --- >--- pcre_exec.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_exec.c >--- srvproxy.o --- >cc -osrvproxy.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c >In file included from proxy.c:10: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >proxy.c:331:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > su = mystrdup(sb); > ^~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >proxy.c:331:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > su = mystrdup(sb); > ^ ~~~~~~~~~~~~ >proxy.c:389:61: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf((char *)buf + 15, "%"PRINTF_INT64_MODIFIER"u", &contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lu >proxy.c:493:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u",&contentlength64); > ^~ >/usr/include/stdio.h:268:36: note: passing argument to parameter here >int sscanf(const char * __restrict, const char * __restrict, ...); > ^ >proxy.c:493:42: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u",&contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lu >proxy.c:513:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(req); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >proxy.c:532:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:262:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >proxy.c:532:74: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); > ^~~~~~~~~~~~~~~~ >./proxy.h:262:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >proxy.c:540:92: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > sprintf((char*)buf+strlen((char *)buf), "Content-Length: %"PRINTF_INT64_MODIFIER"u\r\n", contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ > %lu >proxy.c:896:10: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u", &contentlength64); > ^~ >/usr/include/stdio.h:268:36: note: passing argument to parameter here >int sscanf(const char * __restrict, const char * __restrict, ...); > ^ >proxy.c:896:43: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(sb, "%"PRINTF_INT64_MODIFIER"u", &contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lu >proxy.c:912:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(sb, "chunked", 7)){ > ^~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >proxy.c:962:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:263:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >proxy.c:962:74: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~ >./proxy.h:263:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >proxy.c:969:91: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > sprintf((char*)buf+strlen((char *)buf), "Content-Length: %"PRINTF_INT64_MODIFIER"u\r\n", contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ > %lu >proxy.c:996:46: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { > ^~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >proxy.c:997:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1006:33: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1010:43: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); > ^~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >proxy.c:1011:34: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ > ^~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >proxy.c:1018:50: warning: format specifies type 'unsigned long long *' but the argument has type 'uint64_t *' (aka 'unsigned long *') [-Wformat] > sscanf(smallbuf, "%"PRINTF_INT64_MODIFIER"x", &contentlength64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ > %lx >proxy.c:1051:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > logurl(param, buf, (char *)req, ftp); > ^~~ >proxy.c:138:55: note: passing argument to parameter 'buf' here >static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ > ^ >proxy.c:1098:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > logurl(param, buf, (char *)req, ftp); > ^~~ >proxy.c:138:55: note: passing argument to parameter 'buf' here >static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ > ^ >24 warnings generated. >--- allplugins --- >--- pcre_fullinfo.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_fullinfo.c >--- srvpop3p.o --- >cc -osrvpop3p.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c >In file included from pop3p.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >1 warning generated. >--- allplugins --- >--- pcre_get.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_get.c >--- srvsmtpp.o --- >cc -osrvsmtpp.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c >In file included from smtpp.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >smtpp.c:40:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = atoi(buf); > ^~~ >/usr/include/stdlib.h:86:23: note: passing argument to parameter here >int atoi(const char *); > ^ >smtpp.c:54:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:54:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:54:82: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:54:118: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "MAIL", 4) || !strncasecmp(buf, "RCPT", 4) || !strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:65:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:65:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncasecmp(buf, "STARTTLS", 8) || !strncasecmp(buf, "TURN", 4)){ > ^~~ >/usr/include/strings.h:61:30: note: passing argument to parameter here >int strncasecmp(const char *, const char *, size_t) __pure; > ^ >smtpp.c:121:22: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > command = mystrdup(buf); > ^~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:128:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:135:20: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parseconnusername(username, param, 0, 25); > ^~~~~~~~ >./proxy.h:241:29: note: passing argument to parameter 'username' here >int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); > ^ >smtpp.c:136:27: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:144:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username); > ^~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:144:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username); > ^ ~~~~~~~~~~~~~~~~~~ >smtpp.c:152:28: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); > ^~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:160:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > parseconnusername(username+1, param, 0, 25); > ^~~~~~~~~~ >./proxy.h:241:29: note: passing argument to parameter 'username' here >int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); > ^ >smtpp.c:161:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = (int)strlen(username+1) + 2; > ^~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:164:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username + res); > ^~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >smtpp.c:164:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->extpassword = mystrdup(username + res); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >smtpp.c:171:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqbufsize = reqsize = (int)strlen(param->hostname) + 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:189:14: warning: passing 'unsigned char [320]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = sprintf(buf, "EHLO ["); > ^~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >smtpp.c:190:79: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), buf+strlen(buf), 64); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:190:68: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += myinet_ntop(*SAFAMILY(¶m->sinsl), SAADDR(¶m->sinsl), buf+strlen(buf), 64); > ^~~~~~~~~~~~~~~ >./proxy.h:191:42: note: passing argument to parameter 'dst' here >int myinet_ntop(int af, void *src, char *dst, socklen_t size); > ^ >smtpp.c:191:26: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += sprintf(buf+strlen(buf), "]\r\n"); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:191:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i += sprintf(buf+strlen(buf), "]\r\n"); > ^~~~~~~~~~~~~~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >smtpp.c:207:28: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->clisock, "235 auth required\r\n", 19,conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:210:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:215:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > en64(param->extusername, buf, (int)strlen(param->extusername)); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:216:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:217:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:222:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > en64(param->extpassword, buf, (int)strlen(param->extpassword)); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:223:45: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:224:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:229:28: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); > ^~~~~~~~~~~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:235:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = (int)strlen(param->extusername) + 1; > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:238:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > res = (int)strlen(param->extpassword); > ^~~~~~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:242:19: warning: passing 'unsigned char [320]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = (int)strlen(buf); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >smtpp.c:244:28: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); > ^~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >smtpp.c:269:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(res != 2) socksend(param->remsock, command, i, conf.timeouts[STRING_S]); > ^~~~~~~ >./proxy.h:155:43: note: passing argument to parameter 'buf' here >int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); > ^ >39 warnings generated. >--- allplugins --- >--- pcre_globals.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_globals.c >--- pcre_info.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_info.c >--- pcre_maketables.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_maketables.c >--- pcre_newline.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_newline.c >--- srvftppr.o --- >cc -osrvftppr.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c >In file included from ftppr.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >ftppr.c:79:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(buf) + 1; > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >ftppr.c:97:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(buf) + 1; > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >ftppr.c:153:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > sprintf(buf, "200 OK\r\n"); > ^~~ >/usr/include/stdio.h:267:31: note: passing argument to parameter here >int sprintf(char * __restrict, const char * __restrict, ...); > ^ >ftppr.c:159:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(buf) + 1; > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >ftppr.c:187:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > reqsize = (int)strlen(buf) + 1; > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >6 warnings generated. >--- allplugins --- >--- pcre_ord2utf8.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ord2utf8.c >--- pcre_refcount.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_refcount.c >--- pcre_study.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_study.c >--- pcre_tables.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_tables.c >--- pcre_try_flipped.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_try_flipped.c >--- srvsocks.o --- >cc -osrvsocks.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c >--- allplugins --- >--- pcre_ucp_searchfuncs.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_ucp_searchfuncs.c >--- srvsocks.o --- >In file included from socks.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >socks.c:162:38: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type 'struct sockaddr_in6 *' as the destination; expected 'struct sockaddr_in6' or an explicit length [-Wsizeof-pointer-memaccess] > memcpy(¶m->sinsr, ¶m->req, sizeof(¶m->req)); > ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ >socks.c:221:38: warning: 'memcpy' call operates on objects of type 'struct sockaddr_in6' while the size is based on a different type 'struct sockaddr_in6 *' [-Wsizeof-pointer-memaccess] > memcpy(&sin, ¶m->sincl, sizeof(&sin)); > ~~~~ ^~~~ >socks.c:221:38: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? > memcpy(&sin, ¶m->sincl, sizeof(&sin)); > ^~~~ >--- allplugins --- >--- pcre_valid_utf8.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_valid_utf8.c >--- pcre_version.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_version.c >--- pcre_xclass.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_xclass.c >--- pcre_dftables.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_dftables.c >--- srvsocks.o --- >3 warnings generated. >--- allplugins --- >--- pcre_plugin.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcre_plugin.c >--- srvtcppm.o --- >cc -osrvtcppm.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c >--- allplugins --- >pcre_plugin.c:147:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > count = pcre_exec(pcrefd->re, NULL, *buf_p, *length_p, offset, 0, ovector, 48); > ^~~~~~ >./pcre.h:279:73: note: passing argument to parameter here >PCRE_EXP_DECL int pcre_exec(const pcre *, const pcre_extra *, PCRE_SPTR, > ^ >pcre_plugin.c:198:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > *buf_p = newbuf; > ^ ~~~~~~ >pcre_plugin.c:232:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncmp(argv[2], "allow",5)) action = PASS; > ^~~~~~~ >/usr/include/string.h:100:26: note: passing argument to parameter here >int strncmp(const char *, const char *, size_t) __pure; > ^ >pcre_plugin.c:233:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > else if(!strncmp(argv[2], "deny",4)) action = REJECT; > ^~~~~~~ >/usr/include/string.h:100:26: note: passing argument to parameter here >int strncmp(const char *, const char *, size_t) __pure; > ^ >pcre_plugin.c:234:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > else if(!strncmp(argv[2], "remove",6)) action = REMOVE; > ^~~~~~~ >/usr/include/string.h:100:26: note: passing argument to parameter here >int strncmp(const char *, const char *, size_t) __pure; > ^ >pcre_plugin.c:235:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > else if(!strncmp(argv[2], "dunno",5)) action = CONTINUE; > ^~~~~~~ >/usr/include/string.h:100:26: note: passing argument to parameter here >int strncmp(const char *, const char *, size_t) __pure; > ^ >pcre_plugin.c:237:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strncmp(argv[0], "pcre_rewrite", 12)) { > ^~~~~~~ >/usr/include/string.h:100:26: note: passing argument to parameter here >int strncmp(const char *, const char *, size_t) __pure; > ^ >pcre_plugin.c:240:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > replace = pl->mystrdup(argv[4]); > ^~~~~~~ >pcre_plugin.c:269:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > acl->nolog = (strstr(argv[2],"log") == 0); > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:299:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(argv[1], "request"))newf->filter_request = pcre_filter_buffer; > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:300:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(argv[1], "cliheader"))newf->filter_header_cli = pcre_filter_buffer; > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:301:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(argv[1], "clidata"))newf->filter_data_cli = pcre_filter_buffer; > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:302:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(argv[1], "srvheader"))newf->filter_header_srv = pcre_filter_buffer; > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:303:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(argv[1], "srvdata"))newf->filter_data_srv = pcre_filter_buffer; > ^~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >pcre_plugin.c:337:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strcmp(pcreopts[i].name, argv[j])) > ^~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >--- srvtcppm.o --- >In file included from tcppm.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >1 warning generated. >--- allplugins --- >--- pcreposix.o --- >cc -fpic -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pcreposix.c >--- pcre_plugin.o --- >15 warnings generated. >--- srvicqpr.o --- >cc -osrvicqpr.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL icqpr.c >--- allplugins --- >--- PCREPlugin.so --- >cc -o../../PCREPlugin.so -pthread -shared pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o pcre_maketables.o pcre_newline.o pcre_ord2utf8.o pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o pcre_xclass.o pcre_dftables.o pcre_plugin.o pcreposix.o >--- srvicqpr.o --- >In file included from icqpr.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >icqpr.c:131:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > for(ic = icq_cookies; ic; ic = ic->next)if(!strcmp(param->username, ic->id))break; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >icqpr.c:135:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ic->id = mystrdup(param->username); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >icqpr.c:205:55: warning: passing 'char [21]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!state->leftinstate)param->srv->logfunc(param, "Warning: need resync"); > ^~~~~~~~~~~~~~~~~~~~~~ >icqpr.c:208:33: warning: passing 'char [12]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Out of Sync"); > ^~~~~~~~~~~~~ >icqpr.c:217:32: warning: passing 'char [23]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, "Warning: Wrong channel"); > ^~~~~~~~~~~~~~~~~~~~~~~~ >icqpr.c:240:33: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, smallbuf); > ^~~~~~~~ >icqpr.c:245:64: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] > sprintf(smallbuf, "Warning: %hu flaps are lost on resync", state->gotseq - state->srvseq ); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %d >icqpr.c:246:32: warning: passing 'char [64]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->srv->logfunc(param, smallbuf); > ^~~~~~~~ >icqpr.c:342:39: warning: passing 'char [0]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > i = sockgetlinebuf(param, direction, flap->data, len, EOF, conf.timeouts[STRING_S]); > ^~~~~~~~~~ >./proxy.h:165:81: note: passing argument to parameter 'buf' here >int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); > ^ >icqpr.c:421:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!param->username && ic->id) param->username = mystrdup(ic->id); > ^ ~~~~~~~~~~~~~~~~ >--- srvudppm.o --- >cc -osrvudppm.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL udppm.c >In file included from udppm.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >1 warning generated. >--- sockmap.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockmap.c >In file included from sockmap.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >sockmap.c:52:52: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:262:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:52:90: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->clioffset, ¶m->cliinbuf); >--- srvicqpr.o --- >11 warnings generated. >--- sockmap.o --- > ^~~~~~~~~~~~~~~~ >./proxy.h:262:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:59:52: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:263:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); >--- sockgetchar.o --- >--- sockmap.o --- > ^ >sockmap.c:59:90: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvoffset, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~ >./proxy.h:263:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:190:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:262:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:190:97: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, param->cliinbuf - res, ¶m->cliinbuf); > ^~~~~~~~~~~~~~~~ >--- sockgetchar.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL sockgetchar.c >--- sockmap.o --- >./proxy.h:262:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:223:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~~~ >./proxy.h:263:88: note: passing argument to parameter 'bufsize_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >sockmap.c:223:97: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] > action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, param->srvinbuf - res, ¶m->srvinbuf); > ^~~~~~~~~~~~~~~~ >./proxy.h:263:117: note: passing argument to parameter 'length_p' here >FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); > ^ >--- sockgetchar.o --- >In file included from sockgetchar.c:8: >--- sockmap.o --- >9 warnings generated. >--- sockgetchar.o --- >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- myalloc.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL myalloc.c >In file included from myalloc.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >--- sockgetchar.o --- >1 warning generated. >--- myalloc.o --- >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- common.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL common.c >--- myalloc.o --- >1 warning generated. >--- auth.o --- >cc -oauth.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL auth.c >--- common.o --- >In file included from common.c:11: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- auth.o --- >In file included from auth.c:9: >--- common.o --- >common.c:160:2: warning: incompatible pointer types initializing 'size_t (*)(int, const void *, size_t, int)' with an expression of type 'ssize_t (int, const void *, size_t, int)' [-Wincompatible-pointer-types] > send, > ^~~~ >common.c:161:2: warning: incompatible pointer types initializing 'size_t (*)(int, const void *, size_t, int, const struct sockaddr *, socklen_t)' with an expression of type 'ssize_t (int, const void *, size_t, int, const struct sockaddr *, socklen_t)' [-Wincompatible-pointer-types] > sendto, > ^~~~~~ >common.c:162:2: warning: incompatible pointer types initializing 'size_t (*)(int, void *, size_t, int)' with an expression of type 'ssize_t (int, void *, size_t, int)' [-Wincompatible-pointer-types] > recv, > ^~~~ >--- auth.o --- >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >auth.c:46:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > needreplace = strchr(param->hostname, ':'); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:76:26: note: passing argument to parameter here >char *strchr(const char *, int) __pure; > ^ >auth.c:48:9: warning: use of unary operator that may be intended as compound assignment (+=) > len =+ sprintf((char *)buf + len, "%.256s", param->hostname); > ^~ >--- common.o --- >common.c:163:2: warning: incompatible pointer types initializing 'size_t (*)(int, void *, size_t, int, struct sockaddr *, socklen_t *)' with an expression of type 'ssize_t (int, void *, size_t, int, struct sockaddr *restrict, socklen_t *restrict)' [-Wincompatible-pointer-types] > recvfrom, > ^~~~~~~~ >common.c:231:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > getip46(family, host + (se!=0), (struct sockaddr *)sa); > ^~~~~~~~~~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >common.c:300:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(param->hostname)parsehostname(param->hostname, param, port); >--- auth.o --- >auth.c:372:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name)) match = 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >auth.c:372:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name)) match = 1; > ^~~~~~~~~~~~~~ >/usr/include/string.h:118:40: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >--- common.o --- > ^~~~~~~~~~~~~~~ >common.c:237:25: note: passing argument to parameter 'hostname' here >int parsehostname(char *hostname, struct clientparam *param, unsigned short port){ > ^ >common.c:469:24: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] > if(param->service >=0 && param->service < 15) { > ~~~~~~~~~~~~~~ ^ ~ >common.c:522:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > sprintf((char *)buf+i, "%"PRINTF_INT64_MODIFIER"u", param->statssrv64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > %lu >--- auth.o --- >auth.c:376:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >auth.c:376:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name) == (char *)param->hostname) match = 1; > ^~~~~~~~~~~~~~ >/usr/include/string.h:118:40: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; >--- common.o --- >common.c:526:58: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > sprintf((char *)buf+i, "%"PRINTF_INT64_MODIFIER"u", param->statscli64); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ > %lu >common.c:831:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > return inet_pton(*SAFAMILY(sa), name, SAADDR(sa))? *SAFAMILY(sa) : 0; > ^~~~ >/usr/include/arpa/inet.h:149:45: note: passing argument to parameter here >int inet_pton(int, const char * __restrict, void * __restrict); > ^ >--- auth.o --- > ^ >auth.c:380:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:118:26: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >auth.c:380:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; > ^~~~~~~~~~~~~~ >--- common.o --- >common.c:835:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > return inet_pton(AF_INET6, name, SAADDR(sa))?(family==4? 0:AF_INET6) : 0; > ^~~~ >/usr/include/arpa/inet.h:149:45: note: passing argument to parameter here >int inet_pton(int, const char * __restrict, void * __restrict); > ^ >common.c:850:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (getaddrinfo(name, NULL, &hint, &ai)) { > ^~~~ >/usr/include/netdb.h:237:30: note: passing argument to parameter here >int getaddrinfo(const char *, const char *, > ^ >--- auth.o --- >/usr/include/string.h:118:40: note: passing argument to parameter here >char *strstr(const char *, const char *) __pure; > ^ >auth.c:380:91: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strstr(param->hostname, hstentry->name) == (char *)(param->hostname + i - (strlen(hstentry->name)))) match = 1; > ^~~~~~~~~~~~~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >auth.c:384:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] >--- common.o --- >common.c:853:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if (getaddrinfo(name, NULL, &hint, &ai)) return 0; > ^~~~ >/usr/include/netdb.h:237:30: note: passing argument to parameter here >int getaddrinfo(const char *, const char *, > ^ >--- auth.o --- > if(!strcmp(param->hostname, hstentry->name)) match = 1; > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:384:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strcmp(param->hostname, hstentry->name)) match = 1; > ^~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:654:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(((!(conf.authcachetype&2)) || (param->username && ac->username && !strcmp(ac->username, param->username))) && > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:656:92: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (!(conf.authcachetype&4) || (ac->password && param->password && !strcmp(ac->password, param->password)))) { > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:660:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->username = mystrdup(ac->username); > ^ ~~~~~~~~~~~~~~~~~~~~~~ >auth.c:688:59: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((!(conf.authcachetype&2) || !strcmp(ac->username, param->username)) && > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:690:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > (!(conf.authcachetype&4) || (ac->password && !strcmp(ac->password, param->password)))) { > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:692:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(strcmp(ac->username, param->username)){ > ^~~~~~~~~~~~~~~ >/usr/include/string.h:80:39: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >auth.c:694:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ac->username = mystrdup(param->username); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >auth.c:699:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ac->password = mystrdup(param->password); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >auth.c:710:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > ac->username = mystrdup(param->username); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >auth.c:713:77: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((conf.authcachetype&4) && param->password) ac->password = mystrdup(param->password); > ^~~~~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >auth.c:775:43: warning: passing 'char [128]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!udpresolve(*SAFAMILY(¶m->sincr), buf, addr, NULL, param, 1)) return 6; > ^~~ >./proxy.h:245:50: note: passing argument to parameter 'name' here >unsigned long udpresolve(int af, unsigned char * name, unsigned char * value, unsigned *retttl, struct clientparam* param, int makeauth); > ^ >auth.c:775:48: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!udpresolve(*SAFAMILY(¶m->sincr), buf, addr, NULL, param, 1)) return 6; > ^~~~ >./proxy.h:245:72: note: passing argument to parameter 'value' here >unsigned long udpresolve(int af, unsigned char * name, unsigned char * value, unsigned *retttl, struct clientparam* param, int makeauth); > ^ >auth.c:1186:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->username = mystrdup (buf + k + 13); > ^~~~~~~~~~~~ >/usr/include/string.h:85:26: note: passing argument to parameter here >char *strdup(const char *) __malloc_like; > ^ >auth.c:1186:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > param->username = mystrdup (buf + k + 13); > ^ ~~~~~~~~~~~~~~~~~~~~~~~ >--- common.o --- >14 warnings generated. >--- conf.o --- >cc -oconf.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL conf.c >In file included from conf.c:1: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >conf.c:729:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!strcmp(argv[0],"nolog")) acl->nolog = 1; > ^~~~~~~ >/usr/include/string.h:80:25: note: passing argument to parameter here >int strcmp(const char *, const char *) __pure; > ^ >conf.c:742:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((slash = strchr(arg, '/'))) *slash = 0; > ^~~ >/usr/include/string.h:76:26: note: passing argument to parameter here >char *strchr(const char *, int) __pure; > ^ >conf.c:743:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if((dash = strchr(arg,'-'))) *dash = 0; > ^~~ >/usr/include/string.h:76:26: note: passing argument to parameter here >char *strchr(const char *, int) __pure; > ^ >conf.c:749:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] > if(!getip46(46, dash+1, (struct sockaddr *)&sa)) return 2; > ^~~~~~ >./proxy.h:195:50: note: passing argument to parameter 'name' here >unsigned long getip46(int family, unsigned char *name, struct sockaddr *sa); > ^ >--- auth.o --- >26 warnings generated. >--- datatypes.o --- >cc -odatatypes.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL datatypes.c >In file included from datatypes.c:8: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >datatypes.c:12:75: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > if(node->value)(*cbf)(cb, buf, sprintf(buf, "%"PRINTF_INT64_MODIFIER"u", *(uint64_t *)node->value)); > ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %lu >datatypes.c:77:37: warning: data argument not used by format string [-Wformat-extra-args] > sprintf(buf + strlen(buf), "]:hu", (unsigned short)*SAPORT(node->value)); > ~~~~~~ ^ >3 warnings generated. >--- md4.o --- >cc -omd4.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md4.c >--- md5.o --- >cc -omd5.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/md5.c >--- conf.o --- >5 warnings generated. >--- mycrypt.o --- >cc -omycrypt.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL mycrypt.c >--- base64.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL base64.c >--- ftp.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftp.c >--- smbdes.o --- >cc -osmbdes.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL libs/smbdes.c >--- ftp.o --- >In file included from ftp.c:8: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- ntlm.o --- >cc -ontlm.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ntlm.c >--- ftp.o --- >1 warning generated. >--- stringtable.o --- >cc -ostringtable.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL stringtable.c >--- ntlm.o --- >In file included from ntlm.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- srvwebadmin.o --- >cc -osrvwebadmin.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL webadmin.c >In file included from webadmin.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- ntlm.o --- >1 warning generated. >--- srvdnspr.o --- >cc -osrvdnspr.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dnspr.c >--- srvwebadmin.o --- >webadmin.c:476:6: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > cp->traflim64, > ^~~~~~~~~~~~~ >webadmin.c:478:6: warning: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] > cp->traf64, > ^~~~~~~~~~ >--- srvdnspr.o --- >In file included from dnspr.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >dnspr.c:198:8: warning: '&&' within '||' [-Wlogical-op-parentheses] > if(ip && type == 0x01 || type == 0x1c){ > ~~~^~~~~~~~~~~~~~~ ~~ >dnspr.c:198:8: note: place parentheses around the '&&' expression to silence this warning > if(ip && type == 0x01 || type == 0x1c){ > ^ > ( ) >dnspr.c:199:64: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] > myinet_ntop(type == 0x01? AF_INET:AF_INET6, addr, buf+strlen(buf), 64); > ^~~ >/usr/include/string.h:95:28: note: passing argument to parameter here >size_t strlen(const char *) __pure; > ^ >dnspr.c:199:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] > myinet_ntop(type == 0x01? AF_INET:AF_INET6, addr, buf+strlen(buf), 64); > ^~~~~~~~~~~~~~~ >./proxy.h:191:42: note: passing argument to parameter 'dst' here >int myinet_ntop(int af, void *src, char *dst, socklen_t size); > ^ >4 warnings generated. >--- plugins.o --- >cc -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL plugins.c >In file included from plugins.c:9: >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >1 warning generated. >--- dighosts.o --- >cc -odighosts.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL dighosts.c >In file included from dighosts.c:8: >--- srvwebadmin.o --- >3 warnings generated. >--- dighosts.o --- >In file included from ./proxy.h:24: >/usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] >#warning "this file includes <sys/timeb.h> which is deprecated" > ^ >--- pop3p --- >cc -opop3p -pthread sockmap.o pop3p.o sockgetchar.o myalloc.o common.o >--- socks --- >cc -osocks -pthread sockmap.o socks.o sockgetchar.o myalloc.o common.o >--- dighosts.o --- >1 warning generated. >--- tcppm --- >cc -otcppm -pthread sockmap.o sockgetchar.o tcppm.o myalloc.o common.o >--- icqpr --- >cc -oicqpr -pthread sockmap.o sockgetchar.o icqpr.o myalloc.o common.o >--- udppm --- >cc -oudppm -pthread sockmap.o sockgetchar.o udppm.o myalloc.o common.o >--- smtpp --- >cc -osmtpp -pthread sockmap.o smtpp.o sockgetchar.o base64.o myalloc.o common.o >--- mycrypt --- >cc -omycrypt -pthread md4.o md5.o base64.o mycryptmain.o >--- proxy --- >cc -oproxy -pthread sockmap.o proxy.o sockgetchar.o myalloc.o common.o base64.o ftp.o >--- ftppr --- >cc -oftppr -pthread sockmap.o ftppr.o sockgetchar.o myalloc.o common.o ftp.o >--- 3proxy --- >cc -o3proxy -pthread 3proxy.o mainfunc.o auth.o conf.o datatypes.o srvproxy.o srvpop3p.o srvsmtpp.o srvftppr.o srvsocks.o srvtcppm.o srvicqpr.o srvudppm.o sockmap.o sockgetchar.o myalloc.o common.o mycrypt.o md5.o md4.o base64.o ftp.o smbdes.o ntlm.o stringtable.o srvwebadmin.o srvdnspr.o plugins.o >--- dighosts --- >cc -odighosts -pthread dighosts.o myalloc.o common.o >/bin/mv /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/src/proxy /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/src/httppr >/bin/mv /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/man/proxy.8 /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/man/httppr.8 >=========================================================================== >====>> Checking for filesystem violations... done >=======================<phase: run-depends >============================ >=========================================================================== >====>> Recording filesystem state for prestage... done >=======================<phase: stage >============================ >===> Staging for 3proxy-0.8.3 >===> Generating temporary packing list >/bin/mkdir -p /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/lib/3proxy/ /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/share/doc/3proxy/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/src/ && install -s -m 555 3proxy dighosts ftppr icqpr mycrypt pop3p httppr smtpp socks tcppm udppm /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/bin/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/cfg/ && install -m 0644 3proxy.cfg.sample /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/etc/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/src/ && install -s -m 444 PCREPlugin.so StringsPlugin.so TrafficPlugin.so /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/lib/3proxy/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/man/ && install -m 444 3proxy.cfg.3 /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/man/man3/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/man/ && install -m 444 3proxy.8 ftppr.8 pop3p.8 httppr.8 socks.8 tcppm.8 udppm.8 /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/man/man8/ >cd /wrkdirs/usr/ports/net/3proxy/work/3proxy-3proxy-0.8.3/ && install -m 0644 README /wrkdirs/usr/ports/net/3proxy/work/stage/usr/local/share/doc/3proxy/ >====> Compressing man pages (compress-man) >===> Staging rc.d startup script(s) >===> Installing ldconfig configuration file >=========================================================================== >====> Running Q/A tests (stage-qa) >====> Checking for pkg-plist issues (check-plist) >===> Parsing plist >===> Checking for items in STAGEDIR missing from pkg-plist >===> Checking for items in pkg-plist which are not in STAGEDIR >===> No pkg-plist issues found (check-plist) >====>> Checking for staging violations... done >=======================<phase: package >============================ >===> Building package for 3proxy-0.8.3 >=========================================================================== >=======================<phase: install-mtree >============================ >=========================================================================== >====>> Recording filesystem state for preinst... done >=======================<phase: install >============================ >===> Installing for 3proxy-0.8.3 >===> Checking if 3proxy already installed >===> Registering installation for 3proxy-0.8.3 >[FreeBSD:10:amd64-default] Installing 3proxy-0.8.3... >===> SECURITY REPORT: > This port has installed the following files which may act as network > servers and may therefore pose a remote security risk to the system. >/usr/local/bin/smtpp >/usr/local/bin/3proxy >/usr/local/bin/tcppm >/usr/local/bin/dighosts >/usr/local/bin/ftppr >/usr/local/bin/udppm >/usr/local/bin/httppr >/usr/local/bin/pop3p >/usr/local/bin/socks >/usr/local/bin/icqpr > > This port has installed the following startup scripts which may cause > these network services to be started at boot time. >/usr/local/etc/rc.d/3proxy > > If there are vulnerabilities in these programs there may be a security > risk to the system. FreeBSD makes no guarantee about the security of > ports included in the Ports Collection. Please type 'make deinstall' > to deinstall the port if this is a concern. > > For more information, and contact details about the security > status of this software, see the following webpage: >http://3proxy.ru/ >=========================================================================== >====>> Checking shared library dependencies > 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] > 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] >=======================<phase: deinstall >============================ >===> Deinstalling for 3proxy >===> Deinstalling 3proxy-0.8.3 >Updating database digests format: .. done >Checking integrity... done (0 conflicting) >Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): > >Installed packages to be REMOVED: > 3proxy-0.8.3 > >The operation will free 821 KiB. >[FreeBSD:10:amd64-default] [1/1] Deinstalling 3proxy-0.8.3... >[FreeBSD:10:amd64-default] [1/1] Deleting files for 3proxy-0.8.3: .......... done >=========================================================================== >====>> Checking for extra files and directories >[00:01:00] ====>> Installing from package >[FreeBSD:10:amd64-default] Installing 3proxy-0.8.3... >[FreeBSD:10:amd64-default] Extracting 3proxy-0.8.3: .......... done >[00:01:00] ====>> Cleaning up >===> Cleaning for 3proxy-0.8.3 >[00:01:00] ====>> Deinstalling package >Updating database digests format: . done >Checking integrity... done (0 conflicting) >Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): > >Installed packages to be REMOVED: > 3proxy-0.8.3 > >The operation will free 821 KiB. >[FreeBSD:10:amd64-default] [1/1] Deinstalling 3proxy-0.8.3... >[FreeBSD:10:amd64-default] [1/1] Deleting files for 3proxy-0.8.3: .......... done >build of net/3proxy ended at Tue Jan 26 12:28:48 MSK 2016 >build time: 00:00:13
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 206641
:
166143
| 166144