printf ' ' | fink --no-use-binary-dist --yes --build-as-nobody rebuild dclib5 2>&1 The package 'dclib5' will be built without being installed. Reading build dependency for dclib5-0.3.23-1... Reading dependency for dclib5-0.3.23-1... Reading dependency for dclib5-shlibs-0.3.23-1... Reading build conflict for dclib5-0.3.23-1... The package 'bzip2-dev' will be installed. Reading dependency for bzip2-dev-1.0.6-1... Reading runtime dependency for bzip2-dev-1.0.6-1... The package 'libiconv-dev' will be installed. Reading dependency for libiconv-dev-1.14-5... Reading runtime dependency for libiconv-dev-1.14-5... The package 'libxml2' will be installed. Reading dependency for libxml2-2.9.1-3... Reading runtime dependency for libxml2-2.9.1-3... The package 'pkgconfig' will be installed. Reading dependency for pkgconfig-0.28-1... Reading runtime dependency for pkgconfig-0.28-1... The package 'system-openssl-dev' will be installed. Reading dependency for system-openssl-dev-0.9.8-6... Reading runtime dependency for system-openssl-dev-0.9.8-6... The package 'libxml2-shlibs' will be installed. Reading dependency for libxml2-shlibs-2.9.1-3... Reading runtime dependency for libxml2-shlibs-2.9.1-3... The package 'libxml2-bin' will be installed. Reading dependency for libxml2-bin-2.9.1-3... Reading runtime dependency for libxml2-bin-2.9.1-3... The following package will be rebuilt: dclib5 The following 7 additional packages will be installed: bzip2-dev libiconv-dev libxml2 libxml2-bin libxml2-shlibs pkgconfig system-openssl-dev Do you want to continue? [Y/n] (assuming default) curl --connect-timeout 30 -f -L -A 'fink/0.37.0' -O http://distfiles.master.finkmirrors.net/distfiles/dclib-0.3.23.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 6 505k 6 35957 0 0 81355 0 0:00:06 --:--:-- 0:00:06 81350 63 505k 63 320k 0 0 218k 0 0:00:02 0:00:01 0:00:01 218k 100 505k 100 505k 0 0 267k 0 0:00:01 0:00:01 --:--:-- 267k Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/bzip2-dev_1.0.6-1_darwin-x86_64.deb Selecting previously deselected package bzip2-dev. (Reading database ... 7370 files and directories currently installed.) Unpacking bzip2-dev (from .../bzip2-dev_1.0.6-1_darwin-x86_64.deb) ... Setting up bzip2-dev (1.0.6-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/base/libiconv-dev_1.14-5_darwin-x86_64.deb Selecting previously deselected package libiconv-dev. (Reading database ... 7377 files and directories currently installed.) Unpacking libiconv-dev (from .../libiconv-dev_1.14-5_darwin-x86_64.deb) ... Setting up libiconv-dev (1.14-5) ... Clearing dependency_libs of .la files being installed Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/libxml2_2.9.1-3_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libxml2-shlibs_2.9.1-3_darwin-x86_64.deb /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/libxml2-bin_2.9.1-3_darwin-x86_64.deb Selecting previously deselected package libxml2. (Reading database ... 7395 files and directories currently installed.) Unpacking libxml2 (from .../libxml2_2.9.1-3_darwin-x86_64.deb) ... Selecting previously deselected package libxml2-shlibs. Unpacking libxml2-shlibs (from .../libxml2-shlibs_2.9.1-3_darwin-x86_64.deb) ... Selecting previously deselected package libxml2-bin. Unpacking libxml2-bin (from .../libxml2-bin_2.9.1-3_darwin-x86_64.deb) ... Setting up libxml2-shlibs (2.9.1-3) ... Setting up libxml2-bin (2.9.1-3) ... Setting up libxml2 (2.9.1-3) ... Clearing dependency_libs of .la files being installed Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/pkgconfig_0.28-1_darwin-x86_64.deb Selecting previously deselected package pkgconfig. (Reading database ... 7763 files and directories currently installed.) Unpacking pkgconfig (from .../pkgconfig_0.28-1_darwin-x86_64.deb) ... Setting up pkgconfig (0.28-1) ... Reading buildlock packages... All buildlocks accounted for. /sw/bin/dpkg-lockwait -i /sw/fink/debs/system-openssl-dev_0.9.8-6_darwin-x86_64.deb Selecting previously deselected package system-openssl-dev. (Reading database ... 7776 files and directories currently installed.) Unpacking system-openssl-dev (from .../system-openssl-dev_0.9.8-6_darwin-x86_64.deb) ... Setting up system-openssl-dev (0.9.8-6) ... Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-dclib5-0.3.23-1 /sw/build.build dpkg-deb: building package `fink-buildlock-dclib5-0.3.23-1' in `/sw/build.build/fink-buildlock-dclib5-0.3.23-1_2014.07.26-04.19.39_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-dclib5-0.3.23-1_2014.07.26-04.19.39_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-dclib5-0.3.23-1. (Reading database ... 7784 files and directories currently installed.) Unpacking fink-buildlock-dclib5-0.3.23-1 (from .../fink-buildlock-dclib5-0.3.23-1_2014.07.26-04.19.39_darwin-x86_64.deb) ... Setting up fink-buildlock-dclib5-0.3.23-1 (2014.07.26-04.19.39) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.2tGgm env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/dclib-0.3.23.tar.bz2 dclib-0.3.23/ dclib-0.3.23/config.h.in dclib-0.3.23/HACKING dclib-0.3.23/configure.in dclib-0.3.23/tests/ dclib-0.3.23/tests/cstring-number.cpp dclib-0.3.23/tests/priv-ips.cpp dclib-0.3.23/tests/ciconv-test.cpp dclib-0.3.23/tests/cstring-compare.cpp dclib-0.3.23/tests/Makefile.in dclib-0.3.23/tests/Makefile.am dclib-0.3.23/tests/tth-test.cpp dclib-0.3.23/tests/cstring-find.cpp dclib-0.3.23/tests/case-fold.cpp dclib-0.3.23/tests/cstring-upper-lower.cpp dclib-0.3.23/tests/threads-mutex.cpp dclib-0.3.23/tests/cstring-self.cpp dclib-0.3.23/configure dclib-0.3.23/aclocal.m4 dclib-0.3.23/INSTALL dclib-0.3.23/AUTHORS dclib-0.3.23/dclib.spec.in dclib-0.3.23/ChangeLog dclib-0.3.23/dclib.pc.in dclib-0.3.23/m4/ dclib-0.3.23/m4/libxml.m4 dclib-0.3.23/m4/lib-ld.m4 dclib-0.3.23/m4/ltversion.m4 dclib-0.3.23/m4/fsusage.m4 dclib-0.3.23/m4/ltsugar.m4 dclib-0.3.23/m4/acx_pthread.m4 dclib-0.3.23/m4/dclib-stl-tests.m4 dclib-0.3.23/m4/lib-prefix.m4 dclib-0.3.23/m4/fstypename.m4 dclib-0.3.23/m4/lib-link.m4 dclib-0.3.23/m4/ltoptions.m4 dclib-0.3.23/m4/libtool.m4 dclib-0.3.23/m4/lt~obsolete.m4 dclib-0.3.23/m4/md5.m4 dclib-0.3.23/m4/pkg.m4 dclib-0.3.23/m4/iconv.m4 dclib-0.3.23/m4/dclib-ssl-tests.m4 dclib-0.3.23/Makefile.in dclib-0.3.23/Makefile.am dclib-0.3.23/NEWS dclib-0.3.23/dclib.lsm.in dclib-0.3.23/TODO dclib-0.3.23/COPYING dclib-0.3.23/admin/ dclib-0.3.23/admin/missing dclib-0.3.23/admin/depcomp dclib-0.3.23/admin/config.guess dclib-0.3.23/admin/ltmain.sh dclib-0.3.23/admin/config.sub dclib-0.3.23/admin/install-sh dclib-0.3.23/admin/config.rpath dclib-0.3.23/admin/Makefile.common dclib-0.3.23/README dclib-0.3.23/dclib-uninstalled.pc.in dclib-0.3.23/Makefile.dist dclib-0.3.23/COPYING.OpenSSL dclib-0.3.23/extras/ dclib-0.3.23/extras/dclib-dump-database.cpp dclib-0.3.23/extras/dclib-fix-timestamps.cpp dclib-0.3.23/dclib/ dclib-0.3.23/dclib/cconnectionmanager.h dclib-0.3.23/dclib/hash/ dclib-0.3.23/dclib/hash/TigerHash.cpp dclib-0.3.23/dclib/hash/changes.txt dclib-0.3.23/dclib/hash/HashValue.h dclib-0.3.23/dclib/hash/TigerHash.h dclib-0.3.23/dclib/hash/Makefile.in dclib-0.3.23/dclib/hash/Makefile.am dclib-0.3.23/dclib/hash/dcpp-to-dclib.diff dclib-0.3.23/dclib/hash/compat.h dclib-0.3.23/dclib/hash/MerkleTree.h dclib-0.3.23/dclib/csharelist.h dclib-0.3.23/dclib/gnulib/ dclib-0.3.23/dclib/gnulib/md5.h dclib-0.3.23/dclib/gnulib/full-read.h dclib-0.3.23/dclib/gnulib/full-write.c dclib-0.3.23/dclib/gnulib/Makefile.in dclib-0.3.23/dclib/gnulib/Makefile.am dclib-0.3.23/dclib/gnulib/full-read.c dclib-0.3.23/dclib/gnulib/fsusage.c dclib-0.3.23/dclib/gnulib/safe-read.h dclib-0.3.23/dclib/gnulib/md5.c dclib-0.3.23/dclib/gnulib/safe-read.c dclib-0.3.23/dclib/gnulib/fsusage.h dclib-0.3.23/dclib/ccasefolder.h dclib-0.3.23/dclib/chublistmanager.h dclib-0.3.23/dclib/csharelist.cpp dclib-0.3.23/dclib/csearchsocket.cpp dclib-0.3.23/dclib/dcobject.cpp dclib-0.3.23/dclib/clistenmanager.h dclib-0.3.23/dclib/cfilehasher.h dclib-0.3.23/dclib/cclient.h dclib-0.3.23/dclib/csearchindex.h dclib-0.3.23/dclib/chublistmanager.cpp dclib-0.3.23/dclib/cuserlist.cpp dclib-0.3.23/dclib/dclib-stl-use.h.in dclib-0.3.23/dclib/csharetreefolder.h dclib-0.3.23/dclib/cclient.cpp dclib-0.3.23/dclib/cdownloadqueue.h dclib-0.3.23/dclib/ctransfer.h dclib-0.3.23/dclib/cclientssl.cpp dclib-0.3.23/dclib/clistenmanager.cpp dclib-0.3.23/dclib/csearchindex.cpp dclib-0.3.23/dclib/dcos.h.in dclib-0.3.23/dclib/cdownloadqueue.cpp dclib-0.3.23/dclib/cmessagehandler.h dclib-0.3.23/dclib/chttp.h dclib-0.3.23/dclib/cdcproto.cpp dclib-0.3.23/dclib/cconfig.h dclib-0.3.23/dclib/cfilehasher.cpp dclib-0.3.23/dclib/cpluginmanager.cpp dclib-0.3.23/dclib/csharetreefolder.cpp dclib-0.3.23/dclib/cquerymanager.h dclib-0.3.23/dclib/cuserlist.h dclib-0.3.23/dclib/cencrypt.h dclib-0.3.23/dclib/cutils.cpp dclib-0.3.23/dclib/dclib.h dclib-0.3.23/dclib/Makefile.in dclib-0.3.23/dclib/Makefile.am dclib-0.3.23/dclib/csearchmanager.cpp dclib-0.3.23/dclib/dclib.cpp dclib-0.3.23/dclib/cdownloadmanager.h dclib-0.3.23/dclib/dcobject.h dclib-0.3.23/dclib/cdcproto.h dclib-0.3.23/dclib/cfilemanager.cpp dclib-0.3.23/dclib/cdownloadmanager.cpp dclib-0.3.23/dclib/cquerymanager.cpp dclib-0.3.23/dclib/ccasefolder-generated-code.cpp dclib-0.3.23/dclib/cpluginmanager.h dclib-0.3.23/dclib/chttp.cpp dclib-0.3.23/dclib/dclib-ssl-use.h.in dclib-0.3.23/dclib/cconnectionmanager.cpp dclib-0.3.23/dclib/csearchmanager.h dclib-0.3.23/dclib/cencrypt.cpp dclib-0.3.23/dclib/ccasefolder.cpp dclib-0.3.23/dclib/unicode/ dclib-0.3.23/dclib/unicode/CaseFolding-5.1.0.txt dclib-0.3.23/dclib/unicode/gen-case-folding-src.cpp dclib-0.3.23/dclib/csearchsocket.h dclib-0.3.23/dclib/cconfig.cpp dclib-0.3.23/dclib/ctransfer.cpp dclib-0.3.23/dclib/cmessagehandler.cpp dclib-0.3.23/dclib/cclientssl.h dclib-0.3.23/dclib/core/ dclib-0.3.23/dclib/core/cssl.cpp dclib-0.3.23/dclib/core/casyncdns.h dclib-0.3.23/dclib/core/cstring.h dclib-0.3.23/dclib/core/cplugin.h dclib-0.3.23/dclib/core/ciconv.h dclib-0.3.23/dclib/core/cthread.cpp dclib-0.3.23/dclib/core/cstring.cpp dclib-0.3.23/dclib/core/cxml.cpp dclib-0.3.23/dclib/core/cbase64.cpp dclib-0.3.23/dclib/core/cbase32.h dclib-0.3.23/dclib/core/cthread.h dclib-0.3.23/dclib/core/platform.h dclib-0.3.23/dclib/core/czlib.cpp dclib-0.3.23/dclib/core/czlib.h dclib-0.3.23/dclib/core/clogfile.cpp dclib-0.3.23/dclib/core/cmanager.h dclib-0.3.23/dclib/core/cmutex.h dclib-0.3.23/dclib/core/cssl.h dclib-0.3.23/dclib/core/che3.cpp dclib-0.3.23/dclib/core/ccallback.h dclib-0.3.23/dclib/core/csocket.cpp dclib-0.3.23/dclib/core/che3.h dclib-0.3.23/dclib/core/cmanager.cpp dclib-0.3.23/dclib/core/cbase32.cpp dclib-0.3.23/dclib/core/ctraffic.h dclib-0.3.23/dclib/core/cdir.cpp dclib-0.3.23/dclib/core/cbz.cpp dclib-0.3.23/dclib/core/Makefile.in dclib-0.3.23/dclib/core/cbytearray.h dclib-0.3.23/dclib/core/Makefile.am dclib-0.3.23/dclib/core/clogfile.h dclib-0.3.23/dclib/core/cfile.h dclib-0.3.23/dclib/core/ciconv.cpp dclib-0.3.23/dclib/core/clisten.cpp dclib-0.3.23/dclib/core/csingleton.h dclib-0.3.23/dclib/core/cbz.h dclib-0.3.23/dclib/core/cconnection.cpp dclib-0.3.23/dclib/core/clist.h dclib-0.3.23/dclib/core/cbytearray.cpp dclib-0.3.23/dclib/core/cnetaddr.h dclib-0.3.23/dclib/core/cconnection.h dclib-0.3.23/dclib/core/csocket.h dclib-0.3.23/dclib/core/cstringhash.h dclib-0.3.23/dclib/core/cnetaddr.cpp dclib-0.3.23/dclib/core/cxml.h dclib-0.3.23/dclib/core/cmutex.cpp dclib-0.3.23/dclib/core/cfile.cpp dclib-0.3.23/dclib/core/types.h dclib-0.3.23/dclib/core/clisten.h dclib-0.3.23/dclib/core/cdir.h dclib-0.3.23/dclib/core/cstringlist.h dclib-0.3.23/dclib/core/platform.cpp dclib-0.3.23/dclib/core/casyncdns.cpp dclib-0.3.23/dclib/core/cbase64.h dclib-0.3.23/dclib/cutils.h dclib-0.3.23/dclib/cfilemanager.h sudo -u fink-bld [ENV] sh -c /tmp/fink.Sl6SM /usr/bin/perl -pi -e 's,-rdynamic,,g;' configure dclib/{,core,gnulib,hash}/Makefile.in sudo -u fink-bld [ENV] sh -c /tmp/fink.Db5DZ /tmp/fink.ge18E #!/bin/sh -ev export PKG_CONFIG_PATH=/sw/lib/system-openssl/lib/pkgconfig ./configure --prefix=/sw --disable-dependency-tracking checking build system type... i386-apple-darwin13.3.0 checking host system type... i386-apple-darwin13.3.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... admin/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) none checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.3.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.3.0 dyld checking how to hardcode library paths into programs... immediate checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzBuffToBuffCompress in -lbz2... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... yes checking for dlfcn.h... (cached) yes checking for dlopen in -ldl... yes checking for xml2-config... /sw/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.9.1) checking for unistd.h... (cached) yes checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for statfs that truncates block counts... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... yes checking for dustat.h... (cached) no checking for sys/fs/s5param.h... (cached) no checking for sys/filsys.h... (cached) no checking for sys/statfs.h... (cached) no checking for statfs that truncates block counts... (cached) no checking whether byte ordering is bigendian... no checking size of void*... 8 checking size of long... 8 checking for inline... inline checking for canonicalize_file_name... no checking for realpath... yes checking for strtoll... yes checking for strtoull... yes checking for strtoq... yes checking for strtouq... yes checking for strcasestr... yes checking for lrint... yes checking for nanosleep... yes checking for usleep... yes checking for nl_langinfo... yes checking for _strtoi64... no checking for _strtoui64... no checking for if_nameindex... yes checking for ld used by GCC... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for pkg-config... /sw/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if SSL support should be enabled... yes configure: OpenSSL is currently the only supported SSL library. configure: Looking for OpenSSL libraries via pkg-config... checking for OPENSSL... yes checking if the OpenSSL flags work... yes configure: checking for C++ Standard Template Library features checking map usability... yes checking map presence... yes checking for map... yes checking set usability... yes checking set presence... yes checking for set... yes checking vector usability... yes checking vector presence... yes checking for vector... yes checking algorithm usability... yes checking algorithm presence... yes checking for algorithm... yes checking unordered_map usability... yes checking unordered_map presence... yes checking for unordered_map... yes checking unordered_set usability... yes checking unordered_set presence... yes checking for unordered_set... yes checking for _Fnv_hash or Fnv_hash... neither checking for unordered_set with a custom key... dclib requires Fnv_hash or _Fnv_hash for this checking if g++ supports -fvisibility=hidden... yes checking for build date and svn revision... Build date: 20140726 release configure: creating ./config.status config.status: creating Makefile config.status: creating dclib.spec config.status: creating dclib.lsm config.status: creating dclib.pc config.status: creating dclib-uninstalled.pc config.status: creating dclib/dcos.h config.status: creating dclib/dclib-ssl-use.h config.status: creating dclib/dclib-stl-use.h config.status: creating dclib/Makefile config.status: creating dclib/gnulib/Makefile config.status: creating dclib/core/Makefile config.status: creating dclib/hash/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/make -w make: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive make[1]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' Making all in dclib make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' Making all in gnulib make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c -o md5.lo md5.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c -o fsusage.lo fsusage.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c -o full-read.lo full-read.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c -o safe-read.lo safe-read.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c fsusage.c -fno-common -DPIC -o .libs/fsusage.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c safe-read.c -fno-common -DPIC -o .libs/safe-read.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c md5.c -fno-common -DPIC -o .libs/md5.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c full-read.c -fno-common -DPIC -o .libs/full-read.o fsusage.c:95:45: warning: unused parameter 'disk' [-Wunused-parameter] get_fs_usage (char const *file, char const *disk, struct fs_usage *fsp) ^ safe-read.c:69:9: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return result; ~~~~~~ ^~~~~~ safe-read.c:75:9: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return result; ~~~~~~ ^~~~~~ 1 warning generated. md5.c:233:50: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] md5_process_block (ctx->buffer, ctx->buflen & ~63, ctx); ~ ^~~ md5.c:238:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] &((char *) ctx->buffer)[(left_over + add) & ~63], ~ ^~~ /usr/include/secure/_string.h:65:33: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) ^ md5.c:249:6: warning: '_STRING_ARCH_unaligned' is not defined, evaluates to 0 [-Wundef] #if !_STRING_ARCH_unaligned ^ md5.c:262:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] md5_process_block (buffer, len & ~63, ctx); ~ ^~~ md5.c:263:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buffer = (const char *) buffer + (len & ~63); ~ ^~~ 2 warnings generated. md5.c:281:21: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] ctx->buflen = left_over; ~ ^~~~~~~~~ 6 warnings generated. /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -D_THREAD_SAFE -L/sw/lib -o libgnulib.la md5.lo fsusage.lo full-read.lo safe-read.lo -ldl -lz -lbz2 libtool: link: ar cru .libs/libgnulib.a .libs/md5.o .libs/fsusage.o .libs/full-read.o .libs/safe-read.o libtool: link: ranlib .libs/libgnulib.a libtool: link: ( cd ".libs" && rm -f "libgnulib.la" && ln -s "../libgnulib.la" "libgnulib.la" ) make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' Making all in core make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o casyncdns.lo casyncdns.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cbase32.lo cbase32.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cbase64.lo cbase64.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cbytearray.lo cbytearray.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cbz.lo cbz.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cconnection.lo cconnection.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cdir.lo cdir.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cfile.lo cfile.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cbytearray.cpp -fno-common -DPIC -o .libs/cbytearray.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c casyncdns.cpp -fno-common -DPIC -o .libs/casyncdns.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cbase64.cpp -fno-common -DPIC -o .libs/cbase64.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cbase32.cpp -fno-common -DPIC -o .libs/cbase32.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cbz.cpp -fno-common -DPIC -o .libs/cbz.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cconnection.cpp -fno-common -DPIC -o .libs/cconnection.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cdir.cpp -fno-common -DPIC -o .libs/cdir.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cfile.cpp -fno-common -DPIC -o .libs/cfile.o cbz.cpp:47:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] return CBZ::Compress( (char*) src->Data(), src->Size(), dst ); ~~~ ^~~~~~~~~~~ cbz.cpp:60:38: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] return CBZ::Compress( src->Data(), src->Length(), dst ); ~~~ ^~~~~~~~~~~~~ cbase32.cpp:115:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] return -1; ~~~~~~ ^~ cbz.cpp:142:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] unsigned int outlen = src->Size(); ~~~~~~ ^~~~~~~~~~~ cbz.cpp:173:84: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32] i = BZ2_bzBuffToBuffDecompress( (char*)dst->Data(), &outlen, (char*)src->Data(), src->Size(), 0, 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ cbase64.cpp:65:26: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] in.Append(string.Data(),string.Length()); ~~ ^~~~~~~~~~~~~~~ cbase64.cpp:69:35: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] outs.Set((const char*)out.Data(),out.Size()); ~~~~ ^~~~~~~~~~ cbase64.cpp:83:7: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(current[0] >> 2); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:85:7: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(((current[0] & 0x03) << 4) | (current[1] >> 4)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:87:7: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(((current[1] & 0x0f) << 2) | (current[2] >> 6)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:89:7: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(current[2] & 0x3f); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:98:7: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(current[0] >> 2); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:102:8: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars(((current[0] & 0x03) << 4) | (current[1] >> 4)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:104:8: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars((current[1] & 0x0f) << 2); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:111:8: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion] c = base64chars((current[0] & 0x03) << 4); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:47:24: note: expanded from macro 'base64chars' #define base64chars(c) B64Chars[(unsigned int)((c)&0x3F)] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cbase64.cpp:126:27: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] in.Append(string->Data(),string->Length()); ~~ ^~~~~~~~~~~~~~~~ cbase64.cpp:141:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] return -1; ~~~~~~ ^~ cbase64.cpp:144:10: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] return -1; ~~~~~~ ^~ cbase64.cpp:161:22: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (ch < 0) return -1; ~~~~~~ ^~ cbytearray.cpp:183:31: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] if ( f.Read( (char*)Data(), Size() ) == filesize ) ~ ^~~~~~ cbytearray.cpp:183:40: warning: comparison of integers of different signs: 'long' and 'ulonglong' (aka 'unsigned long long') [-Wsign-compare] if ( f.Read( (char*)Data(), Size() ) == filesize ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ cbytearray.cpp:203:56: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] if ( (Size() == 0) || (f.Write( (const char*)Data(), Size() ) == Size()) ) ~ ^~~~~~ cbytearray.cpp:203:65: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if ( (Size() == 0) || (f.Write( (const char*)Data(), Size() ) == Size()) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 4 warnings generated. cfile.cpp:209:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] i = write( m_nFD, m_pBuffer->Data(), m_nBufferPos ); ~~~~~ ^~~~~~~~~~~~ cfile.cpp:222:62: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(m_pBuffer->Data(),m_pBuffer->Data()+i,m_nBufferPos-i); ~~~~~~ ~~~~~~~~~~~~^~ cfile.cpp:260:34: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(m_pBuffer->Data(),buf,count); ~~~~~~ ^~~~~ cfile.cpp:267:46: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] memcpy(m_pBuffer->Data()+m_nBufferPos,buf,count); ~~~~~~ ^~~~~ cfile.cpp:282:27: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] i = write( m_nFD, buf, count ); ~~~~~ ^~~~~ cfile.cpp:259:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] m_nBufferPos = count; ~ ^~~~~ cfile.cpp:303:24: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] i = read( m_nFD, buf, count ); ~~~~ ^~~~~ 1 warning generated. cfile.cpp:458:27: warning: implicit conversion changes signedness: 'blksize_t' (aka 'int') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] buffer = (char*) malloc( blocksize ); ~~~~~~ ^~~~~~~~~ cfile.cpp:466:43: warning: implicit conversion changes signedness: 'blksize_t' (aka 'int') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] while ( (bytesread = read(from_fd,buffer,blocksize)) > 0 ) ~~~~ ^~~~~~~~~ cfile.cpp:468:27: warning: implicit conversion changes signedness: 'ssize_t' (aka 'long') to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ( write(to_fd,buffer,bytesread) != bytesread ) ~~~~~ ^~~~~~~~~ cdir.cpp:65:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = file.FindRev('.')) != -1 ) ~ ^~~~~~~~~~~~~~~~~ cdir.cpp:171:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int pos = sPath.FindRev('/'); ~~~ ^~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o che3.lo che3.cpp cdir.cpp:256:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] groups = (gid_t*) malloc( numgroups * sizeof(gid_t) ); ^~~~~~~~~ ~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o ciconv.lo ciconv.cpp cdir.cpp:272:27: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'long' [-Wsign-conversion] d_name.Set(file->d_name,strlen(file->d_name)); ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ cdir.cpp:341:26: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] FileInfo->size = buf.st_size; ~ ~~~~^~~~~~~ cdir.cpp:586:13: warning: implicit conversion changes signedness: 'off_t' (aka 'long long') to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] return buf.st_size; ~~~~~~ ~~~~^~~~~~~ cdir.cpp:597:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = s.FindRev('\\')) == -1 ) ~ ^~~~~~~~~~~~~~~ cdir.cpp:598:7: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev('/'); // for unix-kind folders (never seen ...) ~ ^~~~~~~~~~~~~~ cdir.cpp:646:48: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] char * buffer = (char*) malloc( path.Length() + 1 ); ~~~~~~ ~~~~~~~~~~~~~~^~~ cdir.cpp:694:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 14 warnings generated. if ( (i = s.Find(DIRSEPARATOR)) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o clisten.lo clisten.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o clogfile.lo clogfile.cpp 10 warnings generated. /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cmanager.lo cmanager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c che3.cpp -fno-common -DPIC -o .libs/che3.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c ciconv.cpp -fno-common -DPIC -o .libs/ciconv.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c clisten.cpp -fno-common -DPIC -o .libs/clisten.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c clogfile.cpp -fno-common -DPIC -o .libs/clogfile.o cconnection.cpp:119:21: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return Connect( s, port, sockettype ); ~~~~~~~ ^~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cmanager.cpp -fno-common -DPIC -o .libs/cmanager.o cconnection.cpp:363:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] NanoSleep(wait); ~~~~~~~~~ ^~~~ cconnection.cpp:514:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] b.Append(ba->Data()+err,ba->Size()-err); ~^~~ cconnection.cpp:518:49: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettCONTROLTX,err); ~~~~~~~ ^~~ cconnection.cpp:527:49: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettCONTROLTX,err); ~~~~~~~ ^~~ cconnection.cpp:507:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] err = CSocket::Write( ba->Data(), ba->Size(), 0, 1 ); ~~~~~~~ ^~~~~~~~~~ cconnection.cpp:509:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if ( (err > 0) && (err != ba->Size()) ) ~~~ ^ ~~~~~~~~~~ cconnection.cpp:522:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] else if ( err == ba->Size() ) ~~~ ^ ~~~~~~~~~~ cconnection.cpp:593:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ba->Append(buffer,len); ~~ ^~~ cconnection.cpp:598:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] ba->Append(buffer,len); ~~ ^~~ clogfile.cpp:66:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ( fwrite(message.Data(),message.Length(),1,logfile) == 1 ) ~~~~~~ ^~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include/libxml2 -I/sw/include -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cmutex.lo cmutex.cpp In file included from ciconv.cpp:18: ./ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ 10 warnings generated. che3.cpp:178:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] offset_pattern=8*(11+nb_couple*2); /* position of the pattern block, it is just after the list of couples */ ~~^~~~~~~~~~~~~~~~~ che3.cpp:179:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] offset_encoded=offset_pattern + ((ttl_len+7)&~7); /* the encoded data are just after */ ~ ~~~~~~~~~~~^~~ che3.cpp:194:49: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] value=get_bits(data->Data(),&offset_pattern,v_len); ~~~~~~~~ ^~~~~ che3.cpp:217:18: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion] (*output) += decode_array->Data()[(1<avail_in = *inlen; ~ ^~~~~~ czlib.cpp:76:27: warning: implicit conversion changes signedness: 'int' to 'uInt' (aka 'unsigned int') [-Wsign-conversion] m_pZStream->avail_out = *outlen; ~ ^~~~~~~ czlib.cpp:85:21: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:85:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ^~~~~~~ ~ czlib.cpp:86:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:86:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ^~~~~~ ~ 1 warning generated. czlib.cpp:236:27: warning: implicit conversion changes signedness: 'int' to 'uInt' (aka 'unsigned int') [-Wsign-conversion] m_pZStream->avail_in = *inlen; ~ ^~~~~~ czlib.cpp:242:27: warning: implicit conversion changes signedness: 'int' to 'uInt' (aka 'unsigned int') [-Wsign-conversion] m_pZStream->avail_out = *outlen; ~ ^~~~~~~ czlib.cpp:260:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:260:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ^~~~~~~ ~ czlib.cpp:261:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:261:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ^~~~~~ ~ czlib.cpp:276:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:276:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ^~~~~~~ ~ czlib.cpp:277:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:277:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ^~~~~~ ~ czlib.cpp:282:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:282:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *outlen = *outlen - m_pZStream->avail_out; ^~~~~~~ ~ czlib.cpp:283:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ~ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ czlib.cpp:283:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] *inlen = *inlen - m_pZStream->avail_in; ^~~~~~ ~ cssl.cpp:40:3: warning: 'RSA_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RSA_free(m_pRSA); ^ /sw/lib/system-openssl/include/openssl/rsa.h:282:6: note: 'RSA_free' declared here void RSA_free (RSA *r) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:56:3: warning: 'RSA_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RSA_free(m_pRSA); ^ /sw/lib/system-openssl/include/openssl/rsa.h:282:6: note: 'RSA_free' declared here void RSA_free (RSA *r) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:64:24: warning: 'CRYPTO_num_locks' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] mutexes = new CMutex[ CRYPTO_num_locks() ]; ^ /sw/lib/system-openssl/include/openssl/crypto.h:415:5: note: 'CRYPTO_num_locks' declared here int CRYPTO_num_locks(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* return CRYPTO_NUM_LOCKS (shared libs!) */ ^ cssl.cpp:67:2: warning: 'CRYPTO_set_id_callback' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] CRYPTO_set_id_callback( &CSSL::thread_id ); ^ /sw/lib/system-openssl/include/openssl/crypto.h:425:6: note: 'CRYPTO_set_id_callback' declared here void CRYPTO_set_id_callback(unsigned long (*func)(void)) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:70:2: warning: 'CRYPTO_set_locking_callback' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] CRYPTO_set_locking_callback( &CSSL::locking_callback ); ^ /sw/lib/system-openssl/include/openssl/crypto.h:417:6: note: 'CRYPTO_set_locking_callback' declared here void CRYPTO_set_locking_callback(void (*func)(int mode,int type, ^ cssl.cpp:72:2: warning: 'SSL_load_error_strings' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_load_error_strings(); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1416:6: note: 'SSL_load_error_strings' declared here void SSL_load_error_strings(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:73:2: warning: 'SSL_library_init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_library_init(); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1553:5: note: 'SSL_library_init' declared here int SSL_library_init(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:79:2: warning: 'CRYPTO_set_locking_callback' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] CRYPTO_set_locking_callback( NULL ); ^ /sw/lib/system-openssl/include/openssl/crypto.h:417:6: note: 'CRYPTO_set_locking_callback' declared here void CRYPTO_set_locking_callback(void (*func)(int mode,int type, ^ cssl.cpp:83:2: warning: 'ERR_free_strings' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_free_strings(); ^ /sw/lib/system-openssl/include/openssl/err.h:297:6: note: 'ERR_free_strings' declared here void ERR_free_strings(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:92:11: warning: 'SSLv23_client_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] method = SSLv23_client_method(); /* Create new client-method instance */ ^ /sw/lib/system-openssl/include/openssl/ssl.h:1517:13: note: 'SSLv23_client_method' declared here SSL_METHOD *SSLv23_client_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* SSLv3 but can rollback to v2 */ ^ cssl.cpp:97:9: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ctx = SSL_CTX_new(method); /* Create new context */ ^ /sw/lib/system-openssl/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:103:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:115:11: warning: 'SSLv23_server_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] method = SSLv23_server_method(); /* Create new client-method instance */ ^ /sw/lib/system-openssl/include/openssl/ssl.h:1516:13: note: 'SSLv23_server_method' declared here SSL_METHOD *SSLv23_server_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* SSLv3 but can rollback to v2 */ ^ cssl.cpp:119:9: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ctx = SSL_CTX_new(method); /* Create new context */ ^ /sw/lib/system-openssl/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:124:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:133:24: warning: 'TLSv1_client_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_METHOD * method = TLSv1_client_method(); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1521:13: note: 'TLSv1_client_method' declared here SSL_METHOD *TLSv1_client_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* TLSv1.0 */ ^ cssl.cpp:138:9: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ctx = SSL_CTX_new(method); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:143:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:152:24: warning: 'TLSv1_server_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_METHOD * method = TLSv1_server_method(); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1520:13: note: 'TLSv1_server_method' declared here SSL_METHOD *TLSv1_server_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* TLSv1.0 */ ^ cssl.cpp:157:9: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ctx = SSL_CTX_new(method); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:162:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:180:7: warning: 'SSL_CTX_use_certificate_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_CTX_use_certificate_file(ctx, CertFile, SSL_FILETYPE_PEM) <= 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1402:5: note: 'SSL_CTX_use_certificate_file' declared here int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:182:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:185:12: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] else if ( SSL_CTX_use_PrivateKey_file(ctx, KeyFile, SSL_FILETYPE_PEM) <= 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1401:5: note: 'SSL_CTX_use_PrivateKey_file' declared here int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:187:3: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:190:13: warning: 'SSL_CTX_check_private_key' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] else if ( !SSL_CTX_check_private_key(ctx) ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1475:5: note: 'SSL_CTX_check_private_key' declared here int SSL_CTX_check_private_key(const SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:220:2: warning: 'RAND_seed' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RAND_seed(m_pRandBuffer,sizeof(int)*1000); ^ /sw/lib/system-openssl/include/openssl/rand.h:106:6: note: 'RAND_seed' declared here void RAND_seed(const void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:231:12: warning: 'RSA_generate_key' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] m_pRSA = RSA_generate_key(2048,65537,NULL,NULL); ^ /sw/lib/system-openssl/include/openssl/rsa.h:260:7: note: 'RSA_generate_key' declared here RSA * RSA_generate_key(int bits, unsigned long e,void ^ cssl.cpp:235:10: warning: 'RSA_check_key' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( RSA_check_key(m_pRSA) == 1 ) ^ /sw/lib/system-openssl/include/openssl/rsa.h:272:5: note: 'RSA_check_key' declared here int RSA_check_key(const RSA *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:254:7: warning: 'RAND_bytes' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( RAND_bytes(a,len) != 1 ) ^ /sw/lib/system-openssl/include/openssl/rand.h:104:6: note: 'RAND_bytes' declared here int RAND_bytes(unsigned char *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:256:9: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] srand(time(NULL)); ~~~~~ ^~~~~~~~~~ cssl.cpp:279:17: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] bain.SetSize(i); ~~~~ ^ cssl.cpp:292:38: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] s.Set((const char*)baout.Data(),baout.Size()); ~ ^~~~~~~~~~~~ cssl.cpp:315:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] bain.Append(s.Data(),s.Length()); ~~~~ ^~~~~~~~~~ cssl.cpp:320:4: warning: 'RSA_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] RSA_free(SSLObject->m_pRSA); ^ /sw/lib/system-openssl/include/openssl/rsa.h:282:6: note: 'RSA_free' declared here void RSA_free (RSA *r) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:324:73: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] SSLObject->m_pRSA = d2i_RSAPublicKey(NULL,(const unsigned char**)&buf,baout.Size()); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ cssl.cpp:369:6: warning: 'RSA_public_encrypt' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] i = RSA_public_encrypt(bain.Size(),bain.Data(),baout.Data(),SSLObject->m_pRSA,RSA_PKCS1_OAEP_PADDING); ^ /sw/lib/system-openssl/include/openssl/rsa.h:274:5: note: 'RSA_public_encrypt' declared here int RSA_public_encrypt(int flen, const unsigned char *from, ^ cssl.cpp:374:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] bain.Append(baout.Data(),i); ~~~~ ^ cssl.cpp:377:35: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] s.Set((const char*)baout.Data(),baout.Size()); ~ ^~~~~~~~~~~~ cssl.cpp:369:25: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] i = RSA_public_encrypt(bain.Size(),bain.Data(),baout.Data(),SSLObject->m_pRSA,RSA_PKCS1_OAEP_PADDING); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ cssl.cpp:401:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] bain.Append(s.Data(),s.Length()); ~~~~ ^~~~~~~~~~ cssl.cpp:406:7: warning: 'RSA_private_decrypt' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] i = RSA_private_decrypt(baout.Size(),baout.Data(),bain.Data(),m_pRSA,RSA_PKCS1_OAEP_PADDING); ^ /sw/lib/system-openssl/include/openssl/rsa.h:280:5: note: 'RSA_private_decrypt' declared here int RSA_private_decrypt(int flen, const unsigned char *from, ^ cssl.cpp:406:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] i = RSA_private_decrypt(baout.Size(),baout.Data(),bain.Data(),m_pRSA,RSA_PKCS1_OAEP_PADDING); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ cssl.cpp:440:2: warning: 'EVP_CIPHER_CTX_init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_CIPHER_CTX_init(&ctx); ^ /sw/lib/system-openssl/include/openssl/evp.h:636:6: note: 'EVP_CIPHER_CTX_init' declared here void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:441:24: warning: 'EVP_bf_cbc' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_EncryptInit(&ctx, EVP_bf_cbc(), SSLObject->m_remotekey, SSLObject->m_remoteiv); ^ /sw/lib/system-openssl/include/openssl/evp.h:745:19: note: 'EVP_bf_cbc' declared here const EVP_CIPHER *EVP_bf_cbc(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:441:2: warning: 'EVP_EncryptInit' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_EncryptInit(&ctx, EVP_bf_cbc(), SSLObject->m_remotekey, SSLObject->m_remoteiv); ^ /sw/lib/system-openssl/include/openssl/evp.h:578:5: note: 'EVP_EncryptInit' declared here int EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ^ cssl.cpp:446:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] bain.Append(s.Data(),s.Length()); ~~~~ ^~~~~~~~~~ cssl.cpp:451:37: warning: 'EVP_CIPHER_CTX_block_size' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] baout.SetSize( bain.Size() + ( 2 * EVP_CIPHER_CTX_block_size(&ctx) ) ); ^ /sw/lib/system-openssl/include/openssl/evp.h:501:5: note: 'EVP_CIPHER_CTX_block_size' declared here int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:451:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] baout.SetSize( bain.Size() + ( 2 * EVP_CIPHER_CTX_block_size(&ctx) ) ); ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cssl.cpp:455:7: warning: 'EVP_EncryptUpdate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( EVP_EncryptUpdate(&ctx, baout.Data(), &i, bain.Data(), bain.Size() ) ) ^ /sw/lib/system-openssl/include/openssl/evp.h:582:5: note: 'EVP_EncryptUpdate' declared here int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^ cssl.cpp:457:8: warning: 'EVP_EncryptFinal' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( EVP_EncryptFinal(&ctx, baout.Data()+i, &tmplen) ) ^ /sw/lib/system-openssl/include/openssl/evp.h:585:5: note: 'EVP_EncryptFinal' declared here int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:461:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] bain.Append(baout.Data(),i); ~~~~ ^ cssl.cpp:464:38: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] res.Set((const char*)baout.Data(),baout.Size()); ~~~ ^~~~~~~~~~~~ cssl.cpp:468:2: warning: 'EVP_CIPHER_CTX_cleanup' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_CIPHER_CTX_cleanup(&ctx); ^ /sw/lib/system-openssl/include/openssl/evp.h:637:5: note: 'EVP_CIPHER_CTX_cleanup' declared here int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:453:6: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] i = baout.Size(); ~ ^~~~~~~~~~~~ cssl.cpp:455:62: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] if ( EVP_EncryptUpdate(&ctx, baout.Data(), &i, bain.Data(), bain.Size() ) ) ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ cssl.cpp:487:2: warning: 'EVP_CIPHER_CTX_init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_CIPHER_CTX_init(&ctx); ^ /sw/lib/system-openssl/include/openssl/evp.h:636:6: note: 'EVP_CIPHER_CTX_init' declared here void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:488:24: warning: 'EVP_bf_cbc' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_DecryptInit(&ctx, EVP_bf_cbc(), SSLObject->m_localkey, SSLObject->m_localiv); ^ /sw/lib/system-openssl/include/openssl/evp.h:745:19: note: 'EVP_bf_cbc' declared here const EVP_CIPHER *EVP_bf_cbc(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:488:2: warning: 'EVP_DecryptInit' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_DecryptInit(&ctx, EVP_bf_cbc(), SSLObject->m_localkey, SSLObject->m_localiv); ^ /sw/lib/system-openssl/include/openssl/evp.h:587:5: note: 'EVP_DecryptInit' declared here int EVP_DecryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ^ cssl.cpp:491:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] bain.Append(s.Data(),s.Length()); ~~~~ ^~~~~~~~~~ cssl.cpp:495:38: warning: 'EVP_CIPHER_CTX_block_size' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] bain.SetSize( baout.Size() + ( 2 * EVP_CIPHER_CTX_block_size(&ctx) ) ); ^ /sw/lib/system-openssl/include/openssl/evp.h:501:5: note: 'EVP_CIPHER_CTX_block_size' declared here int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:495:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] bain.SetSize( baout.Size() + ( 2 * EVP_CIPHER_CTX_block_size(&ctx) ) ); ~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cssl.cpp:499:8: warning: 'EVP_DecryptUpdate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( EVP_DecryptUpdate(&ctx, bain.Data(), &i, baout.Data(), (int)baout.Size() ) ) ^ /sw/lib/system-openssl/include/openssl/evp.h:591:5: note: 'EVP_DecryptUpdate' declared here int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, ^ cssl.cpp:502:9: warning: 'EVP_DecryptFinal' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( EVP_DecryptFinal(&ctx, bain.Data()+i, &tmplen) ) ^ /sw/lib/system-openssl/include/openssl/evp.h:593:5: note: 'EVP_DecryptFinal' declared here int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ cssl.cpp:510:2: warning: 'EVP_CIPHER_CTX_cleanup' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] EVP_CIPHER_CTX_cleanup(&ctx); ^ /sw/lib/system-openssl/include/openssl/evp.h:637:5: note: 'EVP_CIPHER_CTX_cleanup' declared here int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:96:3: warning: 'SSL_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_free(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1490:6: note: 'SSL_free' declared here void SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:102:3: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_free(m_pCTX); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:127:8: warning: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_set_fd(m_pSSL,iHandle) == 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1370:5: note: 'SSL_set_fd' declared here int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:130:39: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:266:15: note: 'ERR_get_error' declared here unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:130:14: warning: 'ERR_reason_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:283:13: note: 'ERR_reason_error_string' declared here const char *ERR_reason_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:259:21: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] return Connect( s, port, bAsync ); ~~~~~~~ ^~~~ csocket.cpp:417:8: warning: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_set_fd(m_pSSL, sockfd) == 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1370:5: note: 'SSL_set_fd' declared here int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:420:39: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:266:15: note: 'ERR_get_error' declared here unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:420:14: warning: 'ERR_reason_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:283:13: note: 'ERR_reason_error_string' declared here const char *ERR_reason_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:443:4: warning: 'SSL_shutdown' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_shutdown(m_pSSL); // FIXME check return value ^ /sw/lib/system-openssl/include/openssl/ssl.h:1532:5: note: 'SSL_shutdown' declared here int SSL_shutdown(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:444:4: warning: 'SSL_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_free(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1490:6: note: 'SSL_free' declared here void SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ 20 warnings generated. csocket.cpp:457:4: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_free(m_pCTX); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:485:7: warning: 'SSL_read' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] l = SSL_read(m_pSSL, buffer, len); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1493:6: note: 'SSL_read' declared here int SSL_read(SSL *ssl,void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:492:8: warning: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] l = SSL_get_error(m_pSSL,l); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1501:5: note: 'SSL_get_error' declared here int SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:497:28: warning: 'ERR_peek_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] unsigned long sslerr = ERR_peek_error(); // ERR_get_error() if not printed ^ /sw/lib/system-openssl/include/openssl/err.h:270:15: note: 'ERR_peek_error' declared here unsigned long ERR_peek_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:498:5: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:500:15: warning: 'ERR_lib_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_lib_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:281:13: note: 'ERR_lib_error_string' declared here const char *ERR_lib_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:502:15: warning: 'ERR_func_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_func_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:282:13: note: 'ERR_func_error_string' declared here const char *ERR_func_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:504:15: warning: 'ERR_reason_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:283:13: note: 'ERR_reason_error_string' declared here const char *ERR_reason_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:536:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ( (l=recvfrom(iHandle,buffer,len,0,(struct sockaddr*)&cli_addr,&cli_len)) < 0 ) ~~~~~~~~ ^~~ csocket.cpp:562:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ( (l=recv(iHandle,buffer,len,0)) < 0 ) ~~~~ ^~~ csocket.cpp:643:41: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic( ettRX, l ); ~~~~~~~ ^ csocket.cpp:536:13: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] if ( (l=recvfrom(iHandle,buffer,len,0,(struct sockaddr*)&cli_addr,&cli_len)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csocket.cpp:562:13: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] if ( (l=recv(iHandle,buffer,len,0)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~ csocket.cpp:663:7: warning: 'SSL_write' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] i = SSL_write(m_pSSL, buffer, len); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1495:6: note: 'SSL_write' declared here int SSL_write(SSL *ssl,const void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:670:8: warning: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] i = SSL_get_error(m_pSSL,i); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1501:5: note: 'SSL_get_error' declared here int SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:675:28: warning: 'ERR_peek_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] unsigned long sslerr = ERR_peek_error(); // ERR_get_error() if not printed ^ /sw/lib/system-openssl/include/openssl/err.h:270:15: note: 'ERR_peek_error' declared here unsigned long ERR_peek_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:676:5: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] ERR_print_errors_fp(stderr); ^ /sw/lib/system-openssl/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:678:15: warning: 'ERR_lib_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_lib_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:281:13: note: 'ERR_lib_error_string' declared here const char *ERR_lib_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:680:15: warning: 'ERR_func_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_func_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:282:13: note: 'ERR_func_error_string' declared here const char *ERR_func_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:682:15: warning: 'ERR_reason_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string(sslerr); ^ /sw/lib/system-openssl/include/openssl/err.h:283:13: note: 'ERR_reason_error_string' declared here const char *ERR_reason_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:713:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] i = send( iHandle, (const char*)buffer, len, MSG_NOSIGNAL ); ~~~~ ^~~ csocket.cpp:768:41: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic( ettTX, i ); ~~~~~~~ ^ csocket.cpp:713:8: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] i = send( iHandle, (const char*)buffer, len, MSG_NOSIGNAL ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csocket.cpp:909:8: warning: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_set_fd(m_pSSL, sockfd) == 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1370:5: note: 'SSL_set_fd' declared here int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:912:39: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:266:15: note: 'ERR_get_error' declared here unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:912:14: warning: 'ERR_reason_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] sError += ERR_reason_error_string( ERR_get_error() ); ^ /sw/lib/system-openssl/include/openssl/err.h:283:13: note: 'ERR_reason_error_string' declared here const char *ERR_reason_error_string(unsigned long e) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1028:7: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_free(m_pCTX); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1036:5: warning: 'SSL_CTX_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_set_mode(m_pCTX, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER|SSL_MODE_ENABLE_PARTIAL_WRITE); ^ /sw/lib/system-openssl/include/openssl/ssl.h:584:2: note: expanded from macro 'SSL_CTX_set_mode' SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1498:6: note: 'SSL_CTX_ctrl' declared here long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1038:20: warning: 'SSL_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( (m_pSSL = SSL_new(m_pCTX)) == 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1481:7: note: 'SSL_new' declared here SSL * SSL_new(SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1041:6: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_free(m_pCTX); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1049:6: warning: 'SSL_set_accept_state' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_set_accept_state(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1549:6: note: 'SSL_set_accept_state' declared here void SSL_set_accept_state(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1053:6: warning: 'SSL_set_connect_state' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_set_connect_state(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1548:6: note: 'SSL_set_connect_state' declared here void SSL_set_connect_state(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1056:10: warning: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_set_fd(m_pSSL, iHandle) == 0 ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1370:5: note: 'SSL_set_fd' declared here int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1059:6: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_CTX_free(m_pCTX); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here void SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1061:6: warning: 'SSL_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] SSL_free(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1490:6: note: 'SSL_free' declared here void SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1165:12: warning: 'SSL_get_current_cipher' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] result = SSL_get_cipher_version(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1158:26: note: expanded from macro 'SSL_get_cipher_version' SSL_CIPHER_get_version(SSL_get_current_cipher(s)) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1357:13: note: 'SSL_get_current_cipher' declared here SSL_CIPHER *SSL_get_current_cipher(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1165:12: warning: 'SSL_CIPHER_get_version' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] result = SSL_get_cipher_version(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1158:3: note: expanded from macro 'SSL_get_cipher_version' SSL_CIPHER_get_version(SSL_get_current_cipher(s)) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1359:8: note: 'SSL_CIPHER_get_version' declared here char * SSL_CIPHER_get_version(const SSL_CIPHER *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1178:12: warning: 'SSL_get_current_cipher' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] result = SSL_get_cipher(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1154:23: note: expanded from macro 'SSL_get_cipher' SSL_CIPHER_get_name(SSL_get_current_cipher(s)) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1357:13: note: 'SSL_get_current_cipher' declared here SSL_CIPHER *SSL_get_current_cipher(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1178:12: warning: 'SSL_CIPHER_get_name' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] result = SSL_get_cipher(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1154:3: note: expanded from macro 'SSL_get_cipher' SSL_CIPHER_get_name(SSL_get_current_cipher(s)) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1360:14: note: 'SSL_CIPHER_get_name' declared here const char * SSL_CIPHER_get_name(const SSL_CIPHER *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1191:8: warning: 'SSL_get_peer_certificate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] if ( SSL_get_peer_certificate(m_pSSL) == NULL ) ^ /sw/lib/system-openssl/include/openssl/ssl.h:1450:8: note: 'SSL_get_peer_certificate' declared here X509 * SSL_get_peer_certificate(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1197:18: warning: 'SSL_get_verify_result' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] int certerr = SSL_get_verify_result(m_pSSL); ^ /sw/lib/system-openssl/include/openssl/ssl.h:1584:6: note: 'SSL_get_verify_result' declared here long SSL_get_verify_result(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1206:15: warning: 'X509_verify_cert_error_string' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations] result += X509_verify_cert_error_string(certerr); ^ /sw/lib/system-openssl/include/openssl/x509.h:752:13: note: 'X509_verify_cert_error_string' declared here const char *X509_verify_cert_error_string(long n) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ csocket.cpp:1197:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int certerr = SSL_get_verify_result(m_pSSL); ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cxml.cpp:53: ./ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ cxml.cpp:189:59: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] pDoc = xmlCtxtReadMemory( cp, (const char*) ba->Data(), ba->Size(), NULL, NULL, 0 ); ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ cxml.cpp:195:27: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if ( (pos < 0) || (pos > ba->Size()) ) ~~~ ^ ~~~~~~~~~~ cxml.cpp:199:18: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] else if ( pos == ba->Size() ) ~~~ ^ ~~~~~~~~~~ cxml.cpp:201:61: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] pDoc = xmlCtxtReadMemory( cp, (const char*) ba->Data(), ba->Size(), NULL, NULL, XML_PARSE_RECOVER ); ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ cxml.cpp:441:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] unsigned char * b = (unsigned char*) calloc(1,outlen); ~~~~~~ ^~~~~~ cxml.cpp:438:16: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int inlen = strlen(s); ~~~~~ ^~~~~~~~~ cxml.cpp:492:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] unsigned char * b = (unsigned char*) calloc(1,outlen); ~~~~~~ ^~~~~~ cxml.cpp:489:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int inlen = s.Length(); ~~~~~ ^~~~~~~~~~ cxml.cpp:614:15: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] res += temp.asINT(16); ~~~ ^~~~~~~~~~~~~~ cxml.cpp:618:15: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] res += temp.asINT(); ~~~ ^~~~~~~~~~~~ cxml.cpp:601:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = s.Find(';',i)) != -1 ) ~ ^~~~~~~~~~~~~ 22 warnings generated. 65 warnings generated. 54 warnings generated. 12 warnings generated. /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -D_THREAD_SAFE -g -O2 -D_THREAD_SAFE -L/sw/lib -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -L/sw/lib/system-openssl/lib -lssl -lcrypto -lz -liconv -L/sw/lib -o libcore.la casyncdns.lo cbase32.lo cbase64.lo cbytearray.lo cbz.lo cconnection.lo cdir.lo cfile.lo che3.lo ciconv.lo clisten.lo clogfile.lo cmanager.lo cmutex.lo cnetaddr.lo csocket.lo cssl.lo cstring.lo cthread.lo cxml.lo czlib.lo platform.lo ../gnulib/libgnulib.la -ldl -lz -lbz2 libtool: link: (cd .libs/libcore.lax/libgnulib.a && ar x "/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core/../gnulib/.libs/libgnulib.a") libtool: link: ar cru .libs/libcore.a .libs/casyncdns.o .libs/cbase32.o .libs/cbase64.o .libs/cbytearray.o .libs/cbz.o .libs/cconnection.o .libs/cdir.o .libs/cfile.o .libs/che3.o .libs/ciconv.o .libs/clisten.o .libs/clogfile.o .libs/cmanager.o .libs/cmutex.o .libs/cnetaddr.o .libs/csocket.o .libs/cssl.o .libs/cstring.o .libs/cthread.o .libs/cxml.o .libs/czlib.o .libs/platform.o .libs/libcore.lax/libgnulib.a/fsusage.o .libs/libcore.lax/libgnulib.a/full-read.o .libs/libcore.lax/libgnulib.a/md5.o .libs/libcore.lax/libgnulib.a/safe-read.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcore.a(platform.o) has no symbols libtool: link: ranlib .libs/libcore.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libcore.a(platform.o) has no symbols libtool: link: rm -fr .libs/libcore.lax libtool: link: ( cd ".libs" && rm -f "libcore.la" && ln -s "../libcore.la" "libcore.la" ) make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' Making all in hash make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c -o TigerHash.lo TigerHash.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I/sw/include -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -c TigerHash.cpp -fno-common -DPIC -o .libs/TigerHash.o /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -D_THREAD_SAFE -fvisibility=hidden -g -O2 -D_THREAD_SAFE -L/sw/lib -o libhash.la TigerHash.lo -ldl -lz -lbz2 libtool: link: ar cru .libs/libhash.a .libs/TigerHash.o libtool: link: ranlib .libs/libhash.a libtool: link: ( cd ".libs" && rm -f "libhash.la" && ln -s "../libhash.la" "libhash.la" ) make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o ccasefolder.lo ccasefolder.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cclient.lo cclient.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cclientssl.lo cclientssl.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cconfig.lo cconfig.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cconnectionmanager.lo cconnectionmanager.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cdcproto.lo cdcproto.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cdownloadmanager.lo cdownloadmanager.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cdownloadqueue.lo cdownloadqueue.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cclient.cpp -fno-common -DPIC -o .libs/cclient.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cclientssl.cpp -fno-common -DPIC -o .libs/cclientssl.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cconnectionmanager.cpp -fno-common -DPIC -o .libs/cconnectionmanager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c ccasefolder.cpp -fno-common -DPIC -o .libs/ccasefolder.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cdownloadmanager.cpp -fno-common -DPIC -o .libs/cdownloadmanager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cconfig.cpp -fno-common -DPIC -o .libs/cconfig.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cdownloadqueue.cpp -fno-common -DPIC -o .libs/cdownloadqueue.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cdcproto.cpp -fno-common -DPIC -o .libs/cdcproto.o In file included from cdcproto.cpp:18: In file included from ./cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cdownloadmanager.cpp:18: In file included from ./cdownloadmanager.h:41: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cclientssl.cpp:23: In file included from ./cclient.h:31: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ ccasefolder.cpp:104:18: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] size_t inleft = input.Length(); ~~~~~~ ^~~~~~~~~~~~~~ ccasefolder.cpp:147:46: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] size_t len = (input.Length() * int32_t_size + 10) - outleft; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ~ In file included from cdownloadqueue.cpp:18: In file included from ./cdownloadqueue.h:37: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cclient.cpp:18: In file included from ./cclient.h:31: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cconnectionmanager.cpp:20: In file included from ./cclient.h:31: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cconfig.cpp:219: In file included from ./cdownloadmanager.h:41: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ cdcproto.cpp:76:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:93:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:146:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:162:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:178:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:199:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:229:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:243:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:266:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:291:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:318:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:345:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:372:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:390:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:404:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:420:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:436:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:452:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:466:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:490:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:504:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:521:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] err = Write((const unsigned char*)enc.Data(),enc.Length()); ~~~~~ ^~~~~~~~~~~~ cdcproto.cpp:525:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] err = Write((const unsigned char*)message.Data(),message.Length()); ~~~~~ ^~~~~~~~~~~~~~~~ cdcproto.cpp:543:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:559:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:579:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:593:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:611:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:627:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:684:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)s.Data(),s.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:700:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:753:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cdcproto.cpp:806:55: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] const int err = Write((const unsigned char*)t.Data(),t.Length()); ~~~~~ ^~~~~~~~~~ cclient.cpp:195:45: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettCONTROLRX,len); ~~~~~~~ ^~~ cclient.cpp:208:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] CByteArray * out = new CByteArray(outlen); ~~~~~~~~~~ ^~~~~~ cclient.cpp:270:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.Find("$ZOn|"); ~ ^~~~~~~~~~~~~~~ cclient.cpp:285:41: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] DataAvailable( s.Data()+i, s.Length()-i ); ~~~~~~~~~~~~~ ~~~~~~~~~~^~ cclient.cpp:292:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev('|') + 1; ~ ~~~~~~~~~~~~~~~^~~ cconfig.cpp:1181:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( xml->ParseMemory( s.Data(), s.Length() ) && xml->DocFirstChild() ) ~~~ ^~~~~~~~~~ cconfig.cpp:1325:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] hubitem->m_nPosition = pOrderedBookmarks->size(); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cconfig.cpp:1962:26: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] hubitem->m_nPosition = pOrderedBookmarks->size(); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ cconfig.cpp:2086:48: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion] hubitem->m_nPosition = newpositions[hubitem->m_nPosition]; ~~~~~~~~~~~~ ~~~~~~~~~^~~~~~~~~~~ cconfig.cpp:2072:60: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare] if ( (hubitem->m_nPosition < 0) || (hubitem->m_nPosition > newpositions.size()) ) ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cencrypt.lo cencrypt.cpp cdownloadmanager.cpp:2816:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int pos = sFile.FindRev(DIRSEPARATOR); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cconfig.cpp:3132:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = sfile.Find(DIRSEPARATOR); ~ ^~~~~~~~~~~~~~~~~~~~~~~~ cdownloadmanager.cpp:3497:107: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] (DownloadManagerInfo.rate_ul_settings<(CConfig::Instance()->GetMaxUploadRate()*DownloadManagerInfo.slot_max)) ) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cdownloadmanager.cpp:3500:50: warning: implicit conversion changes signedness: 'unsigned long long' to 'long' [-Wsign-conversion] rate = CConfig::Instance()->GetMaxUploadRate()*DownloadManagerInfo.slot_max; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cdownloadmanager.cpp:3500:71: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] rate = CConfig::Instance()->GetMaxUploadRate()*DownloadManagerInfo.slot_max; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cdownloadmanager.cpp:3526:19: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] tmprate += rate-TransferObject->m_pTransfer->GetRate(); ^~~~~ cdownloadmanager.cpp:3532:19: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] tmprate += rate-TransferObject->m_pTransfer->GetRate(); ^~~~~ cdownloadmanager.cpp:3558:46: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] TransferObject->m_pTransfer->SetRate(tmprate); ~~~~~~~~~~~~~~ ^~~~~~~ cdownloadmanager.cpp:4282:78: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] Transfer->ClearAndAppendBuffer( (const unsigned char*) listing.Data(), listing.Length() ); ~~~~~~~~ ^~~~~~~~~~~~~~~~ cdownloadmanager.cpp:4286:8: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] listing.Length(), ^~~~~~~~~~~~~~~~ cdownloadmanager.cpp:4288:8: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] listing.Length(), ^~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cencrypt.cpp -fno-common -DPIC -o .libs/cencrypt.o cdownloadmanager.cpp:4442:27: warning: implicit conversion changes signedness: 'unsigned long long' to 'long long' [-Wsign-conversion] msg->m_nSize = len - msg->m_nPos; ~ ~~~~^~~~~~~~~~~~~ cdownloadmanager.cpp:4465:70: warning: implicit conversion changes signedness: 'long long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] if ( Transfer->StartUpload( fileName, len, msg->m_nPos, msg->m_nSize, s, false, true, msg->m_sTTH, msg->m_bZlib ) == -1 ) ~~~~~~~~ ~~~~~^~~~~~~ 34 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cfilehasher.lo cfilehasher.cpp 2 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cfilemanager.lo cfilemanager.cpp cencrypt.cpp:42:6: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] u = s.Data()[0]; ~ ^~~~~~~~~~~ cencrypt.cpp:43:6: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] l = s.Data()[s.Length()-1]; ~ ^~~~~~~~~~~~~~~~~~~~~~ cencrypt.cpp:44:6: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] o = s.Data()[s.Length()-2]; ~ ^~~~~~~~~~~~~~~~~~~~~~ cencrypt.cpp:46:6: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] u = (char)(u ^ l ^ o ^ 0x05); ~ ^~~~~~~~~~~~~~~~~~~~~~~~ cencrypt.cpp:54:7: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] u = s.Data()[i]; ~ ^~~~~~~~~~~ cencrypt.cpp:55:7: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] l = s.Data()[i-1]; ~ ^~~~~~~~~~~~~ cencrypt.cpp:57:7: warning: implicit conversion changes signedness: 'char' to 'unsigned char' [-Wsign-conversion] u = (char)(u^l); ~ ^~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cfilehasher.cpp -fno-common -DPIC -o .libs/cfilehasher.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cfilemanager.cpp -fno-common -DPIC -o .libs/cfilemanager.o 6 warnings generated. 7 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o chttp.lo chttp.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o chublistmanager.lo chublistmanager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c chttp.cpp -fno-common -DPIC -o .libs/chttp.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c chublistmanager.cpp -fno-common -DPIC -o .libs/chublistmanager.o 1 warning generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o clistenmanager.lo clistenmanager.cpp 1 warning generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cmessagehandler.lo cmessagehandler.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c clistenmanager.cpp -fno-common -DPIC -o .libs/clistenmanager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cmessagehandler.cpp -fno-common -DPIC -o .libs/cmessagehandler.o cfilehasher.cpp:270:67: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Wsign-conversion] dcpp::TigerTree hasher( std::max(dcpp::TigerTree::calcBlockSize(filesize,10), ((int64_t) 64*1024) ) ); ~~~~ ^~~~~~~~ cfilehasher.cpp:274:57: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] while ( ((len = file.Read( (char*)m_pWorkMem->Data(), m_pWorkMem->Size() )) > 0) && (m_bStop == false) ) ~~~~ ^~~~~~~~~~~~~~~~~~ cfilehasher.cpp:276:37: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] hasher.update(m_pWorkMem->Data(),len); ~~~~~~ ^~~ cfilehasher.cpp:278:19: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_nProgress += len; ~~ ^~~ cfilehasher.cpp:317:10: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion] while ( blocksize * leavesSize/sizeof(dcpp::TigerTree::MerkleValue) < filesize ) ^~~~~~~~~ ~ cfilehasher.cpp:317:70: warning: comparison of integers of different signs: 'unsigned long long' and 'const int64_t' (aka 'const long long') [-Wsign-compare] while ( blocksize * leavesSize/sizeof(dcpp::TigerTree::MerkleValue) < filesize ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ cfilehasher.cpp:462:23: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] while ( blocksize * leafcount < filesize ) ~ ^~~~~~~~~ cfilehasher.cpp:519:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] expected_in.Append( m_pLeaves->Data()+(i*dcpp::TigerTree::BYTES), dcpp::TigerTree::BYTES ); ^~ cfilehasher.cpp:523:53: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] long read = file.Read( (char*) buffer->Data(), blocksize ); ~~~~ ^~~~~~~~~ cfilehasher.cpp:541:23: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] segment->size = read; ~ ^~~~ cfilehasher.cpp:545:22: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_nProgress += read; ~~ ^~~~ cfilehasher.cpp:460:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int leafcount = m_pLeaves->Size() / dcpp::TigerTree::BYTES; ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:107:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = s.Find(':')) >= 0 ) ~ ^~~~~~~~~~~ chttp.cpp:112:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = s.Find('/')) < 0 ) ~ ^~~~~~~~~~~ chttp.cpp:192:54: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if ( (m_nContentLength == -1) || (m_nContentLength == m_baData.Size()) ) ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ chttp.cpp:276:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = m_sHeader.Find("HTTP/1.0 ")) == -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:278:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = m_sHeader.Find("HTTP/1.1 ")) == -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:286:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2 = m_sHeader.Find(' ',i1+9)) == -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:315:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = m_sHeader.Find("Content-Length: ")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:317:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2 = m_sHeader.Find(0x0d,i1)) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:325:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = m_sHeader.Find("Location: ")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:327:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2 = m_sHeader.Find(0x0d,i1)) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:366:20: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] msg->m_nLength = m_nContentLength; ~ ^~~~~~~~~~~~~~~~ chttp.cpp:373:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] m_baData.Append((const unsigned char*)buffer,len); ~~~~~~~~ ^~~ chttp.cpp:431:52: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( Write( (const unsigned char*)header.Data(), header.Length() ) != 0 ) ~~~~~ ^~~~~~~~~~~~~~~ chttp.cpp:510:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = datastring.Find("://"); ~ ^~~~~~~~~~~~~~~~~~~~~~ chttp.cpp:523:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = datastring.Find('@'); ~ ^~~~~~~~~~~~~~~~~~~~ chttp.cpp:529:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i2 = tempuser.Find(':'); ~~ ^~~~~~~~~~~~~~~~~~ chttp.cpp:539:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = datastring.Find('/'); ~ ^~~~~~~~~~~~~~~~~~~~ chttp.cpp:552:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = datastring.Find(':'); ~ ^~~~~~~~~~~~~~~~~~~~ In file included from clistenmanager.cpp:34: In file included from ./cdownloadmanager.h:41: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from chublistmanager.cpp:28: ./core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ chublistmanager.cpp:364:44: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] s.Set((const char*)m_pHubListData->Data(),m_pHubListData->Size()); ~ ^~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. clistenmanager.cpp:126:21: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] m_nListenPort = n; ~ ^ clistenmanager.cpp:184:54: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if ( CConfig::Instance()->GetCryptoListenPort() != m_nListenPort ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ clistenmanager.cpp:191:51: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if ( CConfig::Instance()->GetTCPListenPort() != m_nListenPort ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ In file included from cfilemanager.cpp:31: In file included from ./cdownloadmanager.h:41: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cmessagehandler.cpp:26: ./core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cpluginmanager.lo cpluginmanager.cpp 18 warnings generated. 7 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cquerymanager.lo cquerymanager.cpp 4 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o csearchindex.lo csearchindex.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o csearchmanager.lo csearchmanager.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cpluginmanager.cpp -fno-common -DPIC -o .libs/cpluginmanager.o 13 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o csearchsocket.lo csearchsocket.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cquerymanager.cpp -fno-common -DPIC -o .libs/cquerymanager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c csearchindex.cpp -fno-common -DPIC -o .libs/csearchindex.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c csearchmanager.cpp -fno-common -DPIC -o .libs/csearchmanager.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c csearchsocket.cpp -fno-common -DPIC -o .libs/csearchsocket.o cfilemanager.cpp:1283:71: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Wsign-conversion] dcpp::TigerTree hasher( std::max( dcpp::TigerTree::calcBlockSize(cdir.getFileSize(pa,false),10) , ((int64_t) 64*1024) ) ); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ cfilemanager.cpp:1287:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] hasher.update(m_pHashMemory->Data(),len); ~~~~~~ ^~~ cfilemanager.cpp:1285:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] while ( (len = f.Read( (char*)m_pHashMemory->Data(), 1024*1024)) > 0 ) ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfilemanager.cpp:1394:12: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] NanoSleep(wait); ~~~~~~~~~ ^~~~ 2 warnings generated. cmessagehandler.cpp:141:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] index = sMessage->Find('|',index); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:471:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = sContent.Find(" Pk="); ~ ^~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:496:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = msg->m_sPK.Find("ABC")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:506:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = msg->m_sPK.Find("ABC")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:532:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = msg->m_sPK.Find("ABC")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:547:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i = msg->m_sPK.Find("ABC")) != -1 ) ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:555:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=msg->m_sVersionString.Find('.')) != -1 ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:559:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=msg->m_sVersionString.Find('.',i)) != -1 ) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o csharelist.lo csharelist.cpp cmessagehandler.cpp:602:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find('<')) == 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:603:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i1 = sContent.Find('>',i+1); ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:637:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:640:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=sContent.Find(' ',i+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:643:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2=sContent.Find('$',i1+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:646:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i3=sContent.Find('$',i2+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:649:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i4=sContent.Find('$',i3+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:652:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i5=sContent.Find('$',i4+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:655:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i6=sContent.Find('$',i5+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:762:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=s.FindRev("<++ ")) != -1 ) ~^~~~~~~~~~~~~~~~~ cmessagehandler.cpp:764:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] else if ( (i=s.FindRev("',i)) != -1) ) ~^~~~~~~~~~~~~ cmessagehandler.cpp:845:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:850:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=sContent.Find(':',i+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:895:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:914:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] while ( (i=sContent.Find('$',i)) >= 0 ) ~^~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:931:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] while ( (i=sContent.Find('$',i)) >= 0 ) ~^~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1102:52: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] in.Append( (unsigned char*)s1.Data(), s1.Length()+1 ); ~~ ~~~~~~~~~~~^~ cmessagehandler.cpp:1106:31: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] s1.Set( (char*)out.Data(), out.Size() ); ~~ ^~~~~~~~~~ cmessagehandler.cpp:961:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:964:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=sContent.Find('?',i+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:967:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2=sContent.Find('?',i1+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:970:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i3=sContent.Find('?',i2+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:973:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i4=sContent.Find('?',i3+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:978:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i5 = s.Find(':')) < 0 ) ~ ^~~~~~~~~~~ cmessagehandler.cpp:997:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i6 = s.Find(':'); ~ ^~~~~~~~~~~ cmessagehandler.cpp:1095:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=s.Find("EXT")) == 0 ) ~^~~~~~~~~~~~~ cmessagehandler.cpp:1103:7: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] i = CBase64::Decode(&out,&in); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1107:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i=s1.Find("EXT:"); ~^~~~~~~~~~~~~~~ cmessagehandler.cpp:1131:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(0x05)) < 0 ) ~^~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1158:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1161:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=sContent.Find(0x05,i+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1164:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2=sContent.Find(' ',i1+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1167:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i3=sContent.Find(0x05,i2+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1182:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = s.Find('/')) != -1 ) ~ ^~~~~~~~~~~ cmessagehandler.cpp:1192:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1 = s.FindRev(')')) != -1 ) ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1194:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i2 = s.FindRev('('),i1-1) != -1 ) ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1254:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (s1=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1257:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i1=sContent.Find(0x05,s1+1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1260:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (s2=sContent.FindRev(' ',i1)) < 0 ) ~^~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1274:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (slash = s.Find('/')) != -1 ) ~ ^~~~~~~~~~~ cmessagehandler.cpp:1284:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (closeBracket = s.FindRev(')')) != -1 ) ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1286:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (openBracket = s.FindRev('('),closeBracket-1) != -1 ) ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1341:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int p1 = sContent.Find( " From:", 0 ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1348:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int p2 = sContent.Find( '$', p1+6 ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1362:7: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] p1 = s.Find('<'); ~ ^~~~~~~~~~~ cmessagehandler.cpp:1363:7: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] p2 = s.Find('>',p1+1); ~ ^~~~~~~~~~~~~~~~ cmessagehandler.cpp:1404:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = sContent.Find(':'); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1437:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1482:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] last = sContent.FindRev('$'); ~ ^~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1493:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] secondlast = sContent.FindRev('$',last-1); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1535:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = sContent.Find(' '); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1536:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i1= sContent.Find(' ',i+1); ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1593:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( (i=sContent.Find(' ')) < 0 ) ~^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1674:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] while( (i1=sContent.Find(' ',i)) != -1 ) ~^~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1831:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = sContent.Find(' '); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1835:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i2 = sContent.Find(' ',i+1); ~~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1839:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i3 = sContent.Find('$',i2+1); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1890:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = sContent.Find(' '); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1891:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i1= sContent.Find(' ',i+1); ~ ^~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1933:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = sContent.Find(' '); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:1966:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev(' '); ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1970:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev(' '); ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:1998:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int i = sContent.Find(' '); ~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:2031:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev(' '); ~ ^~~~~~~~~~~~~~ cmessagehandler.cpp:2035:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = s.FindRev(' '); ~ ^~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c csharelist.cpp -fno-common -DPIC -o .libs/csharelist.o cmessagehandler.cpp:2062:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int middle = sContent.Find(' '); ~~~~~~ ^~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:2075:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int list_sep = sContent.Find("$$"); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:2084:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] list_sep = sContent.Find("$$",start); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ cmessagehandler.cpp:2085:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] middle = sContent.Find(' ',start); ~ ^~~~~~~~~~~~~~~~~~~~~~~~ csearchsocket.cpp:96:46: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettCONTROLRX,len); ~~~~~~~ ^~~ csearchsocket.cpp:83:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] len = Read( (char*)m_Buffer.Data(), m_Buffer.Size(), 0, 1 ); ~~~~ ^~~~~~~~~~~~~~~ In file included from csearchmanager.cpp:18: In file included from ./csearchmanager.h:44: In file included from ../dclib/cclient.h:31: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from cquerymanager.cpp:27: In file included from ./cdownloadqueue.h:37: In file included from ../dclib/ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ In file included from csharelist.cpp:35: ./core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ cquerymanager.cpp:251:80: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] if ( querysendobject->m_pSocket->Write( (const unsigned char*)it->Data(), it->Length(), 2 ) <= 0 ) ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ 2 warnings generated. csharelist.cpp:87:51: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] m_sIndexShareBuffer.Set((const char*)ba.Data(),ba.Size()); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~ csharelist.cpp:110:44: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] if ( fwrite( m_sIndexShareBuffer.Data(), m_sIndexShareBuffer.Length(), 1, out ) != 1 ) ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ csharelist.cpp:381:37: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] sharebuffer->Append(s->Data(),s->Length()); ~~~~~~~~~~~ ^~~~~~~~~~~ csharelist.cpp:505:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] start = dir.Find('/',start) + 1; ~ ~~~~~~~~~~~~~~~~~~~~^~~ csharelist.cpp:506:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] end = dir.Find('/',start); ~ ^~~~~~~~~~~~~~~~~~~ 92 warnings generated. 5 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o csharetreefolder.lo csharetreefolder.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o ctransfer.lo ctransfer.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cuserlist.lo cuserlist.cpp csearchindex.cpp:581:82: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] m_pUpdatingFileBaseArray->Append( fileinfo->name.Data(), fileinfo->name.Length()+1 ); ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~ csearchindex.cpp:582:62: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] m_pUpdatingPathBaseArray->Append( path.Data(), path.Length()+1 ); ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~^~ csearchindex.cpp:593:64: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] m_pUpdatingCaseFoldedData->Append( data.Data(), data.Length() + 1 ); ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o cutils.lo cutils.cpp csearchindex.cpp:981:69: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] long wrote = file.Write( (const char*) m_pNewHashLeaves->Data(), m_pNewHashLeaves->Size() ); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ csearchindex.cpp:983:15: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if ( wrote == m_pNewHashLeaves->Size() ) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ csearchindex.cpp:1093:79: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] pNewHashPathBaseArray->Append( hashfilepath.Data(), hashfilepath.Length()+1 ); ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~ csearchindex.cpp:1106:79: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] pNewHashFileBaseArray->Append( hashfilename.Data(), hashfilename.Length()+1 ); ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~ csearchindex.cpp:1196:9: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] return errors; ~~~~~~ ^~~~~~ csearchindex.cpp:1202:77: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("BaseArray size=%lu itemsize=%d items=%lu\n", m_pBaseArray->Size(), sizeof(struct filebaseobject), m_pBaseArray->Size()/sizeof(struct filebaseobject) ); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu csearchindex.cpp:1206:87: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("CaseFoldedBase size=%lu itemsize=%d items=%lu\n", m_pCaseFoldedBase->Size(), sizeof(unsigned long), m_pCaseFoldedBase->Size()/sizeof(unsigned long) ); ~~ ^~~~~~~~~~~~~~~~~~~~~ %lu csearchindex.cpp:1209:85: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("HashBaseArray size=%lu itemsize=%d items=%lu\n", m_pHashBaseArray->Size(), sizeof(struct hashbaseobject), m_pHashBaseArray->Size()/sizeof(struct hashbaseobject)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu csearchindex.cpp:1212:77: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf("HashIndex size=%lu itemsize=%d items=%lu\n", m_pHashIndex->Size(), dcpp::TigerTree::BYTES, m_pHashIndex->Size()/dcpp::TigerTree::BYTES); ~~ ^~~~~~~~~~~~~~~~~~~~~~ %lu csearchindex.cpp:1294:19: warning: implicit conversion changes signedness: 'unsigned long' to 'int64_t' (aka 'long long') [-Wsign-conversion] if ( file->Seek( hli, SEEK_SET ) ) ~~~~ ^~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c csharetreefolder.cpp -fno-common -DPIC -o .libs/csharetreefolder.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c ctransfer.cpp -fno-common -DPIC -o .libs/ctransfer.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cuserlist.cpp -fno-common -DPIC -o .libs/cuserlist.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c cutils.cpp -fno-common -DPIC -o .libs/cutils.o 6 warnings generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o dclib.lo dclib.cpp 2 warnings generated. 1 warning generated. /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR='"/sw/lib/dclib/plugin"' -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c -o dcobject.lo dcobject.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c dclib.cpp -fno-common -DPIC -o .libs/dclib.o In file included from ctransfer.cpp:18: In file included from ./ctransfer.h:44: In file included from ../dclib/cdcproto.h:36: ../dclib/core/ciconv.h:80:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] return encode( text.Data(), text.Length() ); ~~~~~~ ^~~~~~~~~~~~~ cutils.cpp:246:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int start = tag.Find("V:"); ~~~~~ ^~~~~~~~~~~~~~ cutils.cpp:255:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int end = tag.Find(',',start); ~~~ ^~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -W -pedantic -Wno-long-long -Wundef -Wconversion -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DDCLIB_PLUGINDIR=\"/sw/lib/dclib/plugin\" -I/sw/lib/system-openssl/include -I/sw/include -g -O2 -D_THREAD_SAFE -g -O2 -c dcobject.cpp -fno-common -DPIC -o .libs/dcobject.o 2 warnings generated. 13 warnings generated. ctransfer.cpp:166:11: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion] long i = pByteArray->Size(); ~ ^~~~~~~~~~~~~~~~~~ ctransfer.cpp:243:19: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_nTransfered += n; ~~ ^ ctransfer.cpp:247:24: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] t1 = ((tp.tv_sec*1000)+(tp.tv_usec/1000)); ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ctransfer.cpp:251:49: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] t2 = ((m_AverageTransferRate.tv[i].tv_sec*1000)+(m_AverageTransferRate.tv[i].tv_usec/1000)); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:267:41: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_AverageTransferRate.transfered[i] += n; ~~ ^ ctransfer.cpp:280:24: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] t1 = ((tp.tv_sec*1000)+(tp.tv_usec/1000)); ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ctransfer.cpp:291:49: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] t2 = ((m_AverageTransferRate.tv[i].tv_sec*1000)+(m_AverageTransferRate.tv[i].tv_usec/1000)); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:298:49: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] t2 = ((m_AverageTransferRate.tv[i].tv_sec*1000)+(m_AverageTransferRate.tv[i].tv_usec/1000)); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:459:51: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCGet( eAdcFile, adcTTH, startposition, chunksize, true ); ~~~~~~~~~~ ^~~~~~~~~ ctransfer.cpp:464:52: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCGet ( eAdcFile, adcTTH, startposition, chunksize, false ); ~~~~~~~~~~ ^~~~~~~~~ ctransfer.cpp:556:39: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCSnd( eAdcTTHL, adcTTH, pos, m_nChunkSize, compress ); ~~~~~~~~~~ ^~~~~~~~~~~~ ctransfer.cpp:560:42: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCSnd( eAdcList, CString(), pos, m_nChunkSize, compress, dstfile ); ~~~~~~~~~~ ^~~~~~~~~~~~ ctransfer.cpp:564:42: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCSnd( eAdcFile, CString(), pos, m_nChunkSize, compress, dstfile ); ~~~~~~~~~~ ^~~~~~~~~~~~ ctransfer.cpp:568:42: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCSnd( eAdcFile, CString(), pos, m_nChunkSize, compress, "/" + dstfile ); ~~~~~~~~~~ ^~~~~~~~~~~~ ctransfer.cpp:572:39: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long long' [-Wsign-conversion] SendADCSnd( eAdcFile, adcTTH, pos, m_nChunkSize, compress ); ~~~~~~~~~~ ^~~~~~~~~~~~ ctransfer.cpp:643:34: warning: implicit conversion changes signedness: 'unsigned long long' to 'int64_t' (aka 'long long') [-Wsign-conversion] if ( m_File.Seek(m_nFileSize-1,SEEK_SET) ) ~~~~~~ ~~~~~~~~~~~^~ ctransfer.cpp:660:21: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Wsign-conversion] b = m_File.Seek(m_nStartPosition,SEEK_SET); ~~~~~~ ^~~~~~~~~~~~~~~~ ctransfer.cpp:761:29: warning: implicit conversion changes signedness: 'long long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] m_nEndPosition = msg->m_nSize; ~ ~~~~~^~~~~~~ ctransfer.cpp:768:28: warning: implicit conversion changes signedness: 'long long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] m_nChunkSize = msg->m_nSize; ~ ~~~~~^~~~~~~ ctransfer.cpp:797:26: warning: implicit conversion changes signedness: 'long long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] m_nFileSize = msg->m_nSize; ~ ~~~~~^~~~~~~ ctransfer.cpp:764:24: warning: comparison of integers of different signs: 'ulonglong' (aka 'unsigned long long') and 'long long' [-Wsign-compare] if ( m_nChunkSize != msg->m_nSize ) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ ctransfer.cpp:1147:13: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] freebuf = m_nReadFileBufferSize; //GetFreeSendBufferSize(); ~ ^~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:1168:12: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] len = m_nReadFileBufferSize; ~ ^~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:1187:28: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] if ( m_nTransfered + fileBytesRead >= m_nChunkSize ) ~ ^~~~~~~~~~~~~ ctransfer.cpp:1200:30: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] if ( (m_nTransfered + fileBytesRead + len) > m_nChunkSize ) ~ ^~~~~~~~~~~~~ ctransfer.cpp:1202:47: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] len = m_nChunkSize - (m_nTransfered + fileBytesRead); ~ ^~~~~~~~~~~~~ ctransfer.cpp:1227:30: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] if ( m_nTransfered + fileBytesRead >= m_nChunkSize ) ~ ^~~~~~~~~~~~~ ctransfer.cpp:1232:45: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] temp.SetSize( m_nReadFileBufferSize * 2 ); ~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~ ctransfer.cpp:1248:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] pByteArray->Append( temp.Data(), outlen ); ~~~~~~~~~~ ^~~~~~ ctransfer.cpp:1280:12: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] len = m_nFileBufferSize; ~ ^~~~~~~~~~~~~~~~~ ctransfer.cpp:1287:38: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_nTransfered = m_nTransfered + fileBytesRead - m_nFileBufferSize; ~ ^~~~~~~~~~~~~ ctransfer.cpp:1287:54: warning: implicit conversion changes signedness: 'long' to 'unsigned long long' [-Wsign-conversion] m_nTransfered = m_nTransfered + fileBytesRead - m_nFileBufferSize; ~ ^~~~~~~~~~~~~~~~~ ctransfer.cpp:1312:12: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] len = m_nFileBufferSize; ~ ^~~~~~~~~~~~~~~~~ ctransfer.cpp:1323:28: warning: implicit conversion changes signedness: 'long' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] len = m_nFileBufferSize-m_nFileBufferPos; ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ctransfer.cpp:1328:23: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long' [-Wsign-conversion] m_nFileBufferPos = m_nTransfered; ~ ^~~~~~~~~~~~~ ctransfer.cpp:1364:28: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] m_nPendingSendBytes -= l; ~~ ^ ctransfer.cpp:1368:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] m_nPendingSendBytes = len-l; ~^ ctransfer.cpp:1166:14: warning: comparison of integers of different signs: 'ulonglong' (aka 'unsigned long long') and 'long' [-Wsign-compare] if ( len > m_nReadFileBufferSize ) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:1234:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] inlen = read; ~ ^~~~ ctransfer.cpp:1235:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] outlen = temp.Size(); ~ ^~~~~~~~~~~ ctransfer.cpp:1356:51: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] l = Write( pByteArray->Data()+m_nFileBufferPos, (long)len, true ); ~~~~~ ^~~~~~~~~ ctransfer.cpp:1518:45: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettDATARX,r); ~~~~~~~ ^ ctransfer.cpp:1573:47: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] CSocket::m_Traffic.AddTraffic(ettCONTROLRX,r); ~~~~~~~ ^ ctransfer.cpp:1628:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] if ( (len+m_nTransfered) > m_nChunkSize ) ^~~~ ctransfer.cpp:1634:7: warning: implicit conversion changes signedness: 'int' to 'ulonglong' (aka 'unsigned long long') [-Wsign-conversion] l = len; ~ ^~~ ctransfer.cpp:1644:30: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'long' [-Wsign-conversion] i = m_File.Write( buffer, l ); ~~~~~~ ^ ctransfer.cpp:1642:13: warning: comparison of integers of different signs: 'int' and 'ulonglong' (aka 'unsigned long long') [-Wsign-compare] while( i1 != l ) ~~ ^ ~ ctransfer.cpp:1644:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = m_File.Write( buffer, l ); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:1723:8: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion] if ( (len+m_nTransfered) > m_nChunkSize ) ^~~~ ctransfer.cpp:1732:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] pByteArray->Append((const unsigned char*)buffer,i); ~~~~~~~~~~ ^ ctransfer.cpp:1725:19: warning: implicit conversion loses integer precision: 'unsigned long long' to 'int' [-Wshorten-64-to-32] i = m_nChunkSize-m_nTransfered; ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~ ctransfer.cpp:1799:23: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion] pByteArray->SetSize(m_nReadFileBufferSize); ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ ctransfer.cpp:1810:21: warning: implicit conversion changes signedness: 'ulonglong' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Wsign-conversion] if ( m_File.Seek(m_nStartPosition,SEEK_SET) == false ) ~~~~~~ ^~~~~~~~~~~~~~~~ 54 warnings generated. /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -D_THREAD_SAFE -g -O2 -version-info 5:0:0 -D_THREAD_SAFE -L/sw/lib/system-openssl/lib -lssl -lcrypto -lz -liconv -L/sw/lib -o libdc.la -rpath /sw/lib ccasefolder.lo cclient.lo cclientssl.lo cconfig.lo cconnectionmanager.lo cdcproto.lo cdownloadmanager.lo cdownloadqueue.lo cencrypt.lo cfilehasher.lo cfilemanager.lo chttp.lo chublistmanager.lo clistenmanager.lo cmessagehandler.lo cpluginmanager.lo cquerymanager.lo csearchindex.lo csearchmanager.lo csearchsocket.lo csharelist.lo csharetreefolder.lo ctransfer.lo cuserlist.lo cutils.lo dclib.lo dcobject.lo core/libcore.la hash/libhash.la -ldl -lz -lbz2 libtool: link: (cd .libs/libdc.lax/libcore.a && ar x "/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core/.libs/libcore.a") libtool: link: (cd .libs/libdc.lax/libhash.a && ar x "/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash/.libs/libhash.a") libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libdc.5.dylib .libs/ccasefolder.o .libs/cclient.o .libs/cclientssl.o .libs/cconfig.o .libs/cconnectionmanager.o .libs/cdcproto.o .libs/cdownloadmanager.o .libs/cdownloadqueue.o .libs/cencrypt.o .libs/cfilehasher.o .libs/cfilemanager.o .libs/chttp.o .libs/chublistmanager.o .libs/clistenmanager.o .libs/cmessagehandler.o .libs/cpluginmanager.o .libs/cquerymanager.o .libs/csearchindex.o .libs/csearchmanager.o .libs/csearchsocket.o .libs/csharelist.o .libs/csharetreefolder.o .libs/ctransfer.o .libs/cuserlist.o .libs/cutils.o .libs/dclib.o .libs/dcobject.o .libs/libdc.lax/libcore.a/casyncdns.o .libs/libdc.lax/libcore.a/cbase32.o .libs/libdc.lax/libcore.a/cbase64.o .libs/libdc.lax/libcore.a/cbytearray.o .libs/libdc.lax/libcore.a/cbz.o .libs/libdc.lax/libcore.a/cconnection.o .libs/libdc.lax/libcore.a/cdir.o .libs/libdc.lax/libcore.a/cfile.o .libs/libdc.lax/libcore.a/che3.o .libs/libdc.lax/libcore.a/ciconv.o .libs/libdc.lax/libcore.a/clisten.o .libs/libdc.lax/libcore.a/clogfile.o .libs/libdc.lax/libcore.a/cmanager.o .libs/libdc.lax/libcore.a/cmutex.o .libs/libdc.lax/libcore.a/cnetaddr.o .libs/libdc.lax/libcore.a/csocket.o .libs/libdc.lax/libcore.a/cssl.o .libs/libdc.lax/libcore.a/cstring.o .libs/libdc.lax/libcore.a/cthread.o .libs/libdc.lax/libcore.a/cxml.o .libs/libdc.lax/libcore.a/czlib.o .libs/libdc.lax/libcore.a/fsusage.o .libs/libdc.lax/libcore.a/full-read.o .libs/libdc.lax/libcore.a/md5.o .libs/libdc.lax/libcore.a/platform.o .libs/libdc.lax/libcore.a/safe-read.o .libs/libdc.lax/libhash.a/TigerHash.o -L/sw/lib/system-openssl/lib -L/sw/lib /sw/lib/libxml2.dylib -lpthread -lm -lssl -lcrypto /sw/lib/libiconv.dylib -ldl -lz -lbz2 -pthread -install_name /sw/lib/libdc.5.dylib -compatibility_version 6 -current_version 6.0 -Wl,-single_module clang: warning: argument unused during compilation: '-pthread' libtool: link: dsymutil .libs/libdc.5.dylib || : libtool: link: (cd ".libs" && rm -f "libdc.dylib" && ln -s "libdc.5.dylib" "libdc.dylib") libtool: link: rm -fr .libs/libdc.lax libtool: link: ( cd ".libs" && rm -f "libdc.la" && ln -s "../libdc.la" "libdc.la" ) make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' Making all in tests make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make[1]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' /bin/rm -rf /sw/build.build/root-dclib5-0.3.23-1 /bin/mkdir -p /sw/build.build/root-dclib5-0.3.23-1/sw /bin/mkdir -p /sw/build.build/root-dclib5-0.3.23-1/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-dclib5-0.3.23-1 sudo -u fink-bld [ENV] sh -c /tmp/fink.GbAnr /usr/bin/make -w install DESTDIR=/sw/build.build/root-dclib5-0.3.23-1 make: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' Making install in dclib make[1]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' Making install in gnulib make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/gnulib' Making install in core make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' make[3]: Nothing to be done for `install-exec-am'. test -z "/sw/include/dclib-0.3/dclib/core" || ../../admin/install-sh -c -d "/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core" /usr/bin/install -c -m 644 'casyncdns.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/casyncdns.h' /usr/bin/install -c -m 644 'cbase32.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cbase32.h' /usr/bin/install -c -m 644 'cbase64.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cbase64.h' /usr/bin/install -c -m 644 'cbytearray.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cbytearray.h' /usr/bin/install -c -m 644 'cbz.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cbz.h' /usr/bin/install -c -m 644 'ccallback.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/ccallback.h' /usr/bin/install -c -m 644 'cconnection.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cconnection.h' /usr/bin/install -c -m 644 'cdir.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cdir.h' /usr/bin/install -c -m 644 'cfile.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cfile.h' /usr/bin/install -c -m 644 'che3.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/che3.h' /usr/bin/install -c -m 644 'ciconv.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/ciconv.h' /usr/bin/install -c -m 644 'clisten.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/clisten.h' /usr/bin/install -c -m 644 'clist.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/clist.h' /usr/bin/install -c -m 644 'clogfile.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/clogfile.h' /usr/bin/install -c -m 644 'cmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cmanager.h' /usr/bin/install -c -m 644 'cmutex.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cmutex.h' /usr/bin/install -c -m 644 'cnetaddr.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cnetaddr.h' /usr/bin/install -c -m 644 'cplugin.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cplugin.h' /usr/bin/install -c -m 644 'csingleton.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/csingleton.h' /usr/bin/install -c -m 644 'csocket.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/csocket.h' /usr/bin/install -c -m 644 'cssl.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cssl.h' /usr/bin/install -c -m 644 'cstring.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cstring.h' /usr/bin/install -c -m 644 'cstringhash.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cstringhash.h' /usr/bin/install -c -m 644 'cstringlist.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cstringlist.h' /usr/bin/install -c -m 644 'cthread.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cthread.h' /usr/bin/install -c -m 644 'ctraffic.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/ctraffic.h' /usr/bin/install -c -m 644 'cxml.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/cxml.h' /usr/bin/install -c -m 644 'czlib.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/czlib.h' /usr/bin/install -c -m 644 'platform.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/platform.h' /usr/bin/install -c -m 644 'types.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/core/types.h' make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/core' Making install in hash make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib/hash' make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' make[3]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' test -z "/sw/lib" || ../admin/install-sh -c -d "/sw/build.build/root-dclib5-0.3.23-1/sw/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libdc.la' '/sw/build.build/root-dclib5-0.3.23-1/sw/lib/libdc.la' libtool: install: /usr/bin/install -c .libs/libdc.5.dylib /sw/build.build/root-dclib5-0.3.23-1/sw/lib/libdc.5.dylib libtool: install: (cd /sw/build.build/root-dclib5-0.3.23-1/sw/lib && { ln -s -f libdc.5.dylib libdc.dylib || { rm -f libdc.dylib && ln -s libdc.5.dylib libdc.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libdc.lai /sw/build.build/root-dclib5-0.3.23-1/sw/lib/libdc.la libtool: install: warning: remember to run `libtool --finish /sw/lib' /bin/sh /sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/admin/install-sh -d /sw/build.build/root-dclib5-0.3.23-1/sw/lib/dclib /bin/sh /sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/admin/install-sh -d /sw/build.build/root-dclib5-0.3.23-1/sw/lib/dclib/plugin test -z "/sw/include/dclib-0.3/dclib" || ../admin/install-sh -c -d "/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib" /usr/bin/install -c -m 644 'ccasefolder.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/ccasefolder.h' /usr/bin/install -c -m 644 'cclient.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cclient.h' /usr/bin/install -c -m 644 'cclientssl.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cclientssl.h' /usr/bin/install -c -m 644 'cconfig.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cconfig.h' /usr/bin/install -c -m 644 'cconnectionmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cconnectionmanager.h' /usr/bin/install -c -m 644 'cdcproto.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cdcproto.h' /usr/bin/install -c -m 644 'cdownloadmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cdownloadmanager.h' /usr/bin/install -c -m 644 'cdownloadqueue.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cdownloadqueue.h' /usr/bin/install -c -m 644 'cencrypt.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cencrypt.h' /usr/bin/install -c -m 644 'cfilehasher.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cfilehasher.h' /usr/bin/install -c -m 644 'cfilemanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cfilemanager.h' /usr/bin/install -c -m 644 'chttp.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/chttp.h' /usr/bin/install -c -m 644 'chublistmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/chublistmanager.h' /usr/bin/install -c -m 644 'clistenmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/clistenmanager.h' /usr/bin/install -c -m 644 'cmessagehandler.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cmessagehandler.h' /usr/bin/install -c -m 644 'cpluginmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cpluginmanager.h' /usr/bin/install -c -m 644 'cquerymanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cquerymanager.h' /usr/bin/install -c -m 644 'csearchindex.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/csearchindex.h' /usr/bin/install -c -m 644 'csearchmanager.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/csearchmanager.h' /usr/bin/install -c -m 644 'csearchsocket.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/csearchsocket.h' /usr/bin/install -c -m 644 'csharelist.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/csharelist.h' /usr/bin/install -c -m 644 'csharetreefolder.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/csharetreefolder.h' /usr/bin/install -c -m 644 'ctransfer.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/ctransfer.h' /usr/bin/install -c -m 644 'cuserlist.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cuserlist.h' /usr/bin/install -c -m 644 'cutils.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/cutils.h' /usr/bin/install -c -m 644 'dclib.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/dclib.h' /usr/bin/install -c -m 644 'dclib-ssl-use.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/dclib-ssl-use.h' /usr/bin/install -c -m 644 'dclib-stl-use.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/dclib-stl-use.h' /usr/bin/install -c -m 644 'dcobject.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/dcobject.h' /usr/bin/install -c -m 644 'dcos.h' '/sw/build.build/root-dclib5-0.3.23-1/sw/include/dclib-0.3/dclib/dcos.h' make[3]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' make[1]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/dclib' Making install in tests make[1]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[1]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/tests' make[1]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make[2]: Entering directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make[2]: Nothing to be done for `install-exec-am'. /bin/sh /sw/build.build/dclib5-0.3.23-1/dclib-0.3.23/admin/install-sh -d /sw/build.build/root-dclib5-0.3.23-1/sw/lib/pkgconfig /usr/bin/install -c -m 644 dclib.pc /sw/build.build/root-dclib5-0.3.23-1/sw/lib/pkgconfig make[2]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make[1]: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' make: Leaving directory `/sw/build.build/dclib5-0.3.23-1/dclib-0.3.23' sudo -u fink-bld [ENV] sh -c /tmp/fink.7PFIV /usr/bin/install -d -m 700 /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5 /bin/cp -r AUTHORS /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/cp -r ChangeLog /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/cp -r COPYING /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/cp -r INSTALL /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/cp -r NEWS /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/cp -r README /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5/ /bin/chmod -R go=u-w /sw/build.build/root-dclib5-0.3.23-1/sw/share/doc/dclib5 /bin/rm -f /sw/build.build/root-dclib5-0.3.23-1/sw/info/dir /sw/build.build/root-dclib5-0.3.23-1/sw/info/dir.old /sw/build.build/root-dclib5-0.3.23-1/sw/share/info/dir /sw/build.build/root-dclib5-0.3.23-1/sw/share/info/dir.old /bin/rm -rf /sw/build.build/root-dclib5-shlibs-0.3.23-1 /bin/mkdir -p /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw /bin/mkdir -p /sw/build.build/root-dclib5-shlibs-0.3.23-1/DEBIAN /usr/sbin/chown -R fink-bld:fink-bld /sw/build.build/root-dclib5-shlibs-0.3.23-1 sudo -u fink-bld [ENV] sh -c /tmp/fink.6vlCj /usr/bin/install -d -m 755 /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/lib /bin/mv /sw/build.build/root-dclib5-0.3.23-1/sw/lib/libdc.5.dylib /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/lib/ /usr/bin/install -d -m 700 /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/doc/dclib5-shlibs /bin/cp -r COPYING /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/doc/dclib5-shlibs/ /bin/cp -r INSTALL /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/doc/dclib5-shlibs/ /bin/cp -r README /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/doc/dclib5-shlibs/ /bin/chmod -R go=u-w /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/doc/dclib5-shlibs /bin/rm -f /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/info/dir /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/info/dir.old /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/info/dir /sw/build.build/root-dclib5-shlibs-0.3.23-1/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-dclib5-0.3.23-1 /sw/fink/10.9/stable/main/binary-darwin-x86_64/libs dpkg-deb: building package `dclib5' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/dclib5_0.3.23-1_darwin-x86_64.deb'. Reverting ownership of install dir to root Writing control file... Creating shlibs files... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-dclib5-shlibs-0.3.23-1 /sw/fink/10.9/stable/main/binary-darwin-x86_64/libs dpkg-deb: building package `dclib5-shlibs' in `/sw/fink/10.9/stable/main/binary-darwin-x86_64/libs/dclib5-shlibs_0.3.23-1_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-dclib5-0.3.23-1 (Reading database ... 7785 files and directories currently installed.) Removing fink-buildlock-dclib5-0.3.23-1 ...