=>> Building comms/syncterm build started at Sat Apr 6 03:42:28 BST 2024 port directory: /usr/ports/comms/syncterm package name: syncterm-1.0 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1124 Mar 8 2023 /usr/ports/comms/syncterm/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 13 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/13/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for syncterm-1.0: SDL=on: Simple Direct Media Layer support X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/comms/syncterm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/comms/syncterm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/comms/syncterm/work/.cache HOME=/wrkdirs/usr/ports/comms/syncterm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/comms/syncterm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/comms/syncterm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/comms/syncterm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/comms/syncterm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/comms/syncterm/work/.cache HOME=/wrkdirs/usr/ports/comms/syncterm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/comms/syncterm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/comms/syncterm/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/syncterm" EXAMPLESDIR="share/examples/syncterm" DATADIR="share/syncterm" WWWDIR="www/syncterm" ETCDIR="etc/syncterm" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/syncterm DOCSDIR=/usr/local/share/doc/syncterm EXAMPLESDIR=/usr/local/share/examples/syncterm WWWDIR=/usr/local/www/syncterm ETCDIR=/usr/local/etc/syncterm --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The syncterm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> syncterm-1.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> syncterm-1.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of syncterm-1.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The syncterm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by syncterm-1.0 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The syncterm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by syncterm-1.0 for building => SHA256 Checksum OK for syncterm-1.0.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The syncterm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by syncterm-1.0 for building ===> Extracting for syncterm-1.0 => SHA256 Checksum OK for syncterm-1.0.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for syncterm-1.0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> syncterm-1.0 depends on executable: as - not found ===> Installing existing package /packages/All/binutils-2.40_5,1.pkg [pkg-builder.dan.net.uk] Installing binutils-2.40_5,1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] Extracting binutils-2.40_5,1: .......... done ===> syncterm-1.0 depends on executable: as - found ===> Returning to build of syncterm-1.0 ===> syncterm-1.0 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> syncterm-1.0 depends on package: gmake>=4.4.1 - found ===> Returning to build of syncterm-1.0 ===> syncterm-1.0 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg-builder.dan.net.uk] Installing sdl-1.2.15_17,2... [pkg-builder.dan.net.uk] `-- Installing aalib-1.4.r5_14... [pkg-builder.dan.net.uk] `-- Extracting aalib-1.4.r5_14: .......... done [pkg-builder.dan.net.uk] `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | | `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> syncterm-1.0 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of syncterm-1.0 ===> syncterm-1.0 depends on package: perl5>=5.36<5.37 - not found ===> Installing existing package /packages/All/perl5-5.36.3_1.pkg [pkg-builder.dan.net.uk] Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] Extracting perl5-5.36.3_1: .......... done ===> syncterm-1.0 depends on package: perl5>=5.36<5.37 - found ===> Returning to build of syncterm-1.0 ===> syncterm-1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> syncterm-1.0 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for syncterm-1.0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for syncterm-1.0 gmake: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/syncterm' gmake -C ../xpdev mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/xpdev' Compiling conwrap.c Compiling dat_file.c Compiling datewrap.c Compiling dirwrap.c Compiling filewrap.c Compiling genwrap.c Compiling ini_file.c Compiling link_list.c Compiling msg_queue.c Compiling multisock.c Compiling semwrap.c Compiling netwrap.c Compiling sockwrap.c Compiling semfile.c Compiling str_list.c Compiling strwrap.c Compiling threadwrap.c Compiling xp_dl.c Compiling xpbeep.c Compiling xpdatetime.c Compiling xpmap.c Compiling xpprintf.c xpprintf.c:702:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] i=(int)pntr; ^~~~~~~~~ xpprintf.c:741:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] i=(int)pntr; ^~~~~~~~~ xpprintf.c:780:11: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] ui=(unsigned int)pntr; ^~~~~~~~~~~~~~~~~~ 3 warnings generated. Compiling xpsem.c Compiling xpevent.c Creating clang.freebsd.amd64.lib.release/libxpdev_mt.a gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/xpdev' gmake -C ../conio mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/conio' Compiling ansi_cio.c Compiling ciolib.c Compiling cterm.c cterm.c:2117:17: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buflen=strlen(buf); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ cterm.c:2126:15: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strlen(prn) >= sizeof(prn)-sizeof(cterm->escbuf)) { ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ cterm.c:2127:20: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2175:14: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2176:14: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2181:28: warning: passing 'unsigned char[2]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(cterm->escbuf,ch); ^~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2194:17: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2195:17: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2209:18: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2210:18: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2221:18: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2222:18: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2233:17: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2234:17: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2255:16: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,"\033"); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2256:16: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,cterm->escbuf); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2263:20: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] prn[strlen(prn)-1]=0; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ cterm.c:2264:22: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2282:31: warning: passing 'unsigned char[2]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(cterm->musicbuf,ch); ^~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2733:22: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2758:24: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2771:24: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2782:24: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ cterm.c:2787:17: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,ch); ^~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2787:21: warning: passing 'unsigned char[2]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(prn,ch); ^~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ cterm.c:2793:18: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ctputs(cterm, prn); ^~~ cterm.c:1990:51: note: passing argument to parameter 'buf' here static void ctputs(struct cterminal *cterm, char *buf) ^ 26 warnings generated. Compiling vidmodes.c Compiling allfonts.c Compiling mouse.c Compiling curs_cio.c Compiling x_events.c Compiling x_cio.c Compiling sdl_con.c Compiling sdlfuncs.c Compiling bitmap_con.c Creating clang.freebsd.amd64.lib.release/libciolib_mt.a ... gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/conio' gmake -C ../uifc mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/uifc' Compiling uifc32.c uifc32.c:1997:114: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] cprintf("%-*.*s",width,width,"********************************************************************************"+(80-strlen(outstr+*scrnoffset))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uifc32.c:1997:114: note: use array indexing to silence this warning cprintf("%-*.*s",width,width,"********************************************************************************"+(80-strlen(outstr+*scrnoffset))); ^ & [ ] 1 warning generated. Compiling uifcx.c Creating clang.freebsd.amd64.lib.release/libuifc_mt.a ... gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/uifc' gmake -C ../../3rdp/build cryptlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/3rdp/build' Creating ../build/../../src/../3rdp/clang.freebsd.amd64.release/cl/libcl.a ... Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- random/unix.c.orig 2012-07-14 00:50:55.000000000 -0700 |+++ random/unix.c 2012-07-14 00:52:28.000000000 -0700 -------------------------- Patching file random/unix.c using Plan A... Hunk #1 succeeded at 161. Hunk #2 succeeded at 544. Hunk #3 succeeded at 616. Hunk #4 succeeded at 1545 (offset 6 lines). done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- session/sess_attr.c.orig 2012-07-13 14:19:07.000000000 -0700 |+++ session/sess_attr.c 2012-07-13 14:21:15.000000000 -0700 -------------------------- Patching file session/sess_attr.c using Plan A... Hunk #1 succeeded at 102 with fuzz 1. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tools/ccopts.sh.orig 2010-12-19 00:57:12.000000000 -0800 |+++ tools/ccopts.sh 2013-01-05 22:33:35.000000000 -0800 -------------------------- Patching file tools/ccopts.sh using Plan A... Hunk #1 succeeded at 109 (offset 4 lines). Hunk #2 succeeded at 180 (offset 4 lines). Hunk #3 succeeded at 202 (offset 6 lines). Hunk #4 succeeded at 453 with fuzz 2 (offset 7 lines). done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur ../cl.patched/cryptlib.h ./cryptlib.h |--- ../cl.patched/cryptlib.h 2014-06-20 12:40:45.000000000 -0700 |+++ ./cryptlib.h 2014-06-20 12:47:00.000000000 -0700 -------------------------- Patching file ./cryptlib.h using Plan A... Hunk #1 succeeded at 1235 (offset -2 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur ../cl.patched/kernel/attr_acl.c ./kernel/attr_acl.c |--- ../cl.patched/kernel/attr_acl.c 2014-06-20 12:40:39.000000000 -0700 |+++ ./kernel/attr_acl.c 2014-06-20 20:32:54.000000000 -0700 -------------------------- Patching file ./kernel/attr_acl.c using Plan A... Hunk #1 succeeded at 3713 (offset -29 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur ../cl.patched/session/sess_attr.c ./session/sess_attr.c |--- ../cl.patched/session/sess_attr.c 2014-06-20 12:40:41.000000000 -0700 |+++ ./session/sess_attr.c 2014-06-20 20:33:27.000000000 -0700 -------------------------- Patching file ./session/sess_attr.c using Plan A... Hunk #1 succeeded at 305 (offset -18 lines). Hunk #2 succeeded at 376 (offset -18 lines). Hunk #3 succeeded at 517 (offset -18 lines). Hunk #4 succeeded at 875 (offset -18 lines). Hunk #5 succeeded at 931 (offset -18 lines). Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur ../cl.patched/session/ssh2_msgc.c ./session/ssh2_msgc.c |--- ../cl.patched/session/ssh2_msgc.c 2014-06-20 12:40:41.000000000 -0700 |+++ ./session/ssh2_msgc.c 2014-06-20 20:36:36.000000000 -0700 -------------------------- Patching file ./session/ssh2_msgc.c using Plan A... Hunk #1 succeeded at 447. Hunk #2 succeeded at 551. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- makefile.orig 2012-12-14 03:31:22.000000000 -0800 |+++ makefile 2014-06-25 01:52:11.000000000 -0700 -------------------------- Patching file makefile using Plan A... Hunk #1 succeeded at 1892. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tools/buildlib.sh.orig 2012-11-06 03:55:52.000000000 -0800 |+++ tools/buildlib.sh 2014-06-25 01:59:50.000000000 -0700 -------------------------- Patching file tools/buildlib.sh using Plan A... Hunk #1 succeeded at 75. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- session/ssl_cli.c.orig 2014-08-22 03:20:26.000000000 -0700 |+++ session/ssl_cli.c 2014-08-22 03:20:53.000000000 -0700 -------------------------- Patching file session/ssl_cli.c using Plan A... Hunk #1 succeeded at 1342. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- crypt32.vcxproj.orig 2012-12-14 03:02:56.000000000 -0800 |+++ crypt32.vcxproj 2014-11-22 23:09:27.000000000 -0800 -------------------------- Patching file crypt32.vcxproj using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 35. Hunk #3 succeeded at 154. Hunk #4 succeeded at 166. Hunk #5 succeeded at 646. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ../cl/session/ssh2_authc.c 2012-09-10 22:40:52.000000000 -0700 |+++ session/ssh2_authc.c 2015-03-20 21:23:03.000000000 -0700 -------------------------- Patching file session/ssh2_authc.c using Plan A... Hunk #1 succeeded at 529. Hunk #2 succeeded at 537. done cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_add.o bn/bn_add.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_asm.o bn/bn_asm.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_ctx.o bn/bn_ctx.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_div.o bn/bn_div.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_exp.o bn/bn_exp.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_exp2.o bn/bn_exp2.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_gcd.o bn/bn_gcd.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_lib.o bn/bn_lib.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_mod.o bn/bn_mod.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_mont.o bn/bn_mont.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_mul.o bn/bn_mul.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_recp.o bn/bn_recp.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_shift.o bn/bn_shift.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_sqr.o bn/bn_sqr.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bn_word.o bn/bn_word.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ec_lib.o bn/ec_lib.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ecp_mont.o bn/ecp_mont.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ecp_smpl.o bn/ecp_smpl.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ec_mult.o bn/ec_mult.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ec_rand.o bn/ec_rand.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ec_kron.o bn/ec_kron.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ec_sqrt.o bn/ec_sqrt.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certrev.o cert/certrev.c In file included from cert/certrev.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certschk.o cert/certschk.c In file included from cert/certschk.c:12: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certsign.o cert/certsign.c In file included from cert/certsign.c:12: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certval.o cert/certval.c In file included from cert/certval.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/chain.o cert/chain.c In file included from cert/chain.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/chk_cert.o cert/chk_cert.c In file included from cert/chk_cert.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/chk_chn.o cert/chk_chn.c In file included from cert/chk_chn.c:11: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/chk_use.o cert/chk_use.c In file included from cert/chk_use.c:11: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_cert.o cert/comp_cert.c In file included from cert/comp_cert.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_cert.c:1678:10: warning: 15 enumeration values not handled in switch: 'CRYPT_CERTTYPE_NONE', 'CRYPT_CERTTYPE_CERTIFICATE', 'CRYPT_CERTTYPE_ATTRIBUTE_CERT'... [-Wswitch] switch( certInfoPtr->type ) ^~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_curs.o cert/comp_curs.c In file included from cert/comp_curs.c:12: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_curs.c:916:10: warning: 14 enumeration values not handled in switch: 'CRYPT_CERTTYPE_NONE', 'CRYPT_CERTTYPE_CERTIFICATE', 'CRYPT_CERTTYPE_ATTRIBUTE_CERT'... [-Wswitch] switch( certInfoPtr->type ) ^~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_del.o cert/comp_del.c In file included from cert/comp_del.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_del.c:241:10: warning: 542 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( certInfoType ) ^~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_get.o cert/comp_get.c In file included from cert/comp_get.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_get.c:305:10: warning: 535 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( certInfoType ) ^~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_gets.o cert/comp_gets.c In file included from cert/comp_gets.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_gets.c:1131:10: warning: 532 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( certInfoType ) ^~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/comp_set.o cert/comp_set.c In file included from cert/comp_set.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/comp_set.c:481:10: warning: 535 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( certInfoType ) ^~~~~~~~~~~~ cert/comp_set.c:788:10: warning: 547 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( certInfoType ) ^~~~~~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dn.o cert/dn.c In file included from cert/dn.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dn_rw.o cert/dn_rw.c In file included from cert/dn_rw.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dnstring.o cert/dnstring.c In file included from cert/dnstring.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/dnstring.c:1114:10: warning: 6 enumeration values not handled in switch: 'STRINGTYPE_NONE', 'STRINGTYPE_PRINTABLE', 'STRINGTYPE_IA5'... [-Wswitch] switch( localStringType ) ^~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext.o cert/ext.c In file included from cert/ext.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/ext.c:621:10: warning: enumeration values 'ATTRIBUTE_PROPERTY_NONE', 'ATTRIBUTE_PROPERTY_VALUE', and 'ATTRIBUTE_PROPERTY_LAST' not handled in switch [-Wswitch] switch( property ) ^~~~~~~~ cert/ext.c:674:10: warning: 8 enumeration values not handled in switch: 'ATTRIBUTE_PROPERTY_NONE', 'ATTRIBUTE_PROPERTY_DEFAULTVALUE', 'ATTRIBUTE_PROPERTY_BLOBATTRIBUTE'... [-Wswitch] switch( property ) ^~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_add.o cert/ext_add.c In file included from cert/ext_add.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_chk.o cert/ext_chk.c In file included from cert/ext_chk.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_copy.o cert/ext_copy.c In file included from cert/ext_copy.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_def.o cert/ext_def.c In file included from cert/ext_def.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/ext_def.c:3384:49: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { MKOID( "\x06\x06\x67\x81\x08\x01\x01\x01" ), CRYPT_CONTENT_MRTD, ~ ^~~~~~~~~~~~~~~~~~ cert/ext_def.c:3379:31: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CRYPTLIB_RTCSRESP_EXT, CRYPT_CONTENT_RTCSRESPONSE_EXT, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3375:27: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CRYPTLIB_RTCSRESP, CRYPT_CONTENT_RTCSRESPONSE, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3371:26: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CRYPTLIB_RTCSREQ, CRYPT_CONTENT_RTCSREQUEST, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3359:21: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_TSTOKEN, CRYPT_CONTENT_TSTINFO, ~ ^~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3353:28: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_COMPRESSEDDATA, CRYPT_CONTENT_COMPRESSEDDATA, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3348:27: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_ENCRYPTEDDATA, CRYPT_CONTENT_ENCRYPTEDDATA, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3344:26: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_DIGESTEDDATA, CRYPT_CONTENT_DIGESTEDDATA, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3334:27: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_ENVELOPEDDATA, CRYPT_CONTENT_ENVELOPEDDATA, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3330:24: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_SIGNEDDATA, CRYPT_CONTENT_SIGNEDDATA, ~ ^~~~~~~~~~~~~~~~~~~~~~~~ cert/ext_def.c:3326:18: warning: implicit conversion from enumeration type 'CRYPT_CONTENT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] { OID_CMS_DATA, CRYPT_CONTENT_DATA, ~ ^~~~~~~~~~~~~~~~~~ cert/ext_def.c:195:39: warning: tentative array definition assumed to have one element static const ATTRIBUTE_INFO FAR_BSS holdInstructionInfo[]; ^ 13 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_rd.o cert/ext_rd.c In file included from cert/ext_rd.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cert/ext_rd.c:1545:10: warning: 8 enumeration values not handled in switch: 'CRYPT_CERTTYPE_CERTCHAIN', 'CRYPT_CERTTYPE_CERTREQUEST', 'CRYPT_ICERTTYPE_CMS_CERTSET'... [-Wswitch] switch( type ) ^~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ext_wr.o cert/ext_wr.c In file included from cert/ext_wr.c:14: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/imp_chk.o cert/imp_chk.c In file included from cert/imp_chk.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/imp_exp.o cert/imp_exp.c In file included from cert/imp_exp.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/read.o cert/read.c In file included from cert/read.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/trustmgr.o cert/trustmgr.c In file included from cert/trustmgr.c:26: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/write.o cert/write.c In file included from cert/write.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/write_pre.o cert/write_pre.c In file included from cert/write_pre.c:13: In file included from ./cert/cert.h:17: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/aes_modes.o crypt/aes_modes.c In file included from crypt/aes_modes.c:43: In file included from ./crypt/aesopt.h:140: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/aescrypt.o crypt/aescrypt.c In file included from crypt/aescrypt.c:37: In file included from ./crypt/aesopt.h:140: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/aeskey.o crypt/aeskey.c In file included from crypt/aeskey.c:40: In file included from ./crypt/aesopt.h:140: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/aestab.o crypt/aestab.c In file included from crypt/aestab.c:40: In file included from ./crypt/aesopt.h:140: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bfecb.o crypt/bfecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bfenc.o crypt/bfenc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/bfskey.o crypt/bfskey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/castecb.o crypt/castecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/castenc.o crypt/castenc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/castskey.o crypt/castskey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/descbc.o crypt/descbc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/desecb.o crypt/desecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/desecb3.o crypt/desecb3.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/desenc.o crypt/desenc.c In file included from crypt/desenc.c:65: In file included from ./crypt/osconfig.h:681: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/desskey.o crypt/desskey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/gcm.o crypt/gcm.c In file included from crypt/gcm.c:36: In file included from ./crypt/gcm.h:40: In file included from ./crypt/gf128mul.h:88: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/gf128mul.o crypt/gf128mul.c In file included from crypt/gf128mul.c:41: In file included from ./crypt/gf128mul.h:88: In file included from ./crypt/brg_endian.h:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/icbc.o crypt/icbc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/iecb.o crypt/iecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/iskey.o crypt/iskey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc2cbc.o crypt/rc2cbc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc2ecb.o crypt/rc2ecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc2skey.o crypt/rc2skey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc4enc.o crypt/rc4enc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc4skey.o crypt/rc4skey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc5ecb.o crypt/rc5ecb.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc5enc.o crypt/rc5enc.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rc5skey.o crypt/rc5skey.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_3des.o context/ctx_3des.c In file included from context/ctx_3des.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_aes.o context/ctx_aes.c In file included from context/ctx_aes.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_attr.o context/ctx_attr.c In file included from context/ctx_attr.c:9: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ context/ctx_attr.c:109:10: warning: 540 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ context/ctx_attr.c:282:12: warning: enumeration values 'CRYPT_MODE_NONE', 'CRYPT_MODE_GCM', and 'CRYPT_MODE_LAST' not handled in switch [-Wswitch] switch( contextInfoPtr->ctxConv->mode ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ context/ctx_attr.c:273:10: warning: 535 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ context/ctx_attr.c:487:10: warning: 544 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ context/ctx_attr.c:774:10: warning: 535 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ context/ctx_attr.c:1041:10: warning: 549 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 7 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_bf.o context/ctx_bf.c In file included from context/ctx_bf.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_cast.o context/ctx_cast.c In file included from context/ctx_cast.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_des.o context/ctx_des.c In file included from context/ctx_des.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_dh.o context/ctx_dh.c In file included from context/ctx_dh.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_dsa.o context/ctx_dsa.c In file included from context/ctx_dsa.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_ecdh.o context/ctx_ecdh.c In file included from context/ctx_ecdh.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_ecdsa.o context/ctx_ecdsa.c In file included from context/ctx_ecdsa.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_elg.o context/ctx_elg.c In file included from context/ctx_elg.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_generic.o context/ctx_generic.c In file included from context/ctx_generic.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_hmd5.o context/ctx_hmd5.c In file included from context/ctx_hmd5.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_hrmd.o context/ctx_hrmd.c In file included from context/ctx_hrmd.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_hsha.o context/ctx_hsha.c In file included from context/ctx_hsha.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_hsha2.o context/ctx_hsha2.c In file included from context/ctx_hsha2.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_idea.o context/ctx_idea.c In file included from context/ctx_idea.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_md5.o context/ctx_md5.c In file included from context/ctx_md5.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_misc.o context/ctx_misc.c In file included from context/ctx_misc.c:23: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ context/ctx_misc.c:293:10: warning: enumeration values 'CAPABILITY_INFO_NONE', 'CAPABILITY_INFO_ICV', and 'CAPABILITY_INFO_LAST' not handled in switch [-Wswitch] switch( type ) ^~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_rc2.o context/ctx_rc2.c In file included from context/ctx_rc2.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_rc4.o context/ctx_rc4.c In file included from context/ctx_rc4.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_rc5.o context/ctx_rc5.c In file included from context/ctx_rc5.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_ripe.o context/ctx_ripe.c In file included from context/ctx_ripe.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_rsa.o context/ctx_rsa.c In file included from context/ctx_rsa.c:17: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_sha.o context/ctx_sha.c In file included from context/ctx_sha.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ctx_sha2.o context/ctx_sha2.c In file included from context/ctx_sha2.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/kg_dlp.o context/kg_dlp.c In file included from context/kg_dlp.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/kg_ecc.o context/kg_ecc.c In file included from context/kg_ecc.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/kg_prime.o context/kg_prime.c In file included from context/kg_prime.c:41: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/kg_rsa.o context/kg_rsa.c In file included from context/kg_rsa.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/keyload.o context/keyload.c In file included from context/keyload.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ context/keyload.c:86:10: warning: 4 enumeration values not handled in switch: 'KEYPARAM_NONE', 'KEYPARAM_BLOCKSIZE', 'KEYPARAM_AAD'... [-Wswitch] switch( paramType ) ^~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/key_id.o context/key_id.c In file included from context/key_id.c:17: In file included from ./context/context.h:21: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/key_rd.o context/key_rd.c In file included from context/key_rd.c:17: In file included from ./context/context.h:21: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ context/key_rd.c:1480:10: warning: 7 enumeration values not handled in switch: 'KEYFORMAT_NONE', 'KEYFORMAT_CERT', 'KEYFORMAT_SSH'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ context/key_rd.c:1514:10: warning: 7 enumeration values not handled in switch: 'KEYFORMAT_NONE', 'KEYFORMAT_CERT', 'KEYFORMAT_SSH'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/key_wr.o context/key_wr.c In file included from context/key_wr.c:17: In file included from ./context/context.h:21: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ context/key_wr.c:628:10: warning: 6 enumeration values not handled in switch: 'KEYFORMAT_NONE', 'KEYFORMAT_SSH1', 'KEYFORMAT_SSL'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ context/key_wr.c:677:10: warning: 5 enumeration values not handled in switch: 'KEYFORMAT_NONE', 'KEYFORMAT_SSH1', 'KEYFORMAT_PRIVATE'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ context/key_wr.c:871:10: warning: 8 enumeration values not handled in switch: 'KEYFORMAT_NONE', 'KEYFORMAT_CERT', 'KEYFORMAT_SSH'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ 4 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dev_attr.o device/dev_attr.c In file included from device/dev_attr.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ device/dev_attr.c:204:10: warning: 552 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ device/dev_attr.c:252:10: warning: 549 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/hardware.o device/hardware.c In file included from device/hardware.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/hw_dummy.o device/hw_dummy.c In file included from device/hw_dummy.c:18: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs11.o device/pkcs11.c In file included from device/pkcs11.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs11_init.o device/pkcs11_init.c In file included from device/pkcs11_init.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs11_pkc.o device/pkcs11_pkc.c In file included from device/pkcs11_pkc.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs11_rd.o device/pkcs11_rd.c In file included from device/pkcs11_rd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs11_wr.o device/pkcs11_wr.c In file included from device/pkcs11_wr.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/system.o device/system.c In file included from device/system.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/asn1_algid.o enc_dec/asn1_algid.c In file included from enc_dec/asn1_algid.c:12: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ enc_dec/asn1_algid.c:421:10: warning: 30 enumeration values not handled in switch: 'CRYPT_ALGO_NONE', 'CRYPT_ALGO_IDEA', 'CRYPT_ALGO_CAST'... [-Wswitch] switch( queryInfo->cryptAlgo ) ^~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/asn1_chk.o enc_dec/asn1_chk.c In file included from enc_dec/asn1_chk.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/asn1_rd.o enc_dec/asn1_rd.c In file included from enc_dec/asn1_rd.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ enc_dec/asn1_rd.c:1161:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr, 2, &value, 19, 20 ); ^~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1167:26: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr, 2, &theTime.tm_year, 0, 99 ); ^~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1171:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr + 2, 2, &theTime.tm_mon, 1, 12 ); ^~~~~~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1176:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr + 4, 2, &theTime.tm_mday, 1, 31 ); ^~~~~~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1179:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr + 6, 2, &theTime.tm_hour, 0, 23 ); ^~~~~~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1181:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr + 8, 2, &theTime.tm_min, 0, 59 ); ^~~~~~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ enc_dec/asn1_rd.c:1183:27: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( bufPtr + 10, 2, &theTime.tm_sec, 0, 59 ); ^~~~~~~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ 8 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/asn1_wr.o enc_dec/asn1_wr.c In file included from enc_dec/asn1_wr.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/asn1_ext.o enc_dec/asn1_ext.c In file included from enc_dec/asn1_ext.c:12: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/base64.o enc_dec/base64.c In file included from enc_dec/base64.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ enc_dec/base64.c:172:43: warning: passing 'BYTE[136]' (aka 'unsigned char[136]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = fixedBase64decode( &nullStream, buffer, BASE64_MIN_LINESIZE ); ^~~~~~ enc_dec/base64.c:137:42: note: passing argument to parameter 'src' here IN_BUFFER( srcLen ) const char *src, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/base64_id.o enc_dec/base64_id.c In file included from enc_dec/base64_id.c:11: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/misc_rw.o enc_dec/misc_rw.c In file included from enc_dec/misc_rw.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp_rw.o enc_dec/pgp_rw.c In file included from enc_dec/pgp_rw.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cms_denv.o envelope/cms_denv.c In file included from envelope/cms_denv.c:13: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cms_env.o envelope/cms_env.c In file included from envelope/cms_env.c:13: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cms_envpre.o envelope/cms_envpre.c In file included from envelope/cms_envpre.c:13: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/decode.o envelope/decode.c In file included from envelope/decode.c:14: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/encode.o envelope/encode.c In file included from envelope/encode.c:12: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/env_attr.o envelope/env_attr.c In file included from envelope/env_attr.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ envelope/env_attr.c:755:10: warning: 543 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ envelope/env_attr.c:1003:10: warning: 541 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp_denv.o envelope/pgp_denv.c In file included from envelope/pgp_denv.c:12: In file included from ./enc_dec/pgp_rw.h:18: In file included from ./enc_dec/misc_rw.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp_env.o envelope/pgp_env.c In file included from envelope/pgp_env.c:12: In file included from ./enc_dec/pgp_rw.h:18: In file included from ./enc_dec/misc_rw.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/res_actn.o envelope/res_actn.c In file included from envelope/res_actn.c:11: In file included from ./envelope/envelope.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ envelope/res_actn.c:469:11: warning: 4 enumeration values not handled in switch: 'ACTION_NONE', 'ACTION_xxx', 'ACTION_COMPRESS'... [-Wswitch] switch( actionType ) ^~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/res_denv.o envelope/res_denv.c In file included from envelope/res_denv.c:14: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ envelope/res_denv.c:1346:10: warning: 548 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( localEnvInfo ) ^~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/res_env.o envelope/res_env.c In file included from envelope/res_env.c:14: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ envelope/res_env.c:269:10: warning: 5 enumeration values not handled in switch: 'ACTION_NONE', 'ACTION_KEYEXCHANGE_PKC', 'ACTION_KEYEXCHANGE'... [-Wswitch] switch( envelopeInfoPtr->usage ) ^~~~~~~~~~~~~~~~~~~~~~ envelope/res_env.c:847:10: warning: 536 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( envInfo ) ^~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/md5dgst.o crypt/md5dgst.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rmddgst.o crypt/rmddgst.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sha1dgst.o crypt/sha1dgst.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sha2.o crypt/sha2.c In file included from crypt/sha2.c:86: In file included from ./crypt/sha2.h:38: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dns.o io/dns.c In file included from io/dns.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dns_srv.o io/dns_srv.c In file included from io/dns_srv.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/file.o io/file.c In file included from io/file.c:27: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/http_rd.o io/http_rd.c In file included from io/http_rd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ io/http_rd.c:185:23: warning: passing 'char[24]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( reqNameBuffer, 16, length ) ) ); ^~~~~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/http_parse.o io/http_parse.c In file included from io/http_parse.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ io/http_parse.c:390:22: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( strArg, strArgLen, ^~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ io/http_parse.c:960:22: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( dataBuffer, length, ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ io/http_parse.c:968:23: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( dataBuffer, length, ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ io/http_parse.c:1002:23: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( dataBuffer, length, ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ io/http_parse.c:1143:26: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( lineBufPtr, lineLength, ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ io/http_parse.c:1449:30: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "%d", sanitiseString( lineBuffer, lineLength, \ ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 7 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/http_wr.o io/http_wr.c In file included from io/http_wr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/memory.o io/memory.c In file included from io/memory.c:11: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/net.o io/net.c In file included from io/net.c:11: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/net_proxy.o io/net_proxy.c In file included from io/net_proxy.c:11: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/net_trans.o io/net_trans.c In file included from io/net_trans.c:11: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/net_url.o io/net_url.c In file included from io/net_url.c:11: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/stream.o io/stream.c In file included from io/stream.c:13: In file included from ./io/stream_int.h:15: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ io/stream.c:1282:10: warning: 7 enumeration values not handled in switch: 'STREAM_IOCTL_NONE', 'STREAM_IOCTL_GETCLIENTNAME', 'STREAM_IOCTL_GETCLIENTNAMELEN'... [-Wswitch] switch( type ) ^~~~ io/stream.c:1454:10: warning: 15 enumeration values not handled in switch: 'STREAM_IOCTL_NONE', 'STREAM_IOCTL_PARTIALREAD', 'STREAM_IOCTL_PARTIALWRITE'... [-Wswitch] switch( type ) ^~~~ io/stream.c:1505:10: warning: 10 enumeration values not handled in switch: 'STREAM_IOCTL_NONE', 'STREAM_IOCTL_IOBUFFER', 'STREAM_IOCTL_PARTIALREAD'... [-Wswitch] switch( type ) ^~~~ 4 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/tcp.o io/tcp.c In file included from io/tcp.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ io/tcp.c:1668:27: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] ( void * ) &value, &intLength ); ^~~~~~~~~~ /usr/include/sys/socket.h:692:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ io/tcp.c:1847:26: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] ( char * ) &value, &valueLen ) == 0 && value == 1 ) ^~~~~~~~~ /usr/include/sys/socket.h:692:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ io/tcp.c:1949:7: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] &clientAddrLen ); ^~~~~~~~~~~~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dbms.o keyset/dbms.c In file included from keyset/dbms.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ca_add.o keyset/ca_add.c In file included from keyset/ca_add.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ca_clean.o keyset/ca_clean.c In file included from keyset/ca_clean.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ca_issue.o keyset/ca_issue.c In file included from keyset/ca_issue.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ca_misc.o keyset/ca_misc.c In file included from keyset/ca_misc.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ca_rev.o keyset/ca_rev.c In file included from keyset/ca_rev.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dbx_misc.o keyset/dbx_misc.c In file included from keyset/dbx_misc.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dbx_rd.o keyset/dbx_rd.c In file included from keyset/dbx_rd.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/dbx_wr.o keyset/dbx_wr.c In file included from keyset/dbx_wr.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/http.o keyset/http.c In file included from keyset/http.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ keyset/http.c:40:10: warning: 4 enumeration values not handled in switch: 'CRYPT_KEYID_NONE', 'CRYPT_IKEYID_PGPKEYID', 'CRYPT_IKEYID_ISSUERANDSERIALNUMBER'... [-Wswitch] switch( keyIDtype ) ^~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/key_attr.o keyset/key_attr.c In file included from keyset/key_attr.c:10: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ keyset/key_attr.c:93:10: warning: 553 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ keyset/key_attr.c:120:10: warning: 549 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ keyset/key_attr.c:175:10: warning: 554 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ keyset/key_attr.c:206:10: warning: 549 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 5 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ldap.o keyset/ldap.c In file included from keyset/ldap.c:31: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/odbc.o keyset/odbc.c In file included from keyset/odbc.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp.o keyset/pgp.c In file included from keyset/pgp.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp_rd.o keyset/pgp_rd.c In file included from keyset/pgp_rd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs12.o keyset/pkcs12.c In file included from keyset/pkcs12.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs12_rd.o keyset/pkcs12_rd.c In file included from keyset/pkcs12_rd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs12_rdo.o keyset/pkcs12_rdo.c In file included from keyset/pkcs12_rdo.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs12_wr.o keyset/pkcs12_wr.c In file included from keyset/pkcs12_wr.c:23: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15.o keyset/pkcs15.c In file included from keyset/pkcs15.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ keyset/pkcs15.c:234:9: warning: case value not in enumerated type 'CRYPT_KEYID_TYPE' [-Wswitch] case CRYPT_KEYIDEX_SUBJECTNAMEID: ^ ./keyset/pkcs15.h:177:38: note: expanded from macro 'CRYPT_KEYIDEX_SUBJECTNAMEID' #define CRYPT_KEYIDEX_SUBJECTNAMEID ( CRYPT_KEYID_LAST + 1 ) ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_add.o keyset/pkcs15_add.c In file included from keyset/pkcs15_add.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_adpb.o keyset/pkcs15_adpb.c In file included from keyset/pkcs15_adpb.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_adpr.o keyset/pkcs15_adpr.c In file included from keyset/pkcs15_adpr.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_atrd.o keyset/pkcs15_atrd.c In file included from keyset/pkcs15_atrd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_atwr.o keyset/pkcs15_atwr.c In file included from keyset/pkcs15_atwr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_get.o keyset/pkcs15_get.c In file included from keyset/pkcs15_get.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_getp.o keyset/pkcs15_getp.c In file included from keyset/pkcs15_getp.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_rd.o keyset/pkcs15_rd.c In file included from keyset/pkcs15_rd.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_set.o keyset/pkcs15_set.c In file included from keyset/pkcs15_set.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pkcs15_wr.o keyset/pkcs15_wr.c In file included from keyset/pkcs15_wr.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/attr_acl.o kernel/attr_acl.c In file included from kernel/attr_acl.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certm_acl.o kernel/certm_acl.c In file included from kernel/certm_acl.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/init.o kernel/init.c In file included from kernel/init.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_msg.o kernel/int_msg.c In file included from kernel/int_msg.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ kernel/int_msg.c:356:16: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast] *valuePtr = ( int ) objectInfoPtr->objectOwner; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kernel/int_msg.c:470:35: warning: cast to 'pthread_t' (aka 'struct pthread *') from smaller integer type 'int' [-Wint-to-pointer-cast] objectInfoPtr->objectOwner = ( THREAD_HANDLE ) value; ^~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/key_acl.o kernel/key_acl.c In file included from kernel/key_acl.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_acl.o kernel/mech_acl.c In file included from kernel/mech_acl.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/msg_acl.o kernel/msg_acl.c In file included from kernel/msg_acl.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ kernel/msg_acl.c:144:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() } ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:849:68: note: expanded from macro 'MK_CHKACL_ALT_END' OBJECT_TYPE_NONE, { ST_NONE, ST_NONE, ST_NONE, ACL_FLAG_NONE }, MESSAGE_NONE, ^~~~~~~~~~~~ kernel/msg_acl.c:144:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() } ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:848:4: note: expanded from macro 'MK_CHKACL_ALT_END' MESSAGE_NONE, \ ^~~~~~~~~~~~ kernel/msg_acl.c:142:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() }, ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:849:68: note: expanded from macro 'MK_CHKACL_ALT_END' OBJECT_TYPE_NONE, { ST_NONE, ST_NONE, ST_NONE, ACL_FLAG_NONE }, MESSAGE_NONE, ^~~~~~~~~~~~ kernel/msg_acl.c:142:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() }, ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:848:4: note: expanded from macro 'MK_CHKACL_ALT_END' MESSAGE_NONE, \ ^~~~~~~~~~~~ kernel/msg_acl.c:158:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() } ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:849:68: note: expanded from macro 'MK_CHKACL_ALT_END' OBJECT_TYPE_NONE, { ST_NONE, ST_NONE, ST_NONE, ACL_FLAG_NONE }, MESSAGE_NONE, ^~~~~~~~~~~~ kernel/msg_acl.c:158:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() } ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:848:4: note: expanded from macro 'MK_CHKACL_ALT_END' MESSAGE_NONE, \ ^~~~~~~~~~~~ kernel/msg_acl.c:156:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() }, ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:849:68: note: expanded from macro 'MK_CHKACL_ALT_END' OBJECT_TYPE_NONE, { ST_NONE, ST_NONE, ST_NONE, ACL_FLAG_NONE }, MESSAGE_NONE, ^~~~~~~~~~~~ kernel/msg_acl.c:156:4: warning: implicit conversion from enumeration type 'MESSAGE_TYPE' to different enumeration type 'MESSAGE_CHECK_TYPE' [-Wenum-conversion] MK_CHKACL_ALT_END() }, ^~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:848:4: note: expanded from macro 'MK_CHKACL_ALT_END' MESSAGE_NONE, \ ^~~~~~~~~~~~ kernel/msg_acl.c:291:15: warning: implicit conversion from enumeration type 'MESSAGE_CHECK_TYPE' to different enumeration type 'MESSAGE_TYPE' [-Wenum-conversion] MK_CHKACL( MESSAGE_CHECK_NONE, ^~~~~~~~~~~~~~~~~~ ./kernel/acl.h:837:4: note: expanded from macro 'MK_CHKACL' action, { objSTA, ST_NONE, ST_NONE, ACL_FLAG_HIGH_STATE }, NULL ^~~~~~ kernel/msg_acl.c:285:15: warning: implicit conversion from enumeration type 'MESSAGE_CHECK_TYPE' to different enumeration type 'MESSAGE_TYPE' [-Wenum-conversion] MK_CHKACL( MESSAGE_CHECK_NONE, ^~~~~~~~~~~~~~~~~~ ./kernel/acl.h:837:4: note: expanded from macro 'MK_CHKACL' action, { objSTA, ST_NONE, ST_NONE, ACL_FLAG_HIGH_STATE }, NULL ^~~~~~ kernel/msg_acl.c:389:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_NONE, ST_NONE, ST_NONE, ST_NONE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:385:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_NONE, ST_NONE, ST_NONE, ST_NONE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:376:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_ICERTFORMAT_DATA, ^~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:365:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_ICERTFORMAT_SSL_CERTCHAIN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:358:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_ICERTFORMAT_CERTSEQUENCE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:351:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_ICERTFORMAT_CERTSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:344:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_XML_CERTCHAIN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:337:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_XML_CERTIFICATE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:330:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_TEXT_CERTCHAIN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:323:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_TEXT_CERTIFICATE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:316:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_CERTCHAIN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ kernel/msg_acl.c:308:3: warning: implicit conversion from enumeration type 'CRYPT_CERTFORMAT_TYPE' to different enumeration type 'CRYPT_ATTRIBUTE_TYPE' [-Wenum-conversion] CRYPT_CERTFORMAT_CERTIFICATE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./kernel/acl.h:541:28: note: expanded from macro 'MKACL_S_ALT' routing, range, NULL, attribute } ^~~~~~~~~ 23 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/obj_acc.o kernel/obj_acc.c In file included from kernel/obj_acc.c:25: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/objects.o kernel/objects.c In file included from kernel/objects.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sec_mem.o kernel/sec_mem.c In file included from kernel/sec_mem.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/selftest.o kernel/selftest.c In file included from kernel/selftest.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/semaphore.o kernel/semaphore.c In file included from kernel/semaphore.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sendmsg.o kernel/sendmsg.c In file included from kernel/sendmsg.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptapi.o cryptapi.c In file included from cryptapi.c:10: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptcrt.o cryptcrt.c In file included from cryptcrt.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cryptcrt.c:59:10: warning: 7 enumeration values not handled in switch: 'MESSAGE_COMPARE_NONE', 'MESSAGE_COMPARE_HASH', 'MESSAGE_COMPARE_ICV'... [-Wswitch] switch( compareType ) ^~~~~~~~~~~ cryptcrt.c:1215:10: warning: 5 enumeration values not handled in switch: 'MANAGEMENT_ACTION_NONE', 'MANAGEMENT_ACTION_INIT', 'MANAGEMENT_ACTION_PRE_SHUTDOWN'... [-Wswitch] switch( action ) ^~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptctx.o cryptctx.c In file included from cryptctx.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptdev.o cryptdev.c In file included from cryptdev.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cryptdev.c:808:11: warning: expression does not compute the number of elements in this array; element type is 'DEVICEINIT_INFO', not 'DEVICEINIT_FUNCTION' (aka 'int (*)(void)') [-Wsizeof-array-div] i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ~~~~~~~~~~~~~ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ~~~~~ ^ cryptdev.c:776:18: note: array 'deviceInitTbl' declared here DEVICEINIT_INFO deviceInitTbl[] = { ^ cryptdev.c:808:11: note: place parentheses around the 'sizeof(DEVICEINIT_FUNCTION)' expression to silence this warning i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ^ cryptdev.c:821:17: warning: expression does not compute the number of elements in this array; element type is 'DEVICEINIT_INFO', not 'DEVICEINIT_FUNCTION' (aka 'int (*)(void)') [-Wsizeof-array-div] ENSURES( i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ~~~~~~~~~~~~~ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ~~~~~ ^ ./misc/int_api.h:370:29: note: expanded from macro 'ENSURES' #define ENSURES( x ) if( !( x ) ) retIntError() ^ cryptdev.c:776:18: note: array 'deviceInitTbl' declared here DEVICEINIT_INFO deviceInitTbl[] = { ^ cryptdev.c:821:17: note: place parentheses around the 'sizeof(DEVICEINIT_FUNCTION)' expression to silence this warning ENSURES( i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ^ cryptdev.c:839:11: warning: expression does not compute the number of elements in this array; element type is 'DEVICEINIT_INFO', not 'DEVICEINIT_FUNCTION' (aka 'int (*)(void)') [-Wsizeof-array-div] i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ~~~~~~~~~~~~~ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ~~~~~ ^ cryptdev.c:776:18: note: array 'deviceInitTbl' declared here DEVICEINIT_INFO deviceInitTbl[] = { ^ cryptdev.c:839:11: note: place parentheses around the 'sizeof(DEVICEINIT_FUNCTION)' expression to silence this warning i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ^ cryptdev.c:846:17: warning: expression does not compute the number of elements in this array; element type is 'DEVICEINIT_INFO', not 'DEVICEINIT_FUNCTION' (aka 'int (*)(void)') [-Wsizeof-array-div] ENSURES( i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ~~~~~~~~~~~~~ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ~~~~~ ^ ./misc/int_api.h:370:29: note: expanded from macro 'ENSURES' #define ENSURES( x ) if( !( x ) ) retIntError() ^ cryptdev.c:776:18: note: array 'deviceInitTbl' declared here DEVICEINIT_INFO deviceInitTbl[] = { ^ cryptdev.c:846:17: note: place parentheses around the 'sizeof(DEVICEINIT_FUNCTION)' expression to silence this warning ENSURES( i < FAILSAFE_ARRAYSIZE( deviceInitTbl, \ ^ ./misc/consts.h:269:23: note: expanded from macro 'FAILSAFE_ARRAYSIZE' ( ( sizeof( array ) / sizeof( elementType ) ) - 1 ) ^ cryptdev.c:796:10: warning: enumeration values 'MANAGEMENT_ACTION_NONE' and 'MANAGEMENT_ACTION_LAST' not handled in switch [-Wswitch] switch( action ) ^~~~~~ 6 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptenv.o cryptenv.c In file included from cryptenv.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptkey.o cryptkey.c In file included from cryptkey.c:10: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cryptkey.c:1145:10: warning: 7 enumeration values not handled in switch: 'CRYPT_KEYSET_NONE', 'CRYPT_KEYSET_LDAP', 'CRYPT_KEYSET_ODBC'... [-Wswitch] switch( keysetType ) ^~~~~~~~~~ cryptkey.c:1320:10: warning: 4 enumeration values not handled in switch: 'MANAGEMENT_ACTION_NONE', 'MANAGEMENT_ACTION_PRE_INIT', 'MANAGEMENT_ACTION_PRE_SHUTDOWN'... [-Wswitch] switch( action ) ^~~~~~ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptlib.o cryptlib.c In file included from cryptlib.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptses.o cryptses.c In file included from cryptses.c:10: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cryptses.c:637:10: warning: enumeration values 'MANAGEMENT_ACTION_NONE', 'MANAGEMENT_ACTION_PRE_INIT', and 'MANAGEMENT_ACTION_LAST' not handled in switch [-Wswitch] switch( action ) ^~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cryptusr.o cryptusr.c In file included from cryptusr.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ cryptusr.c:70:10: warning: enumeration values 'MESSAGE_USERMGMT_NONE' and 'MESSAGE_USERMGMT_LAST' not handled in switch [-Wswitch] switch( userMgtType ) ^~~~~~~~~~~ cryptusr.c:94:10: warning: enumeration values 'MESSAGE_TRUSTMGMT_NONE' and 'MESSAGE_TRUSTMGMT_LAST' not handled in switch [-Wswitch] switch( trustMgtType ) ^~~~~~~~~~~~ cryptusr.c:380:37: warning: passing 'const BYTE[72]' (aka 'const unsigned char[72]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strCompare( createInfo->strArg1, defaultUserInfo.userName, ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc/os_spec.h:1118:24: note: expanded from macro 'strCompare' strnicmp( str1, str2, len ) ^~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ cryptusr.c:573:10: warning: 5 enumeration values not handled in switch: 'MANAGEMENT_ACTION_NONE', 'MANAGEMENT_ACTION_PRE_INIT', 'MANAGEMENT_ACTION_PRE_SHUTDOWN'... [-Wswitch] switch( action ) ^~~~~~ 5 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/keyex.o mechs/keyex.c In file included from mechs/keyex.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ mechs/keyex.c:203:10: warning: 6 enumeration values not handled in switch: 'CRYPT_FORMAT_NONE', 'CRYPT_FORMAT_AUTO', 'CRYPT_IFORMAT_SSL'... [-Wswitch] switch( formatType ) ^~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/keyex_int.o mechs/keyex_int.c In file included from mechs/keyex_int.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/keyex_rw.o mechs/keyex_rw.c In file included from mechs/keyex_rw.c:15: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_cwrap.o mechs/mech_cwrap.c In file included from mechs/mech_cwrap.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_drv.o mechs/mech_drv.c In file included from mechs/mech_drv.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_int.o mechs/mech_int.c In file included from mechs/mech_int.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_pkwrap.o mechs/mech_pkwrap.c In file included from mechs/mech_pkwrap.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_privk.o mechs/mech_privk.c In file included from mechs/mech_privk.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/mech_sig.o mechs/mech_sig.c In file included from mechs/mech_sig.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/obj_qry.o mechs/obj_qry.c In file included from mechs/obj_qry.c:15: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign.o mechs/sign.c In file included from mechs/sign.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign_cms.o mechs/sign_cms.c In file included from mechs/sign_cms.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign_int.o mechs/sign_int.c In file included from mechs/sign_int.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign_pgp.o mechs/sign_pgp.c In file included from mechs/sign_pgp.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign_rw.o mechs/sign_rw.c In file included from mechs/sign_rw.c:15: In file included from ./enc_dec/asn1.h:16: In file included from ./io/stream.h:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sign_x509.o mechs/sign_x509.c In file included from mechs/sign_x509.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_api.o misc/int_api.c In file included from misc/int_api.c:17: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_attr.o misc/int_attr.c In file included from misc/int_attr.c:11: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ misc/int_attr.c:626:10: warning: 552 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attributeMoveType ) ^~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_debug.o misc/int_debug.c In file included from misc/int_debug.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_env.o misc/int_env.c In file included from misc/int_env.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_err.o misc/int_err.c In file included from misc/int_err.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_mem.o misc/int_mem.c In file included from misc/int_mem.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_string.o misc/int_string.c In file included from misc/int_string.c:11: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/int_time.o misc/int_time.c In file included from misc/int_time.c:11: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/java_jni.o bindings/java_jni.c In file included from bindings/java_jni.c:2: In file included from bindings/../crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/os_spec.o misc/os_spec.c In file included from misc/os_spec.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pgp_misc.o misc/pgp_misc.c In file included from misc/pgp_misc.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/random.o random/random.c In file included from random/random.c:50: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rand_x917.o random/rand_x917.c In file included from random/rand_x917.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/unix.o random/unix.c In file included from random/unix.c:28: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/user.o misc/user.c In file included from misc/user.c:9: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/user_attr.o misc/user_attr.c In file included from misc/user_attr.c:9: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ misc/user_attr.c:243:10: warning: 551 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ misc/user_attr.c:365:10: warning: 550 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ misc/user_attr.c:491:10: warning: 554 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ misc/user_attr.c:522:10: warning: 552 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 5 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/user_cfg.o misc/user_cfg.c In file included from misc/user_cfg.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/user_rw.o misc/user_rw.c In file included from misc/user_rw.c:8: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/certstore.o session/certstore.c In file included from session/certstore.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/certstore.c:68:18: warning: passing 'char *' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( textBuffer, textBufMaxLen, attributeLen ); ^~~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ session/certstore.c:138:12: warning: passing 'const char[72]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] httpReqInfo->attribute, ^~~~~~~~~~~~~~~~~~~~~~ session/certstore.c:56:50: note: passing argument to parameter 'attribute' here IN_BUFFER( attributeLen ) const BYTE *attribute, ^ session/certstore.c:170:12: warning: passing 'const char[72]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] httpReqInfo->value, ^~~~~~~~~~~~~~~~~~ session/certstore.c:56:50: note: passing argument to parameter 'attribute' here IN_BUFFER( attributeLen ) const BYTE *attribute, ^ session/certstore.c:276:12: warning: passing 'char[72]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] httpReqInfo.value, ^~~~~~~~~~~~~~~~~ session/certstore.c:56:50: note: passing argument to parameter 'attribute' here IN_BUFFER( attributeLen ) const BYTE *attribute, ^ session/certstore.c:300:12: warning: passing 'char[72]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] httpReqInfo.value, ^~~~~~~~~~~~~~~~~ session/certstore.c:56:50: note: passing argument to parameter 'attribute' here IN_BUFFER( attributeLen ) const BYTE *attribute, ^ 6 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp.o session/cmp.c In file included from session/cmp.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_cli.o session/cmp_cli.c In file included from session/cmp_cli.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_cry.o session/cmp_cry.c In file included from session/cmp_cry.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_err.o session/cmp_err.c In file included from session/cmp_err.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_rd.o session/cmp_rd.c In file included from session/cmp_rd.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/cmp_rd.c:317:32: warning: passing 'BYTE[72]' (aka 'unsigned char[72]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = encodePKIUserValue( encodedUserID, CRYPT_MAX_TEXTSIZE, ^~~~~~~~~~~~~ ./misc/int_api.h:625:70: note: passing argument to parameter 'encVal' here int encodePKIUserValue( OUT_BUFFER( encValMaxLen, *encValLen ) char *encVal, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_rdmsg.o session/cmp_rdmsg.c In file included from session/cmp_rdmsg.c:16: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_svr.o session/cmp_svr.c In file included from session/cmp_svr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/cmp_svr.c:130:23: warning: passing 'char[72]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( userID, CRYPT_MAX_TEXTSIZE, ^~~~~~ ./misc/int_api.h:476:61: note: expanded from macro 'retExtObj' #define retExtObj( status, extStatus ) return retExtObjFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_wr.o session/cmp_wr.c In file included from session/cmp_wr.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/cmp_wrmsg.o session/cmp_wrmsg.c In file included from session/cmp_wrmsg.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ocsp.o session/ocsp.c In file included from session/ocsp.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/pnppki.o session/pnppki.c In file included from session/pnppki.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/rtcs.o session/rtcs.c In file included from session/rtcs.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/scep.o session/scep.c In file included from session/scep.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/scep.c:296:26: warning: passing 'BYTE[72]' (aka 'unsigned char[72]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = strGetNumeric( buffer, msgData.length, &numericValue, 0, 20 ); ^~~~~~ ./misc/int_api.h:251:52: note: passing argument to parameter 'str' here int strGetNumeric( IN_BUFFER( strLen ) const char *str, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/scep_cli.o session/scep_cli.c In file included from session/scep_cli.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/scep_cli.c:128:25: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = base64encode( sessionInfoPtr->receiveBuffer, fullEncodedLength, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc/int_api.h:599:60: note: passing argument to parameter 'dest' here int base64encode( OUT_BUFFER( destMaxLen, *destLen ) char *dest, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/scep_svr.o session/scep_svr.c In file included from session/scep_svr.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/scep_svr.c:175:23: warning: passing 'char[72]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( userID, CRYPT_MAX_TEXTSIZE, ^~~~~~ ./misc/int_api.h:476:61: note: expanded from macro 'retExtObj' #define retExtObj( status, extStatus ) return retExtObjFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ session/scep_svr.c:456:20: warning: passing 'BYTE[72]' (aka 'unsigned char[72]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !isPKIUserValue( protocolInfo->transID, protocolInfo->transIDsize ) ) ^~~~~~~~~~~~~~~~~~~~~ ./misc/int_api.h:622:63: note: passing argument to parameter 'encVal' here BOOLEAN isPKIUserValue( IN_BUFFER( encValLength ) const char *encVal, ^ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/scorebrd.o session/scorebrd.c In file included from session/scorebrd.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sess_attr.o session/sess_attr.c In file included from session/sess_attr.c:9: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/sess_attr.c:228:10: warning: 539 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/sess_attr.c:352:10: warning: 545 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/sess_attr.c:421:10: warning: 539 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/sess_attr.c:768:10: warning: 547 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/sess_attr.c:911:10: warning: 543 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ 6 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sess_iattr.o session/sess_iattr.c In file included from session/sess_iattr.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/sess_rw.o session/sess_rw.c In file included from session/sess_rw.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/session.o session/session.c In file included from session/session.c:12: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh.o session/ssh.c In file included from session/ssh.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh.c:124:11: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sessionInfoPtr->receiveBuffer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc/int_api.h:103:13: note: passing argument to parameter 'lineBuffer' here char *lineBuffer, ^ session/ssh.c:435:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] !memcmp( vendorIDString, "sshlib: ", 8 ) > 0 ) || \ ^ ~ session/ssh.c:435:6: note: add parentheses after the '!' to evaluate the comparison first !memcmp( vendorIDString, "sshlib: ", 8 ) > 0 ) || \ ^ ( ) session/ssh.c:435:6: note: add parentheses around left hand side expression to silence this warning !memcmp( vendorIDString, "sshlib: ", 8 ) > 0 ) || \ ^ ( ) session/ssh.c:437:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] !memcmp( vendorIDString, "FlowSsh: ", 9 ) > 0 ) ) ^ ~ session/ssh.c:437:6: note: add parentheses after the '!' to evaluate the comparison first !memcmp( vendorIDString, "FlowSsh: ", 9 ) > 0 ) ) ^ ( ) session/ssh.c:437:6: note: add parentheses around left hand side expression to silence this warning !memcmp( vendorIDString, "FlowSsh: ", 9 ) > 0 ) ) ^ ( ) 4 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh1.o session/ssh1.c In file included from session/ssh1.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2.o session/ssh2.c In file included from session/ssh2.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2.c:394:23: warning: passing 'char[264]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( algoString, 256, stringLen ) ) ); ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_authc.o session/ssh2_authc.c In file included from session/ssh2_authc.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_authc.c:556:39: warning: passing 'BYTE[72]' (aka 'unsigned char[72]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( promptLength < 8 || strCompare( promptBuffer, "Password", 8 ) ) ^~~~~~~~~~~~ ./misc/os_spec.h:1118:18: note: expanded from macro 'strCompare' strnicmp( str1, str2, len ) ^~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ session/ssh2_authc.c:711:25: warning: passing 'char[72]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( userNameBuffer, ^~~~~~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_auths.o session/ssh2_auths.c In file included from session/ssh2_auths.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_chn.o session/ssh2_chn.c In file included from session/ssh2_chn.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_chn.c:480:10: warning: 553 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/ssh2_chn.c:525:10: warning: 552 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/ssh2_chn.c:567:10: warning: 4 enumeration values not handled in switch: 'SSH_ATTRIBUTE_NONE', 'SSH_ATTRIBUTE_ACTIVE', 'SSH_ATTRIBUTE_ALTCHANNELNO'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/ssh2_chn.c:627:10: warning: 552 enumeration values not handled in switch: 'CRYPT_ATTRIBUTE_NONE', 'CRYPT_PROPERTY_FIRST', 'CRYPT_PROPERTY_HIGHSECURITY'... [-Wswitch] switch( attribute ) ^~~~~~~~~ session/ssh2_chn.c:669:10: warning: enumeration values 'SSH_ATTRIBUTE_NONE' and 'SSH_ATRIBUTE_LAST' not handled in switch [-Wswitch] switch( attribute ) ^~~~~~~~~ 6 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_cli.o session/ssh2_cli.c In file included from session/ssh2_cli.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_cli.c:341:10: warning: passing 'char[17]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SSH2_ID_STRING, SSH_ID_STRING_SIZE ); ^~~~~~~~~~~~~~ ./session/ssh.h:118:26: note: expanded from macro 'SSH2_ID_STRING' #define SSH2_ID_STRING "SSH-2.0-cryptlib" /* cryptlib SSH ID strings */ ^~~~~~~~~~~~~~~~~~ ./session/ssh.h:632:43: note: passing argument to parameter 'data' here IN_BUFFER( dataLength ) const BYTE *data, ^ session/ssh2_cli.c:345:19: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen( sessionInfoPtr->receiveBuffer ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ session/ssh2_cli.c:350:11: warning: passing 'char[17]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SSH2_ID_STRING, SSH_ID_STRING_SIZE ); ^~~~~~~~~~~~~~ ./session/ssh.h:118:26: note: expanded from macro 'SSH2_ID_STRING' #define SSH2_ID_STRING "SSH-2.0-cryptlib" /* cryptlib SSH ID strings */ ^~~~~~~~~~~~~~~~~~ ./session/ssh.h:632:43: note: passing argument to parameter 'data' here IN_BUFFER( dataLength ) const BYTE *data, ^ session/ssh2_cli.c:354:20: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen( sessionInfoPtr->receiveBuffer ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 5 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_cry.o session/ssh2_cry.c In file included from session/ssh2_cry.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_cry.c:573:28: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "A", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ session/ssh2_cry.c:582:29: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "B", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ session/ssh2_cry.c:592:28: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "C", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ session/ssh2_cry.c:601:28: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "D", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ session/ssh2_cry.c:614:28: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "E", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ session/ssh2_cry.c:627:28: warning: passing 'char[2]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] initialHashInfo, "F", 1, ^~~ session/ssh2_cry.c:280:45: note: passing argument to parameter 'nonce' here IN_BUFFER( nonceLen ) const BYTE *nonce, ^ 7 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_msg.o session/ssh2_msg.c In file included from session/ssh2_msg.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_msgc.o session/ssh2_msgc.c In file included from session/ssh2_msgc.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_msgs.o session/ssh2_msgs.c In file included from session/ssh2_msgs.c:15: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_rd.o session/ssh2_rd.c In file included from session/ssh2_rd.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_rd.c:192:11: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sessionInfoPtr->receiveBuffer + MIN_PACKET_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc/int_api.h:103:13: note: passing argument to parameter 'lineBuffer' here char *lineBuffer, ^ session/ssh2_rd.c:330:19: warning: passing 'char[520]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( errorString, MAX_ERRMSG_SIZE - 64, length ); ^~~~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_svr.o session/ssh2_svr.c In file included from session/ssh2_svr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssh2_svr.c:439:18: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen( sessionInfoPtr->receiveBuffer ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ session/ssh2_svr.c:442:11: warning: passing 'char[17]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SSH2_ID_STRING, SSH_ID_STRING_SIZE ); ^~~~~~~~~~~~~~ ./session/ssh.h:118:26: note: expanded from macro 'SSH2_ID_STRING' #define SSH2_ID_STRING "SSH-2.0-cryptlib" /* cryptlib SSH ID strings */ ^~~~~~~~~~~~~~~~~~ ./session/ssh.h:632:43: note: passing argument to parameter 'data' here IN_BUFFER( dataLength ) const BYTE *data, ^ session/ssh2_svr.c:448:19: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen( sessionInfoPtr->receiveBuffer ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ session/ssh2_svr.c:451:12: warning: passing 'char[17]' to parameter of type 'const BYTE *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SSH2_ID_STRING, SSH_ID_STRING_SIZE ); ^~~~~~~~~~~~~~ ./session/ssh.h:118:26: note: expanded from macro 'SSH2_ID_STRING' #define SSH2_ID_STRING "SSH-2.0-cryptlib" /* cryptlib SSH ID strings */ ^~~~~~~~~~~~~~~~~~ ./session/ssh.h:632:43: note: passing argument to parameter 'data' here IN_BUFFER( dataLength ) const BYTE *data, ^ 5 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssh2_wr.o session/ssh2_wr.c In file included from session/ssh2_wr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl.o session/ssl.c In file included from session/ssl.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_cli.o session/ssl_cli.c In file included from session/ssl_cli.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssl_cli.c:368:35: warning: passing 'BYTE *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = sNetParseURL( &urlInfo, certName, originalCertNameLength, ^~~~~~~~ ./io/stream.h:492:39: note: passing argument to parameter 'url' here IN_BUFFER( urlLen ) const char *url, ^ session/ssl_cli.c:492:53: warning: passing 'char[263]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = matchName( serverName, serverNameLength, certName, ^~~~~~~~ session/ssl_cli.c:351:51: note: passing argument to parameter 'certName' here INOUT_BUFFER_FIXED( certNameLength ) BYTE *certName, ^ session/ssl_cli.c:545:54: warning: passing 'char[263]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status = matchName( serverName, serverNameLength, certName, ^~~~~~~~ session/ssl_cli.c:351:51: note: passing argument to parameter 'certName' here INOUT_BUFFER_FIXED( certNameLength ) BYTE *certName, ^ 4 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_cry.o session/ssl_cry.c In file included from session/ssl_cry.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_ext.o session/ssl_ext.c In file included from session/ssl_ext.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_hs.o session/ssl_hs.c In file included from session/ssl_hs.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_hsc.o session/ssl_hsc.c In file included from session/ssl_hsc.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_kmgmt.o session/ssl_kmgmt.c In file included from session/ssl_kmgmt.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_rd.o session/ssl_rd.c In file included from session/ssl_rd.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ session/ssl_rd.c:784:24: warning: passing 'char[72]' to parameter of type 'BYTE *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sanitiseString( textBuffer, CRYPT_MAX_TEXTSIZE, ^~~~~~~~~~ ./misc/int_api.h:474:56: note: expanded from macro 'retExt' #define retExt( status, extStatus ) return retExtFn extStatus ^~~~~~~~~ ./misc/int_api.h:220:63: note: passing argument to parameter 'string' here char *sanitiseString( INOUT_BUFFER( strMaxLen, strLen ) BYTE *string, ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_suites.o session/ssl_suites.c In file included from session/ssl_suites.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_svr.o session/ssl_svr.c In file included from session/ssl_svr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/ssl_wr.o session/ssl_wr.c In file included from session/ssl_wr.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/tsp.o session/tsp.c In file included from session/tsp.c:14: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/adler32.o zlib/adler32.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/deflate.o zlib/deflate.c In file included from zlib/deflate.c:77: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/inffast.o zlib/inffast.c In file included from zlib/inffast.c:13: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/inflate.o zlib/inflate.c zlib/inflate.c:1471:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; ~~~ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/inftrees.o zlib/inftrees.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/trees.o zlib/trees.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread -o ./static-obj/zutil.o zlib/zutil.c cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/certimp.c In file included from test/certimp.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/certimp.c:100:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, isECC ? ECC_CERT_FILE_TEMPLATE : \ ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:103:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certimp.c:292:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, CERTREQ_FILE_TEMPLATE, certNo ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:293:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certimp.c:379:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, CRL_FILE_TEMPLATE, crlNo ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:380:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certimp.c:632:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, isBase64 ? BASE64CERTCHAIN_FILE_TEMPLATE : \ ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:634:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certimp.c:877:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, SSHKEY_FILE_TEMPLATE, i ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:878:20: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !miscImport( buffer, "SSH" ) ) ^~~~~~ test/certimp.c:835:36: note: passing argument to parameter 'fileName' here static int miscImport( const char *fileName, const char *description ) ^ test/certimp.c:883:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, PGPASCKEY_FILE_TEMPLATE, i ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certimp.c:884:20: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !miscImport( buffer, "PGP" ) ) ^~~~~~ test/certimp.c:835:36: note: passing argument to parameter 'fileName' here static int miscImport( const char *fileName, const char *description ) ^ 13 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/certproc.c In file included from test/certproc.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/certproc.c:922:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, OCSP_CA_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certproc.c:927:23: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ( filePtr = fopen( fileName, "wb" ) ) != NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certproc.c:935:13: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] remove( fileName ); ^~~~~~~~ /usr/include/stdio.h:280:25: note: passing argument to parameter here int remove(const char *); ^ test/certproc.c:944:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, OCSP_EEOK_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certproc.c:949:23: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ( filePtr = fopen( fileName, "wb" ) ) != NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certproc.c:957:13: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] remove( fileName ); ^~~~~~~~ /usr/include/stdio.h:280:25: note: passing argument to parameter here int remove(const char *); ^ test/certproc.c:975:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, OCSP_EEREV_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certproc.c:980:23: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ( filePtr = fopen( fileName, "wb" ) ) != NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/certproc.c:988:13: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] remove( fileName ); ^~~~~~~~ /usr/include/stdio.h:280:25: note: passing argument to parameter here int remove(const char *); ^ 10 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/certs.c In file included from test/certs.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/certs.c:2366:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, CERT_FILE_TEMPLATE, 1 ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/certs.c:2367:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/devices.c In file included from test/devices.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/envelope.c In file included from test/envelope.c:10: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/envelope.c:118:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, fileTemplate, count ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:119:24: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return( readFileData( fileName, description, buffer, bufSize ) ); ^~~~~~~~ test/envelope.c:80:38: note: passing argument to parameter 'fileName' here static int readFileData( const char *fileName, const char *description, ^ test/envelope.c:3771:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, SMIME_SIG_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:3772:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( fileName, "rb" ) ) == NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/envelope.c:3785:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, SMIME_SIG_FILE_TEMPLATE, i ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:3786:29: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !cmsImportSignedData( fileName, i ) && i != 2 ) ^~~~~~~~ test/envelope.c:3316:45: note: passing argument to parameter 'fileName' here static int cmsImportSignedData( const char *fileName, const int fileNo ) ^ test/envelope.c:3808:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, SMIME_ENV_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:3809:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( fileName, "rb" ) ) == NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/envelope.c:3822:25: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, SMIME_ENV_FILE_TEMPLATE, i ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:3823:32: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( !cmsImportEnvelopedData( fileName, i ) ) ^~~~~~~~ test/envelope.c:3580:48: note: passing argument to parameter 'fileName' here static int cmsImportEnvelopedData( const char *fileName, const int fileNo ) ^ test/envelope.c:3842:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( fileName, CMS_ENC_FILE_TEMPLATE, 1 ); ^~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/envelope.c:3843:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( fileName, "rb" ) ) == NULL ) ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ 13 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/highlvl.c In file included from test/highlvl.c:10: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/highlvl.c:1731:17: warning: initializing 'const unsigned char *' with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const BYTE *extensionData = "\x0C\x04Test"; ^ ~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/keydbx.c In file included from test/keydbx.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/keyfile.c In file included from test/keyfile.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/keyfile.c:37:10: warning: 29 enumeration values not handled in switch: 'CRYPT_ALGO_NONE', 'CRYPT_ALGO_DES', 'CRYPT_ALGO_3DES'... [-Wswitch] switch( cryptAlgo ) ^~~~~~~~~ test/keyfile.c:60:10: warning: 29 enumeration values not handled in switch: 'CRYPT_ALGO_NONE', 'CRYPT_ALGO_DES', 'CRYPT_ALGO_3DES'... [-Wswitch] switch( cryptAlgo ) ^~~~~~~~~ test/keyfile.c:86:10: warning: 30 enumeration values not handled in switch: 'CRYPT_ALGO_NONE', 'CRYPT_ALGO_DES', 'CRYPT_ALGO_3DES'... [-Wswitch] switch( cryptAlgo ) ^~~~~~~~~ test/keyfile.c:478:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, PKCS12_FILE_TEMPLATE, fileNo ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/keyfile.c:480:10: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer, CRYPT_KEYOPT_READONLY ); ^~~~~~ ./cryptlib.h:2117:20: note: passing argument to parameter 'name' here C_IN C_STR name, C_IN CRYPT_KEYOPT_TYPE options ); ^ test/keyfile.c:761:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, P15_FILE_TEMPLATE, fileNo ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/keyfile.c:763:10: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer, CRYPT_KEYOPT_READONLY ); ^~~~~~ ./cryptlib.h:2117:20: note: passing argument to parameter 'name' here C_IN C_STR name, C_IN CRYPT_KEYOPT_TYPE options ); ^ test/keyfile.c:2153:24: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( filenameBuffer, MISC_PRIVKEY_FILE_TEMPLATE, 1 ); ^~~~~~~~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 9 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/loadkey.c In file included from test/loadkey.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/lowlvl.c In file included from test/lowlvl.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/s_cmp.c In file included from test/s_cmp.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/s_scep.c In file included from test/s_scep.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/sreqresp.c In file included from test/sreqresp.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/ssh.c In file included from test/ssh.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/ssh.c:393:24: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( filenameBuffer, SSH_PRIVKEY_FILE_TEMPLATE, 1 ); ^~~~~~~~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/ssh.c:847:25: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( filenameBuffer, SSH_PRIVKEY_FILE_TEMPLATE, ^~~~~~~~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 3 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/ssl.c In file included from test/ssl.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/stress.c In file included from test/stress.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/stress.c:34:23: warning: '/*' within block comment [-Wcomment] /* #define SMOKE_TEST /**/ ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/suiteb.c In file included from test/suiteb.c:14: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/testfunc.c In file included from test/testfunc.c:9: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ 1 warning generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/testlib.c In file included from test/testlib.c:16: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ In file included from test/testlib.c:802: In file included from ./crypt.h:827: ./misc/debug.h:95:11: warning: 'static_assert' macro redefined [-Wmacro-redefined] #define static_assert( expr, string ) \ ^ /usr/include/assert.h:73:9: note: previous definition is here #define static_assert _Static_assert ^ 2 warnings generated. cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -DOSVERSION=1 -fomit-frame-pointer -pthread test/utils.c In file included from test/utils.c:10: ./test/test.h:39:24: warning: '/*' within block comment [-Wcomment] /* #define TEST_DEVICE /**/ ^ test/utils.c:211:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, TESTDATA_FILE_TEMPLATE, 1 ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/utils.c:212:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/utils.c:229:24: warning: passing 'unsigned char[16384]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( buffer, TESTDATA_FILE_TEMPLATE, 2 ); ^~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/utils.c:230:25: warning: passing 'unsigned char[16384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ( filePtr = fopen( buffer, "rb" ) ) == NULL ) ^~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ test/utils.c:324:24: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filenameFromTemplate( filenameBuffer, fileTemplate, number ); ^~~~~~~~~~~~~~ ./test/test.h:373:14: note: expanded from macro 'filenameFromTemplate' sprintf( buffer, fileTemplate, count ) ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ test/utils.c:329:37: warning: passing 'unsigned char[512]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return( importCertFile( cryptCert, filenameBuffer ) ); ^~~~~~~~~~~~~~ test/utils.c:299:63: note: passing argument to parameter 'fileName' here int importCertFile( CRYPT_CERTIFICATE *cryptCert, const C_STR fileName ) ^ test/utils.c:438:10: warning: enumeration value 'KEYFILE_NONE' not handled in switch [-Wswitch] switch( type ) ^~~~ test/utils.c:466:10: warning: enumeration values 'KEYFILE_NONE', 'KEYFILE_PGP_SPECIAL', and 'KEYFILE_OPENPGP_MULT' not handled in switch [-Wswitch] switch( type ) ^~~~ test/utils.c:493:10: warning: enumeration values 'KEYFILE_NONE' and 'KEYFILE_OPENPGP_PARTIAL' not handled in switch [-Wswitch] switch( type ) ^~~~ test/utils.c:1155:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] cryptCreateContext( &sessionKeyContext, CRYPT_UNUSED, ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ test/utils.c:1993:17: warning: passing 'char[1025]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( isUnicode( buffer, length ) ) ^~~~~~ test/utils.c:1913:39: note: passing argument to parameter 'value' here static BOOLEAN isUnicode( const BYTE *value, const int length ) ^ test/utils.c:2296:13: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] printHex( buffer, length ); ^~~~~~ test/utils.c:1282:28: note: passing argument to parameter 'value' here void printHex( const BYTE *value, const int length ) ^ test/utils.c:2444:13: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] printHex( buffer, length ); ^~~~~~ test/utils.c:1282:28: note: passing argument to parameter 'value' here void printHex( const BYTE *value, const int length ) ^ test/utils.c:2451:13: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] printHex( buffer, length ); ^~~~~~ test/utils.c:1282:28: note: passing argument to parameter 'value' here void printHex( const BYTE *value, const int length ) ^ 15 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/3rdp/build' Compiling bbslist.c Compiling uifcinit.c Compiling ../uifc/filepick.c Compiling fonts.c Compiling rlogin.c Compiling telnet_io.c telnet_io.c:68:10: warning: passing 'char[16]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] putcom(buf,2); ^~~ telnet_io.c:47:19: note: passing argument to parameter 'buf' here void putcom(BYTE* buf, size_t len) ^ telnet_io.c:73:10: warning: passing 'char[16]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] putcom(buf,3); ^~~ telnet_io.c:47:19: note: passing argument to parameter 'buf' here void putcom(BYTE* buf, size_t len) ^ telnet_io.c:159:23: warning: passing 'uint8_t[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len=sprintf(buf,"%c%c%c%cANSI%c%c" ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 3 warnings generated. Compiling conn_telnet.c conn_telnet.c:59:46: warning: passing 'char[16384]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf=telnet_interpret(conn_api.rd_buf, rd, rbuf, &rd); ^~~~ ./telnet_io.h:14:54: note: passing argument to parameter 'outbuf' here BYTE* telnet_interpret(BYTE* inbuf, int inlen, BYTE* outbuf, int *outlen); ^ conn_telnet.c:59:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf=telnet_interpret(conn_api.rd_buf, rd, rbuf, &rd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conn_telnet.c:92:43: warning: passing 'char[32768]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf=telnet_expand(conn_api.wr_buf, wr, ebuf, &wr); ^~~~ ./telnet_io.h:15:54: note: passing argument to parameter 'outbuf' here BYTE* telnet_expand(BYTE* inbuf, size_t inlen, BYTE* outbuf, size_t *newlen); ^ conn_telnet.c:92:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf=telnet_expand(conn_api.wr_buf, wr, ebuf, &wr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling conn.c Compiling ../sbbs3/telnet.c Compiling term.c term.c:1248:50: warning: passing 'uint64_t *' (aka 'unsigned long *') to parameter of type 'int64_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] files_received=zmodem_recv_files(&zm,bbs->dldir,&bytes_received); ^~~~~~~~~~~~~~~ ../sbbs3/zmodem.h:319:74: note: passing argument to parameter 'bytes_received' here int zmodem_recv_files(zmodem_t* zm, const char* download_dir, int64_t* bytes_received); ^ term.c:1734:27: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i=sscanf(block+strlen(block)+1,"%"PRId64" %lo %lo %lo %d %"PRId64 ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:1734:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i=sscanf(block+strlen(block)+1,"%"PRId64" %lo %lo %lo %d %"PRId64 ^~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ term.c:1743:72: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lprintf(LOG_DEBUG,"YMODEM header (%u fields): %s", i, block+strlen(block)+1); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:1744:20: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] SAFECOPY(fname,block); ^~~~~ ../xpdev/gen_defs.h:363:58: note: expanded from macro 'SAFECOPY' #define SAFECOPY(dst,src) (strncpy(dst,src,sizeof(dst)), TERMINATE(dst)) ^~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ term.c:2355:8: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2238:43: note: expanded from macro 'WRITE_OUTBUF' cterm_write(cterm, outbuf, outbuf_size, prn, sizeof(prn), &speed); \ ^~~ ../conio/cterm.h:190:103: note: passing argument to parameter 'retbuf' here CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed); ^ term.c:2355:8: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2241:26: note: expanded from macro 'WRITE_OUTBUF' conn_send(prn, strlen(prn), 0); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2442:16: warning: passing 'uint8_t[5]' (aka 'unsigned char[5]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j=strlen(zrqbuf); ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2447:9: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2238:43: note: expanded from macro 'WRITE_OUTBUF' cterm_write(cterm, outbuf, outbuf_size, prn, sizeof(prn), &speed); \ ^~~ ../conio/cterm.h:190:103: note: passing argument to parameter 'retbuf' here CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed); ^ term.c:2447:9: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2241:26: note: expanded from macro 'WRITE_OUTBUF' conn_send(prn, strlen(prn), 0); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2448:20: warning: passing 'uint8_t[5]' (aka 'unsigned char[5]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strcmp(zrqbuf, zrqinit)) ^~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2448:28: warning: passing 'uint8_t[5]' (aka 'unsigned char[5]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strcmp(zrqbuf, zrqinit)) ^~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2468:18: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j=strlen(ooii_buf); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2474:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2238:43: note: expanded from macro 'WRITE_OUTBUF' cterm_write(cterm, outbuf, outbuf_size, prn, sizeof(prn), &speed); \ ^~~ ../conio/cterm.h:190:103: note: passing argument to parameter 'retbuf' here CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed); ^ term.c:2474:10: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2241:26: note: expanded from macro 'WRITE_OUTBUF' conn_send(prn, strlen(prn), 0); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2475:30: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(handle_ooii_code(ooii_buf, &ooii_mode, prn, sizeof(prn))) { ^~~~~~~~ ./ooii.h:8:29: note: passing argument to parameter 'codeStr' here BOOL handle_ooii_code(char *codeStr, int *ooii_mode, char *retbuf, size_t retsize); ^ term.c:2475:52: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(handle_ooii_code(ooii_buf, &ooii_mode, prn, sizeof(prn))) { ^~~ ./ooii.h:8:60: note: passing argument to parameter 'retbuf' here BOOL handle_ooii_code(char *codeStr, int *ooii_mode, char *retbuf, size_t retsize); ^ term.c:2480:32: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] conn_send(prn,strlen(prn),0); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2487:17: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j=strlen(ooii_buf); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2492:20: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strcmp(ooii_buf, ooii_init1)==0) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2492:30: warning: passing 'uint8_t[158]' (aka 'unsigned char[158]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strcmp(ooii_buf, ooii_init1)==0) { ^~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2503:20: warning: passing 'uint8_t[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strcmp(ooii_buf, ooii_init2)==0) { ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2503:30: warning: passing 'uint8_t[161]' (aka 'unsigned char[161]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strcmp(ooii_buf, ooii_init2)==0) { ^~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ term.c:2515:8: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2238:43: note: expanded from macro 'WRITE_OUTBUF' cterm_write(cterm, outbuf, outbuf_size, prn, sizeof(prn), &speed); \ ^~~ ../conio/cterm.h:190:103: note: passing argument to parameter 'retbuf' here CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed); ^ term.c:2515:8: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2241:26: note: expanded from macro 'WRITE_OUTBUF' conn_send(prn, strlen(prn), 0); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2526:3: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2238:43: note: expanded from macro 'WRITE_OUTBUF' cterm_write(cterm, outbuf, outbuf_size, prn, sizeof(prn), &speed); \ ^~~ ../conio/cterm.h:190:103: note: passing argument to parameter 'retbuf' here CIOLIBEXPORT char CIOLIBCALL *cterm_write(struct cterminal *cterm, const void *buf, int buflen, char *retbuf, size_t retsize, int *speed); ^ term.c:2526:3: warning: passing 'unsigned char[2048]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WRITE_OUTBUF(); ^~~~~~~~~~~~~~ term.c:2241:26: note: expanded from macro 'WRITE_OUTBUF' conn_send(prn, strlen(prn), 0); \ ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ term.c:2567:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=getcliptext(); ^~~~~~~~~~~~~~ term.c:2603:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=(char *)malloc(txtinfo.screenheight*txtinfo.screenwidth*2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term.c:2775:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=(char *)malloc(txtinfo.screenheight*txtinfo.screenwidth*2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term.c:3057:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 31 warnings generated. Compiling window.c Compiling menu.c menu.c:67:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mousedrag(scrollback); ^~~~~~~~~~ ./term.h:23:31: note: passing argument to parameter 'scrollback' here void mousedrag(unsigned char *scrollback); ^ 1 warning generated. Compiling ../smblib/crc16.c Compiling ../smblib/crc32.c Compiling ../sbbs3/zmodem.c Compiling ../sbbs3/xmodem.c Compiling st_crypt.c Compiling syncterm.c Compiling ooii.c ooii.c:37:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"", // 0 ^~~~ ooii.c:69:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"", // 0 ^~~~ ooii.c:79:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"", // 0 ^~~~ ooii.c:130:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"", // 0 ^~~~ ooii.c:138:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] {"", // 0 ^~~~ ooii.c:263:61: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cterm_write(cterm, ooii_cmenus[ooii_mode-1][fptr], strlen(ooii_cmenus[ooii_mode-1][fptr])-1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ooii.c:265:61: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cterm_write(cterm, ooii_bmenus[ooii_mode-1][fptr], strlen(ooii_bmenus[ooii_mode-1][fptr])-1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ooii.c:267:60: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cterm_write(cterm, ooii_logon[ooii_mode-1][fptr], strlen(ooii_logon[ooii_mode-1][fptr])-1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ooii.c:366:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:384:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:404:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:449:33: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:476:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:500:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:521:35: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:584:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:603:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:625:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:683:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:730:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:777:43: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:850:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(LIGHTBLUE); cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:878:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(LIGHTBLUE); cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:916:58: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(LIGHTBLUE); cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:976:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "- ", -1, NULL, 0, NULL); ^~~~ ooii.c:989:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~ ooii.c:1007:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "\r\nĿ\r\n", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1011:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~ ooii.c:1014:23: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); ^~~~ ooii.c:1016:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1029:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1040:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1047:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1054:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1061:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1083:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(""); ^~~~~~~~~~~~ ooii.c:1100:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1102:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1112:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1114:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return("İ"); ^~~~ ooii.c:1116:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(""); ^~~~~~~~~~~~ ooii.c:1124:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1126:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1128:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~ ooii.c:1131:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1136:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1162:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return("<9D><9D> "); ^~~~~~~~ ooii.c:1164:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1166:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1172:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return("<8F><8F> "); ^~~~~~~~ ooii.c:1174:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] return(" "); ^~~~~~~~ ooii.c:1189:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '"': case '' : term_setattr(3); break; ^ ooii.c:1193:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': case '' : term_setattr(6); break; ^ ooii.c:1193:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': case '' : term_setattr(6); break; ^ ooii.c:1195:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 'O': case '': case 'Q' : term_setattr(7); break; ^ ooii.c:1196:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': case ' ' : term_setattr(8); break; ^ ooii.c:1197:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '' : term_setattr(9); break; ^ ooii.c:1201:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '<9D>': case 'Y': case '' : term_setattr(12); break; ^ ooii.c:1201:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '<9D>': case 'Y': case '' : term_setattr(12); break; ^ ooii.c:1203:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '#': case 'c': case '' : term_setattr(13); break; ^ ooii.c:1205:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '.': case '[': case '': ^ ooii.c:1206:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': case '!': case '': ^ ooii.c:1206:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': case '!': case '': ^ ooii.c:1207:10: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '' : term_setattr(14); break; ^ ooii.c:1209:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 'I': case '': case '<8F>' : term_setattr(15); break; ^ ooii.c:1209:30: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case 'I': case '': case '<8F>' : term_setattr(15); break; ^ ooii.c:1235:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "\r\nĿ\r\n", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1236:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, "", -1, NULL, 0, NULL); term_setattr(13); cterm_write(cterm, "Infrared", -1, NULL, 0, NULL); term_setattr(5); ^~~~ ooii.c:1236:86: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, "", -1, NULL, 0, NULL); term_setattr(13); cterm_write(cterm, "Infrared", -1, NULL, 0, NULL); term_setattr(5); ^~~~~~~~ ooii.c:1238:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(1); cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~ ooii.c:1239:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " ~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ", -1, NULL, 0, NULL); ^~~~ ooii.c:1239:86: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " ~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ", -1, NULL, 0, NULL); ^~~~ ~~~~ ooii.c:1240:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(1); cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~ ooii.c:1241:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " [ ] [ ] ", -1, NULL, 0, NULL); term_setattr(13); ^~~~ ooii.c:1241:86: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " [ ] [ ] ", -1, NULL, 0, NULL); term_setattr(13); ^~~~ ~~~~ ooii.c:1243:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(1); cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~ ooii.c:1244:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " [ ] ", -1, NULL, 0, NULL); term_setattr(13); ^~~~ ooii.c:1244:86: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, " [ ] ", -1, NULL, 0, NULL); term_setattr(13); ^~~~ ~~~~ ooii.c:1246:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(1); cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~ ooii.c:1247:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, "", -1, NULL, 0, NULL); term_setattr(13); cterm_write(cterm, "scan", -1, NULL, 0, NULL); term_setattr(5); ^~~~ ooii.c:1247:86: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, "", -1, NULL, 0, NULL); term_setattr(13); cterm_write(cterm, "scan", -1, NULL, 0, NULL); term_setattr(5); ^~~~~~~~~~~~~~~~ ooii.c:1248:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "Ľ ", -1, NULL, 0, NULL); term_setattr(13); cterm_write(cterm, "Time : ", -1, NULL, 0, NULL); term_setattr(5); cterm_write(cterm, "[ ] ", -1, NULL, 0, NULL); ^~~~~~~~ ooii.c:1250:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] term_setattr(1); cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~ ooii.c:1251:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1257:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "Ŀ\r\n", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1258:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " \r\n", -1, NULL, 0, NULL); ^~~~ ~~~~ ooii.c:1259:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, " \r\n", -1, NULL, 0, NULL); ^~~~ ~~~~ ooii.c:1260:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "\r\n", -1, NULL, 0, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ooii.c:1410:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~ ooii.c:1426:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~ ooii.c:1442:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] cterm_write(cterm, "", -1, NULL, 0, NULL); ^~~~ 91 warnings generated. Compiling ooii_logons.c Compiling ooii_cmenus.c Compiling ooii_bmenus.c Compiling ooii_sounds.c Compiling ssh.c ssh.c:240:11: warning: implicit declaration of function 'screen_to_ciolib' is invalid in C99 [-Wimplicit-function-declaration] textmode(screen_to_ciolib(bbs->screen_mode)); ^ 1 warning generated. Compiling ../comio/comio_nix.c Compiling modem.c modem.c:34:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rd=comReadBuf(com, conn_api.rd_buf, conn_api.rd_buf_size, NULL, 100); ^~~~~~~~~~~~~~~ ../comio/comio.h:127:60: note: passing argument to parameter 'buf' here COMIOEXPORT size_t COMIOCALL comReadBuf(COM_HANDLE, char* buf, size_t buflen ^ modem.c:115:24: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!comReadByte(com, &ch)) { ^~~ ../comio/comio.h:126:58: note: passing argument to parameter here COMIOEXPORT BOOL COMIOCALL comReadByte(COM_HANDLE, BYTE*); ^ 2 warnings generated. Compiling ../comio/comio.c Compiling conn_pty.c Linking clang.freebsd.amd64.exe.release/syncterm gmake: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/syncterm' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> syncterm-1.0 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for syncterm-1.0 ===> Generating temporary packing list gmake: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/syncterm' gmake -C ../../3rdp/build cryptlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/3rdp/build' gmake[1]: Nothing to be done for 'cryptlib'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/3rdp/build' gmake -C ../xpdev mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/xpdev' gmake[1]: Nothing to be done for 'mtlib'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/xpdev' gmake -C ../conio mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/conio' gmake[1]: Nothing to be done for 'mtlib'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/conio' gmake -C ../uifc mtlib gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/uifc' gmake[1]: Nothing to be done for 'mtlib'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/uifc' Linking clang.freebsd.amd64.exe.release/syncterm gzip < syncterm.man > syncterm.1.gz mkdir -p /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/bin mkdir -p /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/share/applications mkdir -p /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/man/man1 mkdir -p /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/share/icons/hicolor/64x64/apps Installing... install -s -m 555 clang.freebsd.amd64.exe.release/syncterm /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/bin install -m 0444 syncterm.png /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/share/icons/hicolor/64x64/apps install -m 0444 syncterm.desktop /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/share/applications install -m 0444 syncterm.1.gz /wrkdirs/usr/ports/comms/syncterm/work/stage/usr/local/man/man1 gmake: Leaving directory '/wrkdirs/usr/ports/comms/syncterm/work/syncterm-1.0/src/syncterm' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-06T02:42:28+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for syncterm-1.0 ===> Building syncterm-1.0 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for syncterm-1.0 build of comms/syncterm | syncterm-1.0 ended at Sat Apr 6 03:43:33 BST 2024 build time: 00:01:06