Open LinusChen-yf opened 1 week ago
Hi @LinusChen-yf
Thanks for your question.
Some quick hints first:
CONAN_CMAKE_FIND_ROOT_PATH
is not used by modern Conan integrationsconan version
output is helpfulThere might be some limitations in some recipes that might not be prepared for all cases of cross-compiling.
For this reason it would be much better if the issue could be reproduced with a standard package recipe, for example one with conan new cmake_lib
template. Can you please try to reproduce with such a recipe?
If not, please try to provide the full command line that you are using to reproduce, something like your:
conan install --requires=libiconv/1.17 --build=missing --profile=myprofile
And also provide the full output. Please also confirm if you are using all recipes from ConanCenter, just in case. Thanks for your feedback!
Thanks for your answers!
I have also tried not using CONAN_CMAKE_FIND_ROOT_PATH
, and the same error message appears.
For example:
[buildenv]
CC=/usr/bin/x86_64-w64-mingw32-gcc
CXX=/usr/bin/x86_64-w64-mingw32-g++
LD=/usr/bin/x86_64-w64-mingw32-ld
WINDRES=/usr/bin/x86_64-w64-mingw32-windres
RC=/usr/bin/x86_64-w64-mingw32-windres
conan version:
version: 2.9.1
conan_path: /usr/bin/conan
python
version: 3.12.6
sys_version: 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805]
sys_executable: /usr/bin/python
is_frozen: False
architecture: x86_64
system
version: #1 SMP PREEMPT_DYNAMIC Tue Oct 8 03:24:49 UTC 2024
platform: Linux-6.10.13-3-MANJARO-x86_64-with-glibc2.40
system: Linux
release: 6.10.13-3-MANJARO
cpu:
The complete command and output are as follows:
> conan install --requires=libiconv/1.17 --build missing -pr:b=default -pr:h=./windows
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=9
os=Windows
[buildenv]
CC=/usr/bin/x86_64-w64-mingw32-gcc
CXX=/usr/bin/x86_64-w64-mingw32-g++
LD=/usr/bin/x86_64-w64-mingw32-ld
WINDRES=/usr/bin/x86_64-w64-mingw32-windres
RC=/usr/bin/x86_64-w64-mingw32-windres
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=14
os=Linux
======== Computing dependency graph ========
Graph root
cli
Requirements
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache
======== Computing necessary packages ========
Requirements
libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd:de95404bd206ae0ff7b32dd24b23524f726d1aae - Build
======== Installing packages ========
-------- Installing package libiconv/1.17 (1 of 1) --------
libiconv/1.17: Building from source
libiconv/1.17: Package libiconv/1.17:de95404bd206ae0ff7b32dd24b23524f726d1aae
libiconv/1.17: Copying sources to build folder
libiconv/1.17: Building your package in /home/crash/.conan2/p/b/libic2b01ca099ce3a/b
libiconv/1.17: Calling generate()
libiconv/1.17: Generators folder: /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/conan
libiconv/1.17: Generating aggregated env files
libiconv/1.17: Generated aggregated env files: ['conanbuild.sh', 'conanrun.bat']
libiconv/1.17: Calling build()
libiconv/1.17: apply_conandata_patches(): No patches defined in conandata
libiconv/1.17: RUN: "/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/configure" --disable-shared --enable-static --prefix=/ '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu 'RC=windres --target=pe-x86-64' 'WINDRES=windres --target=pe-x86-64'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/x86_64-w64-mingw32-gcc accepts -g... yes
checking for /usr/bin/x86_64-w64-mingw32-gcc option to enable C11 features... none needed
checking whether /usr/bin/x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking whether the compiler is clang... no
checking for compiler option needed when checking for declarations... none
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/x86_64-w64-mingw32-gcc... none
checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-gcc -E
checking for strip... /usr/bin/strip
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
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 wchar.h... yes
checking for minix/config.h... no
checking for sys/param.h... yes
checking for sys/socket.h... no
checking for limits.h... yes
checking for sys/time.h... yes
checking for features.h... no
checking for crtdefs.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for time_t past the year 2038... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-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-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for x86_64-w64-mingw32-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... (cached) x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... (cached) x86_64-w64-mingw32-ranlib
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from /usr/bin/x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-dlltool... (cached) x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-objdump... (cached) x86_64-w64-mingw32-objdump
checking for objdir... .libs
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if /usr/bin/x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc static flag -static works... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
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... no
checking whether to build static libraries... yes
checking for ld... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for shared library path variable... PATH
checking whether to activate relocatable installation... no
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking for x86_64-w64-mingw32-windres... windres --target=pe-x86-64
checking for x86_64-w64-mingw32-windres... windres --target=pe-x86-64
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for ELF binary format... no
checking for the common suffixes of directories in the library search path... lib,lib,lib64
checking for iconv... no, consider installing GNU libiconv
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... no
checking for iconv... (cached) no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for mbstate_t... yes
checking for wchar_t... yes
checking for getc_unlocked... no
checking for mbrtowc... yes
checking for wcrtomb... yes
checking for mbsinit... yes
checking for setlocale... yes
checking whether <wchar.h> is standalone... yes
checking for memmove... yes
checking for nl_langinfo and CODESET... no
checking for symlink... no
checking for canonicalize_file_name... no
checking for faccessat... no
checking for realpath... no
checking for lstat... no
checking for readlinkat... no
checking for _set_invalid_parameter_handler... yes
checking for fcntl... no
checking for getdtablesize... no
checking for getprogname... no
checking for getexecname... no
checking for readlink... no
checking for setenv... no
checking for working fcntl.h... no
checking for wchar.h... (cached) yes
checking for EILSEQ... yes
checking whether byte ordering is bigendian... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether lstat correctly handles trailing slash... guessing no
checking whether // is distinct from /... unknown, assuming no
checking whether realpath works... guessing no
checking for C/C++ restrict keyword... __restrict__
checking if environ is properly declared... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking for complete errno.h... no
checking for EMULTIHOP value... no
checking for ENOLINK value... yes
checking for EOVERFLOW value... yes
checking for /usr/bin/x86_64-w64-mingw32-gcc options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... no
checking whether strerror_r returns char *... no
checking whether ctype.h defines __header_inline... no
checking for pid_t... yes
checking for mode_t... yes
checking whether stat file-mode macros are broken... no
checking for 64-bit off_t... yes
checking for 64-bit st_size... no
checking for nlink_t... no
checking for sdkddkver.h... yes
checking whether getdtablesize is declared... no
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no
checking for wint_t... yes
checking whether wint_t is large enough... no
checking whether the compiler produces multi-arch binaries... no
checking whether stdint.h conforms to C99... guessing yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, realloc, calloc set errno on failure... no
checking whether malloc (0) returns nonnull... guessing yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... no
checking for O_CLOEXEC... no
checking for promoted mode_t type... int
checking for sigset_t... no
checking for SIGPIPE... no
checking whether setenv is declared... no
checking for ssize_t... yes
checking for uid_t in sys/types.h... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether C symbols are prefixed with underscore at the linker level... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether fcloseall is declared... yes
checking which flavor of printf attribute matches inttypes macros... gnu
checking whether ecvt is declared... yes
checking whether fcvt is declared... yes
checking whether gcvt is declared... yes
checking whether strerror(0) succeeds... guessing yes
checking for struct timespec in <time.h>... yes
checking for TIME_UTC in <time.h>... no
checking whether execvpe is declared... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getc_unlocked is declared... no
checking whether getchar_unlocked is declared... no
checking whether putc_unlocked is declared... no
checking whether putchar_unlocked is declared... no
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether wcsdup is declared... yes
checking for C compiler option to allow warnings... -Wno-error
checking for __builtin_expect... yes
checking for winsock2.h... yes
checking whether // is distinct from /... (cached) unknown, assuming no
checking whether dup2 works... guessing no
checking for setdtablesize... no
checking for error_at_line... no
checking whether free is known to preserve errno... no
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... yes
checking whether the -Werror option is usable... (cached) yes
checking for simple visibility declarations... (cached) no
checking whether the compiler supports the __inline keyword... yes
checking for mbstate_t... (cached) yes
checking for mempcpy... yes
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for raise... yes
checking for rawmemchr... no
checking whether free is known to preserve errno... (cached) no
checking for mempcpy... (cached) yes
checking for rawmemchr... (cached) no
checking for search.h... yes
checking for tsearch... yes
checking for ssize_t... (cached) yes
checking for struct stat.st_atim.tv_nsec... no
checking for struct stat.st_atimespec.tv_nsec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_atim.st__tim.tv_nsec... no
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for winsock2.h... (cached) yes
checking for variable-length arrays... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating srclib/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating man/Makefile
config.status: creating tests/Makefile
config.status: creating include/iconv.h
config.status: creating include/iconv.h.inst
config.status: creating config.h
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=== configuring in libcharset (/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset)
configure: running /bin/sh /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/configure --disable-option-checking '--prefix=/' '--disable-shared' '--enable-static' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--host=x86_64-w64-mingw32' '--build=x86_64-linux-gnu' 'RC=windres --target=pe-x86-64' 'WINDRES=windres --target=pe-x86-64' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-w64-mingw32' 'CC=/usr/bin/x86_64-w64-mingw32-gcc' 'CFLAGS= -m64 -O3' 'LDFLAGS= -m64' 'CPPFLAGS= -DNDEBUG' --cache-file=/dev/null --srcdir=/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset
checking whether make sets $(MAKE)... yes
checking for x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/x86_64-w64-mingw32-gcc accepts -g... yes
checking for /usr/bin/x86_64-w64-mingw32-gcc option to enable C11 features... none needed
checking how to run the C preprocessor... /usr/bin/x86_64-w64-mingw32-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/x86_64-w64-mingw32-gcc... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-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-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/x86_64-w64-mingw32-ld option to reload object files... -r
checking for x86_64-w64-mingw32-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for gawk... gawk
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from /usr/bin/x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-dlltool... (cached) x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-objdump... (cached) x86_64-w64-mingw32-objdump
checking for objdir... .libs
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if /usr/bin/x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc static flag -static works... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if /usr/bin/x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/x86_64-w64-mingw32-gcc linker (/usr/bin/x86_64-w64-mingw32-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
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... no
checking whether to build static libraries... yes
checking for ld... /usr/bin/x86_64-w64-mingw32-ld
checking if the linker (/usr/bin/x86_64-w64-mingw32-ld) is GNU ld... yes
checking for shared library path variable... PATH
checking whether to activate relocatable installation... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... no
checking for nl_langinfo and CODESET... no
checking for symlink... no
checking for working fcntl.h... no
checking for setlocale... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating include/libcharset.h
config.status: creating include/libcharset.h.inst
config.status: creating include/localcharset.h
config.status: creating include/localcharset.h.inst
config.status: creating config.h
config.status: executing libtool commands
libiconv/1.17: RUN: make -j20
builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
make[1]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset'
cd lib && make all
make[2]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
/bin/sh ../libtool --mode=compile /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/.. -I../include -m64 -O3 -DNDEBUG -DBUILDING_LIBCHARSET -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/localcharset.c
/bin/sh ../libtool --mode=compile /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/.. -I../include -m64 -O3 -DNDEBUG -DBUILDING_LIBCHARSET -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/relocatable-stub.c
libtool: compile: /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/.. -I../include -m64 -O3 -DNDEBUG -DBUILDING_LIBCHARSET -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/localcharset.c -o localcharset.o
libtool: compile: /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/.. -I../include -m64 -O3 -DNDEBUG -DBUILDING_LIBCHARSET -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/lib/relocatable-stub.c -o relocatable-stub.o
/bin/sh ../libtool --mode=link /usr/bin/x86_64-w64-mingw32-gcc -m64 -m64 -O3 -o libcharset.la -rpath //lib -version-info 1:0:0 -no-undefined localcharset.lo relocatable-stub.lo
libtool: link: x86_64-w64-mingw32-ar cr .libs/libcharset.a localcharset.o relocatable-stub.o
libtool: link: x86_64-w64-mingw32-ranlib .libs/libcharset.a
libtool: link: ( cd ".libs" && rm -f "libcharset.la" && ln -s "../libcharset.la" "libcharset.la" )
make[2]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
make[1]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset'
make[1]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset'
cd lib && make all
make[2]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
cd lib && make install-lib libdir='/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib' includedir='/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib'
make[2]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
/bin/sh /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/build-aux/mkinstalldirs /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib
/bin/sh ../libtool --mode=install /usr/bin/install -c libcharset.la /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.la
libtool: install: /usr/bin/install -c .libs/libcharset.lai /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.la
libtool: install: /usr/bin/install -c .libs/libcharset.a /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.a
libtool: install: chmod 644 /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.a
libtool: install: x86_64-w64-mingw32-ranlib /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.a
libtool: warning: remember to run 'libtool --finish //lib'
make[2]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset/lib'
/bin/sh /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/libcharset/build-aux/mkinstalldirs /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib
/usr/bin/install -c -m 644 include/libcharset.h.inst /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/libcharset.h
/usr/bin/install -c -m 644 include/localcharset.h /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib/localcharset.h
make[1]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/libcharset'
cd lib && make all
make[1]: Entering directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib'
/bin/sh ../libtool --mode=compile /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c
/bin/sh ../libtool --mode=compile /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../libcharset/lib/localcharset.c
/bin/sh ../libtool --mode=compile /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/relocatable.c
/bin/sh ../libtool --mode=compile --tag=RC windres --target=pe-x86-64 `/bin/sh /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../windows/windres-options --escape 1.17` -i /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../windows/libiconv.rc -o libiconv.res.lo --output-format=coff
libtool: compile: /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../libcharset/lib/localcharset.c -o localcharset.o
libtool: compile: /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/relocatable.c -o relocatable.o
libtool: compile: /usr/bin/x86_64-w64-mingw32-gcc -I. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib -I../include -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../include -I.. -I/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/.. -DNDEBUG -m64 -O3 -DLIBDIR=\"//lib\" -DBUILDING_LIBICONV -DBUILDING_LIBCHARSET -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"//lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 -DHAVE_CONFIG_H -c /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c -o iconv.o
libtool: compile: windres --target=pe-x86-64 -DPACKAGE_VERSION_STRING=\\\"1.17\\\" -DPACKAGE_VERSION_MAJOR=1 -DPACKAGE_VERSION_MINOR=17 -DPACKAGE_VERSION_SUBMINOR=0 -i /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/../windows/libiconv.rc --output-format=coff -o libiconv.res.o
../libtool: line 1932: windres: command not found
make[1]: *** [Makefile:99: libiconv.res.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:1:3: note: in expansion of macro 'S'
1 | S(dos_0, "CP437", ei_cp437 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:2:3: note: in expansion of macro 'S'
2 | S(dos_1, "IBM437", ei_cp437 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:3:3: note: in expansion of macro 'S'
3 | S(dos_2, "437", ei_cp437 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:4:3: note: in expansion of macro 'S'
4 | S(dos_3, "CSPC8CODEPAGE437", ei_cp437 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:5:3: note: in expansion of macro 'S'
5 | S(dos_4, "CP737", ei_cp737 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:6:3: note: in expansion of macro 'S'
6 | S(dos_5, "CP775", ei_cp775 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:7:3: note: in expansion of macro 'S'
7 | S(dos_6, "IBM775", ei_cp775 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:8:3: note: in expansion of macro 'S'
8 | S(dos_7, "CSPC775BALTIC", ei_cp775 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:9:3: note: in expansion of macro 'S'
9 | S(dos_8, "CP852", ei_cp852 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:10:3: note: in expansion of macro 'S'
10 | S(dos_9, "IBM852", ei_cp852 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:11:3: note: in expansion of macro 'S'
11 | S(dos_10, "852", ei_cp852 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:12:3: note: in expansion of macro 'S'
12 | S(dos_11, "CSPCP852", ei_cp852 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:13:3: note: in expansion of macro 'S'
13 | S(dos_12, "CP853", ei_cp853 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:14:3: note: in expansion of macro 'S'
14 | S(dos_13, "CP855", ei_cp855 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:15:3: note: in expansion of macro 'S'
15 | S(dos_14, "IBM855", ei_cp855 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:16:3: note: in expansion of macro 'S'
16 | S(dos_15, "855", ei_cp855 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:17:3: note: in expansion of macro 'S'
17 | S(dos_16, "CSIBM855", ei_cp855 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:18:3: note: in expansion of macro 'S'
18 | S(dos_17, "CP857", ei_cp857 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:19:3: note: in expansion of macro 'S'
19 | S(dos_18, "IBM857", ei_cp857 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:20:3: note: in expansion of macro 'S'
20 | S(dos_19, "857", ei_cp857 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:21:3: note: in expansion of macro 'S'
21 | S(dos_20, "CSIBM857", ei_cp857 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:22:3: note: in expansion of macro 'S'
22 | S(dos_21, "CP858", ei_cp858 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:23:3: note: in expansion of macro 'S'
23 | S(dos_22, "CP860", ei_cp860 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:24:3: note: in expansion of macro 'S'
24 | S(dos_23, "IBM860", ei_cp860 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:25:3: note: in expansion of macro 'S'
25 | S(dos_24, "860", ei_cp860 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:26:3: note: in expansion of macro 'S'
26 | S(dos_25, "CSIBM860", ei_cp860 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:27:3: note: in expansion of macro 'S'
27 | S(dos_26, "CP861", ei_cp861 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:28:3: note: in expansion of macro 'S'
28 | S(dos_27, "IBM861", ei_cp861 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:29:3: note: in expansion of macro 'S'
29 | S(dos_28, "861", ei_cp861 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:30:3: note: in expansion of macro 'S'
30 | S(dos_29, "CP-IS", ei_cp861 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:31:3: note: in expansion of macro 'S'
31 | S(dos_30, "CSIBM861", ei_cp861 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:32:3: note: in expansion of macro 'S'
32 | S(dos_31, "CP863", ei_cp863 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:33:3: note: in expansion of macro 'S'
33 | S(dos_32, "IBM863", ei_cp863 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:34:3: note: in expansion of macro 'S'
34 | S(dos_33, "863", ei_cp863 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:35:3: note: in expansion of macro 'S'
35 | S(dos_34, "CSIBM863", ei_cp863 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:36:3: note: in expansion of macro 'S'
36 | S(dos_35, "CP864", ei_cp864 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:37:3: note: in expansion of macro 'S'
37 | S(dos_36, "IBM864", ei_cp864 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:38:3: note: in expansion of macro 'S'
38 | S(dos_37, "CSIBM864", ei_cp864 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:39:3: note: in expansion of macro 'S'
39 | S(dos_38, "CP865", ei_cp865 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:40:3: note: in expansion of macro 'S'
40 | S(dos_39, "IBM865", ei_cp865 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:41:3: note: in expansion of macro 'S'
41 | S(dos_40, "865", ei_cp865 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:42:3: note: in expansion of macro 'S'
42 | S(dos_41, "CSIBM865", ei_cp865 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:43:3: note: in expansion of macro 'S'
43 | S(dos_42, "CP869", ei_cp869 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:44:3: note: in expansion of macro 'S'
44 | S(dos_43, "IBM869", ei_cp869 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:45:3: note: in expansion of macro 'S'
45 | S(dos_44, "869", ei_cp869 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:46:3: note: in expansion of macro 'S'
46 | S(dos_45, "CP-GR", ei_cp869 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:47:3: note: in expansion of macro 'S'
47 | S(dos_46, "CSIBM869", ei_cp869 )
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:187:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
187 | #define S(tag,name,encoding_index) { (int)(long)&((struct stringpool2_t *)0)->stringpool_##tag, encoding_index },
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/aliases_dos.h:48:3: note: in expansion of macro 'S'
48 | S(dos_47, "CP1125", ei_cp1125 )
| ^
In file included from /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:468:
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:1:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str392,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:2:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str389,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:3:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3 | (int)(long)&((struct stringpool_t *)0)->stringpool_str258,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:4:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
4 | (int)(long)&((struct stringpool_t *)0)->stringpool_str436,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:5:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
5 | (int)(long)&((struct stringpool_t *)0)->stringpool_str285,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:6:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
6 | (int)(long)&((struct stringpool_t *)0)->stringpool_str222,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:7:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
7 | (int)(long)&((struct stringpool_t *)0)->stringpool_str418,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:8:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
8 | (int)(long)&((struct stringpool_t *)0)->stringpool_str267,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:9:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
9 | (int)(long)&((struct stringpool_t *)0)->stringpool_str361,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:10:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
10 | (int)(long)&((struct stringpool_t *)0)->stringpool_str567,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:11:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
11 | (int)(long)&((struct stringpool_t *)0)->stringpool_str416,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:12:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
12 | (int)(long)&((struct stringpool_t *)0)->stringpool_str512,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:13:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
13 | (int)(long)&((struct stringpool_t *)0)->stringpool_str690,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:14:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
14 | (int)(long)&((struct stringpool_t *)0)->stringpool_str539,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:15:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
15 | (int)(long)&((struct stringpool_t *)0)->stringpool_str689,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:16:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
16 | (int)(long)&((struct stringpool_t *)0)->stringpool_str320,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:17:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
17 | (int)(long)&((struct stringpool_t *)0)->stringpool_str750,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:18:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
18 | (int)(long)&((struct stringpool_t *)0)->stringpool_str302,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:19:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
19 | (int)(long)&((struct stringpool_t *)0)->stringpool_str732,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:20:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
20 | (int)(long)&((struct stringpool_t *)0)->stringpool_str64,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:21:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
21 | (int)(long)&((struct stringpool_t *)0)->stringpool_str811,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:22:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
22 | (int)(long)&((struct stringpool_t *)0)->stringpool_str134,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:23:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
23 | (int)(long)&((struct stringpool_t *)0)->stringpool_str186,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:24:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
24 | (int)(long)&((struct stringpool_t *)0)->stringpool_str324,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:25:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
25 | (int)(long)&((struct stringpool_t *)0)->stringpool_str150,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:26:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
26 | (int)(long)&((struct stringpool_t *)0)->stringpool_str154,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:27:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
27 | (int)(long)&((struct stringpool_t *)0)->stringpool_str130,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:28:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
28 | (int)(long)&((struct stringpool_t *)0)->stringpool_str466,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:29:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
29 | (int)(long)&((struct stringpool_t *)0)->stringpool_str166,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:30:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
30 | (int)(long)&((struct stringpool_t *)0)->stringpool_str170,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:31:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
31 | (int)(long)&((struct stringpool_t *)0)->stringpool_str322,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:32:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
32 | (int)(long)&((struct stringpool_t *)0)->stringpool_str142,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:33:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
33 | (int)(long)&((struct stringpool_t *)0)->stringpool_str332,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:34:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
34 | (int)(long)&((struct stringpool_t *)0)->stringpool_str158,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:35:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
35 | (int)(long)&((struct stringpool_t *)0)->stringpool_str162,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:36:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
36 | (int)(long)&((struct stringpool_t *)0)->stringpool_str138,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:37:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
37 | (int)(long)&((struct stringpool_t *)0)->stringpool_str236,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:38:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
38 | (int)(long)&((struct stringpool_t *)0)->stringpool_str574,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:39:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
39 | (int)(long)&((struct stringpool_t *)0)->stringpool_str580,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:40:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
40 | (int)(long)&((struct stringpool_t *)0)->stringpool_str268,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:41:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
41 | (int)(long)&((struct stringpool_t *)0)->stringpool_str88,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:42:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
42 | (int)(long)&((struct stringpool_t *)0)->stringpool_str140,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:43:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
43 | (int)(long)&((struct stringpool_t *)0)->stringpool_str278,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:44:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
44 | (int)(long)&((struct stringpool_t *)0)->stringpool_str104,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:45:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
45 | (int)(long)&((struct stringpool_t *)0)->stringpool_str108,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:46:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
46 | (int)(long)&((struct stringpool_t *)0)->stringpool_str84,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:47:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
47 | (int)(long)&((struct stringpool_t *)0)->stringpool_str420,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:48:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
48 | (int)(long)&((struct stringpool_t *)0)->stringpool_str120,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:49:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
49 | (int)(long)&((struct stringpool_t *)0)->stringpool_str250,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:50:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
50 | (int)(long)&((struct stringpool_t *)0)->stringpool_str110,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:51:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
51 | (int)(long)&((struct stringpool_t *)0)->stringpool_str54,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:52:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
52 | (int)(long)&((struct stringpool_t *)0)->stringpool_str147,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:53:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
53 | (int)(long)&((struct stringpool_t *)0)->stringpool_str476,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:54:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
54 | (int)(long)&((struct stringpool_t *)0)->stringpool_str463,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:55:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
55 | (int)(long)&((struct stringpool_t *)0)->stringpool_str442,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:56:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
56 | (int)(long)&((struct stringpool_t *)0)->stringpool_str562,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:57:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
57 | (int)(long)&((struct stringpool_t *)0)->stringpool_str813,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:58:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
58 | (int)(long)&((struct stringpool_t *)0)->stringpool_str248,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:59:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
59 | (int)(long)&((struct stringpool_t *)0)->stringpool_str749,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:60:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
60 | (int)(long)&((struct stringpool_t *)0)->stringpool_str591,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:61:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
61 | (int)(long)&((struct stringpool_t *)0)->stringpool_str702,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:62:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
62 | (int)(long)&((struct stringpool_t *)0)->stringpool_str796,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:63:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
63 | (int)(long)&((struct stringpool_t *)0)->stringpool_str680,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:64:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
64 | (int)(long)&((struct stringpool_t *)0)->stringpool_str430,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:65:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
65 | (int)(long)&((struct stringpool_t *)0)->stringpool_str448,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:66:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
66 | (int)(long)&((struct stringpool_t *)0)->stringpool_str311,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:67:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
67 | (int)(long)&((struct stringpool_t *)0)->stringpool_str391,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:68:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
68 | (int)(long)&((struct stringpool_t *)0)->stringpool_str446,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:69:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
69 | (int)(long)&((struct stringpool_t *)0)->stringpool_str312,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:70:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
70 | (int)(long)&((struct stringpool_t *)0)->stringpool_str286,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:71:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
71 | (int)(long)&((struct stringpool_t *)0)->stringpool_str121,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:72:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
72 | (int)(long)&((struct stringpool_t *)0)->stringpool_str176,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:73:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
73 | (int)(long)&((struct stringpool_t *)0)->stringpool_str375,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:74:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
74 | (int)(long)&((struct stringpool_t *)0)->stringpool_str337,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:75:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
75 | (int)(long)&((struct stringpool_t *)0)->stringpool_str282,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:76:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
76 | (int)(long)&((struct stringpool_t *)0)->stringpool_str242,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:77:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
77 | (int)(long)&((struct stringpool_t *)0)->stringpool_str206,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:78:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
78 | (int)(long)&((struct stringpool_t *)0)->stringpool_str211,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:79:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
79 | (int)(long)&((struct stringpool_t *)0)->stringpool_str536,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:80:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
80 | (int)(long)&((struct stringpool_t *)0)->stringpool_str651,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:81:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
81 | (int)(long)&((struct stringpool_t *)0)->stringpool_str683,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:82:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
82 | (int)(long)&((struct stringpool_t *)0)->stringpool_str613,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:83:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
83 | (int)(long)&((struct stringpool_t *)0)->stringpool_str329,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:84:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
84 | (int)(long)&((struct stringpool_t *)0)->stringpool_str426,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:85:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
85 | (int)(long)&((struct stringpool_t *)0)->stringpool_str89,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:86:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
86 | (int)(long)&((struct stringpool_t *)0)->stringpool_str344,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:87:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
87 | (int)(long)&((struct stringpool_t *)0)->stringpool_str479,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:88:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
88 | (int)(long)&((struct stringpool_t *)0)->stringpool_str548,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:89:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
89 | (int)(long)&((struct stringpool_t *)0)->stringpool_str209,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:90:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
90 | (int)(long)&((struct stringpool_t *)0)->stringpool_str661,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:91:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
91 | (int)(long)&((struct stringpool_t *)0)->stringpool_str608,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:92:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
92 | (int)(long)&((struct stringpool_t *)0)->stringpool_str634,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:93:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
93 | (int)(long)&((struct stringpool_t *)0)->stringpool_str610,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:94:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
94 | (int)(long)&((struct stringpool_t *)0)->stringpool_str72,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:95:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
95 | (int)(long)&((struct stringpool_t *)0)->stringpool_str388,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:96:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
96 | (int)(long)&((struct stringpool_t *)0)->stringpool_str153,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:97:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
97 | (int)(long)&((struct stringpool_t *)0)->stringpool_str443,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:98:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
98 | (int)(long)&((struct stringpool_t *)0)->stringpool_str254,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:99:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
99 | (int)(long)&((struct stringpool_t *)0)->stringpool_str281,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:100:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
100 | (int)(long)&((struct stringpool_t *)0)->stringpool_str78,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:101:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
101 | (int)(long)&((struct stringpool_t *)0)->stringpool_str437,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:102:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
102 | (int)(long)&((struct stringpool_t *)0)->stringpool_str210,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:103:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
103 | (int)(long)&((struct stringpool_t *)0)->stringpool_str252,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:104:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
104 | (int)(long)&((struct stringpool_t *)0)->stringpool_str710,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:105:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
105 | (int)(long)&((struct stringpool_t *)0)->stringpool_str692,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:106:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
106 | (int)(long)&((struct stringpool_t *)0)->stringpool_str700,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:107:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
107 | (int)(long)&((struct stringpool_t *)0)->stringpool_str495,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:108:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
108 | (int)(long)&((struct stringpool_t *)0)->stringpool_str243,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:109:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
109 | (int)(long)&((struct stringpool_t *)0)->stringpool_str106,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:110:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
110 | (int)(long)&((struct stringpool_t *)0)->stringpool_str869,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical.h:111:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
111 | (int)(long)&((struct stringpool_t *)0)->stringpool_str425,
| ^
In file included from /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:485:
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:1:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_0,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:2:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_4,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:3:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
3 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_5,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:4:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
4 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_8,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:5:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
5 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_12,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:6:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
6 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_13,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:7:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
7 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_17,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:8:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
8 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_21,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:9:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
9 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_22,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:10:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
10 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_26,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:11:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
11 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_31,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:12:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
12 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_35,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:13:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
13 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_38,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:14:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
14 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_42,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_dos.h:15:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
15 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_47,
| ^
In file included from /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/iconv.c:502:
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_local.h:1:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str193,
| ^
/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/src/lib/canonical_local.h:2:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str496,
| ^
make[1]: Leaving directory '/home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release/lib'
make: *** [Makefile:33: all] Error 2
libiconv/1.17: ERROR:
Package 'de95404bd206ae0ff7b32dd24b23524f726d1aae' build failed
libiconv/1.17: WARN: Build folder /home/crash/.conan2/p/b/libic2b01ca099ce3a/b/build-release
ERROR: libiconv/1.17: Error in build() method, line 147
autotools.make()
ConanException: Error 2 while executing
I also tried to use conan new cmake_lib
and then execute conan install . --build missing -pr:b=default -pr:h=./windows
. If libconv requirements are not added, it will succeed. If they are added, the same error will be reported.
Thanks very much for the feedback.
This could be a limitation of the libiconv
build scripts (autotools), that kind of hardcode or something the windres
definition.
In some cases, it can help to define the rc
in the profile compiler_executables
, something like:
[conf]
tools.build:compiler_executables={"rc": "your-windres"}
But from a quick look, it doesn't seem that this would fix it (give it a try, just in case, if you can). So this would mean this could be a build system limitation. Might be addressable with a patch or something like that in the package recipe, but as ConanCenter do not cross build Linux->Windows, this change wouldn't be tested there.
Thanks for your idea. I still get the same error when I use this config.
[conf]
tools.build:compiler_executables={'rc': '/usr/bin/x86_64-w64-mingw32-windres'}
It seems that the libiconv
package does not support cross-platform compilation very well, because I can compile zlib
, which also requires windres
, successfully. If I want to apply a patch, it seems that I can only build my own ConanCenter server to modify the compilation behavior of this package.
I looked through the source code of zlib and found that he had such a compiled code.
if(NOT CMAKE_RC_COMPILER)
set(CMAKE_RC_COMPILER windres.exe)
endif()
libiconv is compiled with pure makefiles, and there is no similar operation.
Same thing happens if you try to build libiconv/1.17 using the conan provided mingw-64 package which indeed also sets the RC
variable in its package_info
It looks to me that problem lies mainly in the fact that the libiconv conan recipe really wants to bypass the $RC
variable by explicitly doing:
tc.update_configure_args({ "--host": "x86_64-w64-mingw32", "RC": ""windres --target=pe-x86-64"", "WINDRES": ""windres --target=pe-x86-64"", })
For this reason the variable gets ignored :(
As a quick hack I changed the line to:
tc.update_configure_args({ "--host": "x86_64-w64-mingw32"})
And sure enough it cross-compiles fine by correctly picking up the RC
environment variable.
I don't really know why the libiconv recipe wants to do that. It looks a bit odd to me.
Hi @Slashcash
I am not sure what could be happening in your case. Do you mean using the mingw_builds
package for building with MinGW in Windows?
I have just tried it and it works, using this profile:
[settings]
os=Windows
arch=x86_64
compiler=gcc
compiler.version=13.2
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.exception=seh
compiler.threads=posix
build_type=Release
[tool_requires]
mingw-builds/13.2.0
And then:
conan install --requires="libiconv/[*]" -pr=profile.txt --build=missing
It builds libiconv with mingw without problems, it doesn't require any modification to the recipe.
Could you please try again, removing old libiconv
from your cache, just in case?
Sorry, I realized I explained it pretty badly :D
I was talking about cross-compiling libiconv from Linux to Windows using the conan provided mingw-w64 toolchain.
The attempt to cross-compile using that toolchain fails in the very same way reported by OP
../libtool: line 1932: windres: command not found
I was just reporting the fact that it happens both with a self-provided toolchain and the one coming from the conan package.
You can actually replicate this by doing:
target profile:
[settings]
os=Windows
arch=x86_64
compiler=gcc
compiler.version=10.5
compiler.libcxx=libstdc++11
build_type=Release
[tool_requires]
mingw-w64/8.0.2
build profile:
[settings]
os=Linux
arch=x86_64
compiler=gcc
compiler.version=11.3
compiler.libcxx=libstdc++11
build_type=Release`
and then:
conan install --requires="libiconv/1.17" -pr:h target-profile -pr:b build-profile --build="missing"
As I was saying in the previous post I suspect it happens because of this configure args in the libiconv recipe:
tc.update_configure_args({ "--host": "x86_64-w64-mingw32", "RC": ""windres --target=pe-x86-64"", "WINDRES": ""windres --target=pe-x86-64"", })
It looks to me they are forcing the RC and WINDRES to arbitrary values and the _packagetool provided values of the same variables are ignored for this reason (causing the error to show up)
For this reason if you switch that line to:
tc.update_configure_args({ "--host": "x86_64-w64-mingw32"})
The recipe compiles successfully (because the values of these variables are correctly taken from the environment)
I suspect that something on the line of (pseudocode):
resource_compiler = self.buildenv.vars(self).get("RC", ""windres --target=pe-x86-64"")
tc.update_configure_args({ "--host": "x86_64-w64-mingw32", "RC": resource_compiler, "WINDRES": resource_compiler, })
Would fix this issue without causing any disruptive damage to the recipe, but I am not knowledgeable enough to know for sure
What is your question?
An error occurs when cross-platform compiling a Windows package on a Linux system. The package is
libiconv/1.17
I have modified the profile file according to another issue, but an error has been reported. #14635 But I compiled the package
zlib/1.3.1
of this issue successfully.My host profile:
My build profile:
And my x86_64-w64-mingw32-windres program exists.
I have searched the internet for a long time but couldn't find a solution. Thank you very much for your help.
Have you read the CONTRIBUTING guide?