Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 820177 Details for
Bug 875143
x11-libs/libast-0.8 - unsigned long (const char ); ISO C99 and later do not support implicit
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-libs:libast-0.8:20221004-132349.log
x11-libs:libast-0.8:20221004-132349.log (text/plain), 201.28 KB, created by
Toralf Förster
on 2022-10-04 16:49:55 UTC
(
hide
)
Description:
x11-libs:libast-0.8:20221004-132349.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:49:55 UTC
Size:
201.28 KB
patch
obsolete
> * Package: x11-libs/libast-0.8:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 cpu_flags_x86_mmx elibc_glibc kernel_linux pcre userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libast-0.8.tar.gz to /var/tmp/portage/x11-libs/libast-0.8/work >>>> Source unpacked in /var/tmp/portage/x11-libs/libast-0.8/work >>>> Preparing source in /var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8 ... > * Running eautoreconf in '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I . --system-acdir=/var/tmp/portage/x11-libs/libast-0.8/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: libast-0.8/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8 ... > * econf: updating libast-0.8/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libast-0.8/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libast-0.8 --htmldir=/usr/share/doc/libast-0.8/html --with-sysroot=/ --libdir=/usr/lib64 --without-imlib --enable-mmx --with-regexp=pcre >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/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 for x86_64-pc-linux-gnu-gcc... clang >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 clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >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 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 clang... /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-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/lib/llvm/15/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >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... x86_64-pc-linux-gnu-dlltool >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 clang 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 sys/time.h... yes >checking for dlfcn.h... yes >checking how to run the C preprocessor... clang -E >checking for library containing strerror... none required >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-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 whether clang needs -traditional... no >checking whether build environment is sane... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking if malloc debugging is wanted... no >checking for sed... /bin/sed >checking for rm... rm -f >checking for cp... cp -f >checking for chmod... chmod >checking for tar... tar >checking for mkdir... mkdir >checking for ctags... ctags >checking for ar... (cached) x86_64-pc-linux-gnu-ar >checking for mv... mv -f >checking whether ln -s works... yes >checking size of char... 1 >checking size of short... 2 >checking size of int... 4 >checking size of long... 8 >checking size of long long... 8 >checking whether byte ordering is bigendian... no >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for fcntl.h... yes >checking for termios.h... yes >checking for sys/ioctl.h... yes >checking for sys/select.h... yes >checking for sys/time.h... (cached) yes >checking for sys/sockio.h... no >checking for sys/byteorder.h... no >checking for malloc.h... yes >checking for utmpx.h... yes >checking for unistd.h... (cached) yes >checking for bsd/signal.h... no >checking for stdarg.h... yes >checking for errno.h... yes >checking for inttypes.h... (cached) yes >checking for mode_t... yes >checking for off_t... yes >checking for pid_t... yes >checking for uid_t in sys/types.h... yes >checking for size_t... yes >checking return type of signal handlers... void >checking for memmove... yes >checking for putenv... yes >checking for strsep... yes >checking for memmem... yes >checking for usleep... yes >checking for snprintf... yes >checking for vsnprintf... yes >checking for strcasestr... yes >checking for strcasechr... no >checking for strcasepbrk... no >checking for strrev... no >checking for strnlen... yes >checking for library containing hstrerror... none required >checking whether snprintf ignores n... yes, snprintf is broken >checking whether vsnprintf ignores n... yes, vsnprintf is broken >checking security of interaction between symlink and open... secure >checking for working RLIMIT_NPROC resource limit... no >checking for working RLIMIT_MEMLOCK resource limit... no >checking for working alloca.h... yes >checking for alloca... yes >checking for ({...}) compiler support... yes >checking for debugging level... 4 >checking if STRICT_ISO_C99 required... 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 MMX support... yes >checking for pcre.h... yes >checking for library containing pcre_compile... -lpcre >checking for regular expression support... pcre >checking if backquote execution support should be enabled... yes >checking for the pthreads library -lpthreads... no >checking whether pthreads work without any flags... yes >checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE >checking if more special flags are required for pthreads... no >checking for cc_r... clang >checking for gawk... (cached) gawk >checking for curl-config... /usr/bin/curl-config >checking for the version of libcurl... 7.85.0 >checking for libcurl >= version 7.9.0... yes >checking whether libcurl is usable... yes >checking for curl_free... yes >checking that generated files are newer than configure... done >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating include/libast/types.h >config.status: creating Makefile >config.status: creating include/Makefile >config.status: creating src/Makefile >config.status: creating test/Makefile >config.status: creating libast-config >config.status: creating config.h >config.status: creating include/libast/sysdefs.h >config.status: executing depfiles commands >config.status: executing libtool commands > >libast 0.8 >Configuration: >-------------- > > Source code location: . > Host System Type: x86_64-pc-linux-gnu > Preprocessor: clang -I/usr/include > Compiler: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int > Linker: clang -L/usr/lib64 -L/usr/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lX11 -lSM -lICE -lpcre > Install path: /usr > >Now type 'make' to build libast 0.8. > >>>> Source configured. >'/var/tmp/portage/x11-libs/libast-0.8/temp/clang14.log' -> '/var/tmp/clang/x11-libs/libast-0.8/clang14.log' >'/var/tmp/portage/x11-libs/libast-0.8/temp/clang15.log' -> '/var/tmp/clang/x11-libs/libast-0.8/clang15.log' >>>> Compiling source in /var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8' >Making all in include >make[2]: Entering directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8/include' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8/include' >Making all in src >make[2]: Entering directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8/src' >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o array.lo array.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o builtin_hashes.lo builtin_hashes.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o conf.lo conf.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o debug.lo debug.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c builtin_hashes.c -fPIC -DPIC -o .libs/builtin_hashes.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c conf.c -fPIC -DPIC -o .libs/conf.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c debug.c -fPIC -DPIC -o .libs/debug.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c array.c -fPIC -DPIC -o .libs/array.o >In file included from builtin_hashes.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from conf.c:38: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from debug.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from array.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from builtin_hashes.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >builtin_hashes.c:179:10: warning: cast to smaller integer type 'spif_uint32_t' > (aka 'unsigned int') from 'spif_uint8_t *' (aka 'unsigned char *') > [-Wpointer-to-int-cast] > if (((spif_uint32_t) key) & 3) { > ^~~~~~~~~~~~~~~~~~~ >In file included from conf.c:38: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >conf.c:323:29: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > fd = spiftool_temp_file(OutFile, sizeof(OutFile)); > ^~~~~~~ >../include/libast.h:2867:45: note: passing argument to parameter here >extern int spiftool_temp_file(spif_charptr_t, size_t); > ^ >In file included from debug.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >conf.c:511:41: warning: ../include/libast.hpassing: 352'spif_char_t *': 4(aka 'signed char *'): towarning: >invalid parameterpreprocessing ofdirective, typedid 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is younot > [-Wpointer-sign]mean > '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif > spiftool_safe_strncpy(newbuff + j, EnvVar, max - j); > ^~~~~~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >conf.c:599:49: warning: passing 'spif_char_t *' (aka 'signed char *') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(newbuff + j, Output, max - j); > ^~~~~~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >conf.c:629:49: warning: passing 'spif_char_t *' (aka 'signed char *') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(newbuff + j, Output, max - j); > ^~~~~~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >conf.c:669:45: warning: passing 'spif_char_t[20480]' (aka 'signed char[20480]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(newbuff, tmp, max - j); > ^~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >3 warnings generated. >conf.c:819:37: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > ver_str = spif_str_new_from_ptr(buff); > ^~~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >conf.c:822:45: warning: passing 'spif_char_t[30]' (aka 'signed char[30]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > if (spif_str_ncasecmp_with_ptr(ver_str, test, testlen)) { > ^~~~ >../include/libast/str.h:175:72: note: passing argument to parameter here >extern spif_cmp_t spif_str_ncasecmp_with_ptr(spif_str_t, spif_charptr_t, spif_s... > ^ >conf.c:836:31: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(buff, begin_ptr, sizeof(buff)); > ^~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >conf.c:839:31: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(buff, begin_ptr, testlen); > ^~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >conf.c:841:36: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > ver = spiftool_version_compare(buff, libast_program_version); > ^~~~ >../include/libast.h:2889:58: note: passing argument to parameter here >extern spif_cmp_t spiftool_version_compare(spif_charptr_t, spif_charptr_t); > ^ >conf.c:901:39: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > fd = spiftool_temp_file(fname, PATH_MAX); > ^~~~~ >../include/libast.h:2867:45: note: passing argument to parameter here >extern int spiftool_temp_file(spif_charptr_t, size_t); > ^ >conf.c:987:37: warning: passing 'spif_char_t[20480]' (aka 'signed char[20480]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spifconf_parse_line(fp, buff); > ^~~~ >conf.c:852:47: note: passing argument to parameter 'buff' here >spifconf_parse_line(FILE * fp, spif_charptr_t buff) > ^ >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o dlinked_list.lo dlinked_list.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c dlinked_list.c -fPIC -DPIC -o .libs/dlinked_list.o >In file included from array.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >array.c:271:13: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_OBJ_DEL(self->items[i]); > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >array.c:271:13: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_OBJ_DEL(self->items[i]); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:305:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >array.c:321:53: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > buff = SPIF_OBJ_CALL_METHOD(o, show)(o, tmp, buff, indent + 2); > ^ >array.c:348:13: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > c = SPIF_OBJ_COMP(self->items[i], other->items[i]); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:348:13: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > c = SPIF_OBJ_COMP(self->items[i], other->items[i]); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:369:38: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->items[i] = (spif_obj_t) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:387:38: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->items[i] = (spif_obj_t) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:405:38: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->items[i] = (spif_obj_t) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:448:43: warning: cast to smaller integer type 'spif_listidx_t' > (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] > ASSERT_RVAL(!SPIF_ARRAY_ISNULL(self), (spif_listidx_t) NULL); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:558:53: note: expanded from macro 'ASSERT_RVAL' > return (val); \ > ^~~ >array.c:463:31: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:463:31: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >In file included from dlinked_list.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >array.c:482:16: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > diff = SPIF_OBJ_COMP(self->items[mid], obj); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:482:16: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > diff = SPIF_OBJ_COMP(self->items[mid], obj); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:519:16: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > diff = SPIF_OBJ_COMP(self->items[mid], key); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:519:16: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > diff = SPIF_OBJ_COMP(self->items[mid], key); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:545:36: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:545:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:545:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->key)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:561:37: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:561:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:561:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i]))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:577:38: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->ite... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:577:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->ite... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:577:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(self->items[i])->value)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >array.c:601:38: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:601:38: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:621:31: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:621:31: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], obj))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:641:54: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (i = 0; i < self->len && SPIF_CMP_IS_GREATER(SPIF_OBJ_COMP(obj, ... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:641:54: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...self->len && SPIF_CMP_IS_GREATER(SPIF_OBJ_COMP(obj, self->items[i])); i++); > ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:761:37: note: expanded from macro > 'SPIF_CMP_IS_GREATER' >#define SPIF_CMP_IS_GREATER(cmp) ((cmp) == SPIF_CMP_GREATER) > ^~~ >array.c:723:53: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, ... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:723:53: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, self->items[i])); i++); > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:745:53: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:745:53: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], item)); i++); > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:808:53: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (i = 0; i < self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:808:53: warning: cast to smaller integer type 'spif_cmp_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > ...self->len && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->items[i], key)); i++); > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:813:62: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > spif_objpair_set_value(SPIF_OBJPAIR(self->items[i]), SPIF_OBJ_DU... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:893:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >array.c:895:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >array.c:904:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >array.c:907:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >In file included from dlinked_list.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >dlinked_list.c:241:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_OBJ_DEL(self->data); > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:241:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_OBJ_DEL(self->data); > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:274:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >dlinked_list.c:281:16: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > buff = SPIF_OBJ_SHOW(self->data, buff, 0); > ^ >../include/libast/obj.h:550:87: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) (spif_str_t) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) > ^ >dlinked_list.c:290:12: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(other->data)); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:290:12: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(other->data)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:300:17: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->data = SPIF_OBJ_DUP(self->data); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:311:1: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:311:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_item, obj, data) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:437:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >dlinked_list.c:439:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >dlinked_list.c:447:57: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_dlinked_list_item_show(current, tmp, buff, indent + 2); > ^~~ >dlinked_list.c:259:75: note: passing argument to parameter 'name' here > ...self, spif_charptr_t name, spif_str_t buff, size_t indent) > ^ >dlinked_list.c:453:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >dlinked_list.c:587:31: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:587:31: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:604:13: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > c = SPIF_OBJ_COMP(obj, current->data); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:604:13: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > c = SPIF_OBJ_COMP(obj, current->data); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:649:13: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > c = SPIF_OBJ_COMP(current->data, key); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:649:13: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > c = SPIF_OBJ_COMP(current->data, key); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:670:36: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->da... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:670:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->da... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:670:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->key)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:686:37: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:686:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:686:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:702:38: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:702:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:702:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->value)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >dlinked_list.c:727:38: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:727:38: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:741:69: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head, i = 0; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COM... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:741:69: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...0; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data)); i++... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:861:62: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_CO... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:861:62: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, current->data)); curre... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:895:34: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->head->data, item))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:895:34: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->head->data, item))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:899:72: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head; current->next && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:899:72: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...&& !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->next->data, item)); curren... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:992:31: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->data, key))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:992:31: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->data, key))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:1001:61: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > spif_objpair_set_value(SPIF_OBJPAIR(current->data), SPIF_OBJ_DUP... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:1087:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >dlinked_list.c:1089:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >dlinked_list.c:1098:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >4 warnings generated. >dlinked_list.c:1154:1: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:1154:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(dlinked_list_iterator, dlinked_list, subject) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o file.lo file.c >15 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o linked_list.lo linked_list.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c file.c -fPIC -DPIC -o .libs/file.o >In file included from file.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c linked_list.c -fPIC -DPIC -o .libs/linked_list.o >45 warnings generated. >In file included from linked_list.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mbuff.lo mbuff.c >In file included from file.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >file.c:86:42: warning: passing 'spif_char_t[256]' (aka 'signed char[256]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(ftemplate, buff, len); > ^~~~ >../include/libast.h:2870:84: note: passing argument to parameter 'src' here > ...spiftool_safe_strncpy(spif_charptr_t dest, const spif_charptr_t src, spi... > ^ >4 warnings generated. >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mbuff.c -fPIC -DPIC -o .libs/mbuff.o >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mem.lo mem.c >In file included from mbuff.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >49 warnings generated. >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mem.c -fPIC -DPIC -o .libs/mem.o >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o module.lo module.c >In file included from mem.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from linked_list.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >linked_list.c:238:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_OBJ_DEL(self->data); > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:238:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_OBJ_DEL(self->data); > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:269:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >linked_list.c:271:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:276:16: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > buff = SPIF_OBJ_SHOW(self->data, buff, 0); > ^ >../include/libast/obj.h:550:87: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) (spif_str_t) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) > ^ >linked_list.c:286:26: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return ((spif_cmp_t) SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(ot... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:286:26: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...((spif_cmp_t) SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(other->data))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:294:5: warning: expression which evaluates to zero treated as a > null pointer constant of type 'spif_linked_list_item_t' (aka 'struct > spif_linked_list_item_t_struct *') [-Wnon-literal-null-conversion] > ASSERT_RVAL(!SPIF_LINKED_LIST_ITEM_ISNULL(self), FALSE); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:558:52: note: expanded from macro 'ASSERT_RVAL' > return (val); \ > ^~~~~ >linked_list.c:297:21: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->data = SPIF_OBJ_DUP(self->data); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:309:1: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(linked_list_item, obj, data) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:309:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(linked_list_item, obj, data) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:436:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >linked_list.c:438:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:443:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:450:56: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_linked_list_item_show(current, tmp, buff, indent + 2); > ^~~ >linked_list.c:255:73: note: passing argument to parameter 'name' here > ...self, spif_charptr_t name, spif_str_t buff, size_t indent) > ^ >linked_list.c:456:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:465:13: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return (SPIF_OBJ_COMP(SPIF_OBJ(self), SPIF_OBJ(other))); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:465:13: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return (SPIF_OBJ_COMP(SPIF_OBJ(self), SPIF_OBJ(other))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:565:42: warning: cast to smaller integer type 'spif_listidx_t' > (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] > ASSERT_RVAL(!SPIF_LIST_ISNULL(self), (spif_listidx_t) NULL); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:558:53: note: expanded from macro 'ASSERT_RVAL' > return (val); \ > ^~~ >linked_list.c:578:31: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:578:31: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:597:13: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > c = SPIF_OBJ_COMP(current->data, obj); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:597:13: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > c = SPIF_OBJ_COMP(current->data, obj); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:636:13: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > c = SPIF_OBJ_COMP(current->data, key); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:636:13: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > c = SPIF_OBJ_COMP(current->data, key); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:657:36: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->da... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:657:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->da... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:657:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(key_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->key)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:673:37: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:673:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:673:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_APPEND(pair_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:689:38: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:689:9: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->... > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:689:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...SPIF_LIST_APPEND(value_list, SPIF_OBJ_DUP(SPIF_OBJPAIR(current->data)->value)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >linked_list.c:714:38: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:714:38: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(pair->value, value))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c module.c -fPIC -DPIC -o .libs/module.o >linked_list.c:728:69: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head, i = 0; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COM... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:728:69: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...0; current && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(obj, current->data)); i++... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:822:34: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, self->head->data))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:822:34: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, self->head->data))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:826:72: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head; current->next && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:826:72: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...&& !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(item, current->next->data)); curren... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:851:34: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->head->data, item))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:851:34: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > } else if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(self->head->data, item))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:855:72: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > for (current = self->head; current->next && !SPIF_CMP_IS_EQUAL(SPIF_OBJ_... > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:855:72: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...&& !SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->next->data, item)); curren... > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:934:31: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->data, key))) { > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:934:31: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > if (SPIF_CMP_IS_EQUAL(SPIF_OBJ_COMP(current->data, key))) { > ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) (spif_cmp_t) (SPIF_OBJ_CALL_MET... > ^ >../include/libast/types.h:746:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:943:61: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > spif_objpair_set_value(SPIF_OBJPAIR(current->data), SPIF_OBJ_DUP... > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:1029:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >linked_list.c:1031:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:1038:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >linked_list.c:1096:1: warning: passing arguments to a function without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(linked_list_iterator, linked_list, subject) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:1096:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(linked_list_iterator, linked_list, subject) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from mbuff.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from module.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >mbuff.c:335:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >mbuff.c:337:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >mbuff.c:362:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >mbuff.c:366:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >In file included from mem.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >mem.c:148:27: warning: passing 'spif_char_t[21]' (aka 'signed char[21]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(p->file, (const spif_charptr_t) filename, size... > ^~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >mem.c:258:27: warning: passing 'spif_char_t[21]' (aka 'signed char[21]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_safe_strncpy(p->file, (const spif_charptr_t) filename, size... > ^~~~~~~ >../include/libast.h:2870:57: note: passing argument to parameter 'dest' here >extern spif_bool_t spiftool_safe_strncpy(spif_charptr_t dest, const spif... > ^ >mem.c:338:68: warning: passing 'spif_char_t[9]' (aka 'signed char[9]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > fprintf(LIBAST_DEBUG_FD, "| %-8s\n", spiftool_safe_str(buff, l)); > ^~~~ >../include/libast.h:2886:55: note: passing argument to parameter here >extern spif_charptr_t spiftool_safe_str(spif_charptr_t, unsigned short); > ^ >mbuff.c:681:24: warning: assigning to 'spif_byteptr_t' (aka 'unsigned char *') > from 'spif_charptr_t' (aka 'char *') converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > self->buff = (spif_charptr_t) MALLOC(self->size); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >mbuff.c:683:27: warning: passing 'spif_byteptr_t' (aka 'unsigned char *') to > parameter of type 'char *' converts between pointers to integer types > where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > c = vsnprintf(self->buff, self->size, format, ap); > ^~~~~~~~~~ >/usr/include/stdio.h:382:40: note: passing argument to parameter '__s' here >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > ^ >In file included from module.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >module.c:128:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >module.c:130:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >module.c:140:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >module.c:143:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >module.c:146:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >module.c:164:30: warning: cast to smaller integer type 'int' from 'spif_ptr_t' > (aka 'void *') [-Wvoid-pointer-to-int-cast] > return SPIF_CMP_FROM_INT((int) self->module_handle - (int) other->mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:716:44: note: expanded from macro 'SPIF_CMP_FROM_INT' >#define SPIF_CMP_FROM_INT(i) (((int) (i) < 0) ? (SPIF_CMP_LESS) : (... > ^ >module.c:164:58: warning: cast to smaller integer type 'int' from 'spif_ptr_t' > (aka 'void *') [-Wvoid-pointer-to-int-cast] > ...self->module_handle - (int) other->module_handle); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:716:44: note: expanded from macro 'SPIF_CMP_FROM_INT' >#define SPIF_CMP_FROM_INT(i) (((int) (i) < 0) ? (SPIF_CMP_LESS) : (... > ^ >module.c:164:30: warning: cast to smaller integer type 'int' from 'spif_ptr_t' > (aka 'void *') [-Wvoid-pointer-to-int-cast] > return SPIF_CMP_FROM_INT((int) self->module_handle - (int) other->mo... > ^~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:716:81: note: expanded from macro 'SPIF_CMP_FROM_INT' > ...(((int) (i) < 0) ? (SPIF_CMP_LESS) : (((int) (i) > 0) ? (SPIF_CMP_GREATE... > ^ >module.c:164:58: warning: cast to smaller integer type 'int' from 'spif_ptr_t' > (aka 'void *') [-Wvoid-pointer-to-int-cast] > ...self->module_handle - (int) other->module_handle); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:716:81: note: expanded from macro 'SPIF_CMP_FROM_INT' > ...(((int) (i) < 0) ? (SPIF_CMP_LESS) : (((int) (i) > 0) ? (SPIF_CMP_GREATE... > ^ >module.c:196:20: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return (fp)(data); > ^ >module.c:266:22: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return (((fp)(self)) ? (TRUE) : (FALSE)); > ^ >module.c:302:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(module, str, name); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >module.c:302:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(module, str, name); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >module.c:303:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(module, str, path); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >module.c:303:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(module, str, path); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >module.c:304:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(module, ptr, module_handle); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >module.c:304:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(module, ptr, module_handle); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >module.c:305:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(module, ptr, main_handle); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >module.c:305:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(module, ptr, main_handle); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >6 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o msgs.lo msgs.c >22 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o obj.lo obj.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c msgs.c -fPIC -DPIC -o .libs/msgs.o >In file included from msgs.c:38: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c obj.c -fPIC -DPIC -o .libs/obj.o >9 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o objpair.lo objpair.c >In file included from obj.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c objpair.c -fPIC -DPIC -o .libs/objpair.o >In file included from objpair.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from obj.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >obj.c:252:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >obj.c:254:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >5 warnings generated. >In file included from msgs.c:38: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >57 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o options.lo options.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o pthreads.lo pthreads.c >In file included from objpair.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >objpair.c:239:17: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > self->key = SPIF_OBJ_DUP(SPIF_OBJ(key)); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:265:19: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > self->value = SPIF_OBJ_DUP(SPIF_OBJ(value)); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:292:17: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > self->key = SPIF_OBJ_DUP(SPIF_OBJ(key)); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:293:19: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > self->value = SPIF_OBJ_DUP(SPIF_OBJ(value)); > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >3 warnings generated. >objpair.c:314:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_OBJ_DEL(SPIF_OBJ(self->key)); > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:314:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_OBJ_DEL(SPIF_OBJ(self->key)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >objpair.c:318:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_OBJ_DEL(SPIF_OBJ(self->value)); > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:318:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_OBJ_DEL(SPIF_OBJ(self->value)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >objpair.c:378:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >objpair.c:380:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >objpair.c:403:16: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(self->key, SPIF_OBJPAIR(other)->key); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >objpair.c:403:16: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(self->key, SPIF_OBJPAIR(other)->key); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >objpair.c:405:16: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(self->key, other); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >objpair.c:405:16: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(self->key, other); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >objpair.c:448:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(objpair, obj, key) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:448:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(objpair, obj, key) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >objpair.c:449:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(objpair, obj, value) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:449:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(objpair, obj, value) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o regexp.lo regexp.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c pthreads.c -fPIC -DPIC -o .libs/pthreads.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c options.c -fPIC -DPIC -o .libs/options.o >21 warnings generated. >In file included from options.c:38: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o socket.lo socket.c >In file included from pthreads.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c regexp.c -fPIC -DPIC -o .libs/regexp.o >In file included from regexp.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c socket.c -fPIC -DPIC -o .libs/socket.o >In file included from options.c:38: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >options.c:567:85: warning: passing 'spif_char_t *' (aka 'signed char *') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > ...SPIF_CHARPTR(argv[i + 1]), &hasequal); > ^~~~~~~~~ >options.c:252:77: note: passing argument to parameter 'hasequal' here > ...arg, spif_charptr_t next_arg, spif_charptr_t hasequal)In file included from >socket.c ^: >28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >In file included from pthreads.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >pthreads.c:175:9: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_DEL(self->tls_keys); > ^ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >pthreads.c:175:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_DEL(self->tls_keys); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:205:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >pthreads.c:207:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:215:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:218:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:221:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:224:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:227:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:232:16: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > buff = SPIF_LIST_SHOW(self->tls_keys, buff, indent); > ^ >../include/libast/list_if.h:52:57: note: expanded from macro 'SPIF_LIST_SHOW' >#define SPIF_LIST_SHOW(o, b, i) SPIF_OBJ_SHOW(o, b, i) > ^ >../include/libast/obj.h:550:87: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) (spif_str_t) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) > ^ >pthreads.c:236:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:247:12: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(self, other); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >pthreads.c:247:12: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(self, other); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:258:21: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->tls_keys = SPIF_LIST_DUP(self->tls_keys); > ^ >../include/libast/list_if.h:54:57: note: expanded from macro 'SPIF_LIST_DUP' >#define SPIF_LIST_DUP(o) SPIF_OBJ_DUP(o) > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >pthreads.c:356:26: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > key = (spif_mbuff_t) SPIF_LIST_REMOVE_AT(self->tls_keys, handle); > ^ >../include/libast/list_if.h:68:110: note: expanded from macro > 'SPIF_LIST_REMOVE_AT' > ...(spif_obj_t) ((SPIF_LIST_CALL_METHOD((o), remove_at))(o, index)) > ^ >pthreads.c:357:19: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (handle != SPIF_LIST_COUNT(self->tls_keys)) { > ^ >../include/libast/list_if.h:59:110: note: expanded from macro 'SPIF_LIST_COUNT' > ...(spif_listidx_t) ((SPIF_LIST_CALL_METHOD((o), count))(o)) > ^ >pthreads.c:357:19: warning: cast to smaller integer type 'spif_listidx_t' > (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] > if (handle != SPIF_LIST_COUNT(self->tls_keys)) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:59:57: note: expanded from macro 'SPIF_LIST_COUNT' > ...(spif_listidx_t) ((SPIF_LIST_CALL_METHOD((o), count))(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:360:9: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_INSERT_AT(self->tls_keys, (spif_obj_t) NULL, handle); > ^ >../include/libast/list_if.h:64:111: note: expanded from macro > 'SPIF_LIST_INSERT_AT' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), insert_at))(o, item, index)) > ^ >pthreads.c:360:9: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_INSERT_AT(self->tls_keys, (spif_obj_t) NULL, handle); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:64:57: note: expanded from macro > 'SPIF_LIST_INSERT_AT' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), insert_at))(o, item, index)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:380:5: warning: expression which evaluates to zero treated as a null > pointer constant of type 'spif_ptr_t' (aka 'void *') > [-Wnon-literal-null-conversion] > REQUIRE_RVAL(!SPIF_LIST_ISNULL(self->tls_keys), FALSE); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:664:56: note: expanded from macro 'REQUIRE_RVAL' > return (v); \ > ^~~ >pthreads.c:382:26: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > key = (spif_mbuff_t) SPIF_LIST_GET(self->tls_keys, handle); > ^ >../include/libast/list_if.h:61:104: note: expanded from macro 'SPIF_LIST_GET' > ...(spif_obj_t) ((SPIF_LIST_CALL_METHOD((o), get))(o, index)) > ^ >pthreads.c:414:13: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > if (SPIF_LIST_APPEND(self->tls_keys, tls_key)) { > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >pthreads.c:414:13: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > if (SPIF_LIST_APPEND(self->tls_keys, tls_key)) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:415:21: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return (SPIF_LIST_COUNT(self->tls_keys) - 1); > ^ >../include/libast/list_if.h:59:110: note: expanded from macro 'SPIF_LIST_COUNT' > ...(spif_listidx_t) ((SPIF_LIST_CALL_METHOD((o), count))(o)) > ^ >pthreads.c:415:21: warning: cast to smaller integer type 'spif_listidx_t' > (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] > return (SPIF_LIST_COUNT(self->tls_keys) - 1); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:59:57: note: expanded from macro 'SPIF_LIST_COUNT' > ...(spif_listidx_t) ((SPIF_LIST_CALL_METHOD((o), count))(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:435:26: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > key = (spif_mbuff_t) SPIF_LIST_GET(self->tls_keys, handle); > ^ >../include/libast/list_if.h:61:104: note: expanded from macro 'SPIF_LIST_GET' > ...(spif_obj_t) ((SPIF_LIST_CALL_METHOD((o), get))(o, index)) > ^ >pthreads.c:456:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >pthreads.c:463:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >pthreads.c:468:1: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, thread_func, main_func); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >pthreads.c:468:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, thread_func, main_func); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:469:1: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, thread_data, data); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >pthreads.c:469:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, thread_data, data); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:470:1: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, list, tls_keys); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >pthreads.c:470:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(pthreads, list, tls_keys); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:535:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >pthreads.c:537:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:547:16: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > buff = SPIF_THREAD_SHOW(self->creator, buff, indent); > ^ >../include/libast/thread_if.h:52:47: note: expanded from macro > 'SPIF_THREAD_SHOW' >#define SPIF_THREAD_SHOW(o, b, i) SPIF_OBJ_SHOW(o, b, i) > ^ >../include/libast/obj.h:550:87: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) (spif_str_t) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) > ^ >pthreads.c:551:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:554:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:562:12: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(self, other); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >pthreads.c:562:12: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(self, other); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:587:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:593:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:599:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:601:1: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(pthreads_mutex, thread, creator); >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >pthreads.c:601:1: warning: cast to smaller integer type 'spif_bool_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(pthreads_mutex, thread, creator); >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:663:38: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >pthreads.c:665:40: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:675:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:678:36: warning: passing 'spif_char_t[4096]' > (aka 'signed char[4096]') to parameter of type 'spif_charptr_t' > (aka 'char *') converts between pointers to integer types where one is of > the unique plain 'char' type and the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >pthreads.c:686:12: warning: passing arguments to a function without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > return SPIF_OBJ_COMP(self, other); > ^ >../include/libast/obj.h:564:89: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >pthreads.c:686:12: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > return SPIF_OBJ_COMP(self, other); > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:564:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) (spif_cmp_t) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >pthreads.c:711:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:717:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:723:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >pthreads.c:729:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >In file included from regexp.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >regexp.c:159:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >regexp.c:161:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] >In file included from socket.c:28 spif_str_append_from_ptr(buff, tmp);: > >In file included from ^~~../include/libast_internal.h >:51: >../include/libast.h:350../include/libast/str.h::4164:: 71warning: :invalid note: preprocessing passingdirective, argumentdid toyou >parameter meanhere >'#elif'? [-Wunknown-directives] >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >regexp.c:165:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:175:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >socket.c:177:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:183:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:186:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:189:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:192:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:195:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:198:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:201:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:208:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >socket.c:692:19: warning: address of array 'unixaddr->sun_path' will always > evaluate to 'true' [-Wpointer-bool-conversion] > if (unixaddr->sun_path) { > ~~ ~~~~~~~~~~^~~~~~~~ >socket.c:761:41: warning: cast to smaller integer type 'spif_sockport_t' > (aka 'unsigned short') from 'void *' [-Wvoid-pointer-to-int-cast] > ASSERT_RVAL(!SPIF_URL_ISNULL(self), (spif_sockport_t) NULL); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:558:53: note: expanded from macro 'ASSERT_RVAL' > return (val); \ > ^~~ >6 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o str.lo str.c >4 warnings generated. >59 warnings generated. >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o strings.lo strings.c >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o snprintf.lo snprintf.c >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c str.c -fPIC -DPIC -o .libs/str.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c strings.c -fPIC -DPIC -o .libs/strings.o >In file included from str.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >15 warnings generated. >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o >/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o tok.lo tok.c >In file included from strings.c:37: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >snprintf.c:43:22: error: unknown type name 'size_t' >vsnprintf(char *str, size_t count, const char *fmt, va_list args) > ^ >snprintf.c:51:13: error: call to undeclared library function 'strlen' with type > 'unsigned long (const char *)'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > return (strlen(str)); > ^ >snprintf.c:51:13: note: include the header <string.h> or explicitly provide a > declaration for 'strlen' >snprintf.c:56:21: error: unknown type name 'size_t' >snprintf(char *str, size_t count, const char *fmt, ...) > ^ >snprintf.c:248:36: error: call to undeclared library function 'iscntrl' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (visible_control && iscntrl(c) && !isspace(c)) { > ^ >snprintf.c:248:36: note: include the header <ctype.h> or explicitly provide a > declaration for 'iscntrl' >snprintf.c:248:51: error: call to undeclared library function 'isspace' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (visible_control && iscntrl(c) && !isspace(c)) { > ^ >snprintf.c:248:51: note: include the header <ctype.h> or explicitly provide a > declaration for 'isspace' >snprintf.c:357:5: error: call to undeclared library function 'strcpy' with type > 'char *(char *, const char *)'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > strcpy(fmtstr, "%"); > ^ >snprintf.c:357:5: note: include the header <string.h> or explicitly provide a > declaration for 'strcpy' >snprintf.c:359:9: error: call to undeclared library function 'strcat' with type > 'char *(char *, const char *)'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > strcat(fmtstr, "-"); > ^ >snprintf.c:359:9: note: include the header <string.h> or explicitly provide a > declaration for 'strcat' >snprintf.c:361:9: error: call to undeclared library function 'sprintf' with type > 'int (char *, const char *, ...)'; ISO C99 and later do not support > implicit function declarations [-Werror,-Wimplicit-function-declaration] > sprintf(fmtstr + strlen(fmtstr), "%d", len); > ^ >snprintf.c:361:9: note: include the header <stdio.h> or explicitly provide a > declaration for 'sprintf' >8 errors generated. >make[2]: *** [Makefile:512: snprintf.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include/libast -I../include -I../include/libast -I/usr/include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c tok.c -fPIC -DPIC -o .libs/tok.o >In file included from str.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >str.c:328:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >str.c:104:38: note: passing argument to parameter 'old' here >spif_str_new_from_ptr(spif_charptr_t old) > ^ >str.c:330:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >str.c:337:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >In file included from strings.c:37: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >strings.c:364:48: warning: pointer/integer type mismatch in conditional > expression ('char *' and 'int') [-Wconditional-type-mismatch] > for (pstr = (spif_charptr_t) str; *pstr && IS_DELIM(*pstr); pstr++); > ^~~~~~~~~~~~~~~ >strings.c:343:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr((char *)delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >strings.c:386:36: warning: pointer/integer type mismatch in conditional > expression ('char *' and 'int') [-Wconditional-type-mismatch] > for (; *pstr && (quote || !IS_DELIM(*pstr));) { > ^~~~~~~~~~~~~~~ >strings.c:343:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr((char *)delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >strings.c:402:41: warning: pointer/integer type mismatch in conditional > expression ('char *' and 'int') [-Wconditional-type-mismatch] > if ((*pstr == '\\') && (IS_DELIM(*(pstr + 1)) || IS_QUOT... > ^~~~~~~~~~~~~~~~~~~~~ >strings.c:343:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr((char *)delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >strings.c:418:25: warning: pointer/integer type mismatch in conditional > expression ('char *' and 'int') [-Wconditional-type-mismatch] > for (; *pstr && IS_DELIM(*pstr); pstr++); > ^~~~~~~~~~~~~~~ >strings.c:343:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr((char *)delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >In file included from tok.c:28: >In file included from ../include/libast_internal.h:51: >In file included from ../include/libast.h:40: >In file included from /usr/include/stdio.h:27: >In file included from /usr/include/bits/libc-header-start.h:33: >/usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated, use _DEFAULT_SOURCE" [-W#warnings] ># warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >strings.c:717:28: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >strings.c:717:40: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >strings.c:726:35: warning: passing 'spif_char_t[128]' (aka 'signed char[128]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_downcase_str(buff1); > ^~~~~ >strings.c:609:38: note: passing argument to parameter 'str' here >spiftool_downcase_str(spif_charptr_t str) > ^ >strings.c:727:35: warning: passing 'spif_char_t[128]' (aka 'signed char[128]') > to parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spiftool_downcase_str(buff2); > ^~~~~ >strings.c:609:38: note: passing argument to parameter 'str' here >spiftool_downcase_str(spif_charptr_t str) > ^ >strings.c:767:28: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >strings.c:767:40: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >strings.c:788:28: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >strings.c:788:40: warning: initializing 'spif_charptr_t' (aka 'char *') with an > expression of type 'spif_char_t[128]' (aka 'signed char[128]') converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > spif_charptr_t p1 = buff1, p2 = buff2; > ^ ~~~~~ >In file included from tok.c:28: >In file included from ../include/libast_internal.h:51: >../include/libast.h:350:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:352:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >tok.c:185:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_DEL(self->tokens); > ^ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >tok.c:185:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_DEL(self->tokens); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tok.c:217:38: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > buff = spif_str_new_from_ptr(tmp); > ^~~ >../include/libast/str.h:144:55: note: passing argument to parameter here >extern spif_str_t spif_str_new_from_ptr(spif_charptr_t); > ^ >tok.c:219:40: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >tok.c:228:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >tok.c:231:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >tok.c:234:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >tok.c:236:5: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_SHOW(self->tokens, buff, indent); > ^ >../include/libast/list_if.h:52:57: note: expanded from macro 'SPIF_LIST_SHOW' >#define SPIF_LIST_SHOW(o, b, i) SPIF_OBJ_SHOW(o, b, i) > ^ >../include/libast/obj.h:550:87: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) (spif_str_t) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b, i)) > ^ >tok.c:240:36: warning: passing 'spif_char_t[4096]' (aka 'signed char[4096]') to > parameter of type 'spif_charptr_t' (aka 'char *') converts between > pointers to integer types where one is of the unique plain 'char' type and > the other is not [-Wpointer-sign] > spif_str_append_from_ptr(buff, tmp); > ^~~ >../include/libast/str.h:164:71: note: passing argument to parameter here >extern spif_bool_t spif_str_append_from_ptr(spif_str_t, spif_charptr_t); > ^ >tok.c:263:19: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > tmp->tokens = SPIF_LIST_DUP(self->tokens); > ^ >../include/libast/list_if.h:54:57: note: expanded from macro 'SPIF_LIST_DUP' >#define SPIF_LIST_DUP(o) SPIF_OBJ_DUP(o) > ^ >../include/libast/obj.h:577:86: note: expanded from macro 'SPIF_OBJ_DUP' > ...(spif_obj_t) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >tok.c:298:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_DEL(self->tokens); > ^ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >tok.c:298:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_DEL(self->tokens); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:51:57: note: expanded from macro 'SPIF_LIST_DEL' >#define SPIF_LIST_DEL(o) SPIF_OBJ_DEL(o) > ^~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tok.c:303:21: warning: pointer/integer type mismatch in conditional expression > ('char *' and 'int') [-Wconditional-type-mismatch] > for (; *pstr && IS_DELIM(*pstr); pstr++); > ^~~~~~~~~~~~~~~ >tok.c:276:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr(delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >tok.c:312:36: warning: pointer/integer type mismatch in conditional expression > ('char *' and 'int') [-Wconditional-type-mismatch] > for (; *pstr && (quote || !IS_DELIM(*pstr));) { > ^~~~~~~~~~~~~~~ >tok.c:276:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr(delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >tok.c:328:49: warning: pointer/integer type mismatch in conditional expression > ('char *' and 'int') [-Wconditional-type-mismatch] > ...if ((*pstr == self->escape) && (IS_DELIM(*(pstr + 1)) || IS_QUOTE(*(pst... > ^~~~~~~~~~~~~~~~~~~~~ >tok.c:276:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr(delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >tok.c:342:9: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > SPIF_LIST_APPEND(self->tokens, tmp); > ^ >../include/libast/list_if.h:57:108: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >tok.c:342:9: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] > SPIF_LIST_APPEND(self->tokens, tmp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/list_if.h:57:57: note: expanded from macro 'SPIF_LIST_APPEND' > ...(spif_bool_t) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tok.c:345:25: warning: pointer/integer type mismatch in conditional expression > ('char *' and 'int') [-Wconditional-type-mismatch] > for (; *pstr && IS_DELIM(*pstr); pstr++); > ^~~~~~~~~~~~~~~ >tok.c:276:31: note: expanded from macro 'IS_DELIM' >#define IS_DELIM(c) ((delim) ? (strchr(delim, (c))) : (isspace(c))) > ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ >tok.c:350:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(tok, str, src) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >tok.c:350:1: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(tok, str, src) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tok.c:354:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(tok, str, sep) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >tok.c:354:1: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(tok, str, sep) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >tok.c:355:1: warning: passing arguments to a function without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >SPIF_DEFINE_PROPERTY_FUNC(tok, list, tokens) >^ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:534:87: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >tok.c:355:1: warning: cast to smaller integer type 'spif_bool_t' from 'void *' > [-Wvoid-pointer-to-enum-cast] >SPIF_DEFINE_PROPERTY_FUNC(tok, list, tokens) >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:198:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:534:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...(spif_bool_t) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >27 warnings generated. >6 warnings generated. >15 warnings generated. >make[2]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8/src' >make[1]: *** [Makefile:517: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8' >make: *** [Makefile:402: all] Error 2 > * ERROR: x11-libs/libast-0.8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-libs/libast-0.8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-libs/libast-0.8::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-libs:libast-0.8:20221004-132349.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/libast-0.8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libast-0.8/temp/environment'. > * Working directory: '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8' > * S: '/var/tmp/portage/x11-libs/libast-0.8/work/libast-0.8' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 875143
:
820156
|
820159
|
820162
|
820165
|
820168
|
820171
|
820174
| 820177