=> Building misc/libpostal Started : Saturday, 21 JUL 2018 at 19:27:02 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for libpostal-1.0.0: CBLAS=off: Build with CBLAS/OPENBLAS DOCS=on: Build and/or install documentation SSE2=off: Enable SSE2 optimization STATIC=off: Build static executables and/or libraries ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/libpostal XDG_CONFIG_HOME=/construction/misc/libpostal HOME=/construction/misc/libpostal TMPDIR="/tmp" PATH=/construction/misc/libpostal/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --datadir=/var/db/libpostal --disable-data-download --without-cblas --disable-sse2 --disable-static --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/libpostal XDG_CONFIG_HOME=/construction/misc/libpostal HOME=/construction/misc/libpostal TMPDIR="/tmp" PATH=/construction/misc/libpostal/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -isystem /usr/local/include -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS="" LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include" MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/misc/libpostal/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" CBLAS="@comment " NO_CBLAS="" DOCS="" NO_DOCS="@comment " SSE2="@comment " NO_SSE2="" STATIC="@comment " NO_STATIC="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libpostal" EXAMPLESDIR="share/examples/libpostal" DATADIR="share/libpostal" WWWDIR="www/libpostal" ETCDIR="etc/libpostal" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PORTNAME=libpostal LIBPOSTAL_DATADIR=/var/db/libpostal CBLAS="@comment " NO_CBLAS="" DOCS="" NO_DOCS="@comment " SSE2="@comment " NO_SSE2="" STATIC="@comment " NO_STATIC="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libpostal DOCSDIR=/usr/local/share/doc/libpostal EXAMPLESDIR=/usr/local/share/examples/libpostal WWWDIR=/usr/local/www/libpostal ETCDIR=/usr/local/etc/libpostal -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License MIT accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> libpostal-1.0.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> libpostal-1.0.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libpostal-1.0.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License MIT accepted by the user ===> Fetching all distfiles required by libpostal-1.0.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License MIT accepted by the user ===> Fetching all distfiles required by libpostal-1.0.0 for building => SHA256 Checksum OK for openvenues-libpostal-v1.0.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License MIT accepted by the user ===> Fetching all distfiles required by libpostal-1.0.0 for building ===> Extracting for libpostal-1.0.0 => SHA256 Checksum OK for openvenues-libpostal-v1.0.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for libpostal-1.0.0 ===> Applying ports patches for libpostal-1.0.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> libpostal-1.0.0 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_1.txz Installing autoconf-2.69_1... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: .......... done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done `-- Installing m4-1.4.18,1... `-- Extracting m4-1.4.18,1: .......... done `-- Installing perl5-5.26.2... `-- Extracting perl5-5.26.2: .......... done Extracting autoconf-2.69_1: .......... done Message from perl5-5.26.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> libpostal-1.0.0 depends on package: autoconf>=2.69 - found ===> Returning to build of libpostal-1.0.0 ===> libpostal-1.0.0 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1.txz Installing automake-1.16.1... Extracting automake-1.16.1: .......... done ===> libpostal-1.0.0 depends on package: automake>=1.16.1 - found ===> Returning to build of libpostal-1.0.0 ===> libpostal-1.0.0 depends on executable: libtoolize - not found ===> Installing existing package /packages/All/libtool-2.4.6.txz Installing libtool-2.4.6... Extracting libtool-2.4.6: .......... done ===> libpostal-1.0.0 depends on executable: libtoolize - found ===> Returning to build of libpostal-1.0.0 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for libpostal-1.0.0 libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:14: installing './compile' configure.ac:14: installing './config.guess' configure.ac:14: installing './config.sub' configure.ac:12: installing './install-sh' configure.ac:12: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:14: installing './compile' configure.ac:12: installing './missing' src/Makefile.am: installing './depcomp' configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-portbld-dragonfly5.2 checking host system type... x86_64-portbld-dragonfly5.2 checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64-portbld-dragonfly5.2 file names to x86_64-portbld-dragonfly5.2 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly5.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for cc option to accept ISO C99... none needed checking for library containing log... -lm checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... (cached) yes checking for fcntl.h... (cached) yes checking for float.h... (cached) yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for malloc.h... (cached) no checking for memory.h... (cached) yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for inline... inline checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for int8_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for ssize_t... (cached) yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for uint8_t... (cached) yes checking for ptrdiff_t... (cached) yes checking for malloc... (cached) yes checking for realloc... yes checking for getcwd... (cached) yes checking for gettimeofday... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for regcomp... yes checking for setlocale... (cached) yes checking for sqrt... yes checking for strdup... (cached) yes checking for strndup... (cached) yes checking for shuf... no checking for gshuf... no checking cblas.h usability... no checking cblas.h presence... no checking for cblas.h... no configure: extra cflags for scanner.c: checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libpostal.pc config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for libpostal-1.0.0 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- address_parser-json_encode.o --- --- linenoise/.dirstamp --- --- linenoise/.deps/.dirstamp --- --- utf8proc/.dirstamp --- --- utf8proc/.deps/.dirstamp --- --- address_parser-json_encode.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-json_encode.o -MD -MP -MF .deps/address_parser-json_encode.Tpo -c -o address_parser-json_encode.o `test -f 'json_encode.c' || echo './'`json_encode.c --- address_parser_train-address_parser.o --- --- address_parser_train-address_parser_io.o --- --- address_parser_train-averaged_perceptron.o --- --- address_parser_train-crf.o --- --- address_parser_train-address_parser.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-address_parser.o -MD -MP -MF .deps/address_parser_train-address_parser.Tpo -c -o address_parser_train-address_parser.o `test -f 'address_parser.c' || echo './'`address_parser.c --- address_parser_train-address_parser_io.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-address_parser_io.o -MD -MP -MF .deps/address_parser_train-address_parser_io.Tpo -c -o address_parser_train-address_parser_io.o `test -f 'address_parser_io.c' || echo './'`address_parser_io.c --- address_parser_train-averaged_perceptron.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-averaged_perceptron.o -MD -MP -MF .deps/address_parser_train-averaged_perceptron.Tpo -c -o address_parser_train-averaged_perceptron.o `test -f 'averaged_perceptron.c' || echo './'`averaged_perceptron.c --- address_parser_train-crf.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-crf.o -MD -MP -MF .deps/address_parser_train-crf.Tpo -c -o address_parser_train-crf.o `test -f 'crf.c' || echo './'`crf.c --- address_parser_train-address_parser.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_train-crf.o --- In file included from crf_context.h:20:0, from crf.h:20, from crf.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_train-address_parser.o --- address_parser.c: In function 'word_vocab_frequency': address_parser.c:342:10: warning: unused variable 'has_key' [-Wunused-variable] bool has_key = trie_get_data(parser->vocab, word, &count); ^ In file included from address_parser.c:1:0: address_parser.c: In function 'address_parser_normalize_phrase_token': address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.c:351:40: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' normalize_token(array, str, token, ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS); ^ address_parser.c: In function 'address_parser_context_fill': address_parser.c:809:10: warning: unused variable 'have_postal_code_phrases' [-Wunused-variable] bool have_postal_code_phrases = trie_search_tokens_with_phrases(parser->postal_codes, normalized_str_admin, normalized_admin_tokens, &postal_code_phrases); ^ address_parser.c:791:10: warning: unused variable 'have_component_phrases' [-Wunused-variable] bool have_component_phrases = trie_search_tokens_with_phrases(parser->phrases, normalized_str_admin, normalized_admin_tokens, &component_phrases); ^ address_parser.c:755:10: warning: unused variable 'have_address_phrases' [-Wunused-variable] bool have_address_phrases = search_address_dictionaries_tokens_with_phrases(normalized_str, normalized_tokens, NULL, &address_dictionary_phrases); ^ address_parser.c:683:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c:682:11: warning: variable 'word' set but not used [-Wunused-but-set-variable] char *word; ^ address_parser.c: In function 'phrase_prefix': address_parser.c:828:40: warning: unused parameter 'len' [-Wunused-parameter] char *phrase_prefix(char *word, size_t len, phrase_t prefix_phrase, char_array *prefix_phrase_array) { ^ address_parser.c: In function 'word_or_phrase_at_index': address_parser.c:918:13: warning: unused variable 'token' [-Wunused-variable] token_t token = tokenized->tokens->a[i]; ^ address_parser.c:876:74: warning: unused parameter 'parser' [-Wunused-parameter] static address_parser_phrase_t word_or_phrase_at_index(address_parser_t *parser, tokenized_string_t *tokenized, address_parser_context_t *context, uint32_t i, bool long_context) { ^ address_parser.c: In function 'phrase_index': address_parser.c:966:13: warning: unused variable 'membership' [-Wunused-variable] int64_t membership; ^ address_parser.c: In function 'next_numeric_token_index': address_parser.c:994:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c: In function 'add_ngram_features': address_parser.c:1039:14: warning: variable 'idx' set but not used [-Wunused-but-set-variable] uint32_t idx; ^ address_parser.c: In function 'address_parser_features': address_parser.c:1278:18: warning: unused variable 'k' [-Wunused-variable] khiter_t k; ^ address_parser.c:1276:18: warning: unused variable 'postal_code_context' [-Wunused-variable] uint64_t postal_code_context; ^ address_parser.c:1377:18: warning: variable 'ngrams_added' set but not used [-Wunused-but-set-variable] bool ngrams_added = false; ^ address_parser.c:1568:22: warning: unused variable 'right_context_street' [-Wunused-variable] bool right_context_street = false; ^ address_parser.c:1567:22: warning: unused variable 'right_context_name' [-Wunused-variable] bool right_context_name = false; ^ address_parser.c:1561:26: warning: unused variable 'suffix_phrase' [-Wunused-variable] phrase_t suffix_phrase = context->suffix_phrases->a[right_idx]; ^ address_parser.c:1503:16: warning: variable 'next_word_len' set but not used [-Wunused-but-set-variable] size_t next_word_len = 1; ^ address_parser.c:1322:10: warning: variable 'known_suffix' set but not used [-Wunused-but-set-variable] bool known_suffix = false; ^ address_parser.c:1321:10: warning: variable 'known_prefix' set but not used [-Wunused-but-set-variable] bool known_prefix = false; ^ address_parser.c:1319:10: warning: variable 'is_unknown' set but not used [-Wunused-but-set-variable] bool is_unknown = false; ^ address_parser.c:1102:19: warning: unused variable 'separators' [-Wunused-variable] uint32_array *separators = context->separators; ^ address_parser.c:1092:11: warning: unused variable 'country' [-Wunused-variable] char *country = context->country; ^ address_parser.c:1091:11: warning: unused variable 'language' [-Wunused-variable] char *language = context->language; ^ --- address_parser_train-address_parser_io.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser-json_encode.o --- mv -f .deps/address_parser-json_encode.Tpo .deps/address_parser-json_encode.Po --- address_parser_train-crf_context.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-crf_context.o -MD -MP -MF .deps/address_parser_train-crf_context.Tpo -c -o address_parser_train-crf_context.o `test -f 'crf_context.c' || echo './'`crf_context.c --- address_parser_train-address_parser_io.o --- In file included from file_utils.h:12:0, from sparse_matrix.h:45, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: address_parser_io.c: In function 'address_parser_data_set_tokenize_line': address_parser_io.c:105:16: warning: unused variable 'pair_len' [-Wunused-variable] size_t pair_len = strlen(str); ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser_io.c:99:12: warning: unused variable 'num_pairs' [-Wunused-variable] size_t num_pairs = cstring_array_num_strings(pairs); ^ address_parser_io.c: In function 'address_parser_data_set_next': address_parser_io.c:246:12: warning: unused variable 'len' [-Wunused-variable] size_t len = strlen(normalized); ^ --- address_parser_train-crf_context.o --- In file included from crf_context.h:20:0, from crf_context.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_context.c: In function 'crf_context_reset': crf_context.c:238:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = context->num_labels; ^ crf_context.c:237:18: warning: unused variable 'T' [-Wunused-variable] const size_t T = context->num_items; ^ crf_context.c: In function 'crf_context_alpha_score': crf_context.c:366:23: warning: implicit declaration of function 'double_equals' [-Wimplicit-function-declaration] double scale_t = !double_equals(sum, 0.) ? 1. / sum : 1.; ^ crf_context.c: In function 'crf_context_score': crf_context.c:539:19: warning: unused variable 'cur' [-Wunused-variable] const double *cur = NULL; ^ crf_context.c:537:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = self->num_labels; ^ crf_context.c: At top level: crf_context.c:295:12: warning: 'double_matrix_get_row' is static but used in inline function 'exp_state_trans_score_all' which is not static return double_matrix_get_row(self->exp_state_trans, t); ^ --- address_parser_train-crf.o --- mv -f .deps/address_parser_train-crf.Tpo .deps/address_parser_train-crf.Po --- address_parser_train-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-sparse_matrix.o -MD -MP -MF .deps/address_parser_train-sparse_matrix.Tpo -c -o address_parser_train-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- address_parser_train-averaged_perceptron.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores': averaged_perceptron.c:16:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores_counts': averaged_perceptron.c:45:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i = 0; ^ --- address_parser_train-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- address_parser_train-address_parser_io.o --- mv -f .deps/address_parser_train-address_parser_io.Tpo .deps/address_parser_train-address_parser_io.Po --- address_parser_train-graph.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-graph.o -MD -MP -MF .deps/address_parser_train-graph.Tpo -c -o address_parser_train-graph.o `test -f 'graph.c' || echo './'`graph.c --- address_parser_train-averaged_perceptron.o --- mv -f .deps/address_parser_train-averaged_perceptron.Tpo .deps/address_parser_train-averaged_perceptron.Po --- address_parser_train-graph_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-graph_builder.o -MD -MP -MF .deps/address_parser_train-graph_builder.Tpo -c -o address_parser_train-graph_builder.o `test -f 'graph_builder.c' || echo './'`graph_builder.c --- address_parser_train-sparse_matrix.o --- mv -f .deps/address_parser_train-sparse_matrix.Tpo .deps/address_parser_train-sparse_matrix.Po --- address_parser_train-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-float_utils.o -MD -MP -MF .deps/address_parser_train-float_utils.Tpo -c -o address_parser_train-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c mv -f .deps/address_parser_train-float_utils.Tpo .deps/address_parser_train-float_utils.Po --- address_parser_train-averaged_perceptron_tagger.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-averaged_perceptron_tagger.o -MD -MP -MF .deps/address_parser_train-averaged_perceptron_tagger.Tpo -c -o address_parser_train-averaged_perceptron_tagger.o `test -f 'averaged_perceptron_tagger.c' || echo './'`averaged_perceptron_tagger.c --- address_parser_train-address_parser.o --- mv -f .deps/address_parser_train-address_parser.Tpo .deps/address_parser_train-address_parser.Po --- address_parser_train-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-address_dictionary.o -MD -MP -MF .deps/address_parser_train-address_dictionary.Tpo -c -o address_parser_train-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- address_parser_train-averaged_perceptron_tagger.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_tagger.h:20, from averaged_perceptron_tagger.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_train-graph_builder.o --- mv -f .deps/address_parser_train-graph_builder.Tpo .deps/address_parser_train-graph_builder.Po --- address_parser_train-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-normalize.o -MD -MP -MF .deps/address_parser_train-normalize.Tpo -c -o address_parser_train-normalize.o `test -f 'normalize.c' || echo './'`normalize.c --- address_parser_train-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ --- address_parser_train-averaged_perceptron_tagger.o --- mv -f .deps/address_parser_train-averaged_perceptron_tagger.Tpo .deps/address_parser_train-averaged_perceptron_tagger.Po --- address_parser_train-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-features.o -MD -MP -MF .deps/address_parser_train-features.Tpo -c -o address_parser_train-features.o `test -f 'features.c' || echo './'`features.c --- address_parser_train-normalize.o --- normalize.c: In function 'normalize_string_languages': normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- address_parser_train-features.o --- mv -f .deps/address_parser_train-features.Tpo .deps/address_parser_train-features.Po --- address_parser_train-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-unicode_scripts.o -MD -MP -MF .deps/address_parser_train-unicode_scripts.Tpo -c -o address_parser_train-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- address_parser_train-graph.o --- mv -f .deps/address_parser_train-graph.Tpo .deps/address_parser_train-graph.Po --- address_parser_train-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-transliterate.o -MD -MP -MF .deps/address_parser_train-transliterate.Tpo -c -o address_parser_train-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c --- address_parser_train-normalize.o --- mv -f .deps/address_parser_train-normalize.Tpo .deps/address_parser_train-normalize.Po --- address_parser_train-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-trie.o -MD -MP -MF .deps/address_parser_train-trie.Tpo -c -o address_parser_train-trie.o `test -f 'trie.c' || echo './'`trie.c --- address_parser_train-transliterate.o --- transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- address_parser_train-address_dictionary.o --- mv -f .deps/address_parser_train-address_dictionary.Tpo .deps/address_parser_train-address_dictionary.Po --- address_parser_train-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-trie_search.o -MD -MP -MF .deps/address_parser_train-trie_search.Tpo -c -o address_parser_train-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- address_parser_train-trie.o --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- address_parser_train-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- address_parser_train-crf_context.o --- mv -f .deps/address_parser_train-crf_context.Tpo .deps/address_parser_train-crf_context.Po --- address_parser_train-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-trie_utils.o -MD -MP -MF .deps/address_parser_train-trie_utils.Tpo -c -o address_parser_train-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ mv -f .deps/address_parser_train-trie_utils.Tpo .deps/address_parser_train-trie_utils.Po --- address_parser_train-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-string_utils.o -MD -MP -MF .deps/address_parser_train-string_utils.Tpo -c -o address_parser_train-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c --- address_parser_train-trie_search.o --- mv -f .deps/address_parser_train-trie_search.Tpo .deps/address_parser_train-trie_search.Po --- address_parser_train-tokens.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-tokens.o -MD -MP -MF .deps/address_parser_train-tokens.Tpo -c -o address_parser_train-tokens.o `test -f 'tokens.c' || echo './'`tokens.c --- address_parser_train-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- address_parser_train-tokens.o --- tokens.c: In function 'tokenized_string_new_size': tokens.c:12:66: warning: unused parameter 'num_tokens' [-Wunused-parameter] tokenized_string_t *tokenized_string_new_size(size_t len, size_t num_tokens) { ^ --- address_parser_train-string_utils.o --- string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- address_parser_train-tokens.o --- mv -f .deps/address_parser_train-tokens.Tpo .deps/address_parser_train-tokens.Po --- address_parser_train-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-file_utils.o -MD -MP -MF .deps/address_parser_train-file_utils.Tpo -c -o address_parser_train-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c mv -f .deps/address_parser_train-file_utils.Tpo .deps/address_parser_train-file_utils.Po --- utf8proc/address_parser_train-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/address_parser_train-utf8proc.o -MD -MP -MF utf8proc/.deps/address_parser_train-utf8proc.Tpo -c -o utf8proc/address_parser_train-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- address_parser_train-transliterate.o --- mv -f .deps/address_parser_train-transliterate.Tpo .deps/address_parser_train-transliterate.Po --- address_parser_train-ngrams.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-ngrams.o -MD -MP -MF .deps/address_parser_train-ngrams.Tpo -c -o address_parser_train-ngrams.o `test -f 'ngrams.c' || echo './'`ngrams.c ngrams.c: In function 'add_ngrams': ngrams.c:37:22: warning: unused variable 'token_index' [-Wunused-variable] uint32_t token_index = cstring_array_start_token(grams); ^ mv -f .deps/address_parser_train-ngrams.Tpo .deps/address_parser_train-ngrams.Po --- address_parser_test-address_parser.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-address_parser.o -MD -MP -MF .deps/address_parser_test-address_parser.Tpo -c -o address_parser_test-address_parser.o `test -f 'address_parser.c' || echo './'`address_parser.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_train-trie.o --- mv -f .deps/address_parser_train-trie.Tpo .deps/address_parser_train-trie.Po --- address_parser_test-address_parser_io.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-address_parser_io.o -MD -MP -MF .deps/address_parser_test-address_parser_io.Tpo -c -o address_parser_test-address_parser_io.o `test -f 'address_parser_io.c' || echo './'`address_parser_io.c --- address_parser_test-address_parser.o --- address_parser.c: In function 'word_vocab_frequency': address_parser.c:342:10: warning: unused variable 'has_key' [-Wunused-variable] bool has_key = trie_get_data(parser->vocab, word, &count); ^ In file included from address_parser.c:1:0: address_parser.c: In function 'address_parser_normalize_phrase_token': address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.c:351:40: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' normalize_token(array, str, token, ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS); ^ address_parser.c: In function 'address_parser_context_fill': address_parser.c:809:10: warning: unused variable 'have_postal_code_phrases' [-Wunused-variable] bool have_postal_code_phrases = trie_search_tokens_with_phrases(parser->postal_codes, normalized_str_admin, normalized_admin_tokens, &postal_code_phrases); ^ address_parser.c:791:10: warning: unused variable 'have_component_phrases' [-Wunused-variable] bool have_component_phrases = trie_search_tokens_with_phrases(parser->phrases, normalized_str_admin, normalized_admin_tokens, &component_phrases); ^ address_parser.c:755:10: warning: unused variable 'have_address_phrases' [-Wunused-variable] bool have_address_phrases = search_address_dictionaries_tokens_with_phrases(normalized_str, normalized_tokens, NULL, &address_dictionary_phrases); ^ address_parser.c:683:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c:682:11: warning: variable 'word' set but not used [-Wunused-but-set-variable] char *word; ^ address_parser.c: In function 'phrase_prefix': address_parser.c:828:40: warning: unused parameter 'len' [-Wunused-parameter] char *phrase_prefix(char *word, size_t len, phrase_t prefix_phrase, char_array *prefix_phrase_array) { ^ address_parser.c: In function 'word_or_phrase_at_index': address_parser.c:918:13: warning: unused variable 'token' [-Wunused-variable] token_t token = tokenized->tokens->a[i]; ^ address_parser.c:876:74: warning: unused parameter 'parser' [-Wunused-parameter] static address_parser_phrase_t word_or_phrase_at_index(address_parser_t *parser, tokenized_string_t *tokenized, address_parser_context_t *context, uint32_t i, bool long_context) { ^ address_parser.c: In function 'phrase_index': address_parser.c:966:13: warning: unused variable 'membership' [-Wunused-variable] int64_t membership; ^ address_parser.c: In function 'next_numeric_token_index': address_parser.c:994:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c: In function 'add_ngram_features': address_parser.c:1039:14: warning: variable 'idx' set but not used [-Wunused-but-set-variable] uint32_t idx; ^ address_parser.c: In function 'address_parser_features': address_parser.c:1278:18: warning: unused variable 'k' [-Wunused-variable] khiter_t k; ^ address_parser.c:1276:18: warning: unused variable 'postal_code_context' [-Wunused-variable] uint64_t postal_code_context; ^ address_parser.c:1377:18: warning: variable 'ngrams_added' set but not used [-Wunused-but-set-variable] bool ngrams_added = false; ^ address_parser.c:1568:22: warning: unused variable 'right_context_street' [-Wunused-variable] bool right_context_street = false; ^ address_parser.c:1567:22: warning: unused variable 'right_context_name' [-Wunused-variable] bool right_context_name = false; ^ address_parser.c:1561:26: warning: unused variable 'suffix_phrase' [-Wunused-variable] phrase_t suffix_phrase = context->suffix_phrases->a[right_idx]; ^ address_parser.c:1503:16: warning: variable 'next_word_len' set but not used [-Wunused-but-set-variable] size_t next_word_len = 1; ^ address_parser.c:1322:10: warning: variable 'known_suffix' set but not used [-Wunused-but-set-variable] bool known_suffix = false; ^ address_parser.c:1321:10: warning: variable 'known_prefix' set but not used [-Wunused-but-set-variable] bool known_prefix = false; ^ address_parser.c:1319:10: warning: variable 'is_unknown' set but not used [-Wunused-but-set-variable] bool is_unknown = false; ^ address_parser.c:1102:19: warning: unused variable 'separators' [-Wunused-variable] uint32_array *separators = context->separators; ^ address_parser.c:1092:11: warning: unused variable 'country' [-Wunused-variable] char *country = context->country; ^ address_parser.c:1091:11: warning: unused variable 'language' [-Wunused-variable] char *language = context->language; ^ --- address_parser_test-address_parser_io.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from file_utils.h:12:0, from sparse_matrix.h:45, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: address_parser_io.c: In function 'address_parser_data_set_tokenize_line': address_parser_io.c:105:16: warning: unused variable 'pair_len' [-Wunused-variable] size_t pair_len = strlen(str); ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser_io.c:99:12: warning: unused variable 'num_pairs' [-Wunused-variable] size_t num_pairs = cstring_array_num_strings(pairs); ^ address_parser_io.c: In function 'address_parser_data_set_next': address_parser_io.c:246:12: warning: unused variable 'len' [-Wunused-variable] size_t len = strlen(normalized); ^ mv -f .deps/address_parser_test-address_parser_io.Tpo .deps/address_parser_test-address_parser_io.Po --- address_parser_test-averaged_perceptron.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-averaged_perceptron.o -MD -MP -MF .deps/address_parser_test-averaged_perceptron.Tpo -c -o address_parser_test-averaged_perceptron.o `test -f 'averaged_perceptron.c' || echo './'`averaged_perceptron.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores': averaged_perceptron.c:16:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores_counts': averaged_perceptron.c:45:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i = 0; ^ mv -f .deps/address_parser_test-averaged_perceptron.Tpo .deps/address_parser_test-averaged_perceptron.Po --- address_parser_test-crf.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-crf.o -MD -MP -MF .deps/address_parser_test-crf.Tpo -c -o address_parser_test-crf.o `test -f 'crf.c' || echo './'`crf.c In file included from crf_context.h:20:0, from crf.h:20, from crf.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_train-string_utils.o --- mv -f .deps/address_parser_train-string_utils.Tpo .deps/address_parser_train-string_utils.Po --- address_parser_test-crf_context.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-crf_context.o -MD -MP -MF .deps/address_parser_test-crf_context.Tpo -c -o address_parser_test-crf_context.o `test -f 'crf_context.c' || echo './'`crf_context.c In file included from crf_context.h:20:0, from crf_context.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_context.c: In function 'crf_context_reset': crf_context.c:238:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = context->num_labels; ^ crf_context.c:237:18: warning: unused variable 'T' [-Wunused-variable] const size_t T = context->num_items; ^ crf_context.c: In function 'crf_context_alpha_score': crf_context.c:366:23: warning: implicit declaration of function 'double_equals' [-Wimplicit-function-declaration] double scale_t = !double_equals(sum, 0.) ? 1. / sum : 1.; ^ crf_context.c: In function 'crf_context_score': crf_context.c:539:19: warning: unused variable 'cur' [-Wunused-variable] const double *cur = NULL; ^ crf_context.c:537:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = self->num_labels; ^ crf_context.c: At top level: crf_context.c:295:12: warning: 'double_matrix_get_row' is static but used in inline function 'exp_state_trans_score_all' which is not static return double_matrix_get_row(self->exp_state_trans, t); ^ --- utf8proc/address_parser_train-utf8proc.o --- mv -f utf8proc/.deps/address_parser_train-utf8proc.Tpo utf8proc/.deps/address_parser_train-utf8proc.Po --- address_parser_test-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-sparse_matrix.o -MD -MP -MF .deps/address_parser_test-sparse_matrix.Tpo -c -o address_parser_test-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- address_parser_test-crf.o --- mv -f .deps/address_parser_test-crf.Tpo .deps/address_parser_test-crf.Po --- address_parser_test-graph.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-graph.o -MD -MP -MF .deps/address_parser_test-graph.Tpo -c -o address_parser_test-graph.o `test -f 'graph.c' || echo './'`graph.c --- address_parser_test-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- address_parser_test-address_parser.o --- mv -f .deps/address_parser_test-address_parser.Tpo .deps/address_parser_test-address_parser.Po --- address_parser_test-graph_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-graph_builder.o -MD -MP -MF .deps/address_parser_test-graph_builder.Tpo -c -o address_parser_test-graph_builder.o `test -f 'graph_builder.c' || echo './'`graph_builder.c --- address_parser_test-graph.o --- mv -f .deps/address_parser_test-graph.Tpo .deps/address_parser_test-graph.Po --- address_parser_test-float_utils.o --- --- address_parser_test-graph_builder.o --- mv -f .deps/address_parser_test-graph_builder.Tpo .deps/address_parser_test-graph_builder.Po --- address_parser_test-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-float_utils.o -MD -MP -MF .deps/address_parser_test-float_utils.Tpo -c -o address_parser_test-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c --- address_parser_test-averaged_perceptron_tagger.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-averaged_perceptron_tagger.o -MD -MP -MF .deps/address_parser_test-averaged_perceptron_tagger.Tpo -c -o address_parser_test-averaged_perceptron_tagger.o `test -f 'averaged_perceptron_tagger.c' || echo './'`averaged_perceptron_tagger.c --- address_parser_test-float_utils.o --- mv -f .deps/address_parser_test-float_utils.Tpo .deps/address_parser_test-float_utils.Po --- address_parser_test-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-address_dictionary.o -MD -MP -MF .deps/address_parser_test-address_dictionary.Tpo -c -o address_parser_test-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- address_parser_test-averaged_perceptron_tagger.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_tagger.h:20, from averaged_perceptron_tagger.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser_test-crf_context.o --- mv -f .deps/address_parser_test-crf_context.Tpo .deps/address_parser_test-crf_context.Po --- address_parser_test-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-normalize.o -MD -MP -MF .deps/address_parser_test-normalize.Tpo -c -o address_parser_test-normalize.o `test -f 'normalize.c' || echo './'`normalize.c --- address_parser_test-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ --- address_parser_test-sparse_matrix.o --- mv -f .deps/address_parser_test-sparse_matrix.Tpo .deps/address_parser_test-sparse_matrix.Po --- address_parser_test-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-features.o -MD -MP -MF .deps/address_parser_test-features.Tpo -c -o address_parser_test-features.o `test -f 'features.c' || echo './'`features.c --- address_parser_test-averaged_perceptron_tagger.o --- mv -f .deps/address_parser_test-averaged_perceptron_tagger.Tpo .deps/address_parser_test-averaged_perceptron_tagger.Po --- address_parser_test-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-unicode_scripts.o -MD -MP -MF .deps/address_parser_test-unicode_scripts.Tpo -c -o address_parser_test-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- address_parser_test-normalize.o --- normalize.c: In function 'normalize_string_languages': --- address_parser_test-address_dictionary.o --- mv -f .deps/address_parser_test-address_dictionary.Tpo .deps/address_parser_test-address_dictionary.Po --- address_parser_test-normalize.o --- normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- address_parser_test-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-transliterate.o -MD -MP -MF .deps/address_parser_test-transliterate.Tpo -c -o address_parser_test-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- address_parser_test-features.o --- mv -f .deps/address_parser_test-features.Tpo .deps/address_parser_test-features.Po --- address_parser_test-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-trie.o -MD -MP -MF .deps/address_parser_test-trie.Tpo -c -o address_parser_test-trie.o `test -f 'trie.c' || echo './'`trie.c trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- address_parser_train-unicode_scripts.o --- mv -f .deps/address_parser_train-unicode_scripts.Tpo .deps/address_parser_train-unicode_scripts.Po --- address_parser_test-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-trie_search.o -MD -MP -MF .deps/address_parser_test-trie_search.Tpo -c -o address_parser_test-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- address_parser_test-normalize.o --- mv -f .deps/address_parser_test-normalize.Tpo .deps/address_parser_test-normalize.Po --- address_parser_test-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-trie_utils.o -MD -MP -MF .deps/address_parser_test-trie_utils.Tpo -c -o address_parser_test-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c --- address_parser_test-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ --- address_parser_test-trie_utils.o --- In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- address_parser_test-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- address_parser_test-trie_search.o --- In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- address_parser_test-trie.o --- mv -f .deps/address_parser_test-trie.Tpo .deps/address_parser_test-trie.Po --- address_parser_test-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-string_utils.o -MD -MP -MF .deps/address_parser_test-string_utils.Tpo -c -o address_parser_test-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- address_parser_test-trie_search.o --- mv -f .deps/address_parser_test-trie_search.Tpo .deps/address_parser_test-trie_search.Po --- address_parser_test-tokens.o --- --- address_parser_test-trie_utils.o --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ --- address_parser_test-tokens.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-tokens.o -MD -MP -MF .deps/address_parser_test-tokens.Tpo -c -o address_parser_test-tokens.o `test -f 'tokens.c' || echo './'`tokens.c --- address_parser_test-trie_utils.o --- mv -f .deps/address_parser_test-trie_utils.Tpo .deps/address_parser_test-trie_utils.Po --- address_parser_test-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-file_utils.o -MD -MP -MF .deps/address_parser_test-file_utils.Tpo -c -o address_parser_test-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c --- address_parser_test-tokens.o --- tokens.c: In function 'tokenized_string_new_size': tokens.c:12:66: warning: unused parameter 'num_tokens' [-Wunused-parameter] tokenized_string_t *tokenized_string_new_size(size_t len, size_t num_tokens) { ^ mv -f .deps/address_parser_test-tokens.Tpo .deps/address_parser_test-tokens.Po --- utf8proc/address_parser_test-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/address_parser_test-utf8proc.o -MD -MP -MF utf8proc/.deps/address_parser_test-utf8proc.Tpo -c -o utf8proc/address_parser_test-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- address_parser_test-file_utils.o --- mv -f .deps/address_parser_test-file_utils.Tpo .deps/address_parser_test-file_utils.Po --- address_parser_test-ngrams.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-ngrams.o -MD -MP -MF .deps/address_parser_test-ngrams.Tpo -c -o address_parser_test-ngrams.o `test -f 'ngrams.c' || echo './'`ngrams.c ngrams.c: In function 'add_ngrams': ngrams.c:37:22: warning: unused variable 'token_index' [-Wunused-variable] uint32_t token_index = cstring_array_start_token(grams); ^ mv -f .deps/address_parser_test-ngrams.Tpo .deps/address_parser_test-ngrams.Po --- build_address_dictionary-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-address_dictionary.o -MD -MP -MF .deps/build_address_dictionary-address_dictionary.Tpo -c -o build_address_dictionary-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- address_parser_test-transliterate.o --- mv -f .deps/address_parser_test-transliterate.Tpo .deps/address_parser_test-transliterate.Po --- build_address_dictionary-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-file_utils.o -MD -MP -MF .deps/build_address_dictionary-file_utils.Tpo -c -o build_address_dictionary-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c --- build_address_dictionary-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ mv -f .deps/build_address_dictionary-address_dictionary.Tpo .deps/build_address_dictionary-address_dictionary.Po --- build_address_dictionary-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-string_utils.o -MD -MP -MF .deps/build_address_dictionary-string_utils.Tpo -c -o build_address_dictionary-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c --- build_address_dictionary-file_utils.o --- mv -f .deps/build_address_dictionary-file_utils.Tpo .deps/build_address_dictionary-file_utils.Po --- build_address_dictionary-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-trie.o -MD -MP -MF .deps/build_address_dictionary-trie.Tpo -c -o build_address_dictionary-trie.o `test -f 'trie.c' || echo './'`trie.c --- build_address_dictionary-string_utils.o --- string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- build_address_dictionary-trie.o --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- address_parser_test-string_utils.o --- mv -f .deps/address_parser_test-string_utils.Tpo .deps/address_parser_test-string_utils.Po --- build_address_dictionary-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-trie_search.o -MD -MP -MF .deps/build_address_dictionary-trie_search.Tpo -c -o build_address_dictionary-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ mv -f .deps/build_address_dictionary-trie_search.Tpo .deps/build_address_dictionary-trie_search.Po --- utf8proc/build_address_dictionary-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/build_address_dictionary-utf8proc.o -MD -MP -MF utf8proc/.deps/build_address_dictionary-utf8proc.Tpo -c -o utf8proc/build_address_dictionary-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- utf8proc/address_parser_test-utf8proc.o --- mv -f utf8proc/.deps/address_parser_test-utf8proc.Tpo utf8proc/.deps/address_parser_test-utf8proc.Po --- build_numex_table-numex.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-numex.o -MD -MP -MF .deps/build_numex_table-numex.Tpo -c -o build_numex_table-numex.o `test -f 'numex.c' || echo './'`numex.c --- build_address_dictionary-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- build_numex_table-numex.o --- In file included from collections.h:8:0, from numex.h:14, from numex.c:3: numex.c: In function 'numex_table_read': log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ numex.c: In function 'convert_numeric_expressions': numex.c:770:18: warning: unused variable 'rule_index' [-Wunused-variable] uint32_t rule_index = phrase.data; ^ numex.c:688:17: warning: unused variable 'number_str' [-Wunused-variable] char_array *number_str = NULL; ^ numex.c:681:10: warning: unused variable 'advance_state' [-Wunused-variable] bool advance_state = true; ^ numex.c:678:19: warning: unused variable 'ch' [-Wunused-variable] unsigned char ch = '\0'; ^ numex.c: In function 'get_ordinal_suffix': numex.c:924:10: warning: unused variable 'whole_tokens_only' [-Wunused-variable] bool whole_tokens_only = language->whole_tokens_only; ^ --- build_address_dictionary-trie.o --- mv -f .deps/build_address_dictionary-trie.Tpo .deps/build_address_dictionary-trie.Po --- build_numex_table-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-file_utils.o -MD -MP -MF .deps/build_numex_table-file_utils.Tpo -c -o build_numex_table-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c --- build_address_dictionary-string_utils.o --- mv -f .deps/build_address_dictionary-string_utils.Tpo .deps/build_address_dictionary-string_utils.Po --- build_numex_table-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-string_utils.o -MD -MP -MF .deps/build_numex_table-string_utils.Tpo -c -o build_numex_table-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- build_numex_table-numex.o --- numex.c: In function 'convert_numeric_expressions': numex.c:869:17: warning: 'stopword_phrase.start' may be used uninitialized in this function [-Wmaybe-uninitialized] idx = stopword_phrase.start; ^ --- build_numex_table-file_utils.o --- mv -f .deps/build_numex_table-file_utils.Tpo .deps/build_numex_table-file_utils.Po --- build_numex_table-tokens.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-tokens.o -MD -MP -MF .deps/build_numex_table-tokens.Tpo -c -o build_numex_table-tokens.o `test -f 'tokens.c' || echo './'`tokens.c --- build_numex_table-numex.o --- mv -f .deps/build_numex_table-numex.Tpo .deps/build_numex_table-numex.Po --- build_numex_table-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-trie.o -MD -MP -MF .deps/build_numex_table-trie.Tpo -c -o build_numex_table-trie.o `test -f 'trie.c' || echo './'`trie.c --- build_numex_table-tokens.o --- tokens.c: In function 'tokenized_string_new_size': tokens.c:12:66: warning: unused parameter 'num_tokens' [-Wunused-parameter] tokenized_string_t *tokenized_string_new_size(size_t len, size_t num_tokens) { ^ --- build_numex_table-trie.o --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- build_numex_table-tokens.o --- mv -f .deps/build_numex_table-tokens.Tpo .deps/build_numex_table-tokens.Po --- build_numex_table-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-trie_search.o -MD -MP -MF .deps/build_numex_table-trie_search.Tpo -c -o build_numex_table-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- build_numex_table-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ mv -f .deps/build_numex_table-trie.Tpo .deps/build_numex_table-trie.Po --- utf8proc/build_numex_table-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/build_numex_table-utf8proc.o -MD -MP -MF utf8proc/.deps/build_numex_table-utf8proc.Tpo -c -o utf8proc/build_numex_table-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- build_numex_table-string_utils.o --- mv -f .deps/build_numex_table-string_utils.Tpo .deps/build_numex_table-string_utils.Po --- build_trans_table-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-transliterate.o -MD -MP -MF .deps/build_trans_table-transliterate.Tpo -c -o build_trans_table-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- build_numex_table-trie_search.o --- mv -f .deps/build_numex_table-trie_search.Tpo .deps/build_numex_table-trie_search.Po --- build_trans_table-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-trie.o -MD -MP -MF .deps/build_trans_table-trie.Tpo -c -o build_trans_table-trie.o `test -f 'trie.c' || echo './'`trie.c trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ mv -f .deps/build_trans_table-trie.Tpo .deps/build_trans_table-trie.Po --- build_trans_table-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-trie_search.o -MD -MP -MF .deps/build_trans_table-trie_search.Tpo -c -o build_trans_table-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- address_parser_test-unicode_scripts.o --- mv -f .deps/address_parser_test-unicode_scripts.Tpo .deps/address_parser_test-unicode_scripts.Po --- build_trans_table-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-file_utils.o -MD -MP -MF .deps/build_trans_table-file_utils.Tpo -c -o build_trans_table-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c --- build_trans_table-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- utf8proc/build_address_dictionary-utf8proc.o --- mv -f utf8proc/.deps/build_address_dictionary-utf8proc.Tpo utf8proc/.deps/build_address_dictionary-utf8proc.Po --- build_trans_table-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-string_utils.o -MD -MP -MF .deps/build_trans_table-string_utils.Tpo -c -o build_trans_table-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- build_trans_table-file_utils.o --- mv -f .deps/build_trans_table-file_utils.Tpo .deps/build_trans_table-file_utils.Po --- utf8proc/build_trans_table-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/build_trans_table-utf8proc.o -MD -MP -MF utf8proc/.deps/build_trans_table-utf8proc.Tpo -c -o utf8proc/build_trans_table-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- utf8proc/build_numex_table-utf8proc.o --- mv -f utf8proc/.deps/build_numex_table-utf8proc.Tpo utf8proc/.deps/build_numex_table-utf8proc.Po --- language_classifier_train-language_classifier.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-language_classifier.o -MD -MP -MF .deps/language_classifier_train-language_classifier.Tpo -c -o language_classifier_train-language_classifier.o `test -f 'language_classifier.c' || echo './'`language_classifier.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- build_trans_table-trie_search.o --- mv -f .deps/build_trans_table-trie_search.Tpo .deps/build_trans_table-trie_search.Po --- language_classifier_train-language_features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-language_features.o -MD -MP -MF .deps/language_classifier_train-language_features.Tpo -c -o language_classifier_train-language_features.o `test -f 'language_features.c' || echo './'`language_features.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_features.c:2: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_features.c: In function 'add_ngram_features': language_features.c:55:11: warning: unused variable 'feature_namespace' [-Wunused-variable] char *feature_namespace; ^ language_features.c: In function 'add_script_feature': language_features.c:216:69: warning: unused parameter 'prefix' [-Wunused-parameter] static void add_script_feature(khash_t(str_double) *features, char *prefix, char_array *feature_array, script_t script) { ^ language_features.c: In function 'extract_language_features': language_features.c:275:19: warning: unused variable 'phrase' [-Wunused-variable] char *phrase = NULL; ^ language_features.c:274:21: warning: unused variable 'prev_token' [-Wunused-variable] token_t prev_token; ^ mv -f .deps/language_classifier_train-language_features.Tpo .deps/language_classifier_train-language_features.Po --- language_classifier_train-logistic_regression.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-logistic_regression.o -MD -MP -MF .deps/language_classifier_train-logistic_regression.Tpo -c -o language_classifier_train-logistic_regression.o `test -f 'logistic_regression.c' || echo './'`logistic_regression.c In file included from logistic_regression.h:26:0, from logistic_regression.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from collections.h:8:0, from logistic_regression.h:25, from logistic_regression.c:3: logistic_regression.c: In function 'logistic_regression_model_expectation_sparse': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_model_expectation': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_cost_function': logistic_regression.c:63:13: warning: unused variable 'expected_values' [-Wunused-variable] double *expected_values = p_y->values; ^ logistic_regression.c:45:12: warning: unused variable 'n' [-Wunused-variable] size_t n = x->n; ^ logistic_regression.c: In function 'logistic_regression_gradient': logistic_regression.c:105:13: warning: unused variable 'gradient_values' [-Wunused-variable] double *gradient_values = gradient->values; ^ logistic_regression.c:104:13: warning: unused variable 'predicted_values' [-Wunused-variable] double *predicted_values = p_y->values; ^ logistic_regression.c:103:13: warning: unused variable 'theta_values' [-Wunused-variable] double *theta_values = theta->values; ^ logistic_regression.c:95:12: warning: unused variable 'residual' [-Wunused-variable] double residual; ^ logistic_regression.c:93:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i, j; ^ logistic_regression.c:91:12: warning: unused variable 'num_features' [-Wunused-variable] size_t num_features = n; ^ --- language_classifier_train-language_classifier.o --- mv -f .deps/language_classifier_train-language_classifier.Tpo .deps/language_classifier_train-language_classifier.Po --- language_classifier_train-logistic.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-logistic.o -MD -MP -MF .deps/language_classifier_train-logistic.Tpo -c -o language_classifier_train-logistic.o `test -f 'logistic.c' || echo './'`logistic.c --- language_classifier_train-logistic_regression.o --- mv -f .deps/language_classifier_train-logistic_regression.Tpo .deps/language_classifier_train-logistic_regression.Po --- language_classifier_train-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-sparse_matrix.o -MD -MP -MF .deps/language_classifier_train-sparse_matrix.Tpo -c -o language_classifier_train-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- language_classifier_train-logistic.o --- In file included from logistic.h:7:0, from logistic.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ logistic.c: In function 'softmax_vector': logistic.c:16:12: warning: unused variable 'sum' [-Wunused-variable] double sum = 0.0; ^ mv -f .deps/language_classifier_train-logistic.Tpo .deps/language_classifier_train-logistic.Po --- language_classifier_train-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-features.o -MD -MP -MF .deps/language_classifier_train-features.Tpo -c -o language_classifier_train-features.o `test -f 'features.c' || echo './'`features.c --- language_classifier_train-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- language_classifier_train-features.o --- mv -f .deps/language_classifier_train-features.Tpo .deps/language_classifier_train-features.Po --- language_classifier_train-minibatch.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-minibatch.o -MD -MP -MF .deps/language_classifier_train-minibatch.Tpo -c -o language_classifier_train-minibatch.o `test -f 'minibatch.c' || echo './'`minibatch.c In file included from sparse_matrix.h:46:0, from minibatch.h:9, from minibatch.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ minibatch.c: In function 'count_features_minibatch': minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable] size_t m = minibatch->n; ^ minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ minibatch.c: In function 'count_labels_minibatch': minibatch.c:30:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ minibatch.c: In function 'select_features_threshold': minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable] const char *feature; ^ minibatch.c: In function 'select_labels_threshold': minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable] const char *label; ^ minibatch.c: In function 'label_vector': minibatch.c:197:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- build_trans_table-string_utils.o --- mv -f .deps/build_trans_table-string_utils.Tpo .deps/build_trans_table-string_utils.Po --- language_classifier_train-sparse_matrix.o --- mv -f .deps/language_classifier_train-sparse_matrix.Tpo .deps/language_classifier_train-sparse_matrix.Po --- language_classifier_train-float_utils.o --- --- language_classifier_train-normalize.o --- --- language_classifier_train-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-float_utils.o -MD -MP -MF .deps/language_classifier_train-float_utils.Tpo -c -o language_classifier_train-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c --- language_classifier_train-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-normalize.o -MD -MP -MF .deps/language_classifier_train-normalize.Tpo -c -o language_classifier_train-normalize.o `test -f 'normalize.c' || echo './'`normalize.c normalize.c: In function 'normalize_string_languages': --- language_classifier_train-float_utils.o --- mv -f .deps/language_classifier_train-float_utils.Tpo .deps/language_classifier_train-float_utils.Po --- language_classifier_train-normalize.o --- normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ --- language_classifier_train-transliterate.o --- --- language_classifier_train-normalize.o --- normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- language_classifier_train-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-transliterate.o -MD -MP -MF .deps/language_classifier_train-transliterate.Tpo -c -o language_classifier_train-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- language_classifier_train-normalize.o --- mv -f .deps/language_classifier_train-normalize.Tpo .deps/language_classifier_train-normalize.Po --- language_classifier_train-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-trie.o -MD -MP -MF .deps/language_classifier_train-trie.Tpo -c -o language_classifier_train-trie.o `test -f 'trie.c' || echo './'`trie.c trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- utf8proc/build_trans_table-utf8proc.o --- mv -f utf8proc/.deps/build_trans_table-utf8proc.Tpo utf8proc/.deps/build_trans_table-utf8proc.Po --- language_classifier_train-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-trie_search.o -MD -MP -MF .deps/language_classifier_train-trie_search.Tpo -c -o language_classifier_train-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- language_classifier_train-minibatch.o --- mv -f .deps/language_classifier_train-minibatch.Tpo .deps/language_classifier_train-minibatch.Po --- language_classifier_train-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-trie_utils.o -MD -MP -MF .deps/language_classifier_train-trie_utils.Tpo -c -o language_classifier_train-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- language_classifier_train-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ --- language_classifier_train-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- language_classifier_train-trie_search.o --- In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- language_classifier_train-trie.o --- mv -f .deps/language_classifier_train-trie.Tpo .deps/language_classifier_train-trie.Po --- language_classifier_train-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-address_dictionary.o -MD -MP -MF .deps/language_classifier_train-address_dictionary.Tpo -c -o language_classifier_train-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ --- language_classifier_train-trie_search.o --- mv -f .deps/language_classifier_train-trie_search.Tpo .deps/language_classifier_train-trie_search.Po --- language_classifier_train-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-string_utils.o -MD -MP -MF .deps/language_classifier_train-string_utils.Tpo -c -o language_classifier_train-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c --- language_classifier_train-trie_utils.o --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ --- build_trans_table-transliterate.o --- mv -f .deps/build_trans_table-transliterate.Tpo .deps/build_trans_table-transliterate.Po --- language_classifier_train-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-file_utils.o -MD -MP -MF .deps/language_classifier_train-file_utils.Tpo -c -o language_classifier_train-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c --- language_classifier_train-trie_utils.o --- mv -f .deps/language_classifier_train-trie_utils.Tpo .deps/language_classifier_train-trie_utils.Po --- utf8proc/language_classifier_train-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/language_classifier_train-utf8proc.o -MD -MP -MF utf8proc/.deps/language_classifier_train-utf8proc.Tpo -c -o utf8proc/language_classifier_train-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- language_classifier_train-address_dictionary.o --- mv -f .deps/language_classifier_train-address_dictionary.Tpo .deps/language_classifier_train-address_dictionary.Po --- language_classifier_train-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-unicode_scripts.o -MD -MP -MF .deps/language_classifier_train-unicode_scripts.Tpo -c -o language_classifier_train-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- language_classifier_train-string_utils.o --- string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- language_classifier_train-file_utils.o --- mv -f .deps/language_classifier_train-file_utils.Tpo .deps/language_classifier_train-file_utils.Po --- language_classifier_train-shuffle.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-shuffle.o -MD -MP -MF .deps/language_classifier_train-shuffle.Tpo -c -o language_classifier_train-shuffle.o `test -f 'shuffle.c' || echo './'`shuffle.c shuffle.c: In function 'shuffle_file_chunked': shuffle.c:50:10: warning: implicit declaration of function 'file_exists' [-Wimplicit-function-declaration] if (!file_exists(filename)) { ^ mv -f .deps/language_classifier_train-shuffle.Tpo .deps/language_classifier_train-shuffle.Po --- language_classifier-language_classifier.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-language_classifier.o -MD -MP -MF .deps/language_classifier-language_classifier.Tpo -c -o language_classifier-language_classifier.o `test -f 'language_classifier.c' || echo './'`language_classifier.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ mv -f .deps/language_classifier-language_classifier.Tpo .deps/language_classifier-language_classifier.Po --- language_classifier-language_features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-language_features.o -MD -MP -MF .deps/language_classifier-language_features.Tpo -c -o language_classifier-language_features.o `test -f 'language_features.c' || echo './'`language_features.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_features.c:2: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_features.c: In function 'add_ngram_features': language_features.c:55:11: warning: unused variable 'feature_namespace' [-Wunused-variable] char *feature_namespace; ^ language_features.c: In function 'add_script_feature': language_features.c:216:69: warning: unused parameter 'prefix' [-Wunused-parameter] static void add_script_feature(khash_t(str_double) *features, char *prefix, char_array *feature_array, script_t script) { ^ language_features.c: In function 'extract_language_features': language_features.c:275:19: warning: unused variable 'phrase' [-Wunused-variable] char *phrase = NULL; ^ language_features.c:274:21: warning: unused variable 'prev_token' [-Wunused-variable] token_t prev_token; ^ --- language_classifier_train-transliterate.o --- mv -f .deps/language_classifier_train-transliterate.Tpo .deps/language_classifier_train-transliterate.Po --- language_classifier-logistic_regression.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-logistic_regression.o -MD -MP -MF .deps/language_classifier-logistic_regression.Tpo -c -o language_classifier-logistic_regression.o `test -f 'logistic_regression.c' || echo './'`logistic_regression.c --- language_classifier-language_features.o --- mv -f .deps/language_classifier-language_features.Tpo .deps/language_classifier-language_features.Po --- language_classifier-logistic.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-logistic.o -MD -MP -MF .deps/language_classifier-logistic.Tpo -c -o language_classifier-logistic.o `test -f 'logistic.c' || echo './'`logistic.c --- language_classifier-logistic_regression.o --- In file included from logistic_regression.h:26:0, from logistic_regression.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from collections.h:8:0, from logistic_regression.h:25, from logistic_regression.c:3: logistic_regression.c: In function 'logistic_regression_model_expectation_sparse': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_model_expectation': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_cost_function': logistic_regression.c:63:13: warning: unused variable 'expected_values' [-Wunused-variable] double *expected_values = p_y->values; ^ logistic_regression.c:45:12: warning: unused variable 'n' [-Wunused-variable] size_t n = x->n; ^ logistic_regression.c: In function 'logistic_regression_gradient': logistic_regression.c:105:13: warning: unused variable 'gradient_values' [-Wunused-variable] double *gradient_values = gradient->values; ^ logistic_regression.c:104:13: warning: unused variable 'predicted_values' [-Wunused-variable] double *predicted_values = p_y->values; ^ logistic_regression.c:103:13: warning: unused variable 'theta_values' [-Wunused-variable] double *theta_values = theta->values; ^ logistic_regression.c:95:12: warning: unused variable 'residual' [-Wunused-variable] double residual; ^ logistic_regression.c:93:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i, j; ^ logistic_regression.c:91:12: warning: unused variable 'num_features' [-Wunused-variable] size_t num_features = n; ^ --- language_classifier-logistic.o --- In file included from logistic.h:7:0, from logistic.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ logistic.c: In function 'softmax_vector': logistic.c:16:12: warning: unused variable 'sum' [-Wunused-variable] double sum = 0.0; ^ --- language_classifier-logistic_regression.o --- mv -f .deps/language_classifier-logistic_regression.Tpo .deps/language_classifier-logistic_regression.Po --- language_classifier-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-sparse_matrix.o -MD -MP -MF .deps/language_classifier-sparse_matrix.Tpo -c -o language_classifier-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- language_classifier-logistic.o --- mv -f .deps/language_classifier-logistic.Tpo .deps/language_classifier-logistic.Po --- language_classifier-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-features.o -MD -MP -MF .deps/language_classifier-features.Tpo -c -o language_classifier-features.o `test -f 'features.c' || echo './'`features.c --- language_classifier-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- language_classifier_train-string_utils.o --- mv -f .deps/language_classifier_train-string_utils.Tpo .deps/language_classifier_train-string_utils.Po --- language_classifier-minibatch.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-minibatch.o -MD -MP -MF .deps/language_classifier-minibatch.Tpo -c -o language_classifier-minibatch.o `test -f 'minibatch.c' || echo './'`minibatch.c In file included from sparse_matrix.h:46:0, from minibatch.h:9, from minibatch.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ minibatch.c: In function 'count_features_minibatch': minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable] size_t m = minibatch->n; ^ minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ minibatch.c: In function 'count_labels_minibatch': minibatch.c:30:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ minibatch.c: In function 'select_features_threshold': minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable] const char *feature; ^ minibatch.c: In function 'select_labels_threshold': minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable] const char *label; ^ minibatch.c: In function 'label_vector': minibatch.c:197:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- language_classifier-sparse_matrix.o --- mv -f .deps/language_classifier-sparse_matrix.Tpo .deps/language_classifier-sparse_matrix.Po --- language_classifier-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-float_utils.o -MD -MP -MF .deps/language_classifier-float_utils.Tpo -c -o language_classifier-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c mv -f .deps/language_classifier-float_utils.Tpo .deps/language_classifier-float_utils.Po --- language_classifier-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-normalize.o -MD -MP -MF .deps/language_classifier-normalize.Tpo -c -o language_classifier-normalize.o `test -f 'normalize.c' || echo './'`normalize.c --- language_classifier-features.o --- mv -f .deps/language_classifier-features.Tpo .deps/language_classifier-features.Po --- language_classifier-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-transliterate.o -MD -MP -MF .deps/language_classifier-transliterate.Tpo -c -o language_classifier-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c --- language_classifier-normalize.o --- normalize.c: In function 'normalize_string_languages': normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- language_classifier-transliterate.o --- transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- language_classifier-normalize.o --- mv -f .deps/language_classifier-normalize.Tpo .deps/language_classifier-normalize.Po --- language_classifier-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-trie.o -MD -MP -MF .deps/language_classifier-trie.Tpo -c -o language_classifier-trie.o `test -f 'trie.c' || echo './'`trie.c trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- utf8proc/language_classifier_train-utf8proc.o --- mv -f utf8proc/.deps/language_classifier_train-utf8proc.Tpo utf8proc/.deps/language_classifier_train-utf8proc.Po --- language_classifier-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-trie_search.o -MD -MP -MF .deps/language_classifier-trie_search.Tpo -c -o language_classifier-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- language_classifier-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- language_classifier-minibatch.o --- mv -f .deps/language_classifier-minibatch.Tpo .deps/language_classifier-minibatch.Po --- language_classifier-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-trie_utils.o -MD -MP -MF .deps/language_classifier-trie_utils.Tpo -c -o language_classifier-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c --- language_classifier-trie.o --- mv -f .deps/language_classifier-trie.Tpo .deps/language_classifier-trie.Po --- language_classifier-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-address_dictionary.o -MD -MP -MF .deps/language_classifier-address_dictionary.Tpo -c -o language_classifier-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- language_classifier-trie_utils.o --- In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- language_classifier-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ mv -f .deps/language_classifier-address_dictionary.Tpo .deps/language_classifier-address_dictionary.Po --- language_classifier-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-string_utils.o -MD -MP -MF .deps/language_classifier-string_utils.Tpo -c -o language_classifier-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- language_classifier-trie_utils.o --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ mv -f .deps/language_classifier-trie_utils.Tpo .deps/language_classifier-trie_utils.Po --- language_classifier-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-file_utils.o -MD -MP -MF .deps/language_classifier-file_utils.Tpo -c -o language_classifier-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c mv -f .deps/language_classifier-file_utils.Tpo .deps/language_classifier-file_utils.Po --- utf8proc/language_classifier-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/language_classifier-utf8proc.o -MD -MP -MF utf8proc/.deps/language_classifier-utf8proc.Tpo -c -o utf8proc/language_classifier-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- language_classifier-transliterate.o --- mv -f .deps/language_classifier-transliterate.Tpo .deps/language_classifier-transliterate.Po --- language_classifier-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-unicode_scripts.o -MD -MP -MF .deps/language_classifier-unicode_scripts.Tpo -c -o language_classifier-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- language_classifier-trie_search.o --- mv -f .deps/language_classifier-trie_search.Tpo .deps/language_classifier-trie_search.Po --- language_classifier_test-language_classifier.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-language_classifier.o -MD -MP -MF .deps/language_classifier_test-language_classifier.Tpo -c -o language_classifier_test-language_classifier.o `test -f 'language_classifier.c' || echo './'`language_classifier.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ mv -f .deps/language_classifier_test-language_classifier.Tpo .deps/language_classifier_test-language_classifier.Po --- language_classifier_test-language_classifier_io.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-language_classifier_io.o -MD -MP -MF .deps/language_classifier_test-language_classifier_io.Tpo -c -o language_classifier_test-language_classifier_io.o `test -f 'language_classifier_io.c' || echo './'`language_classifier_io.c --- language_classifier-string_utils.o --- mv -f .deps/language_classifier-string_utils.Tpo .deps/language_classifier-string_utils.Po --- language_classifier_test-language_features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-language_features.o -MD -MP -MF .deps/language_classifier_test-language_features.Tpo -c -o language_classifier_test-language_features.o `test -f 'language_features.c' || echo './'`language_features.c --- language_classifier_test-language_classifier_io.o --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier_io.h:11, from language_classifier_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ mv -f .deps/language_classifier_test-language_classifier_io.Tpo .deps/language_classifier_test-language_classifier_io.Po --- language_classifier_test-logistic_regression.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-logistic_regression.o -MD -MP -MF .deps/language_classifier_test-logistic_regression.Tpo -c -o language_classifier_test-logistic_regression.o `test -f 'logistic_regression.c' || echo './'`logistic_regression.c --- language_classifier_test-language_features.o --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_features.c:2: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_features.c: In function 'add_ngram_features': language_features.c:55:11: warning: unused variable 'feature_namespace' [-Wunused-variable] char *feature_namespace; ^ language_features.c: In function 'add_script_feature': language_features.c:216:69: warning: unused parameter 'prefix' [-Wunused-parameter] static void add_script_feature(khash_t(str_double) *features, char *prefix, char_array *feature_array, script_t script) { ^ language_features.c: In function 'extract_language_features': language_features.c:275:19: warning: unused variable 'phrase' [-Wunused-variable] char *phrase = NULL; ^ language_features.c:274:21: warning: unused variable 'prev_token' [-Wunused-variable] token_t prev_token; ^ --- language_classifier_test-logistic_regression.o --- In file included from logistic_regression.h:26:0, from logistic_regression.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from collections.h:8:0, from logistic_regression.h:25, from logistic_regression.c:3: logistic_regression.c: In function 'logistic_regression_model_expectation_sparse': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_model_expectation': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_cost_function': logistic_regression.c:63:13: warning: unused variable 'expected_values' [-Wunused-variable] double *expected_values = p_y->values; ^ logistic_regression.c:45:12: warning: unused variable 'n' [-Wunused-variable] size_t n = x->n; ^ logistic_regression.c: In function 'logistic_regression_gradient': logistic_regression.c:105:13: warning: unused variable 'gradient_values' [-Wunused-variable] double *gradient_values = gradient->values; ^ logistic_regression.c:104:13: warning: unused variable 'predicted_values' [-Wunused-variable] double *predicted_values = p_y->values; ^ logistic_regression.c:103:13: warning: unused variable 'theta_values' [-Wunused-variable] double *theta_values = theta->values; ^ logistic_regression.c:95:12: warning: unused variable 'residual' [-Wunused-variable] double residual; ^ logistic_regression.c:93:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i, j; ^ logistic_regression.c:91:12: warning: unused variable 'num_features' [-Wunused-variable] size_t num_features = n; ^ --- language_classifier_test-language_features.o --- mv -f .deps/language_classifier_test-language_features.Tpo .deps/language_classifier_test-language_features.Po --- language_classifier_test-logistic.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-logistic.o -MD -MP -MF .deps/language_classifier_test-logistic.Tpo -c -o language_classifier_test-logistic.o `test -f 'logistic.c' || echo './'`logistic.c In file included from logistic.h:7:0, from logistic.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- language_classifier_test-logistic_regression.o --- mv -f .deps/language_classifier_test-logistic_regression.Tpo .deps/language_classifier_test-logistic_regression.Po --- language_classifier_test-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-sparse_matrix.o -MD -MP -MF .deps/language_classifier_test-sparse_matrix.Tpo -c -o language_classifier_test-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- language_classifier_test-logistic.o --- logistic.c: In function 'softmax_vector': logistic.c:16:12: warning: unused variable 'sum' [-Wunused-variable] double sum = 0.0; ^ --- utf8proc/language_classifier-utf8proc.o --- mv -f utf8proc/.deps/language_classifier-utf8proc.Tpo utf8proc/.deps/language_classifier-utf8proc.Po --- language_classifier_test-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-features.o -MD -MP -MF .deps/language_classifier_test-features.Tpo -c -o language_classifier_test-features.o `test -f 'features.c' || echo './'`features.c --- language_classifier_test-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- language_classifier_test-logistic.o --- mv -f .deps/language_classifier_test-logistic.Tpo .deps/language_classifier_test-logistic.Po --- language_classifier_test-minibatch.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-minibatch.o -MD -MP -MF .deps/language_classifier_test-minibatch.Tpo -c -o language_classifier_test-minibatch.o `test -f 'minibatch.c' || echo './'`minibatch.c In file included from sparse_matrix.h:46:0, from minibatch.h:9, from minibatch.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ minibatch.c: In function 'count_features_minibatch': minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable] size_t m = minibatch->n; ^ minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ minibatch.c: In function 'count_labels_minibatch': minibatch.c:30:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ minibatch.c: In function 'select_features_threshold': minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable] const char *feature; ^ minibatch.c: In function 'select_labels_threshold': minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable] const char *label; ^ minibatch.c: In function 'label_vector': minibatch.c:197:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- language_classifier_test-features.o --- mv -f .deps/language_classifier_test-features.Tpo .deps/language_classifier_test-features.Po --- language_classifier_test-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-float_utils.o -MD -MP -MF .deps/language_classifier_test-float_utils.Tpo -c -o language_classifier_test-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c mv -f .deps/language_classifier_test-float_utils.Tpo .deps/language_classifier_test-float_utils.Po --- language_classifier_test-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-normalize.o -MD -MP -MF .deps/language_classifier_test-normalize.Tpo -c -o language_classifier_test-normalize.o `test -f 'normalize.c' || echo './'`normalize.c --- language_classifier_train-unicode_scripts.o --- mv -f .deps/language_classifier_train-unicode_scripts.Tpo .deps/language_classifier_train-unicode_scripts.Po --- language_classifier_test-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-transliterate.o -MD -MP -MF .deps/language_classifier_test-transliterate.Tpo -c -o language_classifier_test-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c --- language_classifier_test-normalize.o --- normalize.c: In function 'normalize_string_languages': normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- language_classifier_test-transliterate.o --- transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- language_classifier_test-sparse_matrix.o --- mv -f .deps/language_classifier_test-sparse_matrix.Tpo .deps/language_classifier_test-sparse_matrix.Po --- language_classifier_test-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-trie.o -MD -MP -MF .deps/language_classifier_test-trie.Tpo -c -o language_classifier_test-trie.o `test -f 'trie.c' || echo './'`trie.c --- language_classifier_test-normalize.o --- mv -f .deps/language_classifier_test-normalize.Tpo .deps/language_classifier_test-normalize.Po --- language_classifier_test-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-trie_search.o -MD -MP -MF .deps/language_classifier_test-trie_search.Tpo -c -o language_classifier_test-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- language_classifier_test-trie.o --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- language_classifier_test-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ mv -f .deps/language_classifier_test-trie_search.Tpo .deps/language_classifier_test-trie_search.Po --- language_classifier_test-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-trie_utils.o -MD -MP -MF .deps/language_classifier_test-trie_utils.Tpo -c -o language_classifier_test-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c --- language_classifier_test-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- language_classifier_test-trie_utils.o --- In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- language_classifier_test-minibatch.o --- mv -f .deps/language_classifier_test-minibatch.Tpo .deps/language_classifier_test-minibatch.Po --- language_classifier_test-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-address_dictionary.o -MD -MP -MF .deps/language_classifier_test-address_dictionary.Tpo -c -o language_classifier_test-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- language_classifier_test-trie.o --- mv -f .deps/language_classifier_test-trie.Tpo .deps/language_classifier_test-trie.Po --- language_classifier_test-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-string_utils.o -MD -MP -MF .deps/language_classifier_test-string_utils.Tpo -c -o language_classifier_test-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- language_classifier_test-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ --- language_classifier_test-trie_utils.o --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ mv -f .deps/language_classifier_test-trie_utils.Tpo .deps/language_classifier_test-trie_utils.Po --- language_classifier_test-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-file_utils.o -MD -MP -MF .deps/language_classifier_test-file_utils.Tpo -c -o language_classifier_test-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c mv -f .deps/language_classifier_test-file_utils.Tpo .deps/language_classifier_test-file_utils.Po --- utf8proc/language_classifier_test-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/language_classifier_test-utf8proc.o -MD -MP -MF utf8proc/.deps/language_classifier_test-utf8proc.Tpo -c -o utf8proc/language_classifier_test-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- language_classifier_test-address_dictionary.o --- mv -f .deps/language_classifier_test-address_dictionary.Tpo .deps/language_classifier_test-address_dictionary.Po --- language_classifier_test-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-unicode_scripts.o -MD -MP -MF .deps/language_classifier_test-unicode_scripts.Tpo -c -o language_classifier_test-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- language_classifier_test-transliterate.o --- mv -f .deps/language_classifier_test-transliterate.Tpo .deps/language_classifier_test-transliterate.Po --- libpostal_la-libpostal.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-libpostal.lo -MD -MP -MF .deps/libpostal_la-libpostal.Tpo -c -o libpostal_la-libpostal.lo `test -f 'libpostal.c' || echo './'`libpostal.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-libpostal.lo -MD -MP -MF .deps/libpostal_la-libpostal.Tpo -c libpostal.c -fPIC -DPIC -o .libs/libpostal_la-libpostal.o In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from libpostal.c:10: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ libpostal.c: In function 'add_string_alternatives': libpostal.c:323:46: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c:341:38: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c:364:26: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c: In function 'add_affix_expansions': libpostal.c:545:72: warning: unused parameter 'lang' [-Wunused-parameter] static bool add_affix_expansions(string_tree_t *tree, char *str, char *lang, token_t token, phrase_t prefix, phrase_t suffix, libpostal_normalize_options_t options) { ^ libpostal.c: In function 'expand_alternative.isra.12': libpostal.c:599:45: warning: '*((void *)&suffix_expansion+24)' may be used uninitialized in this function [-Wmaybe-uninitialized] add_space = suffix_expansion.separable; ^ libpostal.c:559:25: note: '*((void *)&suffix_expansion+24)' was declared here address_expansion_t suffix_expansion; ^ --- language_classifier_test-string_utils.o --- mv -f .deps/language_classifier_test-string_utils.Tpo .deps/language_classifier_test-string_utils.Po --- libpostal_la-address_dictionary.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_dictionary.lo -MD -MP -MF .deps/libpostal_la-address_dictionary.Tpo -c -o libpostal_la-address_dictionary.lo `test -f 'address_dictionary.c' || echo './'`address_dictionary.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_dictionary.lo -MD -MP -MF .deps/libpostal_la-address_dictionary.Tpo -c address_dictionary.c -fPIC -DPIC -o .libs/libpostal_la-address_dictionary.o In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ mv -f .deps/libpostal_la-address_dictionary.Tpo .deps/libpostal_la-address_dictionary.Plo --- libpostal_la-transliterate.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-transliterate.lo -MD -MP -MF .deps/libpostal_la-transliterate.Tpo -c -o libpostal_la-transliterate.lo `test -f 'transliterate.c' || echo './'`transliterate.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-transliterate.lo -MD -MP -MF .deps/libpostal_la-transliterate.Tpo -c transliterate.c -fPIC -DPIC -o .libs/libpostal_la-transliterate.o transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- utf8proc/language_classifier_test-utf8proc.o --- mv -f utf8proc/.deps/language_classifier_test-utf8proc.Tpo utf8proc/.deps/language_classifier_test-utf8proc.Po --- libpostal_la-tokens.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-tokens.lo -MD -MP -MF .deps/libpostal_la-tokens.Tpo -c -o libpostal_la-tokens.lo `test -f 'tokens.c' || echo './'`tokens.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-tokens.lo -MD -MP -MF .deps/libpostal_la-tokens.Tpo -c tokens.c -fPIC -DPIC -o .libs/libpostal_la-tokens.o --- language_classifier-unicode_scripts.o --- mv -f .deps/language_classifier-unicode_scripts.Tpo .deps/language_classifier-unicode_scripts.Po --- libpostal_la-trie.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie.lo -MD -MP -MF .deps/libpostal_la-trie.Tpo -c -o libpostal_la-trie.lo `test -f 'trie.c' || echo './'`trie.c --- libpostal_la-tokens.lo --- tokens.c: In function 'tokenized_string_new_size': tokens.c:12:66: warning: unused parameter 'num_tokens' [-Wunused-parameter] tokenized_string_t *tokenized_string_new_size(size_t len, size_t num_tokens) { ^ --- libpostal_la-trie.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie.lo -MD -MP -MF .deps/libpostal_la-trie.Tpo -c trie.c -fPIC -DPIC -o .libs/libpostal_la-trie.o --- libpostal_la-tokens.lo --- mv -f .deps/libpostal_la-tokens.Tpo .deps/libpostal_la-tokens.Plo --- libpostal_la-trie_search.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie_search.lo -MD -MP -MF .deps/libpostal_la-trie_search.Tpo -c -o libpostal_la-trie_search.lo `test -f 'trie_search.c' || echo './'`trie_search.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie_search.lo -MD -MP -MF .deps/libpostal_la-trie_search.Tpo -c trie_search.c -fPIC -DPIC -o .libs/libpostal_la-trie_search.o --- libpostal_la-trie.lo --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- libpostal_la-libpostal.lo --- mv -f .deps/libpostal_la-libpostal.Tpo .deps/libpostal_la-libpostal.Plo --- libpostal_la-trie_utils.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie_utils.lo -MD -MP -MF .deps/libpostal_la-trie_utils.Tpo -c -o libpostal_la-trie_utils.lo `test -f 'trie_utils.c' || echo './'`trie_utils.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-trie_utils.lo -MD -MP -MF .deps/libpostal_la-trie_utils.Tpo -c trie_utils.c -fPIC -DPIC -o .libs/libpostal_la-trie_utils.o --- libpostal_la-trie_search.lo --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ --- libpostal_la-trie_utils.lo --- In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- libpostal_la-trie_search.lo --- In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- libpostal_la-trie_utils.lo --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ mv -f .deps/libpostal_la-trie_utils.Tpo .deps/libpostal_la-trie_utils.Plo --- libpostal_la-string_utils.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-string_utils.lo -MD -MP -MF .deps/libpostal_la-string_utils.Tpo -c -o libpostal_la-string_utils.lo `test -f 'string_utils.c' || echo './'`string_utils.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-string_utils.lo -MD -MP -MF .deps/libpostal_la-string_utils.Tpo -c string_utils.c -fPIC -DPIC -o .libs/libpostal_la-string_utils.o --- libpostal_la-trie_search.lo --- mv -f .deps/libpostal_la-trie_search.Tpo .deps/libpostal_la-trie_search.Plo --- libpostal_la-file_utils.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-file_utils.lo -MD -MP -MF .deps/libpostal_la-file_utils.Tpo -c -o libpostal_la-file_utils.lo `test -f 'file_utils.c' || echo './'`file_utils.c --- libpostal_la-string_utils.lo --- string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- libpostal_la-trie.lo --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ --- libpostal_la-file_utils.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-file_utils.lo -MD -MP -MF .deps/libpostal_la-file_utils.Tpo -c file_utils.c -fPIC -DPIC -o .libs/libpostal_la-file_utils.o mv -f .deps/libpostal_la-file_utils.Tpo .deps/libpostal_la-file_utils.Plo --- libpostal_la-numex.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-numex.lo -MD -MP -MF .deps/libpostal_la-numex.Tpo -c -o libpostal_la-numex.lo `test -f 'numex.c' || echo './'`numex.c --- libpostal_la-trie.lo --- mv -f .deps/libpostal_la-trie.Tpo .deps/libpostal_la-trie.Plo --- utf8proc/libpostal_la-utf8proc.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/libpostal_la-utf8proc.lo -MD -MP -MF utf8proc/.deps/libpostal_la-utf8proc.Tpo -c -o utf8proc/libpostal_la-utf8proc.lo `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- libpostal_la-numex.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-numex.lo -MD -MP -MF .deps/libpostal_la-numex.Tpo -c numex.c -fPIC -DPIC -o .libs/libpostal_la-numex.o --- language_classifier_test-unicode_scripts.o --- mv -f .deps/language_classifier_test-unicode_scripts.Tpo .deps/language_classifier_test-unicode_scripts.Po --- cmp/.dirstamp --- --- cmp/.deps/.dirstamp --- --- libpostal_la-normalize.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-normalize.lo -MD -MP -MF .deps/libpostal_la-normalize.Tpo -c -o libpostal_la-normalize.lo `test -f 'normalize.c' || echo './'`normalize.c --- utf8proc/libpostal_la-utf8proc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/libpostal_la-utf8proc.lo -MD -MP -MF utf8proc/.deps/libpostal_la-utf8proc.Tpo -c utf8proc/utf8proc.c -fPIC -DPIC -o utf8proc/.libs/libpostal_la-utf8proc.o --- libpostal_la-normalize.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-normalize.lo -MD -MP -MF .deps/libpostal_la-normalize.Tpo -c normalize.c -fPIC -DPIC -o .libs/libpostal_la-normalize.o --- libpostal_la-numex.lo --- In file included from collections.h:8:0, from numex.h:14, from numex.c:3: numex.c: In function 'numex_table_read': log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ numex.c: In function 'convert_numeric_expressions': numex.c:770:18: warning: unused variable 'rule_index' [-Wunused-variable] uint32_t rule_index = phrase.data; ^ numex.c:688:17: warning: unused variable 'number_str' [-Wunused-variable] char_array *number_str = NULL; ^ numex.c:681:10: warning: unused variable 'advance_state' [-Wunused-variable] bool advance_state = true; ^ numex.c:678:19: warning: unused variable 'ch' [-Wunused-variable] unsigned char ch = '\0'; ^ numex.c: In function 'get_ordinal_suffix': numex.c:924:10: warning: unused variable 'whole_tokens_only' [-Wunused-variable] bool whole_tokens_only = language->whole_tokens_only; ^ --- libpostal_la-normalize.lo --- normalize.c: In function 'normalize_string_languages': normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ mv -f .deps/libpostal_la-normalize.Tpo .deps/libpostal_la-normalize.Plo --- libpostal_la-features.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-features.lo -MD -MP -MF .deps/libpostal_la-features.Tpo -c -o libpostal_la-features.lo `test -f 'features.c' || echo './'`features.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-features.lo -MD -MP -MF .deps/libpostal_la-features.Tpo -c features.c -fPIC -DPIC -o .libs/libpostal_la-features.o --- libpostal_la-transliterate.lo --- mv -f .deps/libpostal_la-transliterate.Tpo .deps/libpostal_la-transliterate.Plo --- libpostal_la-unicode_scripts.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-unicode_scripts.lo -MD -MP -MF .deps/libpostal_la-unicode_scripts.Tpo -c -o libpostal_la-unicode_scripts.lo `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-unicode_scripts.lo -MD -MP -MF .deps/libpostal_la-unicode_scripts.Tpo -c unicode_scripts.c -fPIC -DPIC -o .libs/libpostal_la-unicode_scripts.o --- libpostal_la-numex.lo --- numex.c: In function 'convert_numeric_expressions': numex.c:869:17: warning: 'stopword_phrase.start' may be used uninitialized in this function [-Wmaybe-uninitialized] idx = stopword_phrase.start; ^ --- libpostal_la-features.lo --- mv -f .deps/libpostal_la-features.Tpo .deps/libpostal_la-features.Plo --- libpostal_la-numex.lo --- mv -f .deps/libpostal_la-numex.Tpo .deps/libpostal_la-numex.Plo --- libpostal_la-address_parser.lo --- --- libpostal_la-address_parser_io.lo --- --- libpostal_la-address_parser.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_parser.lo -MD -MP -MF .deps/libpostal_la-address_parser.Tpo -c -o libpostal_la-address_parser.lo `test -f 'address_parser.c' || echo './'`address_parser.c --- libpostal_la-address_parser_io.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_parser_io.lo -MD -MP -MF .deps/libpostal_la-address_parser_io.Tpo -c -o libpostal_la-address_parser_io.lo `test -f 'address_parser_io.c' || echo './'`address_parser_io.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_parser_io.lo -MD -MP -MF .deps/libpostal_la-address_parser_io.Tpo -c address_parser_io.c -fPIC -DPIC -o .libs/libpostal_la-address_parser_io.o --- libpostal_la-address_parser.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-address_parser.lo -MD -MP -MF .deps/libpostal_la-address_parser.Tpo -c address_parser.c -fPIC -DPIC -o .libs/libpostal_la-address_parser.o In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ address_parser.c: In function 'word_vocab_frequency': address_parser.c:342:10: warning: unused variable 'has_key' [-Wunused-variable] bool has_key = trie_get_data(parser->vocab, word, &count); ^ In file included from address_parser.c:1:0: address_parser.c: In function 'address_parser_normalize_phrase_token': address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.c:351:40: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' normalize_token(array, str, token, ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS); ^ address_parser.c: In function 'address_parser_context_fill': address_parser.c:809:10: warning: unused variable 'have_postal_code_phrases' [-Wunused-variable] bool have_postal_code_phrases = trie_search_tokens_with_phrases(parser->postal_codes, normalized_str_admin, normalized_admin_tokens, &postal_code_phrases); ^ address_parser.c:791:10: warning: unused variable 'have_component_phrases' [-Wunused-variable] bool have_component_phrases = trie_search_tokens_with_phrases(parser->phrases, normalized_str_admin, normalized_admin_tokens, &component_phrases); ^ address_parser.c:755:10: warning: unused variable 'have_address_phrases' [-Wunused-variable] bool have_address_phrases = search_address_dictionaries_tokens_with_phrases(normalized_str, normalized_tokens, NULL, &address_dictionary_phrases); ^ address_parser.c:683:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c:682:11: warning: variable 'word' set but not used [-Wunused-but-set-variable] char *word; ^ address_parser.c: In function 'phrase_prefix': address_parser.c:828:40: warning: unused parameter 'len' [-Wunused-parameter] char *phrase_prefix(char *word, size_t len, phrase_t prefix_phrase, char_array *prefix_phrase_array) { ^ address_parser.c: In function 'word_or_phrase_at_index': address_parser.c:918:13: warning: unused variable 'token' [-Wunused-variable] token_t token = tokenized->tokens->a[i]; ^ address_parser.c:876:74: warning: unused parameter 'parser' [-Wunused-parameter] static address_parser_phrase_t word_or_phrase_at_index(address_parser_t *parser, tokenized_string_t *tokenized, address_parser_context_t *context, uint32_t i, bool long_context) { ^ address_parser.c: In function 'phrase_index': address_parser.c:966:13: warning: unused variable 'membership' [-Wunused-variable] int64_t membership; ^ address_parser.c: In function 'next_numeric_token_index': address_parser.c:994:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c: In function 'add_ngram_features': address_parser.c:1039:14: warning: variable 'idx' set but not used [-Wunused-but-set-variable] uint32_t idx; ^ address_parser.c: In function 'address_parser_features': address_parser.c:1278:18: warning: unused variable 'k' [-Wunused-variable] khiter_t k; ^ address_parser.c:1276:18: warning: unused variable 'postal_code_context' [-Wunused-variable] uint64_t postal_code_context; ^ address_parser.c:1377:18: warning: variable 'ngrams_added' set but not used [-Wunused-but-set-variable] bool ngrams_added = false; ^ --- libpostal_la-address_parser_io.lo --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- libpostal_la-address_parser.lo --- address_parser.c:1568:22: warning: unused variable 'right_context_street' [-Wunused-variable] bool right_context_street = false; ^ address_parser.c:1567:22: warning: unused variable 'right_context_name' [-Wunused-variable] bool right_context_name = false; ^ address_parser.c:1561:26: warning: unused variable 'suffix_phrase' [-Wunused-variable] phrase_t suffix_phrase = context->suffix_phrases->a[right_idx]; ^ address_parser.c:1503:16: warning: variable 'next_word_len' set but not used [-Wunused-but-set-variable] size_t next_word_len = 1; ^ address_parser.c:1322:10: warning: variable 'known_suffix' set but not used [-Wunused-but-set-variable] bool known_suffix = false; ^ address_parser.c:1321:10: warning: variable 'known_prefix' set but not used [-Wunused-but-set-variable] bool known_prefix = false; ^ address_parser.c:1319:10: warning: variable 'is_unknown' set but not used [-Wunused-but-set-variable] bool is_unknown = false; ^ address_parser.c:1102:19: warning: unused variable 'separators' [-Wunused-variable] uint32_array *separators = context->separators; ^ address_parser.c:1092:11: warning: unused variable 'country' [-Wunused-variable] char *country = context->country; ^ address_parser.c:1091:11: warning: unused variable 'language' [-Wunused-variable] char *language = context->language; ^ --- libpostal_la-address_parser_io.lo --- In file included from file_utils.h:12:0, from sparse_matrix.h:45, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: address_parser_io.c: In function 'address_parser_data_set_tokenize_line': address_parser_io.c:105:16: warning: unused variable 'pair_len' [-Wunused-variable] size_t pair_len = strlen(str); ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser_io.c:99:12: warning: unused variable 'num_pairs' [-Wunused-variable] size_t num_pairs = cstring_array_num_strings(pairs); ^ address_parser_io.c: In function 'address_parser_data_set_next': address_parser_io.c:246:12: warning: unused variable 'len' [-Wunused-variable] size_t len = strlen(normalized); ^ mv -f .deps/libpostal_la-address_parser_io.Tpo .deps/libpostal_la-address_parser_io.Plo --- libpostal_la-averaged_perceptron.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-averaged_perceptron.lo -MD -MP -MF .deps/libpostal_la-averaged_perceptron.Tpo -c -o libpostal_la-averaged_perceptron.lo `test -f 'averaged_perceptron.c' || echo './'`averaged_perceptron.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-averaged_perceptron.lo -MD -MP -MF .deps/libpostal_la-averaged_perceptron.Tpo -c averaged_perceptron.c -fPIC -DPIC -o .libs/libpostal_la-averaged_perceptron.o In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores': averaged_perceptron.c:16:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores_counts': averaged_perceptron.c:45:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i = 0; ^ --- libpostal_la-string_utils.lo --- mv -f .deps/libpostal_la-string_utils.Tpo .deps/libpostal_la-string_utils.Plo --- libpostal_la-crf.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-crf.lo -MD -MP -MF .deps/libpostal_la-crf.Tpo -c -o libpostal_la-crf.lo `test -f 'crf.c' || echo './'`crf.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-crf.lo -MD -MP -MF .deps/libpostal_la-crf.Tpo -c crf.c -fPIC -DPIC -o .libs/libpostal_la-crf.o In file included from crf_context.h:20:0, from crf.h:20, from crf.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- libpostal_la-averaged_perceptron.lo --- mv -f .deps/libpostal_la-averaged_perceptron.Tpo .deps/libpostal_la-averaged_perceptron.Plo --- libpostal_la-crf_context.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-crf_context.lo -MD -MP -MF .deps/libpostal_la-crf_context.Tpo -c -o libpostal_la-crf_context.lo `test -f 'crf_context.c' || echo './'`crf_context.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-crf_context.lo -MD -MP -MF .deps/libpostal_la-crf_context.Tpo -c crf_context.c -fPIC -DPIC -o .libs/libpostal_la-crf_context.o --- libpostal_la-crf.lo --- mv -f .deps/libpostal_la-crf.Tpo .deps/libpostal_la-crf.Plo --- libpostal_la-sparse_matrix.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-sparse_matrix.lo -MD -MP -MF .deps/libpostal_la-sparse_matrix.Tpo -c -o libpostal_la-sparse_matrix.lo `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- libpostal_la-crf_context.lo --- In file included from crf_context.h:20:0, from crf_context.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_context.c: In function 'crf_context_reset': crf_context.c:238:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = context->num_labels; ^ crf_context.c:237:18: warning: unused variable 'T' [-Wunused-variable] const size_t T = context->num_items; ^ crf_context.c: In function 'crf_context_alpha_score': crf_context.c:366:23: warning: implicit declaration of function 'double_equals' [-Wimplicit-function-declaration] double scale_t = !double_equals(sum, 0.) ? 1. / sum : 1.; ^ crf_context.c: In function 'crf_context_score': crf_context.c:539:19: warning: unused variable 'cur' [-Wunused-variable] const double *cur = NULL; ^ crf_context.c:537:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = self->num_labels; ^ crf_context.c: At top level: crf_context.c:295:12: warning: 'double_matrix_get_row' is static but used in inline function 'exp_state_trans_score_all' which is not static return double_matrix_get_row(self->exp_state_trans, t); ^ --- libpostal_la-sparse_matrix.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-sparse_matrix.lo -MD -MP -MF .deps/libpostal_la-sparse_matrix.Tpo -c sparse_matrix.c -fPIC -DPIC -o .libs/libpostal_la-sparse_matrix.o --- utf8proc/libpostal_la-utf8proc.lo --- mv -f utf8proc/.deps/libpostal_la-utf8proc.Tpo utf8proc/.deps/libpostal_la-utf8proc.Plo --- libpostal_la-averaged_perceptron_tagger.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-averaged_perceptron_tagger.lo -MD -MP -MF .deps/libpostal_la-averaged_perceptron_tagger.Tpo -c -o libpostal_la-averaged_perceptron_tagger.lo `test -f 'averaged_perceptron_tagger.c' || echo './'`averaged_perceptron_tagger.c --- libpostal_la-address_parser.lo --- mv -f .deps/libpostal_la-address_parser.Tpo .deps/libpostal_la-address_parser.Plo --- libpostal_la-graph.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-graph.lo -MD -MP -MF .deps/libpostal_la-graph.Tpo -c -o libpostal_la-graph.lo `test -f 'graph.c' || echo './'`graph.c --- libpostal_la-sparse_matrix.lo --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- libpostal_la-graph.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-graph.lo -MD -MP -MF .deps/libpostal_la-graph.Tpo -c graph.c -fPIC -DPIC -o .libs/libpostal_la-graph.o --- libpostal_la-averaged_perceptron_tagger.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-averaged_perceptron_tagger.lo -MD -MP -MF .deps/libpostal_la-averaged_perceptron_tagger.Tpo -c averaged_perceptron_tagger.c -fPIC -DPIC -o .libs/libpostal_la-averaged_perceptron_tagger.o In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_tagger.h:20, from averaged_perceptron_tagger.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ mv -f .deps/libpostal_la-averaged_perceptron_tagger.Tpo .deps/libpostal_la-averaged_perceptron_tagger.Plo --- libpostal_la-graph_builder.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-graph_builder.lo -MD -MP -MF .deps/libpostal_la-graph_builder.Tpo -c -o libpostal_la-graph_builder.lo `test -f 'graph_builder.c' || echo './'`graph_builder.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-graph_builder.lo -MD -MP -MF .deps/libpostal_la-graph_builder.Tpo -c graph_builder.c -fPIC -DPIC -o .libs/libpostal_la-graph_builder.o --- libpostal_la-sparse_matrix.lo --- mv -f .deps/libpostal_la-sparse_matrix.Tpo .deps/libpostal_la-sparse_matrix.Plo --- libpostal_la-language_classifier.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-language_classifier.lo -MD -MP -MF .deps/libpostal_la-language_classifier.Tpo -c -o libpostal_la-language_classifier.lo `test -f 'language_classifier.c' || echo './'`language_classifier.c libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-language_classifier.lo -MD -MP -MF .deps/libpostal_la-language_classifier.Tpo -c language_classifier.c -fPIC -DPIC -o .libs/libpostal_la-language_classifier.o --- libpostal_la-graph.lo --- mv -f .deps/libpostal_la-graph.Tpo .deps/libpostal_la-graph.Plo --- libpostal_la-language_features.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-language_features.lo -MD -MP -MF .deps/libpostal_la-language_features.Tpo -c -o libpostal_la-language_features.lo `test -f 'language_features.c' || echo './'`language_features.c --- libpostal_la-language_classifier.lo --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- libpostal_la-language_features.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-language_features.lo -MD -MP -MF .deps/libpostal_la-language_features.Tpo -c language_features.c -fPIC -DPIC -o .libs/libpostal_la-language_features.o --- libpostal_la-graph_builder.lo --- mv -f .deps/libpostal_la-graph_builder.Tpo .deps/libpostal_la-graph_builder.Plo --- libpostal_la-logistic_regression.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-logistic_regression.lo -MD -MP -MF .deps/libpostal_la-logistic_regression.Tpo -c -o libpostal_la-logistic_regression.lo `test -f 'logistic_regression.c' || echo './'`logistic_regression.c --- libpostal_la-language_features.lo --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_features.c:2: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_features.c: In function 'add_ngram_features': language_features.c:55:11: warning: unused variable 'feature_namespace' [-Wunused-variable] char *feature_namespace; ^ language_features.c: In function 'add_script_feature': language_features.c:216:69: warning: unused parameter 'prefix' [-Wunused-parameter] static void add_script_feature(khash_t(str_double) *features, char *prefix, char_array *feature_array, script_t script) { ^ language_features.c: In function 'extract_language_features': language_features.c:275:19: warning: unused variable 'phrase' [-Wunused-variable] char *phrase = NULL; ^ language_features.c:274:21: warning: unused variable 'prev_token' [-Wunused-variable] token_t prev_token; ^ --- libpostal_la-logistic_regression.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-logistic_regression.lo -MD -MP -MF .deps/libpostal_la-logistic_regression.Tpo -c logistic_regression.c -fPIC -DPIC -o .libs/libpostal_la-logistic_regression.o --- libpostal_la-language_features.lo --- mv -f .deps/libpostal_la-language_features.Tpo .deps/libpostal_la-language_features.Plo --- libpostal_la-logistic.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-logistic.lo -MD -MP -MF .deps/libpostal_la-logistic.Tpo -c -o libpostal_la-logistic.lo `test -f 'logistic.c' || echo './'`logistic.c --- libpostal_la-logistic_regression.lo --- In file included from logistic_regression.h:26:0, from logistic_regression.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from collections.h:8:0, from logistic_regression.h:25, from logistic_regression.c:3: logistic_regression.c: In function 'logistic_regression_model_expectation_sparse': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_model_expectation': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_cost_function': logistic_regression.c:63:13: warning: unused variable 'expected_values' [-Wunused-variable] double *expected_values = p_y->values; ^ logistic_regression.c:45:12: warning: unused variable 'n' [-Wunused-variable] size_t n = x->n; ^ logistic_regression.c: In function 'logistic_regression_gradient': logistic_regression.c:105:13: warning: unused variable 'gradient_values' [-Wunused-variable] double *gradient_values = gradient->values; ^ logistic_regression.c:104:13: warning: unused variable 'predicted_values' [-Wunused-variable] double *predicted_values = p_y->values; ^ logistic_regression.c:103:13: warning: unused variable 'theta_values' [-Wunused-variable] double *theta_values = theta->values; ^ logistic_regression.c:95:12: warning: unused variable 'residual' [-Wunused-variable] double residual; ^ logistic_regression.c:93:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i, j; ^ logistic_regression.c:91:12: warning: unused variable 'num_features' [-Wunused-variable] size_t num_features = n; ^ --- libpostal_la-logistic.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-logistic.lo -MD -MP -MF .deps/libpostal_la-logistic.Tpo -c logistic.c -fPIC -DPIC -o .libs/libpostal_la-logistic.o --- libpostal_la-logistic_regression.lo --- mv -f .deps/libpostal_la-logistic_regression.Tpo .deps/libpostal_la-logistic_regression.Plo --- libpostal_la-minibatch.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-minibatch.lo -MD -MP -MF .deps/libpostal_la-minibatch.Tpo -c -o libpostal_la-minibatch.lo `test -f 'minibatch.c' || echo './'`minibatch.c --- libpostal_la-logistic.lo --- In file included from logistic.h:7:0, from logistic.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ logistic.c: In function 'softmax_vector': logistic.c:16:12: warning: unused variable 'sum' [-Wunused-variable] double sum = 0.0; ^ --- libpostal_la-language_classifier.lo --- mv -f .deps/libpostal_la-language_classifier.Tpo .deps/libpostal_la-language_classifier.Plo --- libpostal_la-float_utils.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-float_utils.lo -MD -MP -MF .deps/libpostal_la-float_utils.Tpo -c -o libpostal_la-float_utils.lo `test -f 'float_utils.c' || echo './'`float_utils.c --- libpostal_la-minibatch.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-minibatch.lo -MD -MP -MF .deps/libpostal_la-minibatch.Tpo -c minibatch.c -fPIC -DPIC -o .libs/libpostal_la-minibatch.o --- libpostal_la-logistic.lo --- mv -f .deps/libpostal_la-logistic.Tpo .deps/libpostal_la-logistic.Plo --- libpostal_la-ngrams.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-ngrams.lo -MD -MP -MF .deps/libpostal_la-ngrams.Tpo -c -o libpostal_la-ngrams.lo `test -f 'ngrams.c' || echo './'`ngrams.c --- libpostal_la-float_utils.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-float_utils.lo -MD -MP -MF .deps/libpostal_la-float_utils.Tpo -c float_utils.c -fPIC -DPIC -o .libs/libpostal_la-float_utils.o --- libpostal_la-minibatch.lo --- In file included from sparse_matrix.h:46:0, from minibatch.h:9, from minibatch.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- libpostal_la-float_utils.lo --- mv -f .deps/libpostal_la-float_utils.Tpo .deps/libpostal_la-float_utils.Plo --- libpostal_la-ngrams.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal_la-ngrams.lo -MD -MP -MF .deps/libpostal_la-ngrams.Tpo -c ngrams.c -fPIC -DPIC -o .libs/libpostal_la-ngrams.o --- libpostal-main.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal-main.o -MD -MP -MF .deps/libpostal-main.Tpo -c -o libpostal-main.o `test -f 'main.c' || echo './'`main.c --- libpostal_la-minibatch.lo --- minibatch.c: In function 'count_features_minibatch': minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable] size_t m = minibatch->n; ^ minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ minibatch.c: In function 'count_labels_minibatch': minibatch.c:30:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ minibatch.c: In function 'select_features_threshold': minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable] const char *feature; ^ minibatch.c: In function 'select_labels_threshold': minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable] const char *label; ^ minibatch.c: In function 'label_vector': minibatch.c:197:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- libpostal_la-ngrams.lo --- ngrams.c: In function 'add_ngrams': ngrams.c:37:22: warning: unused variable 'token_index' [-Wunused-variable] uint32_t token_index = cstring_array_start_token(grams); ^ --- libpostal-main.o --- main.c: In function 'main': main.c:48:11: warning: unused variable 'language' [-Wunused-variable] char *language = NULL; ^ --- libpostal_la-ngrams.lo --- mv -f .deps/libpostal_la-ngrams.Tpo .deps/libpostal_la-ngrams.Plo --- libpostal-json_encode.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT libpostal-json_encode.o -MD -MP -MF .deps/libpostal-json_encode.Tpo -c -o libpostal-json_encode.o `test -f 'json_encode.c' || echo './'`json_encode.c --- libpostal-main.o --- mv -f .deps/libpostal-main.Tpo .deps/libpostal-main.Po --- bench-bench.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT bench-bench.o -MD -MP -MF .deps/bench-bench.Tpo -c -o bench-bench.o `test -f 'bench.c' || echo './'`bench.c bench.c: In function 'main': bench.c:49:11: warning: unused variable 'normalized' [-Wunused-variable] char *normalized; ^ --- libpostal-json_encode.o --- mv -f .deps/libpostal-json_encode.Tpo .deps/libpostal-json_encode.Po --- address_parser-address_parser_cli.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-address_parser_cli.o -MD -MP -MF .deps/address_parser-address_parser_cli.Tpo -c -o address_parser-address_parser_cli.o `test -f 'address_parser_cli.c' || echo './'`address_parser_cli.c --- bench-bench.o --- mv -f .deps/bench-bench.Tpo .deps/bench-bench.Po --- address_parser-libpostal.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-libpostal.o -MD -MP -MF .deps/address_parser-libpostal.Tpo -c -o address_parser-libpostal.o `test -f 'libpostal.c' || echo './'`libpostal.c --- address_parser-address_parser_cli.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_cli.c:4: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser-libpostal.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from libpostal.c:10: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ libpostal.c: In function 'add_string_alternatives': libpostal.c:323:46: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c:341:38: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c:364:26: warning: unused variable 'start_index' [-Wunused-variable] uint32_t start_index = cstring_array_start_token(tree->strings); ^ libpostal.c: In function 'add_affix_expansions': libpostal.c:545:72: warning: unused parameter 'lang' [-Wunused-parameter] static bool add_affix_expansions(string_tree_t *tree, char *str, char *lang, token_t token, phrase_t prefix, phrase_t suffix, libpostal_normalize_options_t options) { ^ --- address_parser-address_parser_cli.o --- mv -f .deps/address_parser-address_parser_cli.Tpo .deps/address_parser-address_parser_cli.Po --- address_parser-address_parser.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-address_parser.o -MD -MP -MF .deps/address_parser-address_parser.Tpo -c -o address_parser-address_parser.o `test -f 'address_parser.c' || echo './'`address_parser.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ address_parser.c: In function 'word_vocab_frequency': address_parser.c:342:10: warning: unused variable 'has_key' [-Wunused-variable] bool has_key = trie_get_data(parser->vocab, word, &count); ^ In file included from address_parser.c:1:0: address_parser.c: In function 'address_parser_normalize_phrase_token': address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.c:351:40: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' normalize_token(array, str, token, ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS); ^ address_parser.c: In function 'address_parser_context_fill': address_parser.c:809:10: warning: unused variable 'have_postal_code_phrases' [-Wunused-variable] bool have_postal_code_phrases = trie_search_tokens_with_phrases(parser->postal_codes, normalized_str_admin, normalized_admin_tokens, &postal_code_phrases); ^ address_parser.c:791:10: warning: unused variable 'have_component_phrases' [-Wunused-variable] bool have_component_phrases = trie_search_tokens_with_phrases(parser->phrases, normalized_str_admin, normalized_admin_tokens, &component_phrases); ^ address_parser.c:755:10: warning: unused variable 'have_address_phrases' [-Wunused-variable] bool have_address_phrases = search_address_dictionaries_tokens_with_phrases(normalized_str, normalized_tokens, NULL, &address_dictionary_phrases); ^ address_parser.c:683:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c:682:11: warning: variable 'word' set but not used [-Wunused-but-set-variable] char *word; ^ address_parser.c: In function 'phrase_prefix': address_parser.c:828:40: warning: unused parameter 'len' [-Wunused-parameter] char *phrase_prefix(char *word, size_t len, phrase_t prefix_phrase, char_array *prefix_phrase_array) { ^ address_parser.c: In function 'word_or_phrase_at_index': address_parser.c:918:13: warning: unused variable 'token' [-Wunused-variable] token_t token = tokenized->tokens->a[i]; ^ address_parser.c:876:74: warning: unused parameter 'parser' [-Wunused-parameter] static address_parser_phrase_t word_or_phrase_at_index(address_parser_t *parser, tokenized_string_t *tokenized, address_parser_context_t *context, uint32_t i, bool long_context) { ^ address_parser.c: In function 'phrase_index': address_parser.c:966:13: warning: unused variable 'membership' [-Wunused-variable] int64_t membership; ^ address_parser.c: In function 'next_numeric_token_index': address_parser.c:994:14: warning: unused variable 'phrase' [-Wunused-variable] phrase_t phrase; ^ address_parser.c: In function 'add_ngram_features': address_parser.c:1039:14: warning: variable 'idx' set but not used [-Wunused-but-set-variable] uint32_t idx; ^ address_parser.c: In function 'address_parser_features': address_parser.c:1278:18: warning: unused variable 'k' [-Wunused-variable] khiter_t k; ^ address_parser.c:1276:18: warning: unused variable 'postal_code_context' [-Wunused-variable] uint64_t postal_code_context; ^ address_parser.c:1377:18: warning: variable 'ngrams_added' set but not used [-Wunused-but-set-variable] bool ngrams_added = false; ^ address_parser.c:1568:22: warning: unused variable 'right_context_street' [-Wunused-variable] bool right_context_street = false; ^ address_parser.c:1567:22: warning: unused variable 'right_context_name' [-Wunused-variable] bool right_context_name = false; ^ address_parser.c:1561:26: warning: unused variable 'suffix_phrase' [-Wunused-variable] phrase_t suffix_phrase = context->suffix_phrases->a[right_idx]; ^ address_parser.c:1503:16: warning: variable 'next_word_len' set but not used [-Wunused-but-set-variable] size_t next_word_len = 1; ^ address_parser.c:1322:10: warning: variable 'known_suffix' set but not used [-Wunused-but-set-variable] bool known_suffix = false; ^ address_parser.c:1321:10: warning: variable 'known_prefix' set but not used [-Wunused-but-set-variable] bool known_prefix = false; ^ address_parser.c:1319:10: warning: variable 'is_unknown' set but not used [-Wunused-but-set-variable] bool is_unknown = false; ^ address_parser.c:1102:19: warning: unused variable 'separators' [-Wunused-variable] uint32_array *separators = context->separators; ^ address_parser.c:1092:11: warning: unused variable 'country' [-Wunused-variable] char *country = context->country; ^ address_parser.c:1091:11: warning: unused variable 'language' [-Wunused-variable] char *language = context->language; ^ --- libpostal_la-crf_context.lo --- mv -f .deps/libpostal_la-crf_context.Tpo .deps/libpostal_la-crf_context.Plo --- address_parser-address_parser_io.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-address_parser_io.o -MD -MP -MF .deps/address_parser-address_parser_io.Tpo -c -o address_parser-address_parser_io.o `test -f 'address_parser_io.c' || echo './'`address_parser_io.c --- address_parser-libpostal.o --- libpostal.c: In function 'expand_alternative.isra.12': libpostal.c:599:45: warning: '*((void *)&suffix_expansion+24)' may be used uninitialized in this function [-Wmaybe-uninitialized] add_space = suffix_expansion.separable; ^ libpostal.c:559:25: note: '*((void *)&suffix_expansion+24)' was declared here address_expansion_t suffix_expansion; ^ --- address_parser-address_parser_io.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from file_utils.h:12:0, from sparse_matrix.h:45, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_io.h:8, from address_parser_io.c:1: address_parser_io.c: In function 'address_parser_data_set_tokenize_line': address_parser_io.c:105:16: warning: unused variable 'pair_len' [-Wunused-variable] size_t pair_len = strlen(str); ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser_io.c:99:12: warning: unused variable 'num_pairs' [-Wunused-variable] size_t num_pairs = cstring_array_num_strings(pairs); ^ address_parser_io.c: In function 'address_parser_data_set_next': address_parser_io.c:246:12: warning: unused variable 'len' [-Wunused-variable] size_t len = strlen(normalized); ^ --- address_parser-address_parser.o --- mv -f .deps/address_parser-address_parser.Tpo .deps/address_parser-address_parser.Po --- address_parser-averaged_perceptron.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-averaged_perceptron.o -MD -MP -MF .deps/address_parser-averaged_perceptron.Tpo -c -o address_parser-averaged_perceptron.o `test -f 'averaged_perceptron.c' || echo './'`averaged_perceptron.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores': averaged_perceptron.c:16:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron.c: In function 'averaged_perceptron_predict_scores_counts': averaged_perceptron.c:45:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i = 0; ^ --- address_parser-address_parser_io.o --- mv -f .deps/address_parser-address_parser_io.Tpo .deps/address_parser-address_parser_io.Po --- address_parser-crf.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-crf.o -MD -MP -MF .deps/address_parser-crf.Tpo -c -o address_parser-crf.o `test -f 'crf.c' || echo './'`crf.c --- address_parser-averaged_perceptron.o --- mv -f .deps/address_parser-averaged_perceptron.Tpo .deps/address_parser-averaged_perceptron.Po --- address_parser-crf_context.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-crf_context.o -MD -MP -MF .deps/address_parser-crf_context.Tpo -c -o address_parser-crf_context.o `test -f 'crf_context.c' || echo './'`crf_context.c In file included from crf_context.h:20:0, from crf_context.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_context.c: In function 'crf_context_reset': crf_context.c:238:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = context->num_labels; ^ crf_context.c:237:18: warning: unused variable 'T' [-Wunused-variable] const size_t T = context->num_items; ^ crf_context.c: In function 'crf_context_alpha_score': crf_context.c:366:23: warning: implicit declaration of function 'double_equals' [-Wimplicit-function-declaration] double scale_t = !double_equals(sum, 0.) ? 1. / sum : 1.; ^ crf_context.c: In function 'crf_context_score': crf_context.c:539:19: warning: unused variable 'cur' [-Wunused-variable] const double *cur = NULL; ^ crf_context.c:537:18: warning: unused variable 'L' [-Wunused-variable] const size_t L = self->num_labels; ^ crf_context.c: At top level: crf_context.c:295:12: warning: 'double_matrix_get_row' is static but used in inline function 'exp_state_trans_score_all' which is not static return double_matrix_get_row(self->exp_state_trans, t); ^ --- address_parser-crf.o --- In file included from crf_context.h:20:0, from crf.h:20, from crf.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ mv -f .deps/address_parser-crf.Tpo .deps/address_parser-crf.Po --- address_parser-sparse_matrix.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-sparse_matrix.o -MD -MP -MF .deps/address_parser-sparse_matrix.Tpo -c -o address_parser-sparse_matrix.o `test -f 'sparse_matrix.c' || echo './'`sparse_matrix.c --- address_parser-crf_context.o --- mv -f .deps/address_parser-crf_context.Tpo .deps/address_parser-crf_context.Po --- address_parser-graph.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-graph.o -MD -MP -MF .deps/address_parser-graph.Tpo -c -o address_parser-graph.o `test -f 'graph.c' || echo './'`graph.c --- address_parser-sparse_matrix.o --- In file included from sparse_matrix.h:46:0, from sparse_matrix.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix.c: In function 'sparse_matrix_sort_indices': sparse_matrix.c:95:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len, i; ^ sparse_matrix.c: In function 'sparse_matrix_dot_vector': sparse_matrix.c:119:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_sum_cols': sparse_matrix.c:159:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c: In function 'sparse_matrix_rows_sum_cols': sparse_matrix.c:178:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_sum_all_rows': sparse_matrix.c:201:12: warning: unused variable 'val' [-Wunused-variable] double val; ^ sparse_matrix.c:200:14: warning: variable 'row' set but not used [-Wunused-but-set-variable] uint32_t row, row_start, row_len; ^ sparse_matrix.c: In function 'sparse_matrix_sum_rows': sparse_matrix.c:217:15: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = self->indices->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_dense': sparse_matrix.c:246:12: warning: unused variable 'm2_rows' [-Wunused-variable] size_t m2_rows = matrix->m; ^ sparse_matrix.c:244:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:243:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:239:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ sparse_matrix.c: In function 'sparse_matrix_dot_sparse': sparse_matrix.c:280:12: warning: unused variable 'm1_cols' [-Wunused-variable] size_t m1_cols = self->n; ^ sparse_matrix.c:279:12: warning: unused variable 'm1_rows' [-Wunused-variable] size_t m1_rows = self->m; ^ sparse_matrix.c:275:15: warning: unused variable 'indptr' [-Wunused-variable] uint32_t *indptr = self->indptr->a; ^ --- address_parser-graph.o --- mv -f .deps/address_parser-graph.Tpo .deps/address_parser-graph.Po --- address_parser-graph_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-graph_builder.o -MD -MP -MF .deps/address_parser-graph_builder.Tpo -c -o address_parser-graph_builder.o `test -f 'graph_builder.c' || echo './'`graph_builder.c --- libpostal_la-minibatch.lo --- mv -f .deps/libpostal_la-minibatch.Tpo .deps/libpostal_la-minibatch.Plo --- address_parser-float_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-float_utils.o -MD -MP -MF .deps/address_parser-float_utils.Tpo -c -o address_parser-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c --- address_parser-sparse_matrix.o --- mv -f .deps/address_parser-sparse_matrix.Tpo .deps/address_parser-sparse_matrix.Po --- address_parser-averaged_perceptron_tagger.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-averaged_perceptron_tagger.o -MD -MP -MF .deps/address_parser-averaged_perceptron_tagger.Tpo -c -o address_parser-averaged_perceptron_tagger.o `test -f 'averaged_perceptron_tagger.c' || echo './'`averaged_perceptron_tagger.c --- address_parser-float_utils.o --- mv -f .deps/address_parser-float_utils.Tpo .deps/address_parser-float_utils.Po --- address_parser-address_dictionary.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-address_dictionary.o -MD -MP -MF .deps/address_parser-address_dictionary.Tpo -c -o address_parser-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c --- address_parser-averaged_perceptron_tagger.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_tagger.h:20, from averaged_perceptron_tagger.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser-address_dictionary.o --- In file included from collections.h:8:0, from address_dictionary.h:16, from address_dictionary.c:4: address_dictionary.c: In function 'address_dictionary_get_expansions': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ address_dictionary.c:18:9: note: in expansion of macro 'log_error' log_error("i=%zu, address_dict->values->n=%zu\n", i, address_dict->values->n); ^ address_dictionary.c: In function 'address_dictionary_add_expansion': address_dictionary.c:114:10: warning: variable 'is_phrase' set but not used [-Wunused-but-set-variable] bool is_phrase = false; ^ --- address_parser-averaged_perceptron_tagger.o --- mv -f .deps/address_parser-averaged_perceptron_tagger.Tpo .deps/address_parser-averaged_perceptron_tagger.Po --- address_parser-normalize.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-normalize.o -MD -MP -MF .deps/address_parser-normalize.Tpo -c -o address_parser-normalize.o `test -f 'normalize.c' || echo './'`normalize.c normalize.c: In function 'normalize_string_languages': normalize.c:220:22: warning: unused variable 'key' [-Wunused-variable] khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret); ^ normalize.c: In function 'numeric_starts_with_alpha': normalize.c:325:14: warning: unused variable 'is_hyphen' [-Wunused-variable] bool is_hyphen = utf8_is_hyphen(ch); ^ normalize.c:318:10: warning: unused variable 'append_char' [-Wunused-variable] bool append_char = true; ^ --- address_parser-libpostal.o --- mv -f .deps/address_parser-libpostal.Tpo .deps/address_parser-libpostal.Po --- address_parser-features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-features.o -MD -MP -MF .deps/address_parser-features.Tpo -c -o address_parser-features.o `test -f 'features.c' || echo './'`features.c --- address_parser-address_dictionary.o --- mv -f .deps/address_parser-address_dictionary.Tpo .deps/address_parser-address_dictionary.Po --- address_parser-unicode_scripts.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-unicode_scripts.o -MD -MP -MF .deps/address_parser-unicode_scripts.Tpo -c -o address_parser-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c --- address_parser-normalize.o --- mv -f .deps/address_parser-normalize.Tpo .deps/address_parser-normalize.Po --- address_parser-transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-transliterate.o -MD -MP -MF .deps/address_parser-transliterate.Tpo -c -o address_parser-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c transliterate.c: In function 'get_replacement': transliterate.c:80:104: warning: unused parameter 'str' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c:80:116: warning: unused parameter 'start_index' [-Wunused-parameter] static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) { ^ transliterate.c: In function 'replace_groups': transliterate.c:614:12: warning: variable 'group_num_len' set but not used [-Wunused-but-set-variable] size_t group_num_len = 0; ^ transliterate.c:613:12: warning: variable 'group_num_start' set but not used [-Wunused-but-set-variable] size_t group_num_start = 0; ^ --- address_parser-graph_builder.o --- mv -f .deps/address_parser-graph_builder.Tpo .deps/address_parser-graph_builder.Po --- address_parser-trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-trie.o -MD -MP -MF .deps/address_parser-trie.Tpo -c -o address_parser-trie.o `test -f 'trie.c' || echo './'`trie.c --- address_parser-features.o --- mv -f .deps/address_parser-features.Tpo .deps/address_parser-features.Po --- address_parser-trie_search.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-trie_search.o -MD -MP -MF .deps/address_parser-trie_search.Tpo -c -o address_parser-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c --- address_parser-trie.o --- trie.c: In function 'trie_read': trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable] int32_t check; ^ trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable] int32_t base; ^ --- address_parser-trie_search.o --- trie_search.c: In function 'trie_search_from_index': trie_search.c:21:54: warning: variable 'last_node' set but not used [-Wunused-but-set-variable] trie_node_t node = trie_get_node(self, node_id), last_node = node; ^ trie_search.c: In function 'trie_search_prefixes_from_index': trie_search.c:616:12: warning: variable 'separator_char_len' set but not used [-Wunused-but-set-variable] size_t separator_char_len = 0; ^ In file included from collections.h:8:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'token_phrase_memberships': log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:792:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:796:13: note: in expansion of macro 'log_debug' log_debug("token i=%lld, phrase membership=%lld\n", i, j); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ log/log.h:26:55: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t {aka long int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ trie_search.c:802:9: note: in expansion of macro 'log_debug' log_debug("token i=%lld, null phrase membership\n", i); ^ In file included from collections.h:11:0, from trie.h:31, from trie_search.h:10, from trie_search.c:1: trie_search.c: In function 'trie_search_from_index': vector.h:124:30: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] array->a[array->n++] = value; \ ^ trie_search.c:28:14: note: 'data' was declared here uint32_t data; ^ --- address_parser-trie.o --- trie.c: In function 'trie_get_from_index': trie.c:853:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t next_id; ^ mv -f .deps/address_parser-trie.Tpo .deps/address_parser-trie.Po --- address_parser-trie_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-trie_utils.o -MD -MP -MF .deps/address_parser-trie_utils.Tpo -c -o address_parser-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c In file included from collections.h:8:0, from trie_utils.h:4, from trie_utils.c:1: trie_utils.c: In function 'trie_new_from_hash': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ trie_utils.c:44:13: note: in expansion of macro 'log_info' log_info("added %zu keys to trie\n", i); ^ trie_utils.c: In function 'trie_new_from_cstring_array_sorted': trie_utils.c:55:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ trie_utils.c: In function 'trie_new_from_cstring_array': trie_utils.c:86:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- address_parser-trie_search.o --- mv -f .deps/address_parser-trie_search.Tpo .deps/address_parser-trie_search.Po --- address_parser-string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-string_utils.o -MD -MP -MF .deps/address_parser-string_utils.Tpo -c -o address_parser-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c --- address_parser-transliterate.o --- mv -f .deps/address_parser-transliterate.Tpo .deps/address_parser-transliterate.Po --- address_parser-tokens.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-tokens.o -MD -MP -MF .deps/address_parser-tokens.Tpo -c -o address_parser-tokens.o `test -f 'tokens.c' || echo './'`tokens.c --- address_parser-string_utils.o --- string_utils.c: In function 'utf8_reversed_string': string_utils.c:192:18: warning: variable 'remaining' set but not used [-Wunused-but-set-variable] ssize_t len, remaining; ^ string_utils.c: In function 'utf8_case': string_utils.c:230:23: warning: unused variable 'dest' [-Wunused-variable] utf8proc_uint8_t *dest = NULL; ^ string_utils.c: In function 'utf8_common_prefix_len': string_utils.c:385:12: warning: unused variable 'remaining' [-Wunused-variable] size_t remaining = len; ^ string_utils.c: In function 'string_is_digit': string_utils.c:489:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'string_is_ignorable': string_utils.c:515:10: warning: unused variable 'ignorable' [-Wunused-variable] bool ignorable = true; ^ string_utils.c: In function 'cstring_array_get_offset': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:955:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ string_utils.c: In function 'cstring_array_token_length': string_utils.c:5:34: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] #define INVALID_INDEX(i, n) ((i) < 0 || (i) >= (n)) ^ string_utils.c:968:9: note: in expansion of macro 'INVALID_INDEX' if (INVALID_INDEX(i, self->indices->n)) { ^ --- address_parser-trie_utils.o --- trie_utils.c:94:14: warning: 'next_id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!trie_add(trie, key, next_id++)) { ^ --- address_parser-tokens.o --- tokens.c: In function 'tokenized_string_new_size': tokens.c:12:66: warning: unused parameter 'num_tokens' [-Wunused-parameter] tokenized_string_t *tokenized_string_new_size(size_t len, size_t num_tokens) { ^ mv -f .deps/address_parser-tokens.Tpo .deps/address_parser-tokens.Po --- address_parser-file_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-file_utils.o -MD -MP -MF .deps/address_parser-file_utils.Tpo -c -o address_parser-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c mv -f .deps/address_parser-file_utils.Tpo .deps/address_parser-file_utils.Po --- linenoise/address_parser-linenoise.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT linenoise/address_parser-linenoise.o -MD -MP -MF linenoise/.deps/address_parser-linenoise.Tpo -c -o linenoise/address_parser-linenoise.o `test -f 'linenoise/linenoise.c' || echo './'`linenoise/linenoise.c --- address_parser-trie_utils.o --- mv -f .deps/address_parser-trie_utils.Tpo .deps/address_parser-trie_utils.Po --- address_parser-ngrams.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-ngrams.o -MD -MP -MF .deps/address_parser-ngrams.Tpo -c -o address_parser-ngrams.o `test -f 'ngrams.c' || echo './'`ngrams.c ngrams.c: In function 'add_ngrams': ngrams.c:37:22: warning: unused variable 'token_index' [-Wunused-variable] uint32_t token_index = cstring_array_start_token(grams); ^ mv -f .deps/address_parser-ngrams.Tpo .deps/address_parser-ngrams.Po --- address_parser-numex.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-numex.o -MD -MP -MF .deps/address_parser-numex.Tpo -c -o address_parser-numex.o `test -f 'numex.c' || echo './'`numex.c --- linenoise/address_parser-linenoise.o --- mv -f linenoise/.deps/address_parser-linenoise.Tpo linenoise/.deps/address_parser-linenoise.Po --- address_parser-language_classifier.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-language_classifier.o -MD -MP -MF .deps/address_parser-language_classifier.Tpo -c -o address_parser-language_classifier.o `test -f 'language_classifier.c' || echo './'`language_classifier.c --- address_parser-numex.o --- In file included from collections.h:8:0, from numex.h:14, from numex.c:3: numex.c: In function 'numex_table_read': log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:424:5: note: in expansion of macro 'log_debug' log_debug("read num_languages = %llu\n", num_languages); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ log/log.h:26:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0) ^ numex.c:446:5: note: in expansion of macro 'log_debug' log_debug("read num_rules = %llu\n", num_rules); ^ numex.c: In function 'convert_numeric_expressions': numex.c:770:18: warning: unused variable 'rule_index' [-Wunused-variable] uint32_t rule_index = phrase.data; ^ numex.c:688:17: warning: unused variable 'number_str' [-Wunused-variable] char_array *number_str = NULL; ^ numex.c:681:10: warning: unused variable 'advance_state' [-Wunused-variable] bool advance_state = true; ^ numex.c:678:19: warning: unused variable 'ch' [-Wunused-variable] unsigned char ch = '\0'; ^ numex.c: In function 'get_ordinal_suffix': numex.c:924:10: warning: unused variable 'whole_tokens_only' [-Wunused-variable] bool whole_tokens_only = language->whole_tokens_only; ^ --- address_parser-language_classifier.o --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- libpostal_la-unicode_scripts.lo --- mv -f .deps/libpostal_la-unicode_scripts.Tpo .deps/libpostal_la-unicode_scripts.Plo --- address_parser-language_features.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-language_features.o -MD -MP -MF .deps/address_parser-language_features.Tpo -c -o address_parser-language_features.o `test -f 'language_features.c' || echo './'`language_features.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_features.c:2: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_features.c: In function 'add_ngram_features': language_features.c:55:11: warning: unused variable 'feature_namespace' [-Wunused-variable] char *feature_namespace; ^ language_features.c: In function 'add_script_feature': language_features.c:216:69: warning: unused parameter 'prefix' [-Wunused-parameter] static void add_script_feature(khash_t(str_double) *features, char *prefix, char_array *feature_array, script_t script) { ^ language_features.c: In function 'extract_language_features': language_features.c:275:19: warning: unused variable 'phrase' [-Wunused-variable] char *phrase = NULL; ^ language_features.c:274:21: warning: unused variable 'prev_token' [-Wunused-variable] token_t prev_token; ^ --- address_parser-language_classifier.o --- mv -f .deps/address_parser-language_classifier.Tpo .deps/address_parser-language_classifier.Po --- address_parser-logistic_regression.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-logistic_regression.o -MD -MP -MF .deps/address_parser-logistic_regression.Tpo -c -o address_parser-logistic_regression.o `test -f 'logistic_regression.c' || echo './'`logistic_regression.c In file included from logistic_regression.h:26:0, from logistic_regression.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser-string_utils.o --- mv -f .deps/address_parser-string_utils.Tpo .deps/address_parser-string_utils.Po --- address_parser-logistic.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-logistic.o -MD -MP -MF .deps/address_parser-logistic.Tpo -c -o address_parser-logistic.o `test -f 'logistic.c' || echo './'`logistic.c --- address_parser-language_features.o --- mv -f .deps/address_parser-language_features.Tpo .deps/address_parser-language_features.Po --- address_parser-minibatch.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser-minibatch.o -MD -MP -MF .deps/address_parser-minibatch.Tpo -c -o address_parser-minibatch.o `test -f 'minibatch.c' || echo './'`minibatch.c --- address_parser-logistic_regression.o --- In file included from collections.h:8:0, from logistic_regression.h:25, from logistic_regression.c:3: logistic_regression.c: In function 'logistic_regression_model_expectation_sparse': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:16:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_model_expectation': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ logistic_regression.c:34:9: note: in expansion of macro 'log_error' log_error("x->m = %zu, x->n = %zu, theta->m = %zu, theta->n = %zu, p_y->m = %zu, p_y->n = %zu\n", x->m, x->n, theta->m, theta->n, p_y->m, p_y->n); ^ logistic_regression.c: In function 'logistic_regression_cost_function': logistic_regression.c:63:13: warning: unused variable 'expected_values' [-Wunused-variable] double *expected_values = p_y->values; ^ logistic_regression.c:45:12: warning: unused variable 'n' [-Wunused-variable] size_t n = x->n; ^ logistic_regression.c: In function 'logistic_regression_gradient': logistic_regression.c:105:13: warning: unused variable 'gradient_values' [-Wunused-variable] double *gradient_values = gradient->values; ^ logistic_regression.c:104:13: warning: unused variable 'predicted_values' [-Wunused-variable] double *predicted_values = p_y->values; ^ logistic_regression.c:103:13: warning: unused variable 'theta_values' [-Wunused-variable] double *theta_values = theta->values; ^ logistic_regression.c:95:12: warning: unused variable 'residual' [-Wunused-variable] double residual; ^ logistic_regression.c:93:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i, j; ^ logistic_regression.c:91:12: warning: unused variable 'num_features' [-Wunused-variable] size_t num_features = n; ^ --- address_parser-logistic.o --- In file included from logistic.h:7:0, from logistic.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ logistic.c: In function 'softmax_vector': logistic.c:16:12: warning: unused variable 'sum' [-Wunused-variable] double sum = 0.0; ^ --- address_parser-numex.o --- numex.c: In function 'convert_numeric_expressions': numex.c:869:17: warning: 'stopword_phrase.start' may be used uninitialized in this function [-Wmaybe-uninitialized] idx = stopword_phrase.start; ^ --- address_parser-minibatch.o --- In file included from sparse_matrix.h:46:0, from minibatch.h:9, from minibatch.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- address_parser-logistic_regression.o --- mv -f .deps/address_parser-logistic_regression.Tpo .deps/address_parser-logistic_regression.Po --- address_parser_train-address_parser_train.o --- --- address_parser-logistic.o --- mv -f .deps/address_parser-logistic.Tpo .deps/address_parser-logistic.Po --- address_parser-minibatch.o --- minibatch.c: In function 'count_features_minibatch': minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable] size_t m = minibatch->n; ^ minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ minibatch.c: In function 'count_labels_minibatch': minibatch.c:30:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ minibatch.c: In function 'select_features_threshold': minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable] const char *feature; ^ minibatch.c: In function 'select_labels_threshold': minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable] const char *label; ^ minibatch.c: In function 'label_vector': minibatch.c:197:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i; ^ --- utf8proc/address_parser-utf8proc.o --- --- address_parser_train-address_parser_train.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-address_parser_train.o -MD -MP -MF .deps/address_parser_train-address_parser_train.Tpo -c -o address_parser_train-address_parser_train.o `test -f 'address_parser_train.c' || echo './'`address_parser_train.c --- utf8proc/address_parser-utf8proc.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT utf8proc/address_parser-utf8proc.o -MD -MP -MF utf8proc/.deps/address_parser-utf8proc.Tpo -c -o utf8proc/address_parser-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c --- address_parser_train-address_parser_train.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_train.c:3: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from file_utils.h:12:0, from sparse_matrix.h:45, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_train.c:3: address_parser_train.c: In function 'address_phrases_and_labels': address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser_train.c:135:39: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' normalize_token_options = ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS; ^ address_parser.h:66:125: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] #define ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS NORMALIZE_TOKEN_DELETE_FINAL_PERIOD | NORMALIZE_TOKEN_DELETE_ACRONYM_PERIODS | NORMALIZE_TOKEN_REPLACE_DIGITS ^ string_utils.h:218:9: note: in definition of macro 'cstring_array_foreach' code; \ ^ address_parser.h:67:54: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_TOKEN_OPTIONS ^ NORMALIZE_TOKEN_REPLACE_DIGITS ^ address_parser.h:68:60: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS' #define ADDRESS_PARSER_NORMALIZE_POSTAL_CODE_TOKEN_OPTIONS ADDRESS_PARSER_NORMALIZE_ADMIN_TOKEN_OPTIONS | NORMALIZE_TOKEN_SPLIT_ALPHA_FROM_NUMERIC ^ address_parser_train.c:198:69: note: in expansion of macro 'ADDRESS_PARSER_NORMALIZE_POSTAL_CODE_TOKEN_OPTIONS' add_normalized_token(postal_code_token_builder, str, t, ADDRESS_PARSER_NORMALIZE_POSTAL_CODE_TOKEN_OPTIONS); ^ address_parser_train.c:116:10: warning: unused variable 'have_dictionary_phrases' [-Wunused-variable] bool have_dictionary_phrases = search_address_dictionaries_tokens_with_phrases(tokenized_str->str, tokenized_str->tokens, language, &dictionary_phrases); ^ address_parser_train.c:107:10: warning: unused variable 'have_postal_code' [-Wunused-variable] bool have_postal_code = false; ^ address_parser_train.c:93:17: warning: variable 'token' set but not used [-Wunused-but-set-variable] const char *token; ^ In file included from collections.h:8:0, from averaged_perceptron.h:26, from address_parser.h:52, from address_parser_train.c:3: address_parser_train.c: In function 'address_parser_init': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'khint_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:665:5: note: in expansion of macro 'log_info' log_info("Done with vocab, total size=%zu\n", kh_size(vocab)); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'khint_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:665:5: note: in expansion of macro 'log_info' log_info("Done with vocab, total size=%zu\n", kh_size(vocab)); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'khint_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:679:5: note: in expansion of macro 'log_info' log_info("After pruning vocab size=%zu\n", kh_size(vocab)); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'khint_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:679:5: note: in expansion of macro 'log_info' log_info("After pruning vocab size=%zu\n", kh_size(vocab)); ^ address_parser_train.c:838:18: warning: unused variable 'pc_count' [-Wunused-variable] uint32_t pc_count = kh_value(postal_code_counts, k); ^ address_parser_train.c:444:18: warning: unused variable 'tokens' [-Wunused-variable] token_array *tokens; ^ address_parser_train.c:402:11: warning: unused variable 'prev_label' [-Wunused-variable] char *prev_label; ^ address_parser_train.c:397:33: warning: unused variable 'pc_ctx' [-Wunused-variable] postal_code_context_value_t pc_ctx; ^ address_parser_train.c:391:11: warning: unused variable 'normalized' [-Wunused-variable] char *normalized; ^ address_parser_train.c:381:11: warning: unused variable 'str' [-Wunused-variable] char *str; ^ In file included from collections.h:8:0, from averaged_perceptron.h:26, from address_parser.h:52, from address_parser_train.c:3: address_parser_train.c: In function 'address_parser_train_epoch': log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:1091:13: note: in expansion of macro 'log_info' log_info("Iter %d: Did %zu examples with %llu errors\n", iteration, examples, errors - prev_errors); ^ log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:1091:13: note: in expansion of macro 'log_info' log_info("Iter %d: Did %zu examples with %llu errors\n", iteration, examples, errors - prev_errors); ^ address_parser_train.c:1060:10: warning: unused variable 'logged' [-Wunused-variable] bool logged = false; ^ address_parser_train.c: In function 'main': address_parser_train.c:1207:29: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t * {aka long unsigned int *}' [-Wformat=] if (sscanf(arg, "%llu", &arg_min_updates) != 1) { ^ address_parser_train.c:1207:29: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t * {aka long unsigned int *}' [-Wformat=] In file included from collections.h:8:0, from averaged_perceptron.h:26, from address_parser.h:52, from address_parser_train.c:3: log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:1212:13: note: in expansion of macro 'log_info' log_info("min_updates = %llu\n", min_updates); ^ log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ address_parser_train.c:1212:13: note: in expansion of macro 'log_info' log_info("min_updates = %llu\n", min_updates); ^ --- address_parser-numex.o --- mv -f .deps/address_parser-numex.Tpo .deps/address_parser-numex.Po --- address_parser_train-averaged_perceptron_trainer.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-averaged_perceptron_trainer.o -MD -MP -MF .deps/address_parser_train-averaged_perceptron_trainer.Tpo -c -o address_parser_train-averaged_perceptron_trainer.o `test -f 'averaged_perceptron_trainer.c' || echo './'`averaged_perceptron_trainer.c --- address_parser_train-address_parser_train.o --- address_parser_train.c: In function 'address_parser_init': address_parser_train.c:484:22: warning: 'class_id' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t class_id; ^ --- address_parser_train-averaged_perceptron_trainer.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_trainer.h:36, from averaged_perceptron_trainer.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_destroy': averaged_perceptron_trainer.c:27:14: warning: variable 'feature_id' set but not used [-Wunused-but-set-variable] uint32_t feature_id; ^ averaged_perceptron_trainer.c:7:14: warning: variable 'id' set but not used [-Wunused-but-set-variable] uint32_t id; ^ In file included from collections.h:8:0, from averaged_perceptron.h:26, from averaged_perceptron_trainer.h:36, from averaged_perceptron_trainer.c:1: averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_finalize': log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ averaged_perceptron_trainer.c:151:5: note: in expansion of macro 'log_info' log_info("Pruning weights with < min_updates = %llu\n", self->min_updates); ^ log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ averaged_perceptron_trainer.c:151:5: note: in expansion of macro 'log_info' log_info("Pruning weights with < min_updates = %llu\n", self->min_updates); ^ averaged_perceptron_trainer.c:125:14: warning: unused variable 'class_id' [-Wunused-variable] uint32_t class_id; ^ averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_update_weight': averaged_perceptron_trainer.c:253:12: warning: unused variable 'index' [-Wunused-variable] size_t index; ^ averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_predict': averaged_perceptron_trainer.c:300:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_update': averaged_perceptron_trainer.c:348:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] uint32_t i = 0; ^ averaged_perceptron_trainer.c: In function 'averaged_perceptron_trainer_train_example': averaged_perceptron_trainer.c:426:18: warning: variable 'fidx' set but not used [-Wunused-but-set-variable] uint32_t fidx; ^ --- address_parser-minibatch.o --- mv -f .deps/address_parser-minibatch.Tpo .deps/address_parser-minibatch.Po --- address_parser_train-crf_trainer.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-crf_trainer.o -MD -MP -MF .deps/address_parser_train-crf_trainer.Tpo -c -o address_parser_train-crf_trainer.o `test -f 'crf_trainer.c' || echo './'`crf_trainer.c In file included from crf_context.h:20:0, from crf_trainer.h:8, from crf_trainer.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_trainer.c: In function 'crf_trainer_destroy': crf_trainer.c:7:14: warning: variable 'id' set but not used [-Wunused-but-set-variable] uint32_t id; ^ crf_trainer.c: In function 'crf_trainer_new_classes': crf_trainer.c:126:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] size_t i; ^ --- utf8proc/address_parser-utf8proc.o --- mv -f utf8proc/.deps/address_parser-utf8proc.Tpo utf8proc/.deps/address_parser-utf8proc.Po --- address_parser_train-crf_trainer_averaged_perceptron.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-crf_trainer_averaged_perceptron.o -MD -MP -MF .deps/address_parser_train-crf_trainer_averaged_perceptron.Tpo -c -o address_parser_train-crf_trainer_averaged_perceptron.o `test -f 'crf_trainer_averaged_perceptron.c' || echo './'`crf_trainer_averaged_perceptron.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_trainer.h:36, from crf_trainer_averaged_perceptron.h:7, from crf_trainer_averaged_perceptron.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_destroy': crf_trainer_averaged_perceptron.c:6:14: warning: variable 'feature_id' set but not used [-Wunused-but-set-variable] uint32_t feature_id; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_update_trans_feature': crf_trainer_averaged_perceptron.c:285:10: warning: unused variable 'add_if_missing' [-Wunused-variable] bool add_if_missing = true; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_cache_features': crf_trainer_averaged_perceptron.c:306:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ crf_trainer_averaged_perceptron.c:304:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] size_t i; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_cache_prev_tag_features': crf_trainer_averaged_perceptron.c:321:14: warning: unused variable 'feature_id' [-Wunused-variable] uint32_t feature_id; ^ crf_trainer_averaged_perceptron.c:319:12: warning: variable 'i' set but not used [-Wunused-but-set-variable] size_t i; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_state_trans_score': crf_trainer_averaged_perceptron.c:396:10: warning: unused variable 'add_if_missing' [-Wunused-variable] bool add_if_missing = false; ^ crf_trainer_averaged_perceptron.c:394:14: warning: unused variable 'length' [-Wunused-variable] uint32_t length = 0; ^ crf_trainer_averaged_perceptron.c:393:14: warning: unused variable 'idx' [-Wunused-variable] uint32_t idx = 0; ^ crf_trainer_averaged_perceptron.c:392:14: warning: unused variable 't' [-Wunused-variable] uint32_t t = 0; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_update': crf_trainer_averaged_perceptron.c:530:15: warning: unused variable 'prev_tag_update_counts' [-Wunused-variable] uint64_t *prev_tag_update_counts = self->prev_tag_update_counts->a; ^ crf_trainer_averaged_perceptron.c:479:10: warning: unused variable 'add_if_missing' [-Wunused-variable] bool add_if_missing = false; ^ crf_trainer_averaged_perceptron.c:477:22: warning: unused variable 'length' [-Wunused-variable] uint32_t t, idx, length; ^ crf_trainer_averaged_perceptron.c:477:17: warning: unused variable 'idx' [-Wunused-variable] uint32_t t, idx, length; ^ crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_train_example': crf_trainer_averaged_perceptron.c:683:12: warning: unused variable 'viterbi_score' [-Wunused-variable] double viterbi_score = crf_context_viterbi(crf_context, viterbi); ^ In file included from collections.h:8:0, from averaged_perceptron.h:26, from averaged_perceptron_trainer.h:36, from crf_trainer_averaged_perceptron.h:7, from crf_trainer_averaged_perceptron.c:1: crf_trainer_averaged_perceptron.c: In function 'crf_averaged_perceptron_trainer_finalize': log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ crf_trainer_averaged_perceptron.c:756:5: note: in expansion of macro 'log_info' log_info("Pruning weights with < min_updates = %llu\n", self->min_updates); ^ log/log.h:45:44: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t {aka long unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ crf_trainer_averaged_perceptron.c:756:5: note: in expansion of macro 'log_info' log_info("Pruning weights with < min_updates = %llu\n", self->min_updates); ^ --- address_parser_train-crf_trainer.o --- mv -f .deps/address_parser_train-crf_trainer.Tpo .deps/address_parser_train-crf_trainer.Po --- address_parser_train-shuffle.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_train-shuffle.o -MD -MP -MF .deps/address_parser_train-shuffle.Tpo -c -o address_parser_train-shuffle.o `test -f 'shuffle.c' || echo './'`shuffle.c shuffle.c: In function 'shuffle_file_chunked': shuffle.c:50:10: warning: implicit declaration of function 'file_exists' [-Wimplicit-function-declaration] if (!file_exists(filename)) { ^ mv -f .deps/address_parser_train-shuffle.Tpo .deps/address_parser_train-shuffle.Po --- address_parser_test-address_parser_test.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT address_parser_test-address_parser_test.o -MD -MP -MF .deps/address_parser_test-address_parser_test.Tpo -c -o address_parser_test-address_parser_test.o `test -f 'address_parser_test.c' || echo './'`address_parser_test.c In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from address_parser.h:52, from address_parser_test.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ address_parser_test.c: In function 'address_parser_num_classes': address_parser_test.c:23:32: warning: unused variable 'ap' [-Wunused-variable] averaged_perceptron_t *ap = parser->model.ap; ^ address_parser_test.c: In function 'address_parser_class_strings': address_parser_test.c:33:24: warning: unused variable 'classes' [-Wunused-variable] cstring_array *classes = parser->model.ap->classes; ^ address_parser_test.c: In function 'address_parser_test': address_parser_test.c:99:15: warning: unused variable 'prev_label' [-Wunused-variable] char *prev_label = NULL; ^ address_parser_test.c:84:10: warning: unused variable 'logged' [-Wunused-variable] bool logged = false; ^ address_parser_test.c:82:12: warning: unused variable 'examples' [-Wunused-variable] size_t examples = 0; ^ address_parser_test.c:80:10: warning: unused variable 'success' [-Wunused-variable] bool success = false; ^ address_parser_test.c: In function 'main': address_parser_test.c:172:11: warning: unused variable 'addres_parser_dir' [-Wunused-variable] char *addres_parser_dir = NULL; ^ address_parser_test.c:169:13: warning: unused variable 'arg_iterations' [-Wunused-variable] ssize_t arg_iterations; ^ mv -f .deps/address_parser_test-address_parser_test.Tpo .deps/address_parser_test-address_parser_test.Po --- build_address_dictionary-address_dictionary_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_address_dictionary-address_dictionary_builder.o -MD -MP -MF .deps/build_address_dictionary-address_dictionary_builder.Tpo -c -o build_address_dictionary-address_dictionary_builder.o `test -f 'address_dictionary_builder.c' || echo './'`address_dictionary_builder.c --- address_parser_train-averaged_perceptron_trainer.o --- mv -f .deps/address_parser_train-averaged_perceptron_trainer.Tpo .deps/address_parser_train-averaged_perceptron_trainer.Po --- build_numex_table-numex_table_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_numex_table-numex_table_builder.o -MD -MP -MF .deps/build_numex_table-numex_table_builder.Tpo -c -o build_numex_table-numex_table_builder.o `test -f 'numex_table_builder.c' || echo './'`numex_table_builder.c --- address_parser_train-address_parser_train.o --- address_parser_train.c: In function 'address_parser_train': address_parser_train.c:1130:14: warning: 'trainer' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!address_parser_train_epoch(self, trainer, filename)) { ^ --- build_numex_table-numex_table_builder.o --- numex_table_builder.c: In function 'main': numex_table_builder.c:64:22: warning: unused variable 'rule' [-Wunused-variable] numex_rule_t rule; ^ numex_table_builder.c:48:12: warning: unused variable 'num_ordinal_indicator_rules' [-Wunused-variable] size_t num_ordinal_indicator_rules = sizeof(ordinal_indicator_rules) / sizeof(ordinal_indicator_t); ^ --- address_parser_train-address_parser_train.o --- mv -f .deps/address_parser_train-address_parser_train.Tpo .deps/address_parser_train-address_parser_train.Po --- build_trans_table-transliteration_table_builder.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT build_trans_table-transliteration_table_builder.o -MD -MP -MF .deps/build_trans_table-transliteration_table_builder.Tpo -c -o build_trans_table-transliteration_table_builder.o `test -f 'transliteration_table_builder.c' || echo './'`transliteration_table_builder.c --- build_numex_table-numex_table_builder.o --- mv -f .deps/build_numex_table-numex_table_builder.Tpo .deps/build_numex_table-numex_table_builder.Po --- language_classifier_train-language_classifier_train.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-language_classifier_train.o -MD -MP -MF .deps/language_classifier_train-language_classifier_train.Tpo -c -o language_classifier_train-language_classifier_train.o `test -f 'language_classifier_train.c' || echo './'`language_classifier_train.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier_train.c:11: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ language_classifier_train.c: In function 'compute_total_cost': language_classifier_train.c:248:22: warning: unused variable 'theta' [-Wunused-variable] double_matrix_t *theta = logistic_regression_trainer_get_regularized_weights(trainer); ^ language_classifier_train.c: In function 'language_classifier_train_epoch': language_classifier_train.c:301:12: warning: unused variable 'last_cost' [-Wunused-variable] double last_cost = 0.0; ^ language_classifier_train.c:300:12: warning: unused variable 'total_cost' [-Wunused-variable] double total_cost = 0.0; ^ language_classifier_train.c:299:12: warning: unused variable 'batch_cost' [-Wunused-variable] double batch_cost = 0.0; ^ In file included from language_classifier_train.c:7:0: language_classifier_train.c: In function 'trainer_finalize': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_train.c:602:13: note: in expansion of macro 'log_info' log_info("Weights sparse: %zu rows (m=%u), %zu cols, %zu elements\n", sparse_weights->indptr->n, sparse_weights->m, sparse_weights->n, sparse_weights->data->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_train.c:602:13: note: in expansion of macro 'log_info' log_info("Weights sparse: %zu rows (m=%u), %zu cols, %zu elements\n", sparse_weights->indptr->n, sparse_weights->m, sparse_weights->n, sparse_weights->data->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_train.c:608:9: note: in expansion of macro 'log_info' log_info("Weights sparse: %zu rows (m=%u), %zu cols, %zu elements\n", sparse_weights->indptr->n, sparse_weights->m, sparse_weights->n, sparse_weights->data->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_train.c:608:9: note: in expansion of macro 'log_info' log_info("Weights sparse: %zu rows (m=%u), %zu cols, %zu elements\n", sparse_weights->indptr->n, sparse_weights->m, sparse_weights->n, sparse_weights->data->n); ^ language_classifier_train.c: In function 'main': language_classifier_train.c:884:13: warning: unused variable 'ret' [-Wunused-variable] int ret = system(char_array_get_string(head_command)); ^ --- address_parser_train-crf_trainer_averaged_perceptron.o --- mv -f .deps/address_parser_train-crf_trainer_averaged_perceptron.Tpo .deps/address_parser_train-crf_trainer_averaged_perceptron.Po --- language_classifier_train-language_classifier_io.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-language_classifier_io.o -MD -MP -MF .deps/language_classifier_train-language_classifier_io.Tpo -c -o language_classifier_train-language_classifier_io.o `test -f 'language_classifier_io.c' || echo './'`language_classifier_io.c In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier_io.h:11, from language_classifier_io.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- language_classifier_train-language_classifier_train.o --- mv -f .deps/language_classifier_train-language_classifier_train.Tpo .deps/language_classifier_train-language_classifier_train.Po --- language_classifier_train-logistic_regression_trainer.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-logistic_regression_trainer.o -MD -MP -MF .deps/language_classifier_train-logistic_regression_trainer.Tpo -c -o language_classifier_train-logistic_regression_trainer.o `test -f 'logistic_regression_trainer.c' || echo './'`logistic_regression_trainer.c --- language_classifier_train-language_classifier_io.o --- mv -f .deps/language_classifier_train-language_classifier_io.Tpo .deps/language_classifier_train-language_classifier_io.Po --- language_classifier_train-sparse_matrix_utils.o --- --- language_classifier_train-logistic_regression_trainer.o --- In file included from sparse_matrix.h:46:0, from averaged_perceptron.h:27, from averaged_perceptron_tagger.h:20, from logistic_regression_trainer.h:9, from logistic_regression_trainer.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- language_classifier_train-sparse_matrix_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-sparse_matrix_utils.o -MD -MP -MF .deps/language_classifier_train-sparse_matrix_utils.Tpo -c -o language_classifier_train-sparse_matrix_utils.o `test -f 'sparse_matrix_utils.c' || echo './'`sparse_matrix_utils.c In file included from sparse_matrix.h:46:0, from sparse_matrix_utils.h:6, from sparse_matrix_utils.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ sparse_matrix_utils.c: In function 'sparse_matrix_alias_columns': sparse_matrix_utils.c:76:13: warning: unused variable 'ret' [-Wunused-variable] int ret = 0; ^ sparse_matrix_utils.c: In function 'sparse_matrix_unique_columns': sparse_matrix_utils.c:100:50: warning: passing argument 2 of 'sparse_matrix_add_unique_columns' from incompatible pointer type [-Wincompatible-pointer-types] if (sparse_matrix_add_unique_columns(matrix, unique_columns, ret)) { ^ sparse_matrix_utils.c:22:6: note: expected 'kh_int_uint32_t * {aka struct *}' but argument is of type 'kh_int_set_t * {aka struct *}' bool sparse_matrix_add_unique_columns(sparse_matrix_t *matrix, khash_t(int_uint32) *unique_columns, uint32_array *array) { ^ --- language_classifier_train-logistic_regression_trainer.o --- mv -f .deps/language_classifier_train-logistic_regression_trainer.Tpo .deps/language_classifier_train-logistic_regression_trainer.Po --- language_classifier_train-stochastic_gradient_descent.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-stochastic_gradient_descent.o -MD -MP -MF .deps/language_classifier_train-stochastic_gradient_descent.Tpo -c -o language_classifier_train-stochastic_gradient_descent.o `test -f 'stochastic_gradient_descent.c' || echo './'`stochastic_gradient_descent.c In file included from stochastic_gradient_descent.h:20:0, from stochastic_gradient_descent.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from collections.h:8:0, from matrix.h:11, from stochastic_gradient_descent.h:20, from stochastic_gradient_descent.c:1: stochastic_gradient_descent.c: In function 'stochastic_gradient_descent_update_sparse': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:206:13: note: in expansion of macro 'log_info' log_info("t = %zu, penalties->n = %zu\n", t, self->penalties->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:206:13: note: in expansion of macro 'log_info' log_info("t = %zu, penalties->n = %zu\n", t, self->penalties->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:222:17: note: in expansion of macro 'log_info' log_info("col = %u, t = %zu, last_updated = %zu, penalties->n = %zu\n", col, t, last_updated, self->penalties->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:222:17: note: in expansion of macro 'log_info' log_info("col = %u, t = %zu, last_updated = %zu, penalties->n = %zu\n", col, t, last_updated, self->penalties->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:222:17: note: in expansion of macro 'log_info' log_info("col = %u, t = %zu, last_updated = %zu, penalties->n = %zu\n", col, t, last_updated, self->penalties->n); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ stochastic_gradient_descent.c:222:17: note: in expansion of macro 'log_info' log_info("col = %u, t = %zu, last_updated = %zu, penalties->n = %zu\n", col, t, last_updated, self->penalties->n); ^ stochastic_gradient_descent.c: In function 'stochastic_gradient_descent_reg_cost': stochastic_gradient_descent.c:286:16: warning: unused variable 'num_indices' [-Wunused-variable] size_t num_indices = update_indices->n; ^ stochastic_gradient_descent.c:285:19: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = update_indices->a; ^ In file included from collections.h:8:0, from matrix.h:11, from stochastic_gradient_descent.h:20, from stochastic_gradient_descent.c:1: stochastic_gradient_descent.c: In function 'stochastic_gradient_descent_set_regularized_weights': log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ stochastic_gradient_descent.c:379:17: note: in expansion of macro 'log_error' log_error("last_updated (%zu) >= self->penalties-> (%zu)\n", last_updated, self->penalties->n); ^ log/log.h:43:46: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_error(M, ...) fprintf(stderr, "\33[31mERR\33[39m " M " \33[90m at %s (%s:%d) \33[94merrno: %s\33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__, clean_errno()) ^ stochastic_gradient_descent.c:379:17: note: in expansion of macro 'log_error' log_error("last_updated (%zu) >= self->penalties-> (%zu)\n", last_updated, self->penalties->n); ^ --- language_classifier_train-sparse_matrix_utils.o --- mv -f .deps/language_classifier_train-sparse_matrix_utils.Tpo .deps/language_classifier_train-sparse_matrix_utils.Po --- language_classifier_train-ftrl.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-ftrl.o -MD -MP -MF .deps/language_classifier_train-ftrl.Tpo -c -o language_classifier_train-ftrl.o `test -f 'ftrl.c' || echo './'`ftrl.c In file included from ftrl.h:18:0, from ftrl.c:1: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ ftrl.c: In function 'ftrl_reg_cost': ftrl.c:192:16: warning: unused variable 'num_indices' [-Wunused-variable] size_t num_indices = update_indices->n; ^ ftrl.c:191:19: warning: unused variable 'indices' [-Wunused-variable] uint32_t *indices = update_indices->a; ^ ftrl.c:188:12: warning: unused variable 'num_indices' [-Wunused-variable] size_t num_indices = m; ^ In file included from collections.h:8:0, from matrix.h:11, from ftrl.h:18, from ftrl.c:1: ftrl.c: In function 'ftrl_weights_finalize_sparse': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:246:5: note: in expansion of macro 'log_info' log_info("weights->m = %zu\n", weights->m); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:246:5: note: in expansion of macro 'log_info' log_info("weights->m = %zu\n", weights->m); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:262:5: note: in expansion of macro 'log_info' log_info("after intercept weights->m = %zu\n", weights->m); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:262:5: note: in expansion of macro 'log_info' log_info("after intercept weights->m = %zu\n", weights->m); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:278:13: note: in expansion of macro 'log_info' log_info("adding rows, weights->m = %zu\n", weights->m); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ ftrl.c:278:13: note: in expansion of macro 'log_info' log_info("adding rows, weights->m = %zu\n", weights->m); ^ --- language_classifier_train-stochastic_gradient_descent.o --- mv -f .deps/language_classifier_train-stochastic_gradient_descent.Tpo .deps/language_classifier_train-stochastic_gradient_descent.Po --- language_classifier_train-regularization.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-regularization.o -MD -MP -MF .deps/language_classifier_train-regularization.Tpo -c -o language_classifier_train-regularization.o `test -f 'regularization.c' || echo './'`regularization.c mv -f .deps/language_classifier_train-regularization.Tpo .deps/language_classifier_train-regularization.Po --- language_classifier_train-cartesian_product.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_train-cartesian_product.o -MD -MP -MF .deps/language_classifier_train-cartesian_product.Tpo -c -o language_classifier_train-cartesian_product.o `test -f 'cartesian_product.c' || echo './'`cartesian_product.c --- build_address_dictionary-address_dictionary_builder.o --- address_dictionary_builder.c: In function 'main': address_dictionary_builder.c:25:27: warning: unused variable 'address_dict' [-Wunused-variable] address_dictionary_t *address_dict = get_address_dictionary(); ^ --- language_classifier_train-ftrl.o --- mv -f .deps/language_classifier_train-ftrl.Tpo .deps/language_classifier_train-ftrl.Po --- language_classifier-language_classifier_cli.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier-language_classifier_cli.o -MD -MP -MF .deps/language_classifier-language_classifier_cli.Tpo -c -o language_classifier-language_classifier_cli.o `test -f 'language_classifier_cli.c' || echo './'`language_classifier_cli.c --- language_classifier_train-cartesian_product.o --- mv -f .deps/language_classifier_train-cartesian_product.Tpo .deps/language_classifier_train-cartesian_product.Po --- language_classifier_test-language_classifier_test.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT language_classifier_test-language_classifier_test.o -MD -MP -MF .deps/language_classifier_test-language_classifier_test.Tpo -c -o language_classifier_test-language_classifier_test.o `test -f 'language_classifier_test.c' || echo './'`language_classifier_test.c --- language_classifier-language_classifier_cli.o --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier_cli.c:6: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- language_classifier_test-language_classifier_test.o --- In file included from logistic_regression.h:26:0, from language_classifier.h:11, from language_classifier_test.c:6: matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from language_classifier_test.c:4:0: language_classifier_test.c: In function 'test_accuracy': log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_test.c:56:5: note: in expansion of macro 'log_info' log_info("total=%zu\n", total); ^ log/log.h:45:44: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'uint32_t {aka unsigned int}' [-Wformat=] #define log_info(M, ...) fprintf(stderr, "\33[32mINFO\33[39m " M " \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILENAME__, __LINE__) ^ language_classifier_test.c:56:5: note: in expansion of macro 'log_info' log_info("total=%zu\n", total); ^ language_classifier_test.c:19:38: warning: unused variable 'minibatch' [-Wunused-variable] language_classifier_minibatch_t *minibatch; ^ language_classifier_test.c: In function 'main': language_classifier_test.c:82:94: warning: implicit declaration of function 'transliteration_module_setup' [-Wimplicit-function-declaration] if (!language_classifier_module_setup(dir) || !address_dictionary_module_setup(NULL) || !transliteration_module_setup(NULL)) { ^ --- language_classifier-language_classifier_cli.o --- mv -f .deps/language_classifier-language_classifier_cli.Tpo .deps/language_classifier-language_classifier_cli.Po --- cmp/libpostal_la-cmp.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT cmp/libpostal_la-cmp.lo -MD -MP -MF cmp/.deps/libpostal_la-cmp.Tpo -c -o cmp/libpostal_la-cmp.lo `test -f 'cmp/cmp.c' || echo './'`cmp/cmp.c --- language_classifier_test-language_classifier_test.o --- mv -f .deps/language_classifier_test-language_classifier_test.Tpo .deps/language_classifier_test-language_classifier_test.Po --- libscanner_la-scanner.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -O0 -MT libscanner_la-scanner.lo -MD -MP -MF .deps/libscanner_la-scanner.Tpo -c -o libscanner_la-scanner.lo `test -f 'scanner.c' || echo './'`scanner.c --- cmp/libpostal_la-cmp.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -MT cmp/libpostal_la-cmp.lo -MD -MP -MF cmp/.deps/libpostal_la-cmp.Tpo -c cmp/cmp.c -fPIC -DPIC -o cmp/.libs/libpostal_la-cmp.o --- libscanner_la-scanner.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -O0 -MT libscanner_la-scanner.lo -MD -MP -MF .deps/libscanner_la-scanner.Tpo -c scanner.c -fPIC -DPIC -o .libs/libscanner_la-scanner.o --- cmp/libpostal_la-cmp.lo --- mv -f cmp/.deps/libpostal_la-cmp.Tpo cmp/.deps/libpostal_la-cmp.Plo --- build_numex_table --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_numex_table build_numex_table-numex_table_builder.o build_numex_table-numex.o build_numex_table-file_utils.o build_numex_table-string_utils.o build_numex_table-tokens.o build_numex_table-trie.o build_numex_table-trie_search.o utf8proc/build_numex_table-utf8proc.o -lm -L/usr/local/lib --- address_parser-unicode_scripts.o --- mv -f .deps/address_parser-unicode_scripts.Tpo .deps/address_parser-unicode_scripts.Po --- build_numex_table --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_numex_table build_numex_table-numex_table_builder.o build_numex_table-numex.o build_numex_table-file_utils.o build_numex_table-string_utils.o build_numex_table-tokens.o build_numex_table-trie.o build_numex_table-trie_search.o utf8proc/build_numex_table-utf8proc.o -lm -L/usr/local/lib --- build_address_dictionary-address_dictionary_builder.o --- mv -f .deps/build_address_dictionary-address_dictionary_builder.Tpo .deps/build_address_dictionary-address_dictionary_builder.Po --- build_address_dictionary --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_address_dictionary build_address_dictionary-address_dictionary_builder.o build_address_dictionary-address_dictionary.o build_address_dictionary-file_utils.o build_address_dictionary-string_utils.o build_address_dictionary-trie.o build_address_dictionary-trie_search.o utf8proc/build_address_dictionary-utf8proc.o -lm -L/usr/local/lib libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_address_dictionary build_address_dictionary-address_dictionary_builder.o build_address_dictionary-address_dictionary.o build_address_dictionary-file_utils.o build_address_dictionary-string_utils.o build_address_dictionary-trie.o build_address_dictionary-trie_search.o utf8proc/build_address_dictionary-utf8proc.o -lm -L/usr/local/lib --- build_trans_table-transliteration_table_builder.o --- transliteration_table_builder.c: In function 'regex_string_tree': transliteration_table_builder.c:48:9: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ transliteration_table_builder.c: In function 'parse_groups': transliteration_table_builder.c:153:12: warning: unused variable 'chars_in_group' [-Wunused-variable] size_t chars_in_group = 0; ^ transliteration_table_builder.c:140:13: warning: unused variable 'temp_char_len' [-Wunused-variable] ssize_t temp_char_len; ^ transliteration_table_builder.c:139:10: warning: unused variable 'temp_char' [-Wunused-variable] char temp_char[MAX_UTF8_CHAR_SIZE]; ^ transliteration_table_builder.c:133:10: warning: variable 'in_group' set but not used [-Wunused-but-set-variable] bool in_group = false; ^ transliteration_table_builder.c:132:10: warning: unused variable 'last_ch' [-Wunused-variable] char last_ch = '\0'; ^ transliteration_table_builder.c: In function 'main': transliteration_table_builder.c:518:23: warning: unused variable 'key_str' [-Wunused-variable] char *key_str; ^ transliteration_table_builder.c:318:26: warning: unused variable 'data' [-Wunused-variable] uint32_t data = trans_table->replacements->n; ^ transliteration_table_builder.c:274:20: warning: unused variable 'step_name_len' [-Wunused-variable] size_t step_name_len = strlen(step_source.name); ^ transliteration_table_builder.c:256:16: warning: unused variable 'trans_name_len' [-Wunused-variable] size_t trans_name_len = strlen(trans_source.name); ^ transliteration_table_builder.c: In function 'regex_string_tree': transliteration_table_builder.c:106:25: warning: 'bracket_len' may be used uninitialized in this function [-Wmaybe-uninitialized] bracket_len += char_len; ^ transliteration_table_builder.c:94:13: warning: 'bracket_start' may be used uninitialized in this function [-Wmaybe-uninitialized] string_tree_add_string_len(tree, regex + bracket_start, bracket_len); ^ mv -f .deps/build_trans_table-transliteration_table_builder.Tpo .deps/build_trans_table-transliteration_table_builder.Po --- build_trans_table --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_trans_table build_trans_table-transliteration_table_builder.o build_trans_table-transliterate.o build_trans_table-trie.o build_trans_table-trie_search.o build_trans_table-file_utils.o build_trans_table-string_utils.o utf8proc/build_trans_table-utf8proc.o -lm -L/usr/local/lib libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o build_trans_table build_trans_table-transliteration_table_builder.o build_trans_table-transliterate.o build_trans_table-trie.o build_trans_table-trie_search.o build_trans_table-file_utils.o build_trans_table-string_utils.o utf8proc/build_trans_table-utf8proc.o -lm -L/usr/local/lib --- libscanner_la-scanner.lo --- mv -f .deps/libscanner_la-scanner.Tpo .deps/libscanner_la-scanner.Plo --- libscanner.la --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -O0 -o libscanner.la libscanner_la-scanner.lo -lm -L/usr/local/lib libtool: link: ar cru .libs/libscanner.a .libs/libscanner_la-scanner.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libscanner.a libtool: link: ( cd ".libs" && rm -f "libscanner.la" && ln -s "../libscanner.la" "libscanner.la" ) --- libpostal.la --- --- address_parser --- --- address_parser_test --- --- address_parser_train --- --- language_classifier --- --- libpostal.la --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -version-info 1:0:0 -o libpostal.la -rpath /usr/local/lib libpostal_la-libpostal.lo libpostal_la-address_dictionary.lo libpostal_la-transliterate.lo libpostal_la-tokens.lo libpostal_la-trie.lo libpostal_la-trie_search.lo libpostal_la-trie_utils.lo libpostal_la-string_utils.lo libpostal_la-file_utils.lo libpostal_la-numex.lo utf8proc/libpostal_la-utf8proc.lo cmp/libpostal_la-cmp.lo libpostal_la-normalize.lo libpostal_la-features.lo libpostal_la-unicode_scripts.lo libpostal_la-address_parser.lo libpostal_la-address_parser_io.lo libpostal_la-averaged_perceptron.lo libpostal_la-crf.lo libpostal_la-crf_context.lo libpostal_la-sparse_matrix.lo libpostal_la-averaged_perceptron_tagger.lo libpostal_la-graph.lo libpostal_la-graph_builder.lo libpostal_la-language_classifier.lo libpostal_la-language_features.lo libpostal_la-logistic_regression.lo libpostal_la-logistic.lo libpostal_la-minibatch.lo libpostal_la-float_utils.lo libpostal_la-ngrams.lo libscanner.la -lm -L/usr/local/lib --- address_parser_test --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser_test address_parser_test-address_parser_test.o address_parser_test-address_parser.o address_parser_test-address_parser_io.o address_parser_test-averaged_perceptron.o address_parser_test-crf.o address_parser_test-crf_context.o address_parser_test-sparse_matrix.o address_parser_test-graph.o address_parser_test-graph_builder.o address_parser_test-float_utils.o address_parser_test-averaged_perceptron_tagger.o address_parser_test-address_dictionary.o address_parser_test-normalize.o address_parser_test-features.o address_parser_test-unicode_scripts.o address_parser_test-transliterate.o address_parser_test-trie.o address_parser_test-trie_search.o address_parser_test-trie_utils.o address_parser_test-string_utils.o address_parser_test-tokens.o address_parser_test-file_utils.o utf8proc/address_parser_test-utf8proc.o address_parser_test-ngrams.o libscanner.la -lm -L/usr/local/lib --- address_parser_train --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser_train address_parser_train-address_parser_train.o address_parser_train-address_parser.o address_parser_train-address_parser_io.o address_parser_train-averaged_perceptron.o address_parser_train-crf.o address_parser_train-crf_context.o address_parser_train-sparse_matrix.o address_parser_train-graph.o address_parser_train-graph_builder.o address_parser_train-float_utils.o address_parser_train-averaged_perceptron_trainer.o address_parser_train-crf_trainer.o address_parser_train-crf_trainer_averaged_perceptron.o address_parser_train-averaged_perceptron_tagger.o address_parser_train-address_dictionary.o address_parser_train-normalize.o address_parser_train-features.o address_parser_train-unicode_scripts.o address_parser_train-transliterate.o address_parser_train-trie.o address_parser_train-trie_search.o address_parser_train-trie_utils.o address_parser_train-string_utils.o address_parser_train-tokens.o address_parser_train-file_utils.o address_parser_train-shuffle.o utf8proc/address_parser_train-utf8proc.o address_parser_train-ngrams.o libscanner.la -lm -L/usr/local/lib --- address_parser --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser address_parser-address_parser_cli.o address_parser-json_encode.o linenoise/address_parser-linenoise.o address_parser-libpostal.o address_parser-address_parser.o address_parser-address_parser_io.o address_parser-averaged_perceptron.o address_parser-crf.o address_parser-crf_context.o address_parser-sparse_matrix.o address_parser-graph.o address_parser-graph_builder.o address_parser-float_utils.o address_parser-averaged_perceptron_tagger.o address_parser-address_dictionary.o address_parser-normalize.o address_parser-features.o address_parser-unicode_scripts.o address_parser-transliterate.o address_parser-trie.o address_parser-trie_search.o address_parser-trie_utils.o address_parser-string_utils.o address_parser-tokens.o address_parser-file_utils.o utf8proc/address_parser-utf8proc.o address_parser-ngrams.o address_parser-numex.o address_parser-language_classifier.o address_parser-language_features.o address_parser-logistic_regression.o address_parser-logistic.o address_parser-minibatch.o libscanner.la -lm -L/usr/local/lib --- language_classifier --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier language_classifier-language_classifier_cli.o language_classifier-language_classifier.o language_classifier-language_features.o language_classifier-logistic_regression.o language_classifier-logistic.o language_classifier-sparse_matrix.o language_classifier-features.o language_classifier-minibatch.o language_classifier-float_utils.o language_classifier-normalize.o language_classifier-transliterate.o language_classifier-trie.o language_classifier-trie_search.o language_classifier-trie_utils.o language_classifier-address_dictionary.o language_classifier-string_utils.o language_classifier-file_utils.o utf8proc/language_classifier-utf8proc.o language_classifier-unicode_scripts.o libscanner.la -lm -L/usr/local/lib libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier language_classifier-language_classifier_cli.o language_classifier-language_classifier.o language_classifier-language_features.o language_classifier-logistic_regression.o language_classifier-logistic.o language_classifier-sparse_matrix.o language_classifier-features.o language_classifier-minibatch.o language_classifier-float_utils.o language_classifier-normalize.o language_classifier-transliterate.o language_classifier-trie.o language_classifier-trie_search.o language_classifier-trie_utils.o language_classifier-address_dictionary.o language_classifier-string_utils.o language_classifier-file_utils.o utf8proc/language_classifier-utf8proc.o language_classifier-unicode_scripts.o ./.libs/libscanner.a -L/usr/local/lib -lm --- address_parser_train --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser_train address_parser_train-address_parser_train.o address_parser_train-address_parser.o address_parser_train-address_parser_io.o address_parser_train-averaged_perceptron.o address_parser_train-crf.o address_parser_train-crf_context.o address_parser_train-sparse_matrix.o address_parser_train-graph.o address_parser_train-graph_builder.o address_parser_train-float_utils.o address_parser_train-averaged_perceptron_trainer.o address_parser_train-crf_trainer.o address_parser_train-crf_trainer_averaged_perceptron.o address_parser_train-averaged_perceptron_tagger.o address_parser_train-address_dictionary.o address_parser_train-normalize.o address_parser_train-features.o address_parser_train-unicode_scripts.o address_parser_train-transliterate.o address_parser_train-trie.o address_parser_train-trie_search.o address_parser_train-trie_utils.o address_parser_train-string_utils.o address_parser_train-tokens.o address_parser_train-file_utils.o address_parser_train-shuffle.o utf8proc/address_parser_train-utf8proc.o address_parser_train-ngrams.o ./.libs/libscanner.a -L/usr/local/lib -lm --- address_parser --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser address_parser-address_parser_cli.o address_parser-json_encode.o linenoise/address_parser-linenoise.o address_parser-libpostal.o address_parser-address_parser.o address_parser-address_parser_io.o address_parser-averaged_perceptron.o address_parser-crf.o address_parser-crf_context.o address_parser-sparse_matrix.o address_parser-graph.o address_parser-graph_builder.o address_parser-float_utils.o address_parser-averaged_perceptron_tagger.o address_parser-address_dictionary.o address_parser-normalize.o address_parser-features.o address_parser-unicode_scripts.o address_parser-transliterate.o address_parser-trie.o address_parser-trie_search.o address_parser-trie_utils.o address_parser-string_utils.o address_parser-tokens.o address_parser-file_utils.o utf8proc/address_parser-utf8proc.o address_parser-ngrams.o address_parser-numex.o address_parser-language_classifier.o address_parser-language_features.o address_parser-logistic_regression.o address_parser-logistic.o address_parser-minibatch.o ./.libs/libscanner.a -L/usr/local/lib -lm --- address_parser_test --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o address_parser_test address_parser_test-address_parser_test.o address_parser_test-address_parser.o address_parser_test-address_parser_io.o address_parser_test-averaged_perceptron.o address_parser_test-crf.o address_parser_test-crf_context.o address_parser_test-sparse_matrix.o address_parser_test-graph.o address_parser_test-graph_builder.o address_parser_test-float_utils.o address_parser_test-averaged_perceptron_tagger.o address_parser_test-address_dictionary.o address_parser_test-normalize.o address_parser_test-features.o address_parser_test-unicode_scripts.o address_parser_test-transliterate.o address_parser_test-trie.o address_parser_test-trie_search.o address_parser_test-trie_utils.o address_parser_test-string_utils.o address_parser_test-tokens.o address_parser_test-file_utils.o utf8proc/address_parser_test-utf8proc.o address_parser_test-ngrams.o ./.libs/libscanner.a -L/usr/local/lib -lm --- language_classifier_test --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier_test language_classifier_test-language_classifier_test.o language_classifier_test-language_classifier.o language_classifier_test-language_classifier_io.o language_classifier_test-language_features.o language_classifier_test-logistic_regression.o language_classifier_test-logistic.o language_classifier_test-sparse_matrix.o language_classifier_test-features.o language_classifier_test-minibatch.o language_classifier_test-float_utils.o language_classifier_test-normalize.o language_classifier_test-transliterate.o language_classifier_test-trie.o language_classifier_test-trie_search.o language_classifier_test-trie_utils.o language_classifier_test-address_dictionary.o language_classifier_test-string_utils.o language_classifier_test-file_utils.o utf8proc/language_classifier_test-utf8proc.o language_classifier_test-unicode_scripts.o libscanner.la -lm -L/usr/local/lib --- language_classifier_train --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier_train language_classifier_train-language_classifier_train.o language_classifier_train-language_classifier.o language_classifier_train-language_features.o language_classifier_train-language_classifier_io.o language_classifier_train-logistic_regression_trainer.o language_classifier_train-logistic_regression.o language_classifier_train-logistic.o language_classifier_train-sparse_matrix.o language_classifier_train-sparse_matrix_utils.o language_classifier_train-features.o language_classifier_train-minibatch.o language_classifier_train-float_utils.o language_classifier_train-stochastic_gradient_descent.o language_classifier_train-ftrl.o language_classifier_train-regularization.o language_classifier_train-cartesian_product.o language_classifier_train-normalize.o language_classifier_train-transliterate.o language_classifier_train-trie.o language_classifier_train-trie_search.o language_classifier_train-trie_utils.o language_classifier_train-address_dictionary.o language_classifier_train-string_utils.o language_classifier_train-file_utils.o utf8proc/language_classifier_train-utf8proc.o language_classifier_train-unicode_scripts.o language_classifier_train-shuffle.o libscanner.la -lm -L/usr/local/lib --- libpostal.la --- libtool: link: cc -shared -fPIC -DPIC .libs/libpostal_la-libpostal.o .libs/libpostal_la-address_dictionary.o .libs/libpostal_la-transliterate.o .libs/libpostal_la-tokens.o .libs/libpostal_la-trie.o .libs/libpostal_la-trie_search.o .libs/libpostal_la-trie_utils.o .libs/libpostal_la-string_utils.o .libs/libpostal_la-file_utils.o .libs/libpostal_la-numex.o utf8proc/.libs/libpostal_la-utf8proc.o cmp/.libs/libpostal_la-cmp.o .libs/libpostal_la-normalize.o .libs/libpostal_la-features.o .libs/libpostal_la-unicode_scripts.o .libs/libpostal_la-address_parser.o .libs/libpostal_la-address_parser_io.o .libs/libpostal_la-averaged_perceptron.o .libs/libpostal_la-crf.o .libs/libpostal_la-crf_context.o .libs/libpostal_la-sparse_matrix.o .libs/libpostal_la-averaged_perceptron_tagger.o .libs/libpostal_la-graph.o .libs/libpostal_la-graph_builder.o .libs/libpostal_la-language_classifier.o .libs/libpostal_la-language_features.o .libs/libpostal_la-logistic_regression.o .libs/libpostal_la-logistic.o .libs/libpostal_la-minibatch.o .libs/libpostal_la-float_utils.o .libs/libpostal_la-ngrams.o -Wl,--whole-archive ./.libs/libscanner.a -Wl,--no-whole-archive -L/usr/local/lib -lm -O2 -Wl,-soname -Wl,libpostal.so.1 -o .libs/libpostal.so.1.0.0 --- language_classifier_test --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier_test language_classifier_test-language_classifier_test.o language_classifier_test-language_classifier.o language_classifier_test-language_classifier_io.o language_classifier_test-language_features.o language_classifier_test-logistic_regression.o language_classifier_test-logistic.o language_classifier_test-sparse_matrix.o language_classifier_test-features.o language_classifier_test-minibatch.o language_classifier_test-float_utils.o language_classifier_test-normalize.o language_classifier_test-transliterate.o language_classifier_test-trie.o language_classifier_test-trie_search.o language_classifier_test-trie_utils.o language_classifier_test-address_dictionary.o language_classifier_test-string_utils.o language_classifier_test-file_utils.o utf8proc/language_classifier_test-utf8proc.o language_classifier_test-unicode_scripts.o ./.libs/libscanner.a -L/usr/local/lib -lm --- language_classifier_train --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o language_classifier_train language_classifier_train-language_classifier_train.o language_classifier_train-language_classifier.o language_classifier_train-language_features.o language_classifier_train-language_classifier_io.o language_classifier_train-logistic_regression_trainer.o language_classifier_train-logistic_regression.o language_classifier_train-logistic.o language_classifier_train-sparse_matrix.o language_classifier_train-sparse_matrix_utils.o language_classifier_train-features.o language_classifier_train-minibatch.o language_classifier_train-float_utils.o language_classifier_train-stochastic_gradient_descent.o language_classifier_train-ftrl.o language_classifier_train-regularization.o language_classifier_train-cartesian_product.o language_classifier_train-normalize.o language_classifier_train-transliterate.o language_classifier_train-trie.o language_classifier_train-trie_search.o language_classifier_train-trie_utils.o language_classifier_train-address_dictionary.o language_classifier_train-string_utils.o language_classifier_train-file_utils.o utf8proc/language_classifier_train-utf8proc.o language_classifier_train-unicode_scripts.o language_classifier_train-shuffle.o ./.libs/libscanner.a -L/usr/local/lib -lm --- libpostal.la --- libtool: link: (cd ".libs" && rm -f "libpostal.so.1" && ln -s "libpostal.so.1.0.0" "libpostal.so.1") libtool: link: (cd ".libs" && rm -f "libpostal.so" && ln -s "libpostal.so.1.0.0" "libpostal.so") libtool: link: ( cd ".libs" && rm -f "libpostal.la" && ln -s "../libpostal.la" "libpostal.la" ) --- bench --- --- libpostal --- --- bench --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o bench bench-bench.o libpostal.la libscanner.la -lm -L/usr/local/lib --- libpostal --- /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o libpostal libpostal-main.o libpostal-json_encode.o libpostal.la -lm -L/usr/local/lib libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o .libs/libpostal libpostal-main.o libpostal-json_encode.o ./.libs/libpostal.so -L/usr/local/lib -lm -Wl,-rpath -Wl,/usr/local/lib --- bench --- libtool: link: cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -o .libs/bench bench-bench.o ./.libs/libpostal.so -L/usr/local/lib ./.libs/libscanner.a -lm -Wl,-rpath -Wl,/usr/local/lib Making all in test --- test_libpostal-test.o --- --- test_libpostal-test_expand.o --- --- test_libpostal-test_parser.o --- --- test_libpostal-test_transliterate.o --- --- test_libpostal-test_numex.o --- --- test_libpostal-test.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test.o -MD -MP -MF .deps/test_libpostal-test.Tpo -c -o test_libpostal-test.o `test -f 'test.c' || echo './'`test.c --- test_libpostal-test_expand.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_expand.o -MD -MP -MF .deps/test_libpostal-test_expand.Tpo -c -o test_libpostal-test_expand.o `test -f 'test_expand.c' || echo './'`test_expand.c --- test_libpostal-test_parser.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_parser.o -MD -MP -MF .deps/test_libpostal-test_parser.Tpo -c -o test_libpostal-test_parser.o `test -f 'test_parser.c' || echo './'`test_parser.c --- test_libpostal-test_numex.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_numex.o -MD -MP -MF .deps/test_libpostal-test_numex.Tpo -c -o test_libpostal-test_numex.o `test -f 'test_numex.c' || echo './'`test_numex.c --- test_libpostal-test_transliterate.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_transliterate.o -MD -MP -MF .deps/test_libpostal-test_transliterate.Tpo -c -o test_libpostal-test_transliterate.o `test -f 'test_transliterate.c' || echo './'`test_transliterate.c --- test_libpostal-test_expand.o --- test_expand.c: In function 'test_expansion_contains': test_expand.c:19:13: warning: implicit declaration of function 'string_equals' [-Wimplicit-function-declaration] if (string_equals(output, expansion)) { ^ mv -f .deps/test_libpostal-test_expand.Tpo .deps/test_libpostal-test_expand.Po --- test_libpostal-test_trie.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_trie.o -MD -MP -MF .deps/test_libpostal-test_trie.Tpo -c -o test_libpostal-test_trie.o `test -f 'test_trie.c' || echo './'`test_trie.c --- test_libpostal-test.o --- mv -f .deps/test_libpostal-test.Tpo .deps/test_libpostal-test.Po --- test_libpostal-test_string_utils.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_string_utils.o -MD -MP -MF .deps/test_libpostal-test_string_utils.Tpo -c -o test_libpostal-test_string_utils.o `test -f 'test_string_utils.c' || echo './'`test_string_utils.c --- test_libpostal-test_parser.o --- In file included from ../src/sparse_matrix.h:46:0, from ../src/averaged_perceptron.h:27, from ../src/address_parser.h:52, from test_parser.c:8: ../src/matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ --- test_libpostal-test_numex.o --- mv -f .deps/test_libpostal-test_numex.Tpo .deps/test_libpostal-test_numex.Po --- test_libpostal-test_crf_context.o --- cc -DHAVE_CONFIG_H -I.. -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_crf_context.o -MD -MP -MF .deps/test_libpostal-test_crf_context.Tpo -c -o test_libpostal-test_crf_context.o `test -f 'test_crf_context.c' || echo './'`test_crf_context.c In file included from ../src/crf_context.h:20:0, from ../src/crf_context.c:1, from test_crf_context.c:8: ../src/matrix.h:19:2: warning: #warning "No CLBAS" [-Wcpp] #warning "No CLBAS" ^ In file included from test_crf_context.c:8:0: ../src/crf_context.c:295:12: warning: 'double_matrix_get_row' is static but used in inline function 'exp_state_trans_score_all' which is not static return double_matrix_get_row(self->exp_state_trans, t); ^ --- test_libpostal-test_trie.o --- mv -f .deps/test_libpostal-test_trie.Tpo .deps/test_libpostal-test_trie.Po --- test_libpostal-test_parser.o --- mv -f .deps/test_libpostal-test_parser.Tpo .deps/test_libpostal-test_parser.Po --- test_libpostal-test_string_utils.o --- mv -f .deps/test_libpostal-test_string_utils.Tpo .deps/test_libpostal-test_string_utils.Po --- test_libpostal-test_transliterate.o --- mv -f .deps/test_libpostal-test_transliterate.Tpo .deps/test_libpostal-test_transliterate.Po --- test_libpostal-test_crf_context.o --- mv -f .deps/test_libpostal-test_crf_context.Tpo .deps/test_libpostal-test_crf_context.Po --- test_libpostal --- /bin/sh ../libtool --tag=CC --mode=link cc -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -o test_libpostal test_libpostal-test.o test_libpostal-test_expand.o test_libpostal-test_parser.o test_libpostal-test_transliterate.o test_libpostal-test_numex.o test_libpostal-test_trie.o test_libpostal-test_string_utils.o test_libpostal-test_crf_context.o ../src/libpostal.la -lm -L/usr/local/lib libtool: link: cc -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -o .libs/test_libpostal test_libpostal-test.o test_libpostal-test_expand.o test_libpostal-test_parser.o test_libpostal-test_transliterate.o test_libpostal-test_numex.o test_libpostal-test_trie.o test_libpostal-test_string_utils.o test_libpostal-test_crf_context.o ../src/.libs/libpostal.so -L/usr/local/lib -lm -Wl,-rpath -Wl,/usr/local/lib -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> libpostal-1.0.0 depends on executable: curl - not found ===> Installing existing package /packages/All/curl-7.60.0.txz Installing curl-7.60.0... `-- Installing ca_root_nss-3.38... `-- Extracting ca_root_nss-3.38: ........ done `-- Installing krb5-1.16.1_5... | `-- Installing gettext-runtime-0.19.8.1_1... | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | `-- Installing libressl-2.7.4... | `-- Extracting libressl-2.7.4: .......... done | `-- Installing pkgconf-1.4.2,1... | `-- Extracting pkgconf-1.4.2,1: .......... done | `-- Installing readline-7.0.3_1... | | `-- Installing ncurses-6.0.0s20171223_1... | | `-- Extracting ncurses-6.0.0s20171223_1: .......... done | `-- Extracting readline-7.0.3_1: .......... done `-- Extracting krb5-1.16.1_5: .......... done `-- Installing libnghttp2-1.32.0... `-- Extracting libnghttp2-1.32.0: .......... done Extracting curl-7.60.0: .......... done Message from ca_root_nss-3.38: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** ===> libpostal-1.0.0 depends on executable: curl - found ===> Returning to build of libpostal-1.0.0 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for libpostal-1.0.0 ===> Generating temporary packing list Making install in src /bin/mkdir -p '/construction/misc/libpostal/stage/usr/local/bin' install -m 555 libpostal_data '/construction/misc/libpostal/stage/usr/local/bin' /bin/mkdir -p '/construction/misc/libpostal/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libpostal.la '/construction/misc/libpostal/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libpostal.so.1.0.0 /construction/misc/libpostal/stage/usr/local/lib/libpostal.so.1.0.0 libtool: install: (cd /construction/misc/libpostal/stage/usr/local/lib && { ln -s -f libpostal.so.1.0.0 libpostal.so.1 || { rm -f libpostal.so.1 && ln -s libpostal.so.1.0.0 libpostal.so.1; }; }) libtool: install: (cd /construction/misc/libpostal/stage/usr/local/lib && { ln -s -f libpostal.so.1.0.0 libpostal.so || { rm -f libpostal.so && ln -s libpostal.so.1.0.0 libpostal.so; }; }) libtool: install: /usr/bin/install -c .libs/libpostal.lai /construction/misc/libpostal/stage/usr/local/lib/libpostal.la libtool: warning: remember to run 'libtool --finish /usr/local/lib' /bin/mkdir -p '/construction/misc/libpostal/stage/usr/local/include/libpostal' install -m 0644 libpostal.h '/construction/misc/libpostal/stage/usr/local/include/libpostal' Making install in test /bin/mkdir -p '/construction/misc/libpostal/stage/usr/local/lib/pkgconfig' install -m 0644 libpostal.pc '/construction/misc/libpostal/stage/usr/local/lib/pkgconfig' install -s -m 555 /construction/misc/libpostal/libpostal-1.0.0/src/address_parser /construction/misc/libpostal/stage/usr/local/bin install -m 555 /construction/misc/libpostal/libpostal-1.0.0/src/libpostal /construction/misc/libpostal/stage/usr/local/bin install -m 0644 /construction/misc/libpostal/libpostal-1.0.0/README.md /construction/misc/libpostal/stage/usr/local/share/doc/libpostal ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for libpostal-1.0.0 file sizes/checksums [12]: . done packing files [12]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 19:32:29 UTC Duration: 00:05:26