* Package: app-text/ghostscript-gpl-9.55.0-r1 * Repository: gentoo * Maintainer: codec@gentoo.org printing@gentoo.org * USE: X abi_x86_64 amd64 cups dbus elibc_glibc gtk kernel_linux unicode userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Applying 0001-Make-sure-dvipdf-is-being-run-securely.patch ... [ ok ] * Applying 0002-Allow-the-build-timestamp-to-be-externally-set.patch ... [ ok ] * Applying 0003-Fix-docdir-for-Gentoo.patch ... [ ok ] * Applying 0004-Bug-704405-Fix-typo-in-non-forked-lcms2-code.patch ... [ ok ] * Running eautoreconf in '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/work/ghostscript-9.55.0' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running elibtoolize in: ghostscript-9.55.0/ * Running elibtoolize in: ghostscript-9.55.0/ijs/ * Applying target-nm/2.4.2 patch ... * Running eautoreconf in '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/work/ghostscript-9.55.0/ijs' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: ghostscript-9.55.0/ijs/ * We've already been run in this tree; you should * avoid this if possible (perhaps by filing a bug) * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib configure: Using /usr/bin/x86_64-pc-linux-gnu-pkg-config checking for x86_64-pc-linux-gnu-strip... /usr/bin/x86_64-pc-linux-gnu-strip checking if compiler supports restrict... yes checking supported compiler flags... -O2 -DNDEBUG -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -gdwarf-2 -g3 -O0 -fvisibility=hidden ...done. checking compiler/linker address santizer support... ...done. checking compiler/linker address santizer build warnings support... ...done. checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking whether byte ordering is bigendian... no checking sse2 support... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for errno.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for memory.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for dirent.h... yes checking for ndir.h... no checking for sys/dir.h... yes checking for sys/ndir.h... no checking for inttypes.h... (cached) yes checking if make is GNU make... yes checking for sys/window.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking size of unsigned long long... 8 checking for cos in -lm... yes checking for pread... yes checking for pwrite... yes checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... none needed checking whether pwrite is declared... yes checking whether pread is declared... yes checking whether popen is declared... yes checking for pthread_create in -lpthread... yes checking for recursive mutexes... PTHREAD_MUTEX_RECURSIVE checking for local Tesseract library source... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking supported C++ compiler flags... -std=c++17 -std=c++17 checking sse4.1 support... yes checking avx support... yes checking avx2 support... yes checking fma support... yes checking neon support... no checking for iconv_open... yes checking for libidn with pkg-config... yes checking for systempapername in -lpaper... yes checking for paper.h... yes checking for fontconfig with pkg-config... yes Package uuid was not found in the pkg-config search path. Perhaps you should add the directory containing `uuid.pc' to the PKG_CONFIG_PATH environment variable Package 'uuid', required by 'fontconfig', not found checking for dbus with pkg-config... yes checking for local freetype library source... no checking for system freetype2 >= 2.4.2 with pkg-config... yes checking for local jpeg library source... no checking for jpeg_set_defaults in -ljpeg... yes checking for jpeglib.h... yes checking for jmemsys.h... no checking for local zlib source... no checking for deflate in -lz... yes checking for zlib.h... yes checking for local png library source... no checking for png_create_write_struct in -lpng... yes checking for png.h... yes checking for local lcms2mt library source... no checking for local lcms2 library source... no checking for system lcms2 library... checking for _cmsCreateMutex in -llcms2... yes checking for lcms2.h... yes checking for libtiff with pkg-config... yes checking for x86_64-pc-linux-gnu-cups-config... /usr/bin/x86_64-pc-linux-gnu-cups-config checking for cups/cups.h... yes checking for cups/raster.h... yes checking for local ijs library source... yes checking for local jbig2dec library source... no checking for jbig2dec 0.19 with pkg-config... yes checking for fseeko... yes checking whether lrintf is declared... yes checking for local OpenJPEG library source... no checking for OpenJPEG2... yes checking for URF support... checking for local CAL library source... no checking for GTK+ 3.x... Package mount was not found in the pkg-config search path. Perhaps you should add the directory containing `mount.pc' to the PKG_CONFIG_PATH environment variable Package 'mount', required by 'gio-2.0', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'mount', required by 'gio-2.0', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'mount', required by 'gio-2.0', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'uuid', required by 'fontconfig', not found Package 'mount', required by 'gio-2.0', not found Package 'mount', required by 'gio-2.0', not found yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... yes checking Checking for "extract" in default location... yes checking for mkstemp... yes checking for fopen64... yes checking for fseeko... (cached) yes checking for mkstemp64... yes checking for setlocale... yes checking for strerror... yes checking for isnan... yes checking for isinf... yes checking for fpclassify... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for vprintf... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for bzero... yes checking for dup2... yes checking for floor... yes checking for gettimeofday... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkfifo... yes checking for modf... yes checking for pow... yes checking for putenv... yes checking for rint... yes checking for setenv... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking minimum memory pointer alignment... done checking for sqrtf... yes checking for strnlen... yes checking byteswap support... yes checking for byteswap.h... yes checking whether to explicitly disable strict aliasing... yes configure: creating ./config.status config.status: creating Makefile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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 x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for library containing strerror... none required checking for db2ps... no configure: WARNING: PostScript documentation cannot be generated! checking for ps2pdf... /usr/bin/ps2pdf checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ijs.pc config.status: executing depfiles commands config.status: executing libtool commands ./base/ttobjs.c: In function ‘Context_Create’: ./base/ttobjs.c:306:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 306 | if ( ALLOC_ARRAY( exec->callStack, exec->callSize, callSize, TCallRecord ) || | ^~ ./base/ttobjs.c:331:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 331 | SETMAX(exec->callSize, callSize); | ^~~~ ./base/ttobjs.c:208:22: note: in definition of macro ‘SETMAX’ 208 | #define SETMAX(a, b) a = (a > b ? a : b) | ^ ./base/claptrap.c: In function ‘process_at_pixel.constprop’: ./base/claptrap.c:104:39: warning: ‘max_v’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 104 | if (!first_comp && cv > max_v) | ~~~^~~~~~~ ./base/claptrap.c:106:43: warning: ‘min_v’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 106 | else if (!last_comp && cv < min_v) | ~~~^~~~~~~ ./base/claptrap-planar.c: In function ‘process_at_pixel.constprop’: ./base/claptrap-planar.c:89:20: warning: ‘max_v’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 89 | int min_v, max_v; | ^~~~~ ./base/claptrap-planar.c:106:43: warning: ‘min_v’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 106 | else if (!last_comp && cv < min_v) | ~~~^~~~~~~ ./devices/gdevdsp.c:475:33: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 475 | gx_color_value prgb[4]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./devices/gdevdsp.c:43: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevdsp.c:83:8: note: in expansion of macro ‘dev_proc_decode_color’ 83 | static dev_proc_decode_color(display_decode_color_device8); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevpdfimg.c:1131:1: warning: no previous prototype for ‘PCLm_get_initial_matrix’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;] 1131 | PCLm_get_initial_matrix(gx_device * dev, register gs_matrix * pmat) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevbit.c:339:76: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 339 | bittag_map_color_rgb(gx_device * dev, gx_color_index color, gx_color_value cv[4]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevbit.c:19: ./base/gxdevcli.h:900:42: note: previously declared as ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} 900 | gx_color_index color, gx_color_value rgb[3]) | ~~~~~~~~~~~~~~~^~~~~~ ./base/gxdevcli.h:902:3: note: in expansion of macro ‘dev_t_proc_map_color_rgb’ 902 | dev_t_proc_map_color_rgb(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevbit.c:41:8: note: in expansion of macro ‘dev_proc_map_color_rgb’ 41 | static dev_proc_map_color_rgb(bittag_map_color_rgb); | ^~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevbit.c:429:73: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 429 | bit_map_color_rgb(gx_device * dev, gx_color_index color, gx_color_value cv[4]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevbit.c:19: ./base/gxdevcli.h:900:42: note: previously declared as ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} 900 | gx_color_index color, gx_color_value rgb[3]) | ~~~~~~~~~~~~~~~^~~~~~ ./base/gxdevcli.h:902:3: note: in expansion of macro ‘dev_t_proc_map_color_rgb’ 902 | dev_t_proc_map_color_rgb(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevbit.c:51:8: note: in expansion of macro ‘dev_proc_map_color_rgb’ 51 | static dev_proc_map_color_rgb(bit_map_color_rgb); | ^~~~~~~~~~~~~~~~~~~~~~ ./base/gstiffio.c:190:1: warning: ‘gs_tifsErrorHandlerEx’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-function-Wunused-function]8;;] 190 | gs_tifsErrorHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap) | ^~~~~~~~~~~~~~~~~~~~~ ./base/gstiffio.c:174:1: warning: ‘gs_tifsWarningHandlerEx’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-function-Wunused-function]8;;] 174 | gs_tifsWarningHandlerEx(thandle_t client_data, const char* module, const char* fmt, va_list ap) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./devices/gdevtfax.c:20: ./devices/gdevtifs.h:35:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 35 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtifs.h:83:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 83 | int tiff_compression_param_string(gs_param_string *param, uint16 id); | ^~~ ./devices/gdevtifs.h:88:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 88 | int tiff_compression_id(uint16 *id, gs_param_string *param); | ^~~ ./devices/gdevtifs.h:94:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 94 | int tiff_compression_allowed(uint16 compression, byte depth); | ^~~ ./devices/gdevtfax.c:50:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 50 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtfax.c: In function ‘tfax_put_params’: ./devices/gdevtfax.c:163:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 163 | uint16 compr = tfdev->Compression; | ^~~~~~ In file included from ./devices/gdevtifs.c:22: ./devices/gdevtifs.h:35:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 35 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtifs.h:83:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 83 | int tiff_compression_param_string(gs_param_string *param, uint16 id); | ^~~ ./devices/gdevtifs.h:88:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 88 | int tiff_compression_id(uint16 *id, gs_param_string *param); | ^~~ ./devices/gdevtifs.h:94:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 94 | int tiff_compression_allowed(uint16 compression, byte depth); | ^~~ ./devices/gdevtifs.c: In function ‘tiff_put_some_params’: ./devices/gdevtifs.c:155:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 155 | uint16 compr = tfdev->Compression; | ^~~~~~ ./devices/gdevtifs.c: In function ‘tiff_print_page’: ./devices/gdevtifs.c:497:17: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 497 | TIFFSwabArrayOfShort((uint16 *)data, | ^~~~~~~~~~~~~~~~~~~~ ./devices/gdevtifs.c: At top level: ./devices/gdevtifs.c:604:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 604 | uint16 id; | ^~~~~~ ./devices/gdevtifs.c:618:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 618 | tiff_compression_param_string(gs_param_string *param, uint16 id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevtifs.c:630:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 630 | tiff_compression_id(uint16 *id, gs_param_string *param) | ^~~~~~~~~~~~~~~~~~~ ./devices/gdevtifs.c:643:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 643 | int tiff_compression_allowed(uint16 compression, byte depth) | ^~~ In file included from /usr/include/string.h:519, from ./base/string_.h:32, from ./devices/vector/gdevpdfe.c:20: In function ‘strncpy’, inlined from ‘pdf_make_uuid.constprop’ at ./devices/vector/gdevpdfe.c:570:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 44 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./devices/vector/gdevpdfm.c: In function ‘pdfmark_DOCINFO’: ./devices/vector/gdevpdfm.c:1984:42: warning: passing argument 1 of ‘is_XMP_Key’ discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 1984 | if (pdev->PDFA !=0 && is_XMP_Key(pair)) { | ^~~~ ./devices/vector/gdevpdfm.c:1936:40: note: expected ‘gs_param_string *’ {aka ‘struct gs_param_string_s *’} but argument is of type ‘const gs_param_string *’ {aka ‘const struct gs_param_string_s *’} 1936 | static int is_XMP_Key(gs_param_string *param) | ~~~~~~~~~~~~~~~~~^~~~~ ./devices/vector/gdevpdfp.c: In function ‘gdev_pdf_get_param’: ./devices/vector/gdevpdfp.c:279:9: warning: enumeration value ‘UseOCRAsNeeded’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;] 279 | switch(pdev->UseOCR) { | ^~~~~~ ./devices/vector/gdevpdfp.c:279:9: warning: enumeration value ‘UseOCRAlways’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;] ./devices/vector/gdevpdfp.c:290:13: warning: label ‘UseOCRAlways’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]8;;] 290 | UseOCRAlways: | ^~~~~~~~~~~~ ./devices/vector/gdevpdfp.c:285:13: warning: label ‘UseOCRAsNeeded’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]8;;] 285 | UseOCRAsNeeded: | ^~~~~~~~~~~~~~ ./devices/vector/gdevpdfp.c: In function ‘gdev_pdf_get_params’: ./devices/vector/gdevpdfp.c:330:9: warning: enumeration value ‘UseOCRAsNeeded’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;] 330 | switch(pdev->UseOCR) { | ^~~~~~ ./devices/vector/gdevpdfp.c:330:9: warning: enumeration value ‘UseOCRAlways’ not handled in switch []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wswitch-Wswitch]8;;] ./devices/vector/gdevpdfp.c:341:13: warning: label ‘UseOCRAlways’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]8;;] 341 | UseOCRAlways: | ^~~~~~~~~~~~ ./devices/vector/gdevpdfp.c:336:13: warning: label ‘UseOCRAsNeeded’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]8;;] 336 | UseOCRAsNeeded: | ^~~~~~~~~~~~~~ ./soobj/aux/packps: Input file: ./devices/vector/opdfread.ps Output file: ./soobj/opdfread_.h Array name: opdfread_ps Processed 4055 lines of PostScript data. 146886 bytes of PostScript data packed down to 67912 bytes. ./devices/vector/gdevpdte.c: In function ‘OCRText’: ./devices/vector/gdevpdte.c:96:18: warning: unused variable ‘DbgFile’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 96 | gp_file *DbgFile; | ^~~~~~~ ./devices/gdevjpeg.c:175:38: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 175 | gx_color_value cv[4]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevjpeg.c:19: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevjpeg.c:53:8: note: in expansion of macro ‘dev_proc_decode_color’ 53 | static dev_proc_decode_color(jpegcmyk_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevpbm.c:459:33: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 459 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevpbm.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevpbm.c:116:8: note: in expansion of macro ‘dev_proc_decode_color’ 116 | static dev_proc_decode_color(ppm_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:395:35: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 395 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplan.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:60:8: note: in expansion of macro ‘dev_proc_decode_color’ 60 | static dev_proc_decode_color(plang_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:409:34: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 409 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplan.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:58:8: note: in expansion of macro ‘dev_proc_decode_color’ 58 | static dev_proc_decode_color(plan_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:427:35: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 427 | gx_color_value prgb[4]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplan.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplan.c:62:8: note: in expansion of macro ‘dev_proc_decode_color’ 62 | static dev_proc_decode_color(planc_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:737:35: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 737 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplib.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:249:8: note: in expansion of macro ‘dev_proc_decode_color’ 249 | static dev_proc_decode_color(plibg_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:751:34: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 751 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplib.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:247:8: note: in expansion of macro ‘dev_proc_decode_color’ 247 | static dev_proc_decode_color(plib_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:769:35: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 769 | gx_color_value prgb[4]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevplib.c:17: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevplib.c:250:8: note: in expansion of macro ‘dev_proc_decode_color’ 250 | static dev_proc_decode_color(plibc_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevpsd.c: In function ‘psd_setup’: ./devices/gdevpsd.c:859:26: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 859 | byte *prev = " "; | ^~~ ./devices/gdevpsd.c:865:30: warning: initialization discards ‘const’ qualifier from pointer target type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdiscarded-qualifiers-Wdiscarded-qualifiers]8;;] 865 | byte* curr = "\377"; | ^~~~~~ ./devices/gdevpsd.c:872:48: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 872 | if (strncmp(separation_name->data, curr, min(curr_size, separation_name->size)) < 0) { | ~~~~~~~~~~~~~~~^~~~~~ | | | byte * {aka unsigned char *} In file included from ./base/memory_.h:46, from ./base/gp.h:48, from ./base/gxiodev.h:26, from ./devices/gdevpsd.c:20: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘byte *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./devices/gdevpsd.c:872:56: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 872 | if (strncmp(separation_name->data, curr, min(curr_size, separation_name->size)) < 0) { | ^~~~ | | | byte * {aka unsigned char *} In file included from ./base/memory_.h:46, from ./base/gp.h:48, from ./base/gxiodev.h:26, from ./devices/gdevpsd.c:20: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘byte *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./devices/gdevpsd.c:873:52: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 873 | if (strncmp(separation_name->data, prev, min(prev_size, separation_name->size)) > 0) { | ~~~~~~~~~~~~~~~^~~~~~ | | | byte * {aka unsigned char *} In file included from ./base/memory_.h:46, from ./base/gp.h:48, from ./base/gxiodev.h:26, from ./devices/gdevpsd.c:20: /usr/include/string.h:143:33: note: expected ‘const char *’ but argument is of type ‘byte *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ./devices/gdevpsd.c:873:60: warning: pointer targets in passing argument 2 of ‘strncmp’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 873 | if (strncmp(separation_name->data, prev, min(prev_size, separation_name->size)) > 0) { | ^~~~ | | | byte * {aka unsigned char *} In file included from ./base/memory_.h:46, from ./base/gp.h:48, from ./base/gxiodev.h:26, from ./devices/gdevpsd.c:20: /usr/include/string.h:143:51: note: expected ‘const char *’ but argument is of type ‘byte *’ {aka ‘unsigned char *’} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ In file included from ./devices/gdevtfnx.c:20: ./devices/gdevtifs.h:35:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 35 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtifs.h:83:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 83 | int tiff_compression_param_string(gs_param_string *param, uint16 id); | ^~~ ./devices/gdevtifs.h:88:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 88 | int tiff_compression_id(uint16 *id, gs_param_string *param); | ^~~ ./devices/gdevtifs.h:94:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 94 | int tiff_compression_allowed(uint16 compression, byte depth); | ^~~ In file included from ./devices/gdevtsep.c:37: ./devices/gdevtifs.h:35:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 35 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtifs.h:83:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 83 | int tiff_compression_param_string(gs_param_string *param, uint16 id); | ^~~ ./devices/gdevtifs.h:88:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 88 | int tiff_compression_id(uint16 *id, gs_param_string *param); | ^~~ ./devices/gdevtifs.h:94:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 94 | int tiff_compression_allowed(uint16 compression, byte depth); | ^~~ ./devices/gdevtsep.c:450:22: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 450 | uint16 compression, | ^~~~~~ ./devices/gdevtsep.c:689:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 689 | tiffsep_devices_common; | ^~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevtsep.c:693:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 693 | tiffsep_devices_common; | ^~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevtsep.c: In function ‘tiffsep_print_page’: ./devices/gdevtsep.c:2069:10: warning: unused variable ‘double_f’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 2069 | bool double_f = false; | ^~~~~~~~ In file included from ./devices/vector/gdevxps.c:27: ./devices/gdevtifs.h:35:5: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 35 | uint16 Compression; /* same values as TIFFTAG_COMPRESSION */ | ^~~~~~ ./devices/gdevtifs.h:83:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 83 | int tiff_compression_param_string(gs_param_string *param, uint16 id); | ^~~ ./devices/gdevtifs.h:88:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 88 | int tiff_compression_id(uint16 *id, gs_param_string *param); | ^~~ ./devices/gdevtifs.h:94:1: warning: ‘uint16’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 94 | int tiff_compression_allowed(uint16 compression, byte depth); | ^~~ ./contrib/gdevcd8.c:2360:39: warning: argument 2 of type ‘int[256]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2360 | do_black_correction(float kvalue, int kcorrect[256]) | ~~~~^~~~~~~~~~~~~ ./contrib/gdevcd8.c:1212:45: note: previously declared as ‘int *’ 1212 | do_black_correction(float kvalue, int *kcorrect); | ~~~~~^~~~~~~~ ./contrib/gdevcd8.c:2434:49: warning: argument 3 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2434 | do_gcr(int bytecount, byte * inbyte, const byte kvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevcd8.c:1183:55: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 1183 | do_gcr(int bytecount, byte * inbyte, const byte * kvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevcd8.c:2435:19: warning: argument 4 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2435 | const byte cvalues[256], const byte mvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevcd8.c:1184:25: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 1184 | const byte * cvalues, const byte * mvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevcd8.c:2435:44: warning: argument 5 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2435 | const byte cvalues[256], const byte mvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevcd8.c:1184:47: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 1184 | const byte * cvalues, const byte * mvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevcd8.c:2436:19: warning: argument 6 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2436 | const byte yvalues[256], const int kcorrect[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevcd8.c:1185:25: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 1185 | const byte * yvalues, const int *kcorrect, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevcd8.c:2436:43: warning: argument 7 of type ‘const int[256]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2436 | const byte yvalues[256], const int kcorrect[256], | ~~~~~~~~~~^~~~~~~~~~~~~ ./contrib/gdevcd8.c:1185:45: note: previously declared as ‘const int *’ 1185 | const byte * yvalues, const int *kcorrect, | ~~~~~~~~~~~^~~~~~~~ ./contrib/gdevdj9.c:1226:50: warning: argument 3 of type ‘byte[256]’ {aka ‘unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1226 | do_gamma(float mastergamma, float gammaval, byte values[256]) | ~~~~~^~~~~~~~~~~ ./contrib/gdevdj9.c:794:64: note: previously declared as ‘byte *’ {aka ‘unsigned char *’} 794 | static void do_gamma(float mastergamma, float gammaval, byte * values); | ~~~~~~~^~~~~~ ./contrib/gdevdj9.c:1253:39: warning: argument 2 of type ‘int[256]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1253 | do_black_correction(float kvalue, int kcorrect[256]) | ~~~~^~~~~~~~~~~~~ ./contrib/gdevdj9.c:796:52: note: previously declared as ‘int *’ 796 | static void do_black_correction(float kvalue, int *kcorrect); | ~~~~~^~~~~~~~ ./contrib/gdevdj9.c:1314:19: warning: argument 3 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1314 | const byte kvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevdj9.c:783:51: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 783 | do_gcr(int bytecount, byte * inbyte, const byte * kvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevdj9.c:1315:19: warning: argument 4 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1315 | const byte cvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevdj9.c:784:21: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 784 | const byte * cvalues, const byte * mvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevdj9.c:1316:19: warning: argument 5 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1316 | const byte mvalues[256], | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevdj9.c:784:43: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 784 | const byte * cvalues, const byte * mvalues, | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevdj9.c:1317:19: warning: argument 6 of type ‘const byte[256]’ {aka ‘const unsigned char[256]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1317 | const byte yvalues[256], const int kcorrect[256]) | ~~~~~~~~~~~^~~~~~~~~~~~ ./contrib/gdevdj9.c:785:21: note: previously declared as ‘const byte *’ {aka ‘const unsigned char *’} 785 | const byte * yvalues, const int *kcorrect); | ~~~~~~~~~~~~~^~~~~~~ ./contrib/gdevdj9.c:1317:43: warning: argument 7 of type ‘const int[256]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1317 | const byte yvalues[256], const int kcorrect[256]) | ~~~~~~~~~~^~~~~~~~~~~~~ ./contrib/gdevdj9.c:785:41: note: previously declared as ‘const int *’ 785 | const byte * yvalues, const int *kcorrect); | ~~~~~~~~~~~^~~~~~~~ ./contrib/pcl3/eprn/eprnrend.c:404:18: warning: argument 3 of type ‘gx_color_value[]’ {aka ‘short unsigned int[]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 404 | gx_color_value rgb[]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./contrib/pcl3/eprn/gdeveprn.h:187, from ./contrib/pcl3/eprn/eprnrend.c:67: ./base/gxdevcli.h:900:42: note: previously declared as ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} 900 | gx_color_index color, gx_color_value rgb[3]) | ~~~~~~~~~~~~~~~^~~~~~ ./base/gxdevcli.h:902:3: note: in expansion of macro ‘dev_t_proc_map_color_rgb’ 902 | dev_t_proc_map_color_rgb(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~~ ./contrib/pcl3/eprn/gdeveprn.h:659:8: note: in expansion of macro ‘dev_proc_map_color_rgb’ 659 | extern dev_proc_map_color_rgb(eprn_map_color_rgb); | ^~~~~~~~~~~~~~~~~~~~~~ ./contrib/opvp/gdevopvp.c:2550:20: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2550 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ ./contrib/opvp/gdevopvp.c:174:61: note: previously declared as ‘gx_color_value *’ {aka ‘short unsigned int *’} 174 | static int opvp_map_color_rgb(gx_device *, gx_color_index, gx_color_value *); | ^~~~~~~~~~~~~~~~ ./devices/gdevstc.c:2099:76: warning: argument 3 of type ‘gx_color_value[1]’ {aka ‘short unsigned int[1]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2099 | stc_gray_decode_color(gx_device *pdev, gx_color_index color,gx_color_value prgb[1]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevstc.h:29, from ./devices/gdevstc.c:74: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevstc.c:117:8: note: in expansion of macro ‘dev_proc_decode_color’ 117 | static dev_proc_decode_color(stc_gray_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevstc.c:2274:77: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2274 | stc_cmyk_decode_color(gx_device *pdev, gx_color_index color, gx_color_value cv[4]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevstc.h:29, from ./devices/gdevstc.c:74: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevstc.c:127:8: note: in expansion of macro ‘dev_proc_decode_color’ 127 | static dev_proc_decode_color(stc_cmyk_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevstc.c:2459:40: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2459 | gx_color_value cv[4]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevstc.h:29, from ./devices/gdevstc.c:74: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevstc.c:132:8: note: in expansion of macro ‘dev_proc_decode_color’ 132 | static dev_proc_decode_color(stc_cmyk10_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:2222:70: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2222 | upd_icolor_rgb(gx_device *pdev, gx_color_index color, gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevupd.c:91: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:167:8: note: in expansion of macro ‘dev_proc_decode_color’ 167 | static dev_proc_decode_color( upd_icolor_rgb); /** KCMY->RGB-Index */ | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:2305:70: warning: argument 3 of type ‘gx_color_value[1]’ {aka ‘short unsigned int[1]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2305 | upd_1color_rgb(gx_device *pdev, gx_color_index color, gx_color_value cv[1]) | ~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevupd.c:91: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:145:8: note: in expansion of macro ‘dev_proc_decode_color’ 145 | static dev_proc_decode_color( upd_1color_rgb); /** Gray-Index->Gray */ | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:2364:70: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2364 | upd_3color_rgb(gx_device *pdev, gx_color_index color, gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevupd.c:91: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:148:8: note: in expansion of macro ‘dev_proc_decode_color’ 148 | static dev_proc_decode_color( upd_3color_rgb); /** RGB-Index->RGB */ | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:2445:70: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2445 | upd_4color_rgb(gx_device *pdev, gx_color_index color, gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevupd.c:91: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:157:8: note: in expansion of macro ‘dev_proc_decode_color’ 157 | static dev_proc_decode_color(upd_4color_rgb); /** WRGB-Index->RGB */ | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:2542:70: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2542 | upd_kcolor_rgb(gx_device *pdev, gx_color_index color, gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevupd.c:91: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c:176:8: note: in expansion of macro ‘dev_proc_decode_color’ 176 | static dev_proc_decode_color( upd_kcolor_rgb); /** watches black-gen */ | ^~~~~~~~~~~~~~~~~~~~~ ./devices/gdevupd.c: In function ‘upd_fscomp’: ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3694:19: note: in expansion of macro ‘FS_DIST’ 3694 | FS_DIST(3) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3694:19: note: in expansion of macro ‘FS_DIST’ 3694 | FS_DIST(3) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3704:19: note: in expansion of macro ‘FS_DIST’ 3704 | FS_DIST(2) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3704:19: note: in expansion of macro ‘FS_DIST’ 3704 | FS_DIST(2) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3713:19: note: in expansion of macro ‘FS_DIST’ 3713 | FS_DIST(1) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3713:19: note: in expansion of macro ‘FS_DIST’ 3713 | FS_DIST(1) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3723:19: note: in expansion of macro ‘FS_DIST’ 3723 | FS_DIST(0) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3723:19: note: in expansion of macro ‘FS_DIST’ 3723 | FS_DIST(0) | ^~~~~~~ ./devices/gdevupd.c: In function ‘upd_fscmyk’: ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3932:10: note: in expansion of macro ‘FS_DIST’ 3932 | FS_DIST(upd->cmap[3].comp) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3932:10: note: in expansion of macro ‘FS_DIST’ 3932 | FS_DIST(upd->cmap[3].comp) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3933:10: note: in expansion of macro ‘FS_DIST’ 3933 | FS_DIST(upd->cmap[2].comp) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3933:10: note: in expansion of macro ‘FS_DIST’ 3933 | FS_DIST(upd->cmap[2].comp) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3934:10: note: in expansion of macro ‘FS_DIST’ 3934 | FS_DIST(upd->cmap[1].comp) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3934:10: note: in expansion of macro ‘FS_DIST’ 3934 | FS_DIST(upd->cmap[1].comp) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:3941:7: note: in expansion of macro ‘FS_DIST’ 3941 | FS_DIST(upd->cmap[0].comp) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:3941:7: note: in expansion of macro ‘FS_DIST’ 3941 | FS_DIST(upd->cmap[0].comp) | ^~~~~~~ ./devices/gdevupd.c: In function ‘upd_fscmy_k’: ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:4114:7: note: in expansion of macro ‘FS_DIST’ 4114 | FS_DIST(0) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:4114:7: note: in expansion of macro ‘FS_DIST’ 4114 | FS_DIST(0) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:4115:7: note: in expansion of macro ‘FS_DIST’ 4115 | FS_DIST(1) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:4115:7: note: in expansion of macro ‘FS_DIST’ 4115 | FS_DIST(1) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:4116:7: note: in expansion of macro ‘FS_DIST’ 4116 | FS_DIST(2) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:4116:7: note: in expansion of macro ‘FS_DIST’ 4116 | FS_DIST(2) | ^~~~~~~ ./devices/gdevupd.c:3561:4: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 3561 | if(!first) rowerr[I-dir] += ((3*pixel[I]+8)>>4); /* 3/16 */ \ | ^~ ./devices/gdevupd.c:4117:7: note: in expansion of macro ‘FS_DIST’ 4117 | FS_DIST(3) | ^~~~~~~ ./devices/gdevupd.c:3562:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3562 | rowerr[I ] = ((5*pixel[I] )>>4) /* 5/16 */ \ | ^~~~~~ ./devices/gdevupd.c:4117:7: note: in expansion of macro ‘FS_DIST’ 4117 | FS_DIST(3) | ^~~~~~~ ./cups/gdevcups.c: In function ‘cups_open’: ./cups/gdevcups.c:2799:5: warning: ‘ppdOpenFile’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 2799 | cups->PPD = ppdOpenFile(getenv("PPD")); | ^~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ ./cups/gdevcups.c: In function ‘cups_print_pages’: ./cups/gdevcups.c:2927:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 2927 | RasterVersion = ppdFindAttr(cups->PPD, "cupsRasterVersion", NULL); | ^~~~~~~~~~~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ ./cups/gdevcups.c: In function ‘cups_put_params’: ./cups/gdevcups.c:3314:7: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 3314 | backside = ppdFindAttr(cups->PPD, "cupsBackSide", NULL); | ^~~~~~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ ./cups/gdevcups.c:3326:9: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 3326 | ppdFindAttr(cups->PPD, "APDuplexRequiresFlippedMargin", NULL); | ^~~~~~~~~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ ./cups/gdevcups.c: In function ‘cups_print_chunked’: ./cups/gdevcups.c:4792:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 4792 | backside = ppdFindAttr(cups->PPD, "cupsBackSide", NULL); | ^~~~~~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ ./cups/gdevcups.c: In function ‘cups_print_banded’: ./cups/gdevcups.c:5025:5: warning: ‘ppdFindAttr’ is deprecated: Use cupsCopyDestInfo and friends instead. []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 5025 | backside = ppdFindAttr(cups->PPD, "cupsBackSide", NULL); | ^~~~~~~~ In file included from ./cups/gdevcups.c:80: /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ ./devices/gdevpng.c:895:45: warning: argument 3 of type ‘gx_color_value[3]’ {aka ‘short unsigned int[3]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 895 | gx_color_value prgb[3]) | ~~~~~~~~~~~~~~~^~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gdevprn.h:29, from ./devices/gdevpng.c:53: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./devices/gdevpng.c:72:8: note: in expansion of macro ‘dev_proc_decode_color’ 72 | static dev_proc_decode_color(pngalpha_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ ./base/tessocr.cpp:641:5: warning: "FUTURE_DEVELOPMENT" is not defined, evaluates to 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef-Wundef]8;;] 641 | #if FUTURE_DEVELOPMENT | ^~~~~~~~~~~~~~~~~~ ./base/tessocr.cpp:667:5: warning: "FUTURE_DEVELOPMENT" is not defined, evaluates to 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef-Wundef]8;;] 667 | #if FUTURE_DEVELOPMENT | ^~~~~~~~~~~~~~~~~~ ./base/tessocr.cpp:216:50: warning: ISO C++ forbids converting a string constant to ‘char*’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wwrite-strings-Wwrite-strings]8;;] 216 | static char *tessdata_prefix = STRINGIFY(TESSDATA); | ^ ./base/tessocr.cpp:214:24: note: in definition of macro ‘STRINGIFY2’ 214 | #define STRINGIFY2(S) #S | ^ ./base/tessocr.cpp:216:32: note: in expansion of macro ‘STRINGIFY’ 216 | static char *tessdata_prefix = STRINGIFY(TESSDATA); | ^~~~~~~~~ ./base/tessocr.cpp: In function ‘int do_ocr_image(wrapped_api*, int, int, int, int, int, int, void*, int, int, int, char**)’: ./base/tessocr.cpp:412:9: warning: unused variable ‘code’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 412 | int code; | ^~~~ ./base/tessocr.cpp: In function ‘int ocr_recognise(void*, int, int, void*, int, int, int (*)(void*, const char*, const int*, const int*, const int*, int), void*)’: ./base/tessocr.cpp:491:17: warning: variable ‘font_name’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 491 | const char* font_name; | ^~~~~~~~~ leptonica/src/baseline.c: In function ‘pixGetLocalSkewTransform’: leptonica/src/baseline.c:451:5: warning: ‘dely’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 451 | ptaAddPt(ptas, w - 1, i - dely); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/bmf.c: In function ‘pixaGenerateFont’: leptonica/src/bmf.c:624:21: warning: ‘yval’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 624 | baseline[i] = yval; | ~~~~~~~~~~~~^~~~~~ leptonica/src/boxfunc2.c: In function ‘boxaaTranspose’: leptonica/src/boxfunc2.c:1853:19: warning: ‘nbox’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1853 | for (i = 0; i < nbox; i++) { | ~~^~~~~~ leptonica/src/boxfunc2.c: In function ‘boxaaAlignBox’: leptonica/src/boxfunc2.c:1929:17: warning: ‘maxindex’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1929 | *pindex = maxindex; | ~~~~~~~~^~~~~~~~~~ leptonica/src/ccbord.c: In function ‘pixGetAllCCBorders’: leptonica/src/ccbord.c:1037:16: warning: ‘xs’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1037 | if (px == fpx && py == fpy && npx == spx && npy == spy) | ~~~^~~~~~ leptonica/src/ccbord.c:657:11: note: ‘xs’ was declared here 657 | l_int32 xs, ys; /* starting hole border pixel, relative in pixs */ | ^~ leptonica/src/ccbord.c:731:16: warning: ‘xh’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 731 | for (x = xh + boxt->x; x < w; x++) { /* look for (fg) border pixel */ | ~~^~~~~~~~~~~~~~ leptonica/src/ccbord.c:656:26: note: ‘xh’ was declared here 656 | l_int32 allzero, i, x, xh, w, nh; | ^~ leptonica/src/ccbord.c: In function ‘ccbaDisplayImage1’: leptonica/src/ccbord.c:1130:8: warning: ‘spy’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1130 | dy = spy - fpy; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:1997:25: note: ‘spy’ was declared here 1997 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/ccbord.c:1129:8: warning: ‘spx’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1129 | dx = spx - fpx; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:1997:20: note: ‘spx’ was declared here 1997 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/ccbord.c:1130:8: warning: ‘fpy’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1130 | dy = spy - fpy; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:1997:15: note: ‘fpy’ was declared here 1997 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/ccbord.c:1129:8: warning: ‘fpx’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1129 | dx = spx - fpx; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:1997:10: note: ‘fpx’ was declared here 1997 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/ccbord.c: In function ‘ccbaDisplayImage2’: leptonica/src/ccbord.c:1130:8: warning: ‘spy’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1130 | dy = spy - fpy; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:2128:25: note: ‘spy’ was declared here 2128 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/ccbord.c:1129:8: warning: ‘spx’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1129 | dx = spx - fpx; | ~~~^~~~~~~~~~~ leptonica/src/ccbord.c:2128:20: note: ‘spx’ was declared here 2128 | l_int32 fpx, fpy, spx, spy, xs, ys; | ^~~ leptonica/src/classapp.c: In function ‘boxaExtractSortedPattern’: leptonica/src/classapp.c:707:5: warning: ‘nad’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 707 | numaaAddNuma(naa, nad, L_INSERT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/colorcontent.c: In function ‘pixColorContent’: leptonica/src/colorcontent.c:211:42: warning: ‘wplb’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 211 | l_int32 w, h, i, j, wpl1, wplr, wplg, wplb; | ^~~~ leptonica/src/colorcontent.c:211:36: warning: ‘wplg’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 211 | l_int32 w, h, i, j, wpl1, wplr, wplg, wplb; | ^~~~ leptonica/src/colorcontent.c:211:30: warning: ‘wplr’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 211 | l_int32 w, h, i, j, wpl1, wplr, wplg, wplb; | ^~~~ leptonica/src/colormap.c: In function ‘pixcmapReadStream’: leptonica/src/colormap.c:1793:35: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1793 | l_int32 rval, gval, bval, aval, ignore; | ^~~~~~ leptonica/src/colorquant1.c: In function ‘pixOctreeColorQuantGeneral’: leptonica/src/colorquant1.c:699:9: warning: ‘cmap’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 699 | pixcmapResetColor(cmap, index, 255, 255, 255); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/colorseg.c: In function ‘pixAssignToNearestColor’: leptonica/src/colorseg.c:422:30: warning: ‘wplm’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 422 | l_int32 w, h, wpls, wpld, wplm, i, j, success; | ^~~~ leptonica/src/convolve.c: In function ‘pixWindowedVariance’: leptonica/src/convolve.c:1293:56: warning: ‘wplrv’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1293 | l_int32 i, j, w, h, ws, hs, ds, wplm, wplms, wplv, wplrv, valm, valms; | ^~~~~ leptonica/src/convolve.c:1293:50: warning: ‘wplv’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1293 | l_int32 i, j, w, h, ws, hs, ds, wplm, wplms, wplv, wplrv, valm, valms; | ^~~~ leptonica/src/correlscore.c: In function ‘pixCorrelationScoreThresholded’: leptonica/src/correlscore.c:547:42: warning: ‘untouchable’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 547 | if (count + downcount[y] - untouchable < threshold) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ leptonica/src/dewarp1.c: In function ‘dewarpReadStream’: leptonica/src/dewarp1.c:1255:26: warning: ‘fpixv’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1255 | dew->sampvdispar = fpixv; | ~~~~~~~~~~~~~~~~~^~~~~~~ leptonica/src/dewarp1.c:1263:26: warning: ‘fpixh’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1263 | dew->samphdispar = fpixh; | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from leptonica/src/alltypes.h:37, from leptonica/src/allheaders.h:35, from leptonica/src/dewarp2.c:67: leptonica/src/dewarp2.c: In function ‘dewarpBuildPageModel’: leptonica/src/environ.h:550:14: warning: ‘ybot’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 550 | (void)lept_stderr("Warning in %s: " a, __VA_ARGS__), \ | ^ leptonica/src/dewarp2.c:159:39: note: ‘ybot’ was declared here 159 | l_int32 linecount, ntop, nbot, ytop, ybot, ret; | ^~~~ In file included from leptonica/src/alltypes.h:37, from leptonica/src/allheaders.h:35, from leptonica/src/dewarp2.c:67: leptonica/src/environ.h:550:14: warning: ‘ytop’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 550 | (void)lept_stderr("Warning in %s: " a, __VA_ARGS__), \ | ^ leptonica/src/dewarp2.c:159:33: note: ‘ytop’ was declared here 159 | l_int32 linecount, ntop, nbot, ytop, ybot, ret; | ^~~~ In file included from leptonica/src/alltypes.h:37, from leptonica/src/allheaders.h:35, from leptonica/src/dewarp2.c:67: leptonica/src/environ.h:550:14: warning: ‘nbot’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 550 | (void)lept_stderr("Warning in %s: " a, __VA_ARGS__), \ | ^ leptonica/src/dewarp2.c:159:27: note: ‘nbot’ was declared here 159 | l_int32 linecount, ntop, nbot, ytop, ybot, ret; | ^~~~ In file included from leptonica/src/alltypes.h:37, from leptonica/src/allheaders.h:35, from leptonica/src/dewarp2.c:67: leptonica/src/environ.h:550:14: warning: ‘ntop’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 550 | (void)lept_stderr("Warning in %s: " a, __VA_ARGS__), \ | ^ leptonica/src/dewarp2.c:159:21: note: ‘ntop’ was declared here 159 | l_int32 linecount, ntop, nbot, ytop, ybot, ret; | ^~~~ leptonica/src/dewarp2.c:1339:33: warning: ‘ybot’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1339 | fraction = (l_float32)(ybot - ytop) / (l_float32)h; | ~~~~~~^~~~~~~ leptonica/src/dewarp2.c:1301:53: note: ‘ybot’ was declared here 1301 | l_int32 i, n, iy, both_halves, ntop, nbot, ytop, ybot, nmin; | ^~~~ leptonica/src/enhance.c: In function ‘pixUnsharpMaskingGray1D’: leptonica/src/enhance.c:1349:25: warning: ‘a[4]’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1349 | val = a[0] * GET_DATA_BYTE(lines, j - 2) + leptonica/src/enhance.c:1351:58: warning: ‘a[3]’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1351 | a[2] * GET_DATA_BYTE(lines, j) + leptonica/src/fhmtgenlow.1.c: In function ‘fhmt_1_5’: leptonica/src/fhmtgenlow.1.c:273:21: warning: variable ‘wpls5’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 273 | l_int32 wpls5, wpls6; | ^~~~~ leptonica/src/fhmtgenlow.1.c:272:35: warning: variable ‘wpls4’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 272 | l_int32 wpls2, wpls3, wpls4; | ^~~~~ leptonica/src/fhmtgenlow.1.c:272:28: warning: variable ‘wpls3’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 272 | l_int32 wpls2, wpls3, wpls4; | ^~~~~ leptonica/src/fpix2.c: In function ‘linearInterpolatePixelFloat’: leptonica/src/fpix2.c:2282:6: warning: "DEBUG" is not defined, evaluates to 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wundef-Wundef]8;;] 2282 | #if DEBUG | ^~~~~ leptonica/src/gplot.c: In function ‘gplotRead’: leptonica/src/gplot.c:1243:35: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1243 | l_int32 outformat, ret, version, ignore; | ^~~~~~ leptonica/src/gplot.c:1242:47: warning: variable ‘ignores’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1242 | char *rootname, *title, *xlabel, *ylabel, *ignores; | ^~~~~~~ leptonica/src/graphics.c: In function ‘makePlotPtaFromNumaGen’: leptonica/src/graphics.c:1211:16: warning: ‘maxh’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1211 | ptad = ptaReplicatePattern(pta1, NULL, pta2, linewidth / 2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1212 |  linewidth / 2, maxw, maxh); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/graphics.c:1211:16: warning: ‘maxw’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] leptonica/src/graphics.c: In function ‘pixRenderPtaArb’: leptonica/src/graphics.c:1409:13: warning: ‘val’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1409 | pixSetPixel(pix, x, y, val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/grayquant.c: In function ‘thresholdToBinaryLineLow’: leptonica/src/grayquant.c:617:23: warning: ‘sword’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 617 | sword <<= 8; | ~~~~~~^~~~~ leptonica/src/jbclass.c: In function ‘pixWordMaskByDilation’: leptonica/src/jbclass.c:1515:34: warning: ‘total’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1515 | if (check && count < 0.3 * total) { | ~~~~^~~~~~~ leptonica/src/jbclass.c: In function ‘jbGetULCorners’: leptonica/src/jbclass.c:2274:76: warning: ‘miny’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2274 | ptaAddPt(ptaul, (l_float32)(x - idelx + dx), (l_float32)(y - idely + dy)); | ~~~~~~~~~~~^~~~~ leptonica/src/jbclass.c:2274:47: warning: ‘minx’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2274 | ptaAddPt(ptaul, (l_float32)(x - idelx + dx), (l_float32)(y - idely + dy)); | ~~~~~~~~~~~^~~~~ leptonica/src/kernel.c: In function ‘kernelReadStream’: leptonica/src/kernel.c:565:48: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 565 | l_int32 sy, sx, cy, cx, i, j, ret, version, ignore; | ^~~~~~ leptonica/src/libversions.c: In function ‘getImagelibVersions’: leptonica/src/libversions.c:107:10: warning: unused variable ‘first’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 107 | l_int32 first = TRUE; | ^~~~~ leptonica/src/numafunc1.c: In function ‘numaThresholdEdges’: leptonica/src/numafunc1.c:1471:8: warning: ‘istart’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1471 | if (istart == n) /* no intervals found */ | ^ leptonica/src/numafunc1.c: In function ‘numaInterpolateArbxInterval’: leptonica/src/numafunc1.c:2023:13: warning: ‘nadx’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2023 | numaAddNumber(nadx, xval); | ^~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/numafunc2.c: In function ‘numaFindLocForThreshold’: leptonica/src/numafunc2.c:2709:16: warning: ‘index’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2709 | minval = fa[index]; | ^ leptonica/src/partify.c: In function ‘boxaRemoveVGaps.isra’: leptonica/src/partify.c:313:5: warning: ‘delta’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 313 | boxaAdjustBoxSides(boxa, nbox - 1, 0, 0, 0, delta); /* bot of last */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pix3.c: In function ‘pixAverageInRect’: leptonica/src/pix3.c:2668:39: warning: ‘wplm’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2668 | l_int32 w, h, d, wpls, wm, hm, dm, wplm, val, count; | ^~~~ leptonica/src/pix3.c: In function ‘pixAverageInRectRGB’: leptonica/src/pix3.c:2773:36: warning: ‘wplm’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2773 | l_int32 w, h, wpls, wm, hm, dm, wplm, i, j, xstart, xend, ystart, yend; | ^~~~ leptonica/src/pix4.c: In function ‘pixGetAverageTiled’: leptonica/src/pix4.c:1794:34: warning: ‘meansq’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1794 | valt = (l_int32)(sqrt(meansq - ave * ave) + 0.5); | ^~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pix4.c:1794:34: warning: ‘ave’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] leptonica/src/pix5.c: In function ‘pixScanForEdge’: leptonica/src/pix5.c:2409:27: warning: ‘loc’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2409 | *ploc = loc; | ~~~~~~^~~~~ leptonica/src/pixabasic.c: In function ‘pixaaCreateFromPixa’: leptonica/src/pixabasic.c:1932:13: warning: ‘pixat’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1932 | pixaaAddPixa(paa, pixat, L_INSERT); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pixafunc2.c: In function ‘pixaDisplayRandomCmap’: leptonica/src/pixafunc2.c:312:5: warning: ‘res’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 312 | pixSetResolution(pixd, res, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pixafunc2.c: In function ‘pixaDisplayTiled’: leptonica/src/pixafunc2.c:698:5: warning: ‘res’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 698 | pixSetResolution(pixd, res, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pixafunc2.c: In function ‘pixaDisplayTiledInColumns’: leptonica/src/pixafunc2.c:1007:5: warning: ‘res’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1007 | pixSetResolution(pixd, res, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/pnmio.c: In function ‘pnmReadNextAsciiValue’: leptonica/src/pnmio.c:1340:14: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1340 | l_int32 c, ignore; | ^~~~~~ leptonica/src/psio1.c: In function ‘pixWriteSegmentedPageToPS’: leptonica/src/psio1.c:680:39: warning: ‘d’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 680 | val = (d == 8) ? 0xff : 0xffffff00; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ leptonica/src/quadtree.c: In function ‘fpixaDisplayQuadtree’: leptonica/src/quadtree.c:695:9: warning: ‘pixt4’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 695 | w = pixGetWidth(pixt4); | ^~~~~~~~~~~~~~~~~~ leptonica/src/readfile.c:96:20: warning: ‘FILE_JP2K’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 96 | static const char *FILE_JP2K = "/tmp/lept/format/file.jp2"; | ^~~~~~~~~ leptonica/src/readfile.c:95:20: warning: ‘FILE_WEBP’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 95 | static const char *FILE_WEBP = "/tmp/lept/format/file.webp"; | ^~~~~~~~~ leptonica/src/readfile.c:94:20: warning: ‘FILE_GIF’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 94 | static const char *FILE_GIF = "/tmp/lept/format/file.gif"; | ^~~~~~~~ leptonica/src/readfile.c:93:20: warning: ‘FILE_JPG’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 93 | static const char *FILE_JPG = "/tmp/lept/format/file.jpg"; | ^~~~~~~~ leptonica/src/readfile.c:92:20: warning: ‘FILE_TIFF’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 92 | static const char *FILE_TIFF = "/tmp/lept/format/file.tif"; | ^~~~~~~~~ leptonica/src/readfile.c:91:20: warning: ‘FILE_TIFF_JPEG’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 91 | static const char *FILE_TIFF_JPEG = "/tmp/lept/format/file_jpeg.tif"; | ^~~~~~~~~~~~~~ leptonica/src/readfile.c:90:20: warning: ‘FILE_ZIP’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 90 | static const char *FILE_ZIP = "/tmp/lept/format/file_zip.tif"; | ^~~~~~~~ leptonica/src/readfile.c:89:20: warning: ‘FILE_LZW’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 89 | static const char *FILE_LZW = "/tmp/lept/format/file_lzw.tif"; | ^~~~~~~~ leptonica/src/readfile.c:88:20: warning: ‘FILE_PB’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 88 | static const char *FILE_PB = "/tmp/lept/format/file_packbits.tif"; | ^~~~~~~ leptonica/src/readfile.c:87:20: warning: ‘FILE_RLE’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 87 | static const char *FILE_RLE = "/tmp/lept/format/file_rle.tif"; | ^~~~~~~~ leptonica/src/readfile.c:86:20: warning: ‘FILE_G4’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 86 | static const char *FILE_G4 = "/tmp/lept/format/file_g4.tif"; | ^~~~~~~ leptonica/src/readfile.c:85:20: warning: ‘FILE_G3’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 85 | static const char *FILE_G3 = "/tmp/lept/format/file_g3.tif"; | ^~~~~~~ leptonica/src/readfile.c:83:20: warning: ‘FILE_PNG’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 83 | static const char *FILE_PNG = "/tmp/lept/format/file.png"; | ^~~~~~~~ leptonica/src/rop.c:553:1: warning: ‘checkRasteropCrop’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-function-Wunused-function]8;;] 553 | checkRasteropCrop(l_int32 pixw, | ^~~~~~~~~~~~~~~~~ leptonica/src/roplow.c: In function ‘rasteropVipLow’: leptonica/src/roplow.c:2331:22: warning: ‘psfwfull’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2331 | psfwfull += dirwpl; | ~~~~~~~~~^~~~~~~~~ leptonica/src/roplow.c:2330:22: warning: ‘pdfwfull’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 2330 | pdfwfull += dirwpl; | ~~~~~~~~~^~~~~~~~~ leptonica/src/sarray1.c: In function ‘sarrayReadStream’: leptonica/src/sarray1.c:1477:47: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1477 | l_int32 i, n, size, index, bufsize, version, ignore, success; | ^~~~~~ leptonica/src/sarray1.c: In function ‘getFilenamesInDirectory’: leptonica/src/sarray1.c:1962:17: warning: variable ‘dfd’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1962 | int dfd, stat_ret; | ^~~ leptonica/src/sarray1.c:1957:39: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1957 | char *realdir, *stat_path, *ignore; | ^~~~~~ In file included from leptonica/src/alltypes.h:50, from leptonica/src/allheaders.h:35, from leptonica/src/scale2.c:103: leptonica/src/scale2.c: In function ‘pixScaleGrayMinMax2’: leptonica/src/arrayaccess.h:199:72: warning: ‘maxval’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 199 | *(l_uint8 *)((l_uintptr_t)((l_uint8 *)(pdata) + (n)) ^ 3) = (val) | ^ leptonica/src/scale2.c:1130:20: note: ‘maxval’ was declared here 1130 | l_int32 minval, maxval; | ^~~~~~ In file included from leptonica/src/alltypes.h:50, from leptonica/src/allheaders.h:35, from leptonica/src/scale2.c:103: leptonica/src/arrayaccess.h:199:72: warning: ‘minval’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 199 | *(l_uint8 *)((l_uintptr_t)((l_uint8 *)(pdata) + (n)) ^ 3) = (val) | ^ leptonica/src/scale2.c:1130:12: note: ‘minval’ was declared here 1130 | l_int32 minval, maxval; | ^~~~~~ In file included from leptonica/src/alltypes.h:50, from leptonica/src/allheaders.h:35, from leptonica/src/scale2.c:103: leptonica/src/scale2.c: In function ‘pixScaleGrayMinMax’: leptonica/src/arrayaccess.h:199:72: warning: ‘maxval’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 199 | *(l_uint8 *)((l_uintptr_t)((l_uint8 *)(pdata) + (n)) ^ 3) = (val) | ^ leptonica/src/scale2.c:1025:20: note: ‘maxval’ was declared here 1025 | l_int32 minval, maxval, val; | ^~~~~~ leptonica/src/scale2.c:1091:48: warning: ‘minval’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1091 | SET_DATA_BYTE(lined, j, maxval - minval); | ^ leptonica/src/sel1.c: In function ‘selReadStream’: leptonica/src/sel1.c:1428:41: warning: variable ‘ignore’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 1428 | l_int32 sy, sx, cy, cx, i, j, version, ignore; | ^~~~~~ leptonica/src/selgen.c: In function ‘pixGetRunsOnLine’: leptonica/src/selgen.c:771:5: warning: ‘runlen’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 771 | numaAddNumber(numa, runlen); /* append last run */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/textops.c: In function ‘splitStringToParagraphs’: leptonica/src/textops.c:1056:50: warning: ‘leadwhite’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1056 | if ((splitflag == SPLIT_ON_LEADING_WHITE && leadwhite) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ leptonica/src/textops.c:1058:41: warning: ‘allwhite’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 1058 | (splitflag == SPLIT_ON_BOTH && (allwhite || leadwhite))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ leptonica/src/utils2.c: In function ‘callSystemDebug’: leptonica/src/utils2.c:2756:10: warning: variable ‘ret’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2756 | l_int32 ret; | ^~~ In file included from leptonica/src/alltypes.h:37, from leptonica/src/allheaders.h:35, from leptonica/src/writefile.c:93: leptonica/src/writefile.c: In function ‘changeFormatForMissingLib’: leptonica/src/environ.h:533:57: warning: unused variable ‘procName’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 533 | #define PROCNAME(name) static const char procName[] = name | ^~~~~~~~ leptonica/src/writefile.c:1161:5: note: in expansion of macro ‘PROCNAME’ 1161 | PROCNAME("changeFormatForMissingLib"); | ^~~~~~~~ At top level: leptonica/src/environ.h:533:57: warning: ‘procName’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-const-variable=-Wunused-const-variable=]8;;] 533 | #define PROCNAME(name) static const char procName[] = name | ^~~~~~~~ leptonica/src/writefile.c:1161:5: note: in expansion of macro ‘PROCNAME’ 1161 | PROCNAME("changeFormatForMissingLib"); | ^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg_cache.h:23, from tesseract/src/api/baseapi.cpp:31: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg_cache.h:23, from tesseract/src/api/baseapi.cpp:31: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/api/baseapi.cpp:37: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/api/baseapi.cpp: In member function ‘bool tesseract::TessBaseAPI::ProcessPagesFileList(FILE*, std::string*, const char*, int, tesseract::TessResultRenderer*, int)’: tesseract/src/api/baseapi.cpp:963:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 963 | if (page >= lines.size()) break; | ~~~~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/api/baseapi.cpp:29: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/api/baseapi.cpp: At global scope: tesseract/src/api/baseapi.cpp:1042:1: warning: ‘size_t tesseract::WriteMemoryCallback(void*, size_t, size_t, void*)’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-function-Wunused-function]8;;] 1042 | WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) | ^~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/api/capi.cpp: In function ‘char** TessBaseAPIGetLoadedLanguagesAsVector(const TessBaseAPI*)’: tesseract/src/api/capi.cpp:284:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 284 | for (int index = 0; index < languages.size(); ++index) { | ~~~~~~^~~~~~~~~~~~~~~~~~ tesseract/src/api/capi.cpp: In function ‘char** TessBaseAPIGetAvailableLanguagesAsVector(const TessBaseAPI*)’: tesseract/src/api/capi.cpp:296:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 296 | for (int index = 0; index < languages.size(); ++index) { | ~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/hocrrenderer.cpp:28: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/hocrrenderer.cpp:28: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/api/hocrrenderer.cpp:28: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/api/hocrrenderer.cpp:28: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/lstmboxrenderer.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/lstmboxrenderer.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/api/lstmboxrenderer.cpp:21: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/api/lstmboxrenderer.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/wordstrboxrenderer.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/api/wordstrboxrenderer.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/api/wordstrboxrenderer.cpp:21: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/api/wordstrboxrenderer.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/applybox.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/applybox.cpp:26: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/applybox.cpp:29: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/applybox.cpp:26: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/lstm/lstmrecognizer.h:21, from tesseract/src/ccmain/control.cpp:35: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/lstm/recodebeam.h:23, from tesseract/src/lstm/lstmrecognizer.h:28, from tesseract/src/ccmain/control.cpp:35: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/control.cpp:35: tesseract/src/lstm/lstmrecognizer.h: In member function ‘void tesseract::LSTMRecognizer::ScaleLearningRate(double)’: tesseract/src/lstm/lstmrecognizer.h:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 133 | for (int i = 0; i < layers.size(); ++i) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/control.cpp:43: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::SetupAllWordsPassN(int, const tesseract::TBOX*, const char*, tesseract::PAGE_RES*, std::vector*)’: tesseract/src/ccmain/control.cpp:168:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 168 | for (int w = 0; w < words->size(); ++w) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::SetupWordPassN(int, tesseract::WordData*)’: tesseract/src/ccmain/control.cpp:191:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 191 | for (int s = 0; s <= sub_langs_.size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:193:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 193 | Tesseract* lang_t = s < sub_langs_.size() ? sub_langs_[s] : this; | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘bool tesseract::Tesseract::RecogAllWordsPassN(int, tesseract::ETEXT_DESC*, tesseract::PAGE_RES_IT*, std::vector*)’: tesseract/src/ccmain/control.cpp:220:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 220 | for (int w = 0; w < words->size(); ++w) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:239:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 239 | for (; w < words->size(); ++w) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘bool tesseract::Tesseract::recog_all_words(tesseract::PAGE_RES*, tesseract::ETEXT_DESC*, const tesseract::TBOX*, const char*, int)’: tesseract/src/ccmain/control.cpp:327:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 327 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::AssignDiacriticsToOverlappingBlobs(const tesseract::GenericVector&, int, tesseract::WERD*, tesseract::PAGE_RES_IT*, tesseract::GenericVector*, tesseract::GenericVector*, tesseract::GenericVector*)’: tesseract/src/ccmain/control.cpp:1043:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1043 | for (int i = 0; i < blob_wanted.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::AssignDiacriticsToNewBlobs(const tesseract::GenericVector&, int, tesseract::WERD*, tesseract::PAGE_RES_IT*, tesseract::GenericVector*, tesseract::GenericVector*)’: tesseract/src/ccmain/control.cpp:1097:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1097 | for (int j = 0; j < blob_wanted.size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:1110:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1110 | for (int j = 0; j < blob_wanted.size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:1120:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1120 | for (int j = 0; j < blob_wanted.size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘bool tesseract::Tesseract::SelectGoodDiacriticOutlines(int, float, tesseract::PAGE_RES_IT*, tesseract::C_BLOB*, const tesseract::GenericVector&, int, std::vector*)’: tesseract/src/ccmain/control.cpp:1157:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1157 | for (int i = 0; i < test_outlines.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:1205:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1205 | for (int i = 0; i < best_outlines.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘float tesseract::Tesseract::ClassifyBlobPlusOutlines(const std::vector&, const tesseract::GenericVector&, int, tesseract::PAGE_RES_IT*, tesseract::C_BLOB*, tesseract::STRING*)’: tesseract/src/ccmain/control.cpp:1231:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1231 | for (int i = 0; i < ok_outlines.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::classify_word_and_language(int, tesseract::PAGE_RES_IT*, tesseract::WordData*)’: tesseract/src/ccmain/control.cpp:1342:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1342 | for (sub = 0; sub < sub_langs_.size() && | ~~~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp:1356:55: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1356 | for (int i = 0; !WordsAcceptable(best_words) && i < sub_langs_.size(); | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/control.cpp: In member function ‘void tesseract::Tesseract::set_word_fonts(tesseract::WERD_RES*)’: tesseract/src/ccmain/control.cpp:1970:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1970 | for (int f = 0; f < fonts.size(); ++f) { | ~~^~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/wordrec/drawfx.h:22, from tesseract/src/ccmain/control.cpp:32: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/linerec.cpp:18: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/linerec.cpp:18: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/linerec.cpp:18: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/linerec.cpp:23: tesseract/src/lstm/lstmrecognizer.h: In member function ‘void tesseract::LSTMRecognizer::ScaleLearningRate(double)’: tesseract/src/lstm/lstmrecognizer.h:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 133 | for (int i = 0; i < layers.size(); ++i) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/linerec.cpp: In member function ‘void tesseract::Tesseract::TrainFromBoxes(const std::vector&, const std::vector&, tesseract::BLOCK_LIST*, tesseract::DocumentData*)’: tesseract/src/ccmain/linerec.cpp:87:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 87 | while (end_box < texts.size() && texts[end_box] == "\t") ++end_box; | ~~~~~~~~^~~~~~~~~~~~~~ tesseract/src/ccmain/linerec.cpp:126:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 126 | while (end_box < texts.size() && texts[end_box] == "\t") ++end_box; | ~~~~~~~~^~~~~~~~~~~~~~ tesseract/src/ccmain/linerec.cpp: In member function ‘void tesseract::Tesseract::SearchWords(tesseract::PointerVector*)’: tesseract/src/ccmain/linerec.cpp:263:8: warning: variable ‘any_nonspace_delimited’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 263 | bool any_nonspace_delimited = false; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/linerec.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/ltrresultiterator.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/ltrresultiterator.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/ltrresultiterator.cpp:23: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/ltrresultiterator.cpp: In constructor ‘tesseract::ChoiceIterator::ChoiceIterator(const tesseract::LTRResultIterator&)’: tesseract/src/ccmain/ltrresultiterator.cpp:397:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 397 | if (index < word_res_->CTC_symbol_choices.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/ltrresultiterator.cpp: In member function ‘std::vector > >* tesseract::ChoiceIterator::Timesteps() const’: tesseract/src/ccmain/ltrresultiterator.cpp:474:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 474 | if (offset >= word_res_->segmented_timesteps.size() || !oemLSTM_) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/ltrresultiterator.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/output.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/output.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/output.cpp:22: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/output.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pageiterator.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pageiterator.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/pageiterator.cpp:24: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pageiterator.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/pagesegmain.cpp:38: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/pagesegmain.cpp:38: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/pagesegmain.cpp:38: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/pagesegmain.cpp: In member function ‘tesseract::ColumnFinder* tesseract::Tesseract::SetupPageSegAndDetectOrientation(tesseract::PageSegMode, tesseract::BLOCK_LIST*, tesseract::Tesseract*, tesseract::OSResults*, tesseract::TO_BLOCK_LIST*, Pix**, Pix**)’: tesseract/src/ccmain/pagesegmain.cpp:365:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 365 | for (int s = 0; s < sub_langs_.size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/blobbox.h:22, from tesseract/src/ccmain/pagesegmain.cpp:33: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pagewalk.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pagewalk.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/pagewalk.cpp:21: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pagewalk.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/paragraphs.cpp:28: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/paragraphs.cpp:28: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp: In function ‘void tesseract::PrintTable(const std::vector >&, const tesseract::STRING&)’: tesseract/src/ccmain/paragraphs.cpp:115:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 115 | if (c >= max_col_widths.size()) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp:125:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 125 | for (int c = 0; c < max_col_widths.size(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp:130:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 130 | for (int r = 0; r < rows.size(); r++) { | ~~^~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp:131:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 131 | for (int c = 0; c < rows[r].size(); c++) { | ~~^~~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp: In function ‘void tesseract::DetectParagraphs(int, std::vector*, tesseract::GenericVector*, tesseract::PARA_LIST*, std::vector*)’: tesseract/src/ccmain/paragraphs.cpp:2291:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2291 | for (int i = 0; i < row_infos->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp: In function ‘void tesseract::DetectParagraphs(int, bool, const tesseract::MutableIterator*, std::vector*)’: tesseract/src/ccmain/paragraphs.cpp:2555:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2555 | for (int i = 1; i < row_infos.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/paragraphs.cpp:2562:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2562 | for (int i = 0; i < row_infos.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccmain/paragraphs.h:23, from tesseract/src/ccmain/paragraphs.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pgedit.cpp:29: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/pgedit.cpp:29: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/pgedit.cpp:34: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/ccmain/pgedit.h:22, from tesseract/src/ccmain/pgedit.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/reject.cpp:44: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/reject.cpp:44: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/reject.cpp:44: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/reject.cpp: In member function ‘bool tesseract::Tesseract::repeated_nonalphanum_wd(tesseract::WERD_RES*, tesseract::ROW*)’: tesseract/src/ccmain/reject.cpp:598:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} and ‘int16_t’ {aka ‘short int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 598 | if ((word->best_choice->unichar_lengths().length () == char_quality) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/reject.cpp:44: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/resultiterator.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/resultiterator.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/resultiterator.cpp:24: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/lsterr.h:22, from tesseract/src/ccutil/elst.h:22, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/resultiterator.cpp:23: tesseract/src/ccmain/resultiterator.cpp: In member function ‘void tesseract::ResultIterator::CalculateBlobOrder(std::vector*) const’: tesseract/src/ccmain/resultiterator.cpp:220:36: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘const int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 220 | ASSERT_HOST(blob_indices->size() == word_length_); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ tesseract/src/ccutil/errcode.h:56:25: note: in definition of macro ‘ASSERT_HOST’ 56 | #define ASSERT_HOST(x) (x) \ | ^ tesseract/src/ccmain/resultiterator.cpp: In function ‘void tesseract::PrintScriptDirs(const std::vector&)’: tesseract/src/ccmain/resultiterator.cpp:224:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < dirs.size(); i++) { | ~~^~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp: In static member function ‘static void tesseract::ResultIterator::CalculateTextlineOrder(bool, const std::vector&, std::vector*)’: tesseract/src/ccmain/resultiterator.cpp:315:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 315 | for (int i = left; i < word_dirs.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp: In member function ‘void tesseract::ResultIterator::MoveToLogicalStartOfTextline()’: tesseract/src/ccmain/resultiterator.cpp:434:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 434 | for (; i < word_indices.size() && word_indices[i] < 0; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp:442:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 442 | if (i >= word_indices.size()) | ~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp: In member function ‘virtual bool tesseract::ResultIterator::Next(tesseract::PageIteratorLevel)’: tesseract/src/ccmain/resultiterator.cpp:480:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 480 | while (next_blob < blob_order.size() && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp:484:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 484 | if (next_blob < blob_order.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp: In member function ‘void tesseract::ResultIterator::AppendUTF8WordText(std::string*) const’: tesseract/src/ccmain/resultiterator.cpp:681:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 681 | for (int i = 0; i < blob_order.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/resultiterator.cpp: In member function ‘void tesseract::ResultIterator::IterateAndAppendUTF8TextlineText(std::string*)’: tesseract/src/ccmain/resultiterator.cpp:702:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 702 | for (int i = 0; i < textline_order.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/resultiterator.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tessedit.cpp:28: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tessedit.cpp:28: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tessedit.cpp:31: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tessedit.cpp:39: tesseract/src/lstm/lstmrecognizer.h: In member function ‘void tesseract::LSTMRecognizer::ScaleLearningRate(double)’: tesseract/src/lstm/lstmrecognizer.h:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 133 | for (int i = 0; i < layers.size(); ++i) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp: In member function ‘bool tesseract::Tesseract::init_tesseract_lang_data(const char*, const char*, const char*, tesseract::OcrEngineMode, char**, int, const std::vector >*, const std::vector >*, bool, tesseract::TessdataManager*)’: tesseract/src/ccmain/tessedit.cpp:137:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 137 | for (int i = 0; i < vars_vec->size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp: In function ‘bool tesseract::IsStrInList(const string&, const std::vector >&)’: tesseract/src/ccmain/tessedit.cpp:241:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 241 | for (int i = 0; i < str_list.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp: In member function ‘int tesseract::Tesseract::init_tesseract(const char*, const char*, const char*, tesseract::OcrEngineMode, char**, int, const std::vector >*, const std::vector >*, bool, tesseract::TessdataManager*)’: tesseract/src/ccmain/tessedit.cpp:303:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 303 | for (int lang_index = 0; lang_index < langs_to_load.size(); ++lang_index) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp:352:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 352 | for (int s = 0; s < sub_langs_.size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp:359:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 359 | for (int s = 0; s < sub_langs_.size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp: In member function ‘void tesseract::Tesseract::SetupUniversalFontIds()’: tesseract/src/ccmain/tessedit.cpp:439:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 439 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tessedit.cpp:444:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 444 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tessedit.cpp:28: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/tesseractclass.cpp:41: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/tesseractclass.cpp:41: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tesseractclass.cpp:41: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tesseractclass.cpp:48: tesseract/src/lstm/lstmrecognizer.h: In member function ‘void tesseract::LSTMRecognizer::ScaleLearningRate(double)’: tesseract/src/lstm/lstmrecognizer.h:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 133 | for (int i = 0; i < layers.size(); ++i) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::Clear()’: tesseract/src/ccmain/tesseractclass.cpp:583:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 583 | for (int i = 0; i < sub_langs_.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::ResetAdaptiveClassifier()’: tesseract/src/ccmain/tesseractclass.cpp:597:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 597 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::ResetDocumentDictionary()’: tesseract/src/ccmain/tesseractclass.cpp:607:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 607 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::SetBlackAndWhitelist()’: tesseract/src/ccmain/tesseractclass.cpp:624:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 624 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::PrepareForPageseg()’: tesseract/src/ccmain/tesseractclass.cpp:645:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 645 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.cpp: In member function ‘void tesseract::Tesseract::PrepareForTessOCR(tesseract::BLOCK_LIST*, tesseract::Tesseract*, tesseract::OSResults*)’: tesseract/src/ccmain/tesseractclass.cpp:676:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 676 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/tesseractclass.cpp:41: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/werdit.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/werdit.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccmain/werdit.h:23, from tesseract/src/ccmain/werdit.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/blamer.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/blamer.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/ccstruct/blamer.cpp: In member function ‘void tesseract::BlamerBundle::SetWordTruth(const tesseract::UNICHARSET&, const char*, const tesseract::TBOX&)’: tesseract/src/ccstruct/blamer.cpp:85:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 85 | for (int i = 0; i < encoding.size(); total_length += lengths[i++]) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/blamer.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/ccstruct/blobs.cpp:30: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/ccstruct/blobs.cpp:28: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/ccstruct/boxread.cpp: In function ‘bool tesseract::ReadMemBoxes(int, bool, const char*, bool, std::vector*, std::vector*, std::vector*, std::vector*)’: tesseract/src/ccstruct/boxread.cpp:105:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 105 | for (int i = 0; i < lines.size(); ++i) { | ~~^~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccstruct/boxword.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccstruct/boxword.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/ccstruct/boxword.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/ccstruct/ccstruct.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/ccstruct/ccstruct.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/ccstruct/imagedata.cpp: In member function ‘void tesseract::ImageData::AddBoxes(const std::vector&, const std::vector&, const std::vector&)’: tesseract/src/ccstruct/imagedata.cpp:338:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 338 | for (int i = 0; i < box_pages.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ tesseract/src/ccstruct/imagedata.cpp: In member function ‘bool tesseract::DocumentCache::LoadDocuments(const std::vector&, tesseract::CachingStrategy, tesseract::FileReader)’: tesseract/src/ccstruct/imagedata.cpp:600:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 600 | for (int arg = 0; arg < filenames.size(); ++arg) { | ~~~~^~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/imagedata.h:22, from tesseract/src/ccstruct/imagedata.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccstruct/imagedata.cpp:168:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccstruct/imagedata.cpp:176:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccstruct/imagedata.cpp:182:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccstruct/imagedata.cpp:190:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/matrix.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/matrix.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/ccstruct/matrix.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/normalis.cpp:27: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/ccstruct/normalis.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccstruct/pageres.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccstruct/pageres.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccstruct/pageres.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/ratngs.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/ratngs.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/ratngs.h:26, from tesseract/src/ccstruct/ratngs.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/classify.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/classify.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/classify.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/context.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/dict/context.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/context.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/dict/dawg.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = short int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:316:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:323:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = long unsigned int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:329:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = short int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:380:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:381:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = long unsigned int; size_t = long unsigned int]’: tesseract/src/dict/dawg.cpp:403:29: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg_cache.h:23, from tesseract/src/dict/dawg_cache.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dawg_cache.h:23, from tesseract/src/dict/dawg_cache.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/dict/dawg_cache.h:23, from tesseract/src/dict/dawg_cache.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/dict.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/dict/dict.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/dict/dict.cpp: In member function ‘bool tesseract::Dict::valid_bigram(const tesseract::WERD_CHOICE&, const tesseract::WERD_CHOICE&) const’: tesseract/src/dict/dict.cpp:846:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 846 | for (int i = 0; i < bigram_string.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/dict.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/permdawg.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/permdawg.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/dict/permdawg.cpp: In member function ‘void tesseract::Dict::go_deeper_dawg_fxn(const char*, const BLOB_CHOICE_LIST_VECTOR&, int, const tesseract::CHAR_FRAGMENT_INFO*, bool, tesseract::WERD_CHOICE*, float*, float*, tesseract::WERD_CHOICE*, int*, void*)’: tesseract/src/dict/permdawg.cpp:78:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 78 | for (int i = 0; unigrams_ok && i < encoding.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/dict/permdawg.cpp:86:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 86 | word_ending && i == encoding.size() - 1); | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/dict/permdawg.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/stopper.h:22, from tesseract/src/dict/stopper.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/stopper.h:22, from tesseract/src/dict/stopper.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/dict/stopper.h:21, from tesseract/src/dict/stopper.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/trie.h:22, from tesseract/src/dict/trie.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/trie.h:22, from tesseract/src/dict/trie.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/dict/trie.cpp: In member function ‘bool tesseract::Trie::add_word_list(const std::vector&, const tesseract::UNICHARSET&, tesseract::Trie::RTLReversePolicy)’: tesseract/src/dict/trie.cpp:309:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 309 | for (int i = 0; i < words.size(); ++i) { | ~~^~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/dict/trie.h:22, from tesseract/src/dict/trie.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/textord.h:24, from tesseract/src/textord/baselinedetect.cpp:37: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccstruct/detlinefit.h:23, from tesseract/src/textord/baselinedetect.h:22, from tesseract/src/textord/baselinedetect.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/textord/bbgrid.cpp:254:6: warning: no previous declaration for ‘Pix* tesseract::TraceBlockOnReducedPix(tesseract::BLOCK*, int, tesseract::ICOORD, int*, int*)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-declarations-Wmissing-declarations]8;;] 254 | Pix* TraceBlockOnReducedPix(BLOCK* block, int gridsize, | ^~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/makerow.cpp:27: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/textord/makerow.cpp: In function ‘void tesseract::delete_non_dropout_rows(tesseract::TO_BLOCK*, float, tesseract::FCOORD, int32_t, bool)’: tesseract/src/textord/makerow.cpp:586:11: warning: variable ‘xleft’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 586 | int32_t xleft; //of block | ^~~~~ tesseract/src/textord/makerow.cpp:587:11: warning: variable ‘ybottom’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 587 | int32_t ybottom; //of block | ^~~~~~~ tesseract/src/textord/makerow.cpp: In function ‘void tesseract::assign_blobs_to_rows(tesseract::TO_BLOCK*, float*, int, bool, bool, bool)’: tesseract/src/textord/makerow.cpp:2283:9: warning: variable ‘ycoord’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 2283 | float ycoord; //current y | ^~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/textord/makerow.h:22, from tesseract/src/textord/makerow.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/oldbasel.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/textord/oldbasel.h:22, from tesseract/src/textord/oldbasel.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/textord/tablefind.cpp: In member function ‘void tesseract::TableFinder::RecognizeTables()’: tesseract/src/textord/tablefind.cpp:1830:15: warning: unused variable ‘table_win’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 1830 | ScrollView* table_win = nullptr; | ^~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/textord.h:24, from tesseract/src/textord/textord.cpp:27: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/textord/textord.cpp:29: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccstruct/detlinefit.h:23, from tesseract/src/textord/baselinedetect.h:22, from tesseract/src/textord/textord.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/textord.h:24, from tesseract/src/textord/wordseg.h:24, from tesseract/src/textord/topitch.cpp:33: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/blobbox.h:22, from tesseract/src/textord/topitch.h:22, from tesseract/src/textord/topitch.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/tordmain.cpp:29: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/textord/tordmain.h:22, from tesseract/src/textord/tordmain.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/textord.h:24, from tesseract/src/textord/tospace.cpp:30: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/textord/drawtord.h:22, from tesseract/src/textord/tospace.cpp:28: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccstruct/ccstruct.h:22, from tesseract/src/textord/textord.h:24, from tesseract/src/textord/wordseg.h:24, from tesseract/src/textord/wordseg.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/textord/wordseg.h:22, from tesseract/src/textord/wordseg.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/viewer/scrollview.cpp:60:20: warning: ‘tesseract::waiting_for_events_mu’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 60 | static std::mutex* waiting_for_events_mu; | ^~~~~~~~~~~~~~~~~~~~~ tesseract/src/viewer/scrollview.cpp:56:20: warning: ‘tesseract::svmap_mu’ defined but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 56 | static std::mutex* svmap_mu; | ^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/tface.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/tface.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/tface.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/wordrec.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/wordrec.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/wordrec.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccutil/ccutil.cpp:13: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccutil/ccutil.cpp:13: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccutil/mainblk.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/ccutil/mainblk.cpp:26: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/ccutil/serialis.cpp: In function ‘bool tesseract::SaveDataToFile(const std::vector&, const char*)’: tesseract/src/ccutil/serialis.cpp:59:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 59 | static_cast(fwrite(&data[0], 1, data.size(), fp)) == data.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ tesseract/src/ccutil/serialis.cpp: In member function ‘char* tesseract::TFile::FGets(char*, int)’: tesseract/src/ccutil/serialis.cpp:213:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 213 | while (size + 1 < buffer_size && offset_ < data_->size()) { | ~~~~~~~~^~~~~~~~~~~~~~~ tesseract/src/ccutil/serialis.cpp: In member function ‘int tesseract::TFile::FRead(void*, size_t, int)’: tesseract/src/ccutil/serialis.cpp:237:23: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 237 | if (SIZE_MAX / size <= count) { | ^ In file included from tesseract/src/ccutil/serialis.cpp:21: tesseract/src/ccutil/serialis.cpp: In member function ‘int tesseract::TFile::FWrite(const void*, size_t, int)’: tesseract/src/ccutil/serialis.cpp:284:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 284 | ASSERT_HOST(SIZE_MAX / size > count); | ^ tesseract/src/ccutil/errcode.h:56:25: note: in definition of macro ‘ASSERT_HOST’ 56 | #define ASSERT_HOST(x) (x) \ | ^ In file included from tesseract/src/ccutil/serialis.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:114:19: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:119:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:127:19: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:127:39: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = double; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:90:23: required from ‘bool tesseract::TFile::DeSerialize(std::vector&) [with T = double]’ tesseract/src/ccutil/serialis.cpp:107:68: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:90:23: required from ‘bool tesseract::TFile::DeSerialize(std::vector&) [with T = int]’ tesseract/src/ccutil/serialis.cpp:108:69: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = double; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:102:21: required from ‘bool tesseract::TFile::Serialize(const std::vector&) [with T = double]’ tesseract/src/ccutil/serialis.cpp:109:72: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccutil/serialis.cpp:102:21: required from ‘bool tesseract::TFile::Serialize(const std::vector&) [with T = int]’ tesseract/src/ccutil/serialis.cpp:110:73: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/strngs.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccutil/strngs.cpp:48:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/strngs.cpp:49:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccutil/strngs.cpp:69:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/strngs.cpp:71:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/tessdatamanager.h:22, from tesseract/src/ccutil/tessdatamanager.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:114:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = long int; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:121:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:129:26: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:179:15: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = long int; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:180:15: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/tessdatamanager.cpp:183:19: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/unicharcompress.h:28, from tesseract/src/ccutil/unicharcompress.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharcompress.cpp: In function ‘bool tesseract::DecodeRadicalLine(tesseract::STRING*, tesseract::RSMap*)’: tesseract/src/ccutil/unicharcompress.cpp:60:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 60 | for (int i = 1; i < entries.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharcompress.cpp: In function ‘bool tesseract::DecodeRadicalTable(tesseract::STRING*, tesseract::RSMap*)’: tesseract/src/ccutil/unicharcompress.cpp:76:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 76 | for (int i = 0; i < lines.size(); ++i) { | ~~^~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/unicharcompress.h:25, from tesseract/src/ccutil/unicharcompress.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:63:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:69:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/unicharset.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::set_ranges_empty()’: tesseract/src/ccutil/unicharset.cpp:378:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 378 | for (int id = 0; id < unichars.size(); ++id) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::PartialSetPropertiesFromOther(int, const tesseract::UNICHARSET&)’: tesseract/src/ccutil/unicharset.cpp:388:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 388 | for (int ch = start_index; ch < unichars.size(); ++ch) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::ExpandRangesFromOther(const tesseract::UNICHARSET&)’: tesseract/src/ccutil/unicharset.cpp:417:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 417 | for (int ch = 0; ch < unichars.size(); ++ch) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::CopyFrom(const tesseract::UNICHARSET&)’: tesseract/src/ccutil/unicharset.cpp:431:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 431 | for (int ch = 0; ch < src.unichars.size(); ++ch) { | ~~~^~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::AppendOtherUnicharset(const tesseract::UNICHARSET&)’: tesseract/src/ccutil/unicharset.cpp:447:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 447 | for (int ch = 0; ch < src.unichars.size(); ++ch) { | ~~~^~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘bool tesseract::UNICHARSET::GetStrProperties(const char*, tesseract::UNICHARSET::UNICHAR_PROPERTIES*) const’: tesseract/src/ccutil/unicharset.cpp:534:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 534 | for (int i = 0; i < encoding.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::post_load_setup()’: tesseract/src/ccutil/unicharset.cpp:869:30: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 869 | for (UNICHAR_ID id = 0; id < unichars.size(); ++id) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp:911:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 911 | for (int id = 0; id < unichars.size(); ++id) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘bool tesseract::UNICHARSET::major_right_to_left() const’: tesseract/src/ccutil/unicharset.cpp:931:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 931 | for (int id = 0; id < unichars.size(); ++id) { | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘void tesseract::UNICHARSET::set_black_and_whitelist(const char*, const char*, const char*)’: tesseract/src/ccutil/unicharset.cpp:950:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 950 | for (int ch = 0; ch < unichars.size(); ++ch) | ~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp:956:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 956 | for (int i = 0; i < encoding.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp:965:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 965 | for (int i = 0; i < encoding.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp:974:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 974 | for (int i = 0; i < encoding.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.cpp: In member function ‘bool tesseract::UNICHARSET::AnyRepeatedUnicodes() const’: tesseract/src/ccutil/unicharset.cpp:986:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 986 | for (int id = start_id; id < unichars.size(); ++id) { | ~~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/unicharset.h:26, from tesseract/src/ccutil/unicharset.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/string.h:519, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/cstring:42, from tesseract/include/tesseract/unichar.h:24, from tesseract/src/ccutil/unicharmap.h:23, from tesseract/src/ccutil/unicharset.h:23, from tesseract/src/ccutil/unicharset.cpp:19: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void tesseract::CHAR_FRAGMENT::set_unichar(const char*)’ at tesseract/src/ccutil/unicharset.h:68:12, inlined from ‘void tesseract::CHAR_FRAGMENT::set_all(const char*, int, int, bool)’ at tesseract/src/ccutil/unicharset.h:62:16, inlined from ‘static tesseract::CHAR_FRAGMENT* tesseract::CHAR_FRAGMENT::parse_from_string(const char*)’ at tesseract/src/ccutil/unicharset.cpp:1071:20: /usr/include/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 30 bytes from a string of length 30 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/convolve.h:23, from tesseract/src/lstm/convolve.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/network.h:21, from tesseract/src/lstm/fullyconnected.h:21, from tesseract/src/lstm/fullyconnected.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/lstm/input.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/lstm/input.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/network.h:21, from tesseract/src/lstm/input.h:21, from tesseract/src/lstm/input.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/network.h:21, from tesseract/src/lstm/lstm.h:21, from tesseract/src/lstm/lstm.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/lstm/lstmrecognizer.h:21, from tesseract/src/lstm/lstmrecognizer.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/lstm/recodebeam.h:23, from tesseract/src/lstm/lstmrecognizer.h:28, from tesseract/src/lstm/lstmrecognizer.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/lstm/lstmrecognizer.cpp:23: tesseract/src/lstm/lstmrecognizer.h: In member function ‘void tesseract::LSTMRecognizer::ScaleLearningRate(double)’: tesseract/src/lstm/lstmrecognizer.h:133:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 133 | for (int i = 0; i < layers.size(); ++i) { | ~~^~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::RecognizeLine(const tesseract::ImageData&, bool, bool, double, const tesseract::TBOX&, tesseract::PointerVector*, int, int)’: tesseract/src/lstm/lstmrecognizer.cpp:218:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 218 | if (char_it < search_->ctc_choices.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp:221:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 221 | if (char_it < search_->segmentedTimesteps.size()) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp: In member function ‘tesseract::STRING tesseract::LSTMRecognizer::DecodeLabels(const std::vector&)’: tesseract/src/lstm/lstmrecognizer.cpp:337:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 337 | for (int start = 0; start < labels.size(); start = end) { | ~~~~~~^~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::DebugActivationPath(const tesseract::NetworkIO&, const std::vector&, const std::vector&)’: tesseract/src/lstm/lstmrecognizer.cpp:398:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 398 | for (int start = 0; start < labels.size(); start = end) { | ~~~~~~^~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp: In member function ‘const char* tesseract::LSTMRecognizer::DecodeLabel(const std::vector&, int, int*, int*)’: tesseract/src/lstm/lstmrecognizer.cpp:521:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 521 | while (index < labels.size() && | ~~~~~~^~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp:524:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 524 | while (index < labels.size() && labels[index] == null_char_) ++index; | ~~~~~~^~~~~~~~~~~~~~~ tesseract/src/lstm/lstmrecognizer.cpp:529:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 529 | (index == labels.size() || | ~~~~~~^~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/ccutil/ccutil.h:32, from tesseract/src/lstm/lstmrecognizer.h:21, from tesseract/src/lstm/lstmrecognizer.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = float; size_t = long unsigned int]’: tesseract/src/lstm/lstmrecognizer.cpp:98:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = float; size_t = long unsigned int]’: tesseract/src/lstm/lstmrecognizer.cpp:120:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/reconfig.h:22, from tesseract/src/lstm/maxpool.h:22, from tesseract/src/lstm/maxpool.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/lstm/network.cpp:37: tesseract/src/lstm/reversed.h: In member function ‘virtual tesseract::STRING tesseract::Reversed::spec() const’: tesseract/src/lstm/reversed.h:59:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 59 | for (int i = 0; i < net_spec.length(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/network.h:21, from tesseract/src/lstm/network.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/lstm/network.cpp:153:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/lstm/network.cpp:165:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/lstm/network.cpp:166:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/lstm/network.cpp:171:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/lstm/networkio.h:26, from tesseract/src/lstm/networkio.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/lstm/parallel.cpp: In member function ‘virtual void tesseract::Parallel::Forward(bool, const tesseract::NetworkIO&, const tesseract::TransposedArray*, tesseract::NetworkScratch*, tesseract::NetworkIO*)’: tesseract/src/lstm/parallel.cpp:55:8: warning: variable ‘parallel_debug’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 55 | bool parallel_debug = false; | ^~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/lstm/plumbing.h:22, from tesseract/src/lstm/parallel.h:22, from tesseract/src/lstm/parallel.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/lstm/plumbing.h:22, from tesseract/src/lstm/plumbing.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/lstm/plumbing.cpp:186:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/lstm/plumbing.cpp:201:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/lstm/recodebeam.h:23, from tesseract/src/lstm/recodebeam.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/lstm/recodebeam.h:23, from tesseract/src/lstm/recodebeam.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::DecodeSecondaryBeams(const tesseract::NetworkIO&, double, double, double, const tesseract::UNICHARSET*, int)’: tesseract/src/lstm/recodebeam.cpp:117:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 117 | while ((bucketNumber + 1) < character_boundaries_.size() && | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::segmentTimestepsByCharacters()’: tesseract/src/lstm/recodebeam.cpp:158:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 158 | for (int i = 1; i < character_boundaries_.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘std::vector > > tesseract::RecodeBeamSearch::combineSegmentedTimesteps(std::vector > > >*)’: tesseract/src/lstm/recodebeam.cpp:171:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 171 | for (int i = 0; i < segmentedTimesteps->size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:172:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 172 | for (int j = 0; j < (*segmentedTimesteps)[i].size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In static member function ‘static void tesseract::RecodeBeamSearch::calculateCharBoundaries(std::vector*, std::vector*, std::vector*, int)’: tesseract/src/lstm/recodebeam.cpp:184:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 184 | for (int i = 0; i < ends->size(); ++i) { | ~~^~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::PrintBeam2(bool, int, const tesseract::UNICHARSET*, bool) const’: tesseract/src/lstm/recodebeam.cpp:345:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 345 | if (cb >= character_boundaries_.size()) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::extractSymbolChoices(const tesseract::UNICHARSET*)’: tesseract/src/lstm/recodebeam.cpp:408:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 408 | for (int j = 1; j < character_boundaries_.size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:441:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 441 | for (int i = 1; i < unichar_ids.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:458:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 458 | if (j - 1 < excludedUnichars.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:466:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 466 | if (j - 1 < ctc_choices.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:445:11: warning: variable ‘bestCode’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable]8;;] 445 | int bestCode = -10; | ^~~~~~~~ tesseract/src/lstm/recodebeam.cpp:482:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 482 | if (j - 1 >= excludedUnichars.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp:486:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 486 | if (j - 1 >= ctc_choices.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘tesseract::WERD_RES* tesseract::RecodeBeamSearch::InitializeWord(bool, const tesseract::TBOX&, int, int, float, const tesseract::UNICHARSET*, const std::vector&, float)’: tesseract/src/lstm/recodebeam.cpp:618:38: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 618 | if (character_boundaries_.size() > (i + 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/lstm/recodebeam.h:23, from tesseract/src/lstm/recodebeam.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:62:25: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharcompress.h:68:27: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::ComputeTopN(const float*, int, int)’: tesseract/src/lstm/recodebeam.cpp:659:32: warning: ‘entry.tesseract::KDPairInc::.tesseract::KDPair::data_’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 659 | top_n_flags_[entry.data()] = TN_TOPN; | ^ tesseract/src/lstm/recodebeam.cpp: In member function ‘void tesseract::RecodeBeamSearch::ComputeSecTopN(std::unordered_set*, const float*, int, int)’: tesseract/src/lstm/recodebeam.cpp:690:32: warning: ‘entry.tesseract::KDPairInc::.tesseract::KDPair::data_’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 690 | top_n_flags_[entry.data()] = TN_TOPN; | ^ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/reconfig.h:22, from tesseract/src/lstm/reconfig.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/lstm/reversed.cpp:18: tesseract/src/lstm/reversed.h: In member function ‘virtual tesseract::STRING tesseract::Reversed::spec() const’: tesseract/src/lstm/reversed.h:59:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 59 | for (int i = 0; i < net_spec.length(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/reversed.h:22, from tesseract/src/lstm/reversed.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/lstm/plumbing.h:22, from tesseract/src/lstm/series.h:22, from tesseract/src/lstm/series.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:67:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/lstm/static_shape.h:79:20: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/kdpair.h:27, from tesseract/src/ccstruct/matrix.h:29, from tesseract/src/lstm/weightmatrix.h:24, from tesseract/src/lstm/weightmatrix.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned char; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:179:21: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:190:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = double; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:191:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned char; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:204:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:211:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = double; size_t = long unsigned int]’: tesseract/src/lstm/weightmatrix.cpp:213:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccstruct/matrix.h:157:23: required from ‘bool tesseract::GENERIC_2D_ARRAY::Serialize(tesseract::TFile*) const [with T = signed char]’ tesseract/src/lstm/weightmatrix.cpp:181:23: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = signed char; size_t = long unsigned int]’: tesseract/src/ccstruct/matrix.h:180:27: required from ‘bool tesseract::GENERIC_2D_ARRAY::DeSerialize(tesseract::TFile*) [with T = signed char]’ tesseract/src/lstm/weightmatrix.cpp:209:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = float; size_t = long unsigned int]’: tesseract/src/ccstruct/matrix.h:180:27: required from ‘bool tesseract::GENERIC_2D_ARRAY::DeSerialize(tesseract::TFile*) [with T = float]’ tesseract/src/lstm/weightmatrix.cpp:246:33: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccstruct/matrix.h:500:25: required from ‘bool tesseract::GENERIC_2D_ARRAY::DeSerializeSize(tesseract::TFile*) [with T = signed char]’ tesseract/src/ccstruct/matrix.h:179:27: required from ‘bool tesseract::GENERIC_2D_ARRAY::DeSerialize(tesseract::TFile*) [with T = signed char]’ tesseract/src/lstm/weightmatrix.cpp:209:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/stopper.h:22, from tesseract/src/ccmain/adaptions.cpp:25: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/stopper.h:22, from tesseract/src/ccmain/adaptions.cpp:25: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/adaptions.cpp:26: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/dict/stopper.h:21, from tesseract/src/ccmain/adaptions.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/docqual.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/docqual.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/docqual.cpp:23: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/docqual.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/equationdetect.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/equationdetect.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/equationdetect.h:25, from tesseract/src/ccmain/equationdetect.cpp:24: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/blobbox.h:22, from tesseract/src/ccmain/equationdetect.h:22, from tesseract/src/ccmain/equationdetect.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/fixspace.cpp:27: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/fixspace.cpp:27: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/fixspace.cpp:32: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/ccmain/fixspace.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccmain/fixspace.cpp: In member function ‘void tesseract::Tesseract::break_noisiest_blob_word(tesseract::WERD_RES_LIST&)’: tesseract/src/ccmain/fixspace.cpp:699:25: warning: ‘worst_word_it.tesseract::WERD_RES_IT::.tesseract::ELIST_ITERATOR::current’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 699 | word_res->ClearResults(); | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/blobs.h:25, from tesseract/src/ccmain/fixspace.cpp:23: tesseract/src/ccutil/elst.h:438:16: warning: ‘worst_word_it.tesseract::WERD_RES_IT::.tesseract::ELIST_ITERATOR::prev’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 438 | prev->next = new_element; | ~~~~~~~~~~~^~~~~~~~~~~~~ tesseract/src/ccmain/fixspace.cpp:639:15: note: ‘worst_word_it.tesseract::WERD_RES_IT::.tesseract::ELIST_ITERATOR::prev’ was declared here 639 | WERD_RES_IT worst_word_it; | ^~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intmatcher.h:21, from tesseract/src/classify/float2int.h:24, from tesseract/src/ccmain/fixxht.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/fixxht.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/fixxht.cpp:22: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/ccmain/fixxht.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccmain/osdetect.cpp:30: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/osdetect.cpp:30: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/osdetect.cpp:32: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/osdetect.cpp: In member function ‘bool tesseract::OrientationDetector::detect_blob(tesseract::BLOB_CHOICE_LIST*)’: tesseract/src/ccmain/osdetect.cpp:394:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 394 | for (s = 0; s < allowed_scripts_->size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/osdetect.cpp: In member function ‘void tesseract::ScriptDetector::detect_blob(tesseract::BLOB_CHOICE_LIST*)’: tesseract/src/ccmain/osdetect.cpp:490:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 490 | for (s = 0; s < allowed_scripts_->size(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/osdetect.cpp:493:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 493 | if (s == allowed_scripts_->size()) continue; // Not found in list. | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/blobbox.h:22, from tesseract/src/ccmain/osdetect.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/par_control.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/par_control.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/par_control.cpp:19: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/par_control.cpp: In member function ‘void tesseract::Tesseract::PrerecAllWordsPar(const std::vector&)’: tesseract/src/ccmain/par_control.cpp:45:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 45 | Tesseract* sub = s < sub_langs_.size() ? sub_langs_[s] : this; | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/par_control.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/recogtraining.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/recogtraining.cpp:19: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/recogtraining.cpp:19: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/recogtraining.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/superscript.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/superscript.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/superscript.cpp:20: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/ocrpara.h:23, from tesseract/src/ccstruct/ocrblock.h:22, from tesseract/src/textord/devanagari_processing.h:17, from tesseract/src/ccmain/tesseractclass.h:34, from tesseract/src/ccmain/superscript.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/tessbox.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccstruct/pageres.h:22, from tesseract/src/ccmain/tesseractclass.h:38, from tesseract/src/ccmain/tessbox.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tessbox.cpp:21: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/ccmain/tessbox.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccmain/tfacepp.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/ccmain/tfacepp.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccmain/tfacepp.cpp:25: tesseract/src/ccmain/tesseractclass.h: In member function ‘void tesseract::Tesseract::set_pix_original(Pix*)’: tesseract/src/ccmain/tesseractclass.h:224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyTessLang() const’: tesseract/src/ccmain/tesseractclass.h:292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 292 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/ccmain/tesseractclass.h: In member function ‘bool tesseract::Tesseract::AnyLSTMLang() const’: tesseract/src/ccmain/tesseractclass.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < sub_langs_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/ccmain/tfacepp.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/ccstruct/fontinfo.cpp: In member function ‘bool tesseract::FontInfoTable::SetContainsFontProperties(int, const std::vector&) const’: tesseract/src/ccstruct/fontinfo.cpp:63:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 63 | for (int f = 0; f < font_set.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccstruct/fontinfo.cpp: In member function ‘bool tesseract::FontInfoTable::SetContainsMultipleFontProperties(const std::vector&) const’: tesseract/src/ccstruct/fontinfo.cpp:76:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 76 | for (int f = 1; f < font_set.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccstruct/fontinfo.h:25, from tesseract/src/ccstruct/fontinfo.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned int; size_t = long unsigned int]’: tesseract/src/ccstruct/fontinfo.cpp:135:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccstruct/fontinfo.cpp:138:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/ccstruct/fontinfo.cpp:152:22: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = short int; size_t = long unsigned int]’: tesseract/src/ccstruct/fontinfo.cpp:158:24: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/ccutil/ambigs.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/ambigs.cpp: In member function ‘void tesseract::UnicharAmbigs::LoadUnicharAmbigs(const tesseract::UNICHARSET&, tesseract::TFile*, int, bool, tesseract::UNICHARSET*)’: tesseract/src/ccutil/ambigs.cpp:144:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 144 | for (int r = 0; r < encoding.size(); ++r) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/ambigs.cpp: In member function ‘bool tesseract::UnicharAmbigs::ParseAmbiguityLine(int, int, int, const tesseract::UNICHARSET&, char*, int*, tesseract::UNICHAR_ID*, int*, char*, int*)’: tesseract/src/ccutil/ambigs.cpp:251:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 251 | for (int i = 0; i < unichars.size(); ++i) | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/ccutil/ambigs.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/adaptive.cpp:19: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/adaptive.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/adaptive.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/adaptmatch.cpp:25: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/adaptmatch.cpp:29: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::ADAPT_RESULTS::ComputeBest()’: tesseract/src/classify/adaptmatch.cpp:112:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 112 | for (int i = 0; i < match.size(); ++i) { | ~~^~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In function ‘int tesseract::FindScoredUnichar(tesseract::UNICHAR_ID, const tesseract::ADAPT_RESULTS&)’: tesseract/src/classify/adaptmatch.cpp:150:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 150 | for (int i = 0; i < results.match.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In function ‘float tesseract::ScoredUnichar(tesseract::UNICHAR_ID, const tesseract::ADAPT_RESULTS&)’: tesseract/src/classify/adaptmatch.cpp:161:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 161 | if (index >= results.match.size()) return WORST_POSSIBLE_RATING; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::LearnWord(const char*, tesseract::WERD_RES*)’: tesseract/src/classify/adaptmatch.cpp:330:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 330 | for (int i = 0; i < tokens.size(); i++) { | ~~^~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:332:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 332 | if (i != tokens.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::AddNewResult(const tesseract::UnicharRating&, tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:1014:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1014 | (old_match < results->match.size() && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:1021:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1021 | if (old_match < results->match.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::MasterMatcher(tesseract::INT_TEMPLATES, int16_t, const tesseract::INT_FEATURE_STRUCT*, const uint8_t*, tesseract::ADAPT_CLASS_STRUCT**, int, int, const tesseract::TBOX&, const std::vector&, tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:1116:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1116 | for (int c = 0; c < results.size(); c++) { | ~~^~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::ExpandShapesAndApplyCorrections(tesseract::ADAPT_CLASS_STRUCT**, bool, int, int, int, float, int, int, const uint8_t*, tesseract::UnicharRating*, tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:1151:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1151 | for (int f = 0; f < int_result->fonts.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:1158:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1158 | for (int f = 0; f < int_result->fonts.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:1172:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1172 | for (int f = 0; f < int_result->fonts.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘int tesseract::Classify::CharNormClassifier(tesseract::TBLOB*, const tesseract::TrainingSample&, tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:1336:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1336 | for (int r = 0; r < unichar_results.size(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘int tesseract::Classify::CharNormTrainingSample(bool, int, const tesseract::TrainingSample&, std::vector*)’: tesseract/src/classify/adaptmatch.cpp:1379:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1379 | for (int i = 0; i < adapt_results->CPResults.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:1391:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1391 | for (int i = 0; i < adapt_results->match.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::ConvertMatchesToChoices(const tesseract::DENORM&, const tesseract::TBOX&, tesseract::ADAPT_RESULTS*, tesseract::BLOB_CHOICE_LIST*)’: tesseract/src/classify/adaptmatch.cpp:1453:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1453 | for (int i = 0; i < Results->match.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘tesseract::UNICHAR_ID* tesseract::Classify::GetAmbiguities(tesseract::TBLOB*, tesseract::CLASS_ID)’: tesseract/src/classify/adaptmatch.cpp:1637:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 1637 | for (i = 0; i < Results->match.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::PrintAdaptiveMatchResults(const tesseract::ADAPT_RESULTS&)’: tesseract/src/classify/adaptmatch.cpp:2029:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2029 | for (int i = 0; i < results.match.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::RemoveBadMatches(tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:2062:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2062 | for (Next = NextGood = 0; Next < Results->match.size(); Next++) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp:2087:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2087 | for (Next = NextGood = 0; Next < Results->match.size(); Next++) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/adaptmatch.cpp: In member function ‘void tesseract::Classify::RemoveExtraPuncs(tesseract::ADAPT_RESULTS*)’: tesseract/src/classify/adaptmatch.cpp:2118:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2118 | for (Next = NextGood = 0; Next < Results->match.size(); Next++) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/adaptmatch.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/blobclass.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/blobclass.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/blobclass.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ tesseract/src/classify/cluster.cpp: In function ‘bool tesseract::MultipleCharSamples(tesseract::CLUSTERER*, tesseract::CLUSTER*, float)’: tesseract/src/classify/cluster.cpp:2302:26: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 2302 | if (Clusterer->NumChar > CharFlags.size()) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/cutoffs.cpp:25: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/cutoffs.cpp:25: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/cutoffs.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intmatcher.h:21, from tesseract/src/classify/float2int.h:24, from tesseract/src/classify/float2int.cpp:18: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/float2int.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/classify/intmatcher.h:20, from tesseract/src/classify/float2int.h:24, from tesseract/src/classify/float2int.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intfeaturespace.h:24, from tesseract/src/classify/intfeaturespace.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/classify/intfeaturespace.h:23, from tesseract/src/classify/intfeaturespace.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intfx.h:22, from tesseract/src/classify/intfx.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/intfx.cpp:25: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/intfx.h:21, from tesseract/src/classify/intfx.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intmatcher.h:21, from tesseract/src/classify/intmatcher.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/intmatcher.cpp:28: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/classify/intmatcher.h:20, from tesseract/src/classify/intmatcher.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intproto.cpp:28: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/intproto.cpp:30: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/intproto.cpp:28: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/mfoutline.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/mfoutline.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/mfoutline.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intfx.h:22, from tesseract/src/classify/mfx.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/classify/mfx.h:22, from tesseract/src/classify/mfx.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intfx.h:22, from tesseract/src/classify/normfeat.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/ocrfeatures.h:21, from tesseract/src/classify/normfeat.h:22, from tesseract/src/classify/normfeat.cpp:19: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/normmatch.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/normmatch.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/ocrfeatures.h:21, from tesseract/src/classify/normmatch.h:22, from tesseract/src/classify/normmatch.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/outfeat.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/outfeat.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/ocrfeatures.h:21, from tesseract/src/classify/outfeat.h:21, from tesseract/src/classify/outfeat.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/picofeat.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/picofeat.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/ocrfeatures.h:21, from tesseract/src/classify/picofeat.h:22, from tesseract/src/classify/picofeat.cpp:18: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/protos.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/protos.cpp:26: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/params.h:22, from tesseract/src/classify/protos.h:23, from tesseract/src/classify/protos.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intmatcher.h:21, from tesseract/src/classify/shapetable.h:28, from tesseract/src/classify/shapeclassifier.cpp:29: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ tesseract/src/classify/shapeclassifier.cpp: In member function ‘virtual void tesseract::ShapeClassifier::UnicharPrintResults(const char*, const std::vector&) const’: tesseract/src/classify/shapeclassifier.cpp:179:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 179 | for (int i = 0; i < results.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ tesseract/src/classify/shapeclassifier.cpp:184:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 184 | for (int f = 0; f < results[i].fonts.size(); ++f) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/classify/shapeclassifier.cpp: In member function ‘virtual void tesseract::ShapeClassifier::PrintResults(const char*, const std::vector&) const’: tesseract/src/classify/shapeclassifier.cpp:194:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 194 | for (int i = 0; i < results.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ tesseract/src/classify/shapeclassifier.cpp: In member function ‘void tesseract::ShapeClassifier::FilterDuplicateUnichars(std::vector*) const’: tesseract/src/classify/shapeclassifier.cpp:211:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 211 | for (int r = 0; r < results->size(); ++r) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccstruct/fontinfo.h:25, from tesseract/src/classify/shapetable.h:26, from tesseract/src/classify/shapeclassifier.cpp:29: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intmatcher.h:21, from tesseract/src/classify/shapetable.h:28, from tesseract/src/classify/shapetable.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccstruct/fontinfo.h:25, from tesseract/src/classify/shapetable.h:26, from tesseract/src/classify/shapetable.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = int; size_t = long unsigned int]’: tesseract/src/classify/shapetable.cpp:75:25: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 93 | return FReadEndian(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::DeSerialize(T*, size_t) [with T = unsigned char; size_t = long unsigned int]’: tesseract/src/classify/shapetable.cpp:94:23: required from here tesseract/src/ccutil/serialis.h:93:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/tessclassifier.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/classify/classify.h:66, from tesseract/src/classify/tessclassifier.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/classify/mfoutline.h:21, from tesseract/src/classify/intproto.h:25, from tesseract/src/classify/adaptive.h:20, from tesseract/src/classify/classify.h:64, from tesseract/src/classify/tessclassifier.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/classify/intproto.h:28, from tesseract/src/classify/intfx.h:22, from tesseract/src/classify/trainingsample.h:21, from tesseract/src/classify/trainingsample.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/classify/trainingsample.h:19, from tesseract/src/classify/trainingsample.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccutil/ambigs.h:32, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/hyphen.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/dict/dict.h:29, from tesseract/src/dict/hyphen.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccutil/ambigs.h:29, from tesseract/src/dict/dict.h:27, from tesseract/src/dict/hyphen.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/associate.cpp:25: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/associate.cpp:25: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/associate.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/chop.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/chop.cpp:26: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/genericheap.h:27, from tesseract/src/wordrec/chop.h:22, from tesseract/src/wordrec/chop.cpp:25: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/chopper.cpp:24: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/chopper.cpp:24: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/wordrec/chopper.cpp: In member function ‘tesseract::SEAM* tesseract::Wordrec::chop_overlapping_blob(const std::vector&, bool, tesseract::WERD_RES*, int*)’: tesseract/src/wordrec/chopper.cpp:288:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | for (int i = 0; i < boxes.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/wordrec/chopper.cpp:24: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/findseam.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/findseam.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/ccstruct/seam.h:26, from tesseract/src/wordrec/findseam.h:22, from tesseract/src/wordrec/findseam.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from tesseract/src/wordrec/findseam.h:24, from tesseract/src/wordrec/findseam.cpp:21: tesseract/src/ccutil/kdpair.h: In member function ‘void tesseract::Wordrec::choose_best_seam(tesseract::SeamQueue*, const tesseract::SPLIT*, tesseract::PRIORITY, tesseract::SEAM**, tesseract::TBLOB*, tesseract::SeamPile*)’: tesseract/src/ccutil/kdpair.h:125:10: warning: ‘seam_pair.tesseract::KDPtrPairInc::.tesseract::KDPtrPair::key_’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 125 | key_ = new_key; | ~~~~~^~~~~~~~~ tesseract/src/wordrec/findseam.cpp:127:14: note: ‘seam_pair.tesseract::KDPtrPairInc::.tesseract::KDPtrPair::key_’ was declared here 127 | SeamPair seam_pair; | ^~~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/gradechop.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/gradechop.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/gradechop.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/language_model.h:24, from tesseract/src/wordrec/language_model.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/language_model.h:24, from tesseract/src/wordrec/language_model.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/wordrec/language_model.cpp: In member function ‘tesseract::LanguageModelDawgInfo* tesseract::LanguageModel::GenerateDawgInfo(bool, int, int, const tesseract::BLOB_CHOICE&, const tesseract::ViterbiStateEntry*)’: tesseract/src/wordrec/language_model.cpp:849:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 849 | for (int i = 0; i < normed_ids.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~ tesseract/src/wordrec/language_model.cpp:854:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 854 | word_end && i == normed_ids.size() - 1); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ tesseract/src/wordrec/language_model.cpp:857:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 857 | } else if (i < normed_ids.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/language_model.h:24, from tesseract/src/wordrec/language_model.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/dawg.h:33, from tesseract/src/wordrec/lm_consistency.h:24, from tesseract/src/wordrec/lm_consistency.cpp:21: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/dawg.h:33, from tesseract/src/wordrec/lm_consistency.h:24, from tesseract/src/wordrec/lm_consistency.cpp:21: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/dict/dawg.h:31, from tesseract/src/wordrec/lm_consistency.h:24, from tesseract/src/wordrec/lm_consistency.cpp:21: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/dict/stopper.h:22, from tesseract/src/wordrec/lm_pain_points.h:27, from tesseract/src/wordrec/lm_pain_points.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/dict/stopper.h:22, from tesseract/src/wordrec/lm_pain_points.h:27, from tesseract/src/wordrec/lm_pain_points.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/genericvector.h:22, from tesseract/src/ccutil/genericheap.h:27, from tesseract/src/wordrec/lm_pain_points.h:25, from tesseract/src/wordrec/lm_pain_points.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/lm_state.h:23, from tesseract/src/wordrec/lm_state.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/lm_state.h:23, from tesseract/src/wordrec/lm_state.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/associate.h:25, from tesseract/src/wordrec/lm_state.h:23, from tesseract/src/wordrec/lm_state.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/outlines.cpp:22: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/associate.h:27, from tesseract/src/wordrec/wordrec.h:67, from tesseract/src/wordrec/outlines.h:26, from tesseract/src/wordrec/outlines.cpp:22: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/outlines.h:24, from tesseract/src/wordrec/outlines.cpp:22: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/wordrec/pieces.cpp:26: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/wordrec/pieces.cpp:26: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ tesseract/src/wordrec/pieces.cpp: In member function ‘void tesseract::Wordrec::merge_and_put_fragment_lists(int16_t, int16_t, int16_t, tesseract::BLOB_CHOICE_LIST*, tesseract::MATRIX*)’: tesseract/src/wordrec/pieces.cpp:221:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 221 | for (; merged_f < merged_fonts.size() && | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ tesseract/src/wordrec/pieces.cpp:224:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 224 | if (merged_f == merged_fonts.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/clst.h:24, from tesseract/src/ccstruct/blobs.h:23, from tesseract/src/wordrec/pieces.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/segsearch.cpp:20: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/segsearch.cpp:20: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/wordrec/segsearch.cpp:20: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: ‘-Werror=’ argument ‘-Werror=declaration-after-statement’ is not valid for C++ In file included from tesseract/src/ccstruct/ratngs.h:32, from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/wordclass.cpp:23: tesseract/src/ccutil/unicharset.h: In member function ‘bool tesseract::UNICHARSET::contains_unichar_id(tesseract::UNICHAR_ID) const’: tesseract/src/ccutil/unicharset.h:288:59: warning: comparison of integer expressions of different signedness: ‘tesseract::UNICHAR_ID’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 288 | return unichar_id != INVALID_UNICHAR_ID && unichar_id < unichars.size() && | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tesseract/src/ccutil/unicharset.h: In member function ‘void tesseract::UNICHARSET::delete_pointers_in_unichars()’: tesseract/src/ccutil/unicharset.h:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 302 | for (int i = 0; i < unichars.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ In file included from tesseract/src/ccstruct/blamer.h:30, from tesseract/src/wordrec/wordclass.cpp:23: tesseract/src/ccstruct/ratngs.h: In member function ‘void tesseract::BLOB_CHOICE::set_fonts(const std::vector&)’: tesseract/src/ccstruct/ratngs.h:107:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 107 | for (int f = 0; f < fonts_.size(); ++f) { | ~~^~~~~~~~~~~~~~~ In file included from tesseract/src/ccutil/elst.h:24, from tesseract/src/ccstruct/points.h:22, from tesseract/src/ccstruct/rect.h:23, from tesseract/src/ccstruct/boxword.h:23, from tesseract/src/ccstruct/blamer.h:26, from tesseract/src/wordrec/wordclass.cpp:23: tesseract/src/ccutil/serialis.h: In instantiation of ‘bool tesseract::TFile::Serialize(const T*, size_t) [with T = char; size_t = long unsigned int]’: tesseract/src/ccutil/unicharset.h:363:51: required from here tesseract/src/ccutil/serialis.h:102:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare-Wsign-compare]8;;] 102 | return FWrite(data, sizeof(T), count) == count; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./devices/gdevocr.c: In function ‘ocr_close’: ./devices/gdevocr.c:125:31: warning: unused variable ‘ppdev’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 125 | gx_device_printer * const ppdev = (gx_device_printer *)pdev; | ^~~~~ ./devices/gdevocr.c: In function ‘hocr_close’: ./devices/gdevocr.c:136:31: warning: unused variable ‘ppdev’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 136 | gx_device_printer * const ppdev = (gx_device_printer *)pdev; | ^~~~~ ./devices/gdevocr.c: In function ‘do_ocr_print_page’: ./devices/gdevocr.c:233:18: warning: unused variable ‘mem’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Wunused-variable]8;;] 233 | gs_memory_t *mem = pdev->memory; | ^~~ ./base/gpmisc.c:842:41: warning: argument 3 of type ‘char *’ declared as a pointer []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 842 | char *fname, | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gpmisc.c:26: ./base/gp.h:421:50: note: previously declared as an array ‘char[4096]’ 421 | char fname[gp_file_name_sizeof], | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/gpmisc.c:851:44: warning: argument 3 of type ‘char *’ declared as a pointer []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 851 | char *fname, | ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./base/gpmisc.c:26: ./base/gp.h:431:53: note: previously declared as an array ‘char[4096]’ 431 | char fname[gp_file_name_sizeof], | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ./base/memory_.h:46, from ./base/gdevprn.h:22, from ./base/gxclpage.c:18: In function ‘strncpy’, inlined from ‘do_page_save’ at ./base/gxclpage.c:49:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘do_page_save’ at ./base/gxclpage.c:50:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘do_page_load’ at ./base/gxclpage.c:463:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘do_page_load’ at ./base/gxclpage.c:464:5: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ./base/memory_.h:46, from ./base/gxclread.c:18: In function ‘strncpy’, inlined from ‘clist_render_rectangle’ at ./base/gxclread.c:835:13: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘clist_render_rectangle’ at ./base/gxclread.c:836:13: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-truncation-Wstringop-truncation]8;;] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 |  __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ./base/memory_.h:46, from ./base/gxclpath.c:19: In function ‘memcpy’, inlined from ‘cmd_write_unknown’ at ./base/gxclpath.c:718:13: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ offset [0, 23] is out of the bounds [0, 0] []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-bounds-Warray-bounds]8;;] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 |  __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/gxcht.c:1135:34: warning: argument 13 of type ‘gx_color_index[128]’ {aka ‘long long unsigned int[128]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1135 | gx_color_index colors[MAX_DCC_16], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./base/gxcht.c:521:32: note: previously declared as ‘gx_color_index[64]’ {aka ‘long long unsigned int[64]’} 521 | gx_color_index colors[MAX_DCC], /* the actual colors for the tile, */\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./base/gxcht.c:527:8: note: in expansion of macro ‘SET_COLOR_HT_PROC’ 527 | static SET_COLOR_HT_PROC(set_color_ht_le_4); | ^~~~~~~~~~~~~~~~~ ./base/gxcht.c:1326:34: warning: argument 13 of type ‘gx_color_index[128]’ {aka ‘long long unsigned int[128]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1326 | gx_color_index colors[MAX_DCC_16], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./base/gxcht.c:521:32: note: previously declared as ‘gx_color_index[64]’ {aka ‘long long unsigned int[64]’} 521 | gx_color_index colors[MAX_DCC], /* the actual colors for the tile, */\ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./base/gxcht.c:528:8: note: in expansion of macro ‘SET_COLOR_HT_PROC’ 528 | static SET_COLOR_HT_PROC(set_color_ht_gt_4); | ^~~~~~~~~~~~~~~~~ ./base/gxcmap.c:1765:49: warning: argument 3 of type ‘gx_color_value[1]’ {aka ‘short unsigned int[1]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1765 | gx_color_value pgray[1]) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:267:1: note: in expansion of macro ‘dev_proc_decode_color’ 267 | dev_proc_decode_color(gx_default_w_b_mono_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./base/gxcmap.c:1801:49: warning: argument 3 of type ‘gx_color_value[1]’ {aka ‘short unsigned int[1]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1801 | gx_color_value pgray[1]) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:340:1: note: in expansion of macro ‘dev_proc_decode_color’ 340 | dev_proc_decode_color(gx_default_b_w_mono_decode_color); | ^~~~~~~~~~~~~~~~~~~~~ ./base/gxcmap.c:1866:46: warning: argument 3 of type ‘gx_color_value[1]’ {aka ‘short unsigned int[1]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1866 | gx_color_value pgray[1]) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:363:1: note: in expansion of macro ‘dev_proc_decode_color’ 363 | dev_proc_decode_color(gx_default_8bit_map_color_gray); | ^~~~~~~~~~~~~~~~~~~~~ ./base/gxcmap.c:1958:40: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1958 | gx_color_value pcv[4]) | ~~~~~~~~~~~~~~~^~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:355:1: note: in expansion of macro ‘dev_proc_decode_color’ 355 | dev_proc_decode_color(cmyk_1bit_map_color_cmyk); | ^~~~~~~~~~~~~~~~~~~~~ ./base/gxcmap.c:2014:40: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2014 | gx_color_value pcv[4]) | ~~~~~~~~~~~~~~~^~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:358:1: note: in expansion of macro ‘dev_proc_decode_color’ 358 | dev_proc_decode_color(cmyk_8bit_map_color_cmyk); | ^~~~~~~~~~~~~~~~~~~~~ ./base/gxcmap.c:2025:42: warning: argument 3 of type ‘gx_color_value[4]’ {aka ‘short unsigned int[4]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 2025 | gx_color_value pcv[4]) | ~~~~~~~~~~~~~~~^~~~~~ In file included from ./base/gxdevcli.h:38, from ./base/gxdevice.h:23, from ./base/gxcmap.c:27: ./base/gxcmap.h:196:67: note: previously declared as ‘gx_color_value[]’ {aka ‘short unsigned int[]’} 196 | int (proc)(dev_t * dev, gx_color_index cindex, gx_color_value colors[]) | ~~~~~~~~~~~~~~~^~~~~~~~ ./base/gxcmap.h:199:5: note: in expansion of macro ‘dev_t_proc_decode_color’ 199 | dev_t_proc_decode_color(proc, gx_device) | ^~~~~~~~~~~~~~~~~~~~~~~ ./base/gxdevice.h:361:1: note: in expansion of macro ‘dev_proc_decode_color’ 361 | dev_proc_decode_color(cmyk_16bit_map_color_cmyk); | ^~~~~~~~~~~~~~~~~~~~~ ./psi/zcie.c: In function ‘ciedefgspace’: ./psi/zcie.c:468:9: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 468 | if (r_size(ptref) != 5) | ^~ ./psi/zcie.c:471:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 471 | code = gs_cspace_build_CIEDEFG(&pcs, NULL, mem->stable_memory); | ^~~~ ./psi/zcie.c: In function ‘ciedefspace’: ./psi/zcie.c:581:9: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 581 | if (r_size(ptref) != 4) | ^~ ./psi/zcie.c:584:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 584 | code = gs_cspace_build_CIEDEF(&pcs, NULL, mem->stable_memory); | ^~~~ ./psi/zvmem.c: In function ‘zforgetsave’: ./psi/zvmem.c:466:12: warning: ‘asave’ may be used uninitialized in this function []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;] 466 | code = alloc_forget_save_in(idmemory, asave); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:586:30: warning: argument 1 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 586 | void pSHA256_Final(sha2_byte digest[], SHA256_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:120:20: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’} 120 | void pSHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:649:45: warning: argument 2 of type ‘char[]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 649 | char *pSHA256_End(SHA256_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:121:32: note: previously declared as ‘char[65]’ 121 | char* pSHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:947:30: warning: argument 1 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 947 | void pSHA512_Final(sha2_byte digest[], SHA512_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:132:20: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’} 132 | void pSHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:976:45: warning: argument 2 of type ‘char[]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 976 | char *pSHA512_End(SHA512_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:133:32: note: previously declared as ‘char[129]’ 133 | char* pSHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:1021:30: warning: argument 1 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1021 | void pSHA384_Final(sha2_byte digest[], SHA384_CTX* context) { | ~~~~~~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:126:20: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’} 126 | void pSHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./base/sha2.c:1050:45: warning: argument 2 of type ‘char[]’ with mismatched bound []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Warray-parameter=-Warray-parameter=]8;;] 1050 | char *pSHA384_End(SHA384_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ In file included from ./base/sha2.c:37: ./base/sha2.h:127:32: note: previously declared as ‘char[97]’ 127 | char* pSHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./pdf/ghostpdf.h:20, from ./pdf/pdf_int.h:19, from ./pdf/pdf_image.c:18: ./pdf/pdf_image.c: In function ‘pdfi_do_image_or_form’: ./base/gserrors.h:133:41: warning: statement with no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Wunused-value]8;;] 133 | # define gs_log_error(err, file, line) (err) | ^ ./base/gserrors.h:139:28: note: in expansion of macro ‘gs_log_error’ 139 | #define gs_note_error(err) gs_log_error(err, __FILE__, __LINE__) | ^~~~~~~~~~~~ ./pdf/pdf_image.c:2405:13: note: in expansion of macro ‘gs_note_error’ 2405 | gs_note_error(gs_error_typecheck); | ^~~~~~~~~~~~~ ./pdf/pdf_font1.c: In function ‘pdfi_t1_seac_data’: ./pdf/pdf_font1.c:171:13: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 171 | if (code >= 0) | ^~ In file included from ./pdf/pdf_font.h:19, from ./pdf/pdf_font1.c:34: ./pdf/pdf_stack.h:98:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 98 | #define pdfi_countdown(x) pdfi_countdown_impl((pdf_obj *)x) | ^~~~~~~~~~~~~~~~~~~ ./pdf/pdf_font1.c:174:17: note: in expansion of macro ‘pdfi_countdown’ 174 | pdfi_countdown(charstring); | ^~~~~~~~~~~~~~ ./pdf/pdf_font1C.c: In function ‘pdfi_cff_seac_data’: ./pdf/pdf_font1C.c:208:13: warning: this ‘if’ clause does not guard... []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation-Wmisleading-indentation]8;;] 208 | if (code >= 0) | ^~ In file included from ./pdf/pdf_font.h:19, from ./pdf/pdf_font1C.c:27: ./pdf/pdf_stack.h:98:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 98 | #define pdfi_countdown(x) pdfi_countdown_impl((pdf_obj *)x) | ^~~~~~~~~~~~~~~~~~~ ./pdf/pdf_font1C.c:211:17: note: in expansion of macro ‘pdfi_countdown’ 211 | pdfi_countdown(charstring); | ^~~~~~~~~~~~~~ ./soobj/gconfig.c:211:1: warning: no previous prototype for ‘gs_lib_register_device’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes-Wmissing-prototypes]8;;] 211 | gs_lib_register_device(const gx_device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ./psi/dxmain.c:35:10: fatal error: gtk/gtk.h: No such file or directory 35 | #include  | ^~~~~~~~~~~ compilation terminated. make[2]: *** [base/unix-dll.mak:201: sobin/gsx] Error 1 make[1]: *** [base/unix-dll.mak:330: so-subtarget] Error 2 make: *** [base/unix-dll.mak:277: so] Error 2 * ERROR: app-text/ghostscript-gpl-9.55.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.55.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.55.0-r1::gentoo'`. * The complete build log is located at '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/temp/environment'. * Working directory: '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/work/ghostscript-9.55.0' * S: '/tmp/T/portage/app-text/ghostscript-gpl-9.55.0-r1/work/ghostscript-9.55.0'