Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 812815 Details for
Bug 871705
x11-libs/libast-0.7-r2 - snprintf.c: error: call to undeclared library function strlen with type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-libs:libast-0.7-r2:20220919-111521.log
x11-libs:libast-0.7-r2:20220919-111521.log (text/plain), 125.48 KB, created by
Toralf Förster
on 2022-09-19 12:26:02 UTC
(
hide
)
Description:
x11-libs:libast-0.7-r2:20220919-111521.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-19 12:26:02 UTC
Size:
125.48 KB
patch
obsolete
> * Package: x11-libs/libast-0.7-r2: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.7.tar.gz to /var/tmp/portage/x11-libs/libast-0.7-r2/work >>>> Source unpacked in /var/tmp/portage/x11-libs/libast-0.7-r2/work >>>> Preparing source in /var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7 ... > * econf: updating libast-0.7/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libast-0.7/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 --disable-dependency-tracking --libdir=/usr/lib64 --without-imlib --enable-mmx --with-regexp=pcre --disable-static >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/missing: Unknown `--run' option >Try `/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/missing --help' for more information >configure: WARNING: `missing' script is too old or missing >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for preferred libtoolize... libtoolize >checking for preferred aclocal... aclocal >checking for preferred autoconf... autoconf >checking for preferred autoheader... autoheader >checking for preferred automake... automake >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ANSI C... none needed >checking for style of include used by make... GNU >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >checking for egrep... grep -E >checking for ANSI C header files... no >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for a sed that does not truncate output... /bin/sed >checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking whether ln -s works... yes >checking how to recognise dependent libraries... pass_all >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking for x86_64-pc-linux-gnu-g++... clang++ >checking whether we are using the GNU C++ compiler... yes >checking whether clang++ accepts -g... yes >checking dependency style of clang++... none >checking how to run the C++ preprocessor... clang++ -E >checking for x86_64-pc-linux-gnu-g77... no >checking for x86_64-pc-linux-gnu-f77... no >checking for x86_64-pc-linux-gnu-xlf... no >checking for x86_64-pc-linux-gnu-frt... no >checking for x86_64-pc-linux-gnu-pgf77... no >checking for x86_64-pc-linux-gnu-fort77... no >checking for x86_64-pc-linux-gnu-fl32... no >checking for x86_64-pc-linux-gnu-af77... no >checking for x86_64-pc-linux-gnu-f90... no >checking for x86_64-pc-linux-gnu-xlf90... no >checking for x86_64-pc-linux-gnu-pgf90... no >checking for x86_64-pc-linux-gnu-epcf90... no >checking for x86_64-pc-linux-gnu-f95... no >checking for x86_64-pc-linux-gnu-fort... no >checking for x86_64-pc-linux-gnu-xlf95... no >checking for x86_64-pc-linux-gnu-ifc... no >checking for x86_64-pc-linux-gnu-efc... no >checking for x86_64-pc-linux-gnu-pgf95... no >checking for x86_64-pc-linux-gnu-lf95... no >checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran >checking whether we are using the GNU Fortran 77 compiler... yes >checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes >checking the maximum length of command line arguments... 32768 >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for objdir... .libs >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking if clang static flag works... yes >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC >checking if clang PIC flag -fPIC works... yes >checking if clang supports -c -o file.o... rmdir: failed to remove 'conftest': Directory not empty >rm: cannot remove 'conftest': Is a directory >yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... rm: cannot remove 'conftest': Is a directory >rm: cannot remove 'conftest': Is a directory >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 >configure: creating libtool >appending configuration tag "CXX" to libtool >checking for ld used by clang++... /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes >checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking for clang++ option to produce PIC... -fPIC >checking if clang++ PIC flag -fPIC works... yes >checking if clang++ supports -c -o file.o... yes >checking whether the clang++ linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >appending configuration tag "F77" to libtool >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC >checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes >checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes >checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >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 how to run the C preprocessor... clang -E >checking for AIX... no >checking for library containing strerror... none required >checking minix/config.h usability... no >checking minix/config.h presence... no >checking for minix/config.h... no >checking whether clang needs -traditional... no >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >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 >checking for cp... cp >checking for chmod... chmod >checking for tar... tar >checking for mkdir... mkdir >checking for ctags... true >checking for ar... (cached) x86_64-pc-linux-gnu-ar >checking for mv... mv >checking whether ln -s works... yes >checking for char... yes >checking size of char... 1 >checking for short... yes >checking size of short... 2 >checking for int... yes >checking size of int... 4 >checking for long... yes >checking size of long... 8 >checking for long long... yes >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 fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking termios.h usability... yes >checking termios.h presence... yes >checking for termios.h... yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/select.h usability... yes >checking sys/select.h presence... yes >checking for sys/select.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking sys/sockio.h usability... no >checking sys/sockio.h presence... no >checking for sys/sockio.h... no >checking sys/byteorder.h usability... no >checking sys/byteorder.h presence... no >checking for sys/byteorder.h... no >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking utmpx.h usability... yes >checking utmpx.h presence... yes >checking for utmpx.h... yes >checking for unistd.h... (cached) yes >checking bsd/signal.h usability... no >checking bsd/signal.h presence... no >checking for bsd/signal.h... no >checking stdarg.h usability... yes >checking stdarg.h presence... yes >checking for stdarg.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking whether time.h and sys/time.h may both be included... 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 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... ./configure: line 23791: test: -eq: unary operator expected >unknown, assuming yes >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 debugging level... 4 >checking if STRICT_ISO_C99 required... yes >checking for X... libraries /usr/lib64, 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 pcre.h usability... yes >checking pcre.h presence... 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 >configure: creating ./config.status >config.status: creating include/libast/types.h >config.status: creating Makefile >config.status: creating include/Makefile >config.status: creating include/libast/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 > >libast 0.7 >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 -L/usr/lib64 -lX11 -lSM -lICE -lpcre > Install path: /usr > >Now type 'make' to build libast 0.7. > >>>> Source configured. >'/var/tmp/portage/x11-libs/libast-0.7-r2/temp/clang14.log' -> '/var/tmp/clang/x11-libs/libast-0.7-r2/clang14.log' >'/var/tmp/portage/x11-libs/libast-0.7-r2/temp/clang15.log' -> '/var/tmp/clang/x11-libs/libast-0.7-r2/clang15.log' >>>> Compiling source in /var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7' >Making all in include >make[2]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include' >Making all in libast >make[3]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include/libast' >Makefile:425: warning: overriding recipe for target 'types.h' >Makefile:234: warning: ignoring old recipe for target 'types.h' >make all-am >make[4]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include/libast' >Makefile:425: warning: overriding recipe for target 'types.h' >Makefile:234: warning: ignoring old recipe for target 'types.h' >make[4]: Nothing to be done for 'all-am'. >make[4]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include/libast' >make[3]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include/libast' >make[3]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include' >make[2]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/include' >Making all in src >make[2]: Entering directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/src' >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >mkdir .libs >mkdir .libs >mkdir: cannot create directory '.libs': File exists > clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 >In file included from builtin_hashes.c:In file included from 30conf.c: >:In file included from 40../include/libast_internal.h:: >53In file included from : >../include/libast_internal.hIn file included from :../include/libast.h53:: >42In file included from : >../include/libast.hIn file included from :/usr/include/stdio.h42:: >27In file included from : >/usr/include/stdio.hIn file included from :/usr/include/bits/libc-header-start.h27:: >33In file included from In file included from : >debug.c/usr/include/bits/libc-header-start.h/usr/include/features.h:::3341194: >: >:In file included from /usr/include/features.h3../include/libast_internal.h:::194 53:warning: : >3In file included from :"_BSD_SOURCE../include/libast.h :warning: and42 : >"_BSD_SOURCE_SVID_SOURCEIn file included from /usr/include/stdio.handare: >27_SVID_SOURCE : > deprecated,In file included from are /usr/include/bits/libc-header-start.h >use: 33deprecated,_DEFAULT_SOURCE": > /usr/include/features.huse[-W#warnings]: >194_DEFAULT_SOURCE": 3[-W#warnings]: > warning: "_BSD_SOURCE and _SVID_SOURCE are > deprecated,# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" >use ^ >_DEFAULT_SOURCE" # 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:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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:40: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from debug.c:41: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from array.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >3 warnings generated. >In file included from builtin_hashes.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >array.c:273: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:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >array.c:273: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:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:323: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); > ^ >builtin_hashes.c:181: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_CAST(uint32) key) & 3) { > ^~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:350: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:350: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:371:40: 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_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:389:40: 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_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:407:40: 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_CAST(obj) SPIF_OBJ_DUP(SPIF_OBJ(self->items[i])); > ^ >../include/libast/obj.h:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:450: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_NULL_TYPE(listidx)); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:305:43: note: expanded from macro 'SPIF_NULL_TYPE' >#define SPIF_NULL_TYPE(type) (SPIF_CAST(type) (NULL)) > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast.h:510:56: note: expanded from macro 'ASSERT_RVAL' > return (val);}} while (0) > ^~~ >array.c:465: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:465: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:484: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:484: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >array.c:521: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:521: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:547: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:547: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:547: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:563: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:563: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:563: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:579: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >array.c:579: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >array.c:579: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >array.c:603: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:603: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:623: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:623: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:643: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:643: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:889:37: note: expanded from macro > 'SPIF_CMP_IS_GREATER' >#define SPIF_CMP_IS_GREATER(cmp) ((cmp) == SPIF_CMP_GREATER) > ^~~ >array.c:725: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:725: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:746: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:746: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:807: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >array.c:807: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >array.c:812: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ > clang -DHAVE_CONFIG_H -I. -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 dlinked_list.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >4 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >In file included from dlinked_list.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >dlinked_list.c:243: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:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:243: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:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:283: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:552:89: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) SPIF_CAST(str) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b... > ^ >dlinked_list.c:292: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:292: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:302: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:313: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:313: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:589: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:589: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:606: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:606: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:651: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:651: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:672: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:672: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:672: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:688: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:688: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:688: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:704: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:704: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >dlinked_list.c:704: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >dlinked_list.c:729: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:729: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:743: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:743: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:863: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:863: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:897: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:897: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:901: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:901: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:994: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >dlinked_list.c:994: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >dlinked_list.c:1003: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >dlinked_list.c:1156: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >dlinked_list.c:1156: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ > clang -DHAVE_CONFIG_H -I. -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 >40 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >In file included from file.c:41: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >3 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 >In file included from file.c:41: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >3 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 >In file included from linked_list.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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 mbuff.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ > clang -DHAVE_CONFIG_H -I. -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 >In file included from mbuff.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from mem.c:41: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >41 warnings generated. >In file included from linked_list.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >linked_list.c:240: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:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:240: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:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:278: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:552:89: note: expanded from macro 'SPIF_OBJ_SHOW' > ...b, i) SPIF_CAST(str) (SPIF_OBJ_CALL_METHOD((o), show)(o, #o, b... > ^ >linked_list.c:288:28: 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_CAST(cmp) SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(... > ^ >../include/libast/obj.h:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:288:28: warning: cast to smaller integer type 'spif_cmp_t' from > 'void *' [-Wvoid-pointer-to-enum-cast] > ...SPIF_OBJ_COMP(SPIF_OBJ(self->data), SPIF_OBJ(other->data))); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:296: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:510:55: note: expanded from macro 'ASSERT_RVAL' > return (val);}} while (0) > ^~~~~ >linked_list.c:299: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_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(linked_list_item, obj, data) >^ >../include/libast/obj.h:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:311: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:467: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:467: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:567: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_NULL_TYPE(listidx)); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:305:43: note: expanded from macro 'SPIF_NULL_TYPE' >#define SPIF_NULL_TYPE(type) (SPIF_CAST(type) (NULL)) > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast.h:510:56: note: expanded from macro 'ASSERT_RVAL' > return (val);}} while (0) > ^~~ >linked_list.c:580: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:580: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:599: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:599: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:638: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:638: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:659: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:659: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:659: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:675: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:675: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:675: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:691: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >linked_list.c:691: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:110: note: expanded from macro 'SPIF_LIST_APPEND' > ...SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^ >linked_list.c:691: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_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >linked_list.c:716: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:716: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:730: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:730: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:824: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:824: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:828: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:828: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:853: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:853: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:857: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:857: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:936: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >linked_list.c:936: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' >#define SPIF_OBJ_COMP(o1, o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_M... > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast/types.h:874:37: note: expanded from macro 'SPIF_CMP_IS_EQUAL' >#define SPIF_CMP_IS_EQUAL(cmp) ((cmp) == SPIF_CMP_EQUAL) > ^~~ >linked_list.c:945: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >In file included from mem.c:41: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >linked_list.c:1098: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >linked_list.c:1098: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ > clang -DHAVE_CONFIG_H -I. -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:42: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >3 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >3 warnings generated. >In file included from msgs.c:42: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >3 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 obj.c:41: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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 objpair.c:41: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ > clang -DHAVE_CONFIG_H -I. -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 >In file included from obj.c:41: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from options.c:42: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >3 warnings generated. >47 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 objpair.c:41: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >objpair.c:243: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:269: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:296: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o)) > ^ >objpair.c:297: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:579:88: note: expanded from macro 'SPIF_OBJ_DUP' > ...SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(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->key)); > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (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->key)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >objpair.c:322: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:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:322: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:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >objpair.c:407: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >objpair.c:407: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >objpair.c:409: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:566:91: note: expanded from macro 'SPIF_OBJ_COMP' > ...o2) SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^ >objpair.c:409: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:566:42: note: expanded from macro 'SPIF_OBJ_COMP' > ...SPIF_CAST(cmp) (SPIF_OBJ_CALL_METHOD((o1), comp)(o1, o2)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >objpair.c:452: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:452: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >objpair.c:453: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^ >../include/libast/obj.h:536:89: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^ >objpair.c:453: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:200:13: note: expanded from macro > 'SPIF_DEFINE_PROPERTY_FUNC' > SPIF_OBJ_DEL(self->name); \ > ^~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/obj.h:536:42: note: expanded from macro 'SPIF_OBJ_DEL' > ...SPIF_CAST(bool) (SPIF_OBJ_CALL_METHOD((o), del)(o)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >19 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 socket.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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 regexp.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ > clang -DHAVE_CONFIG_H -I. -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 >In file included from options.c:42: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >options.c:123:31: warning: passing 'spif_charptr_t' (aka 'signed char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MAX_IT(l_long, strlen(SPIFOPT_OPT_LONG(i))); > ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:2247:43: note: expanded from macro 'SPIFOPT_OPT_LONG' >#define SPIFOPT_OPT_LONG(n) (SPIFOPT_OPTLIST_GET_OPT(n).long_opt) > ^ >../include/libast.h:239:62: note: expanded from macro 'MAX_IT' >#define MAX_IT(current, other) LOWER_BOUND(current, other) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~ >../include/libast.h:226:68: note: expanded from macro 'LOWER_BOUND' > ...LOWER_BOUND(current, other) __extension__ ({__typeof__(other) o = (ot... > ^~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >options.c:123:31: warning: passing 'spif_charptr_t' (aka 'signed char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MAX_IT(l_long, strlen(SPIFOPT_OPT_LONG(i))); > ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:2247:43: note: expanded from macro 'SPIFOPT_OPT_LONG' >#define SPIFOPT_OPT_LONG(n) (SPIFOPT_OPTLIST_GET_OPT(n).long_opt) > ^ >../include/libast.h:239:62: note: expanded from macro 'MAX_IT' >#define MAX_IT(current, other) LOWER_BOUND(current, other) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~ >../include/libast.h:226:80: note: expanded from macro 'LOWER_BOUND' > ...other) __extension__ ({__typeof__(other) o = (other); ((current) < o... > ^~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >options.c:124:31: warning: passing 'spif_charptr_t' (aka 'signed char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MAX_IT(l_desc, strlen(SPIFOPT_OPT_DESC(i))); > ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:2254:43: note: expanded from macro 'SPIFOPT_OPT_DESC' >#define SPIFOPT_OPT_DESC(n) (SPIFOPT_OPTLIST_GET_OPT(n).desc) > ^ >../include/libast.h:239:62: note: expanded from macro 'MAX_IT' >#define MAX_IT(current, other) LOWER_BOUND(current, other) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~ >../include/libast.h:226:68: note: expanded from macro 'LOWER_BOUND' > ...LOWER_BOUND(current, other) __extension__ ({__typeof__(other) o = (ot... > ^~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >options.c:124:31: warning: passing 'spif_charptr_t' (aka 'signed char *') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > MAX_IT(l_desc, strlen(SPIFOPT_OPT_DESC(i))); > ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >../include/libast.h:2254:43: note: expanded from macro 'SPIFOPT_OPT_DESC' >#define SPIFOPT_OPT_DESC(n) (SPIFOPT_OPTLIST_GET_OPT(n).desc) > ^ >../include/libast.h:239:62: note: expanded from macro 'MAX_IT' >#define MAX_IT(current, other) LOWER_BOUND(current, other) > ~~~~~~~~~~~~~~~~~~~~~^~~~~~ >../include/libast.h:226:80: note: expanded from macro 'LOWER_BOUND' > ...other) __extension__ ({__typeof__(other) o = (other); ((current) < o... > ^~~~~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >In file included from socket.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >In file included from str.c:30: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ >socket.c:694:19: warning: comparison of array 'unixaddr->sun_path' not equal to > a null pointer is always true [-Wtautological-pointer-compare] > if (unixaddr->sun_path != NULL) { > ~~~~~~~~~~^~~~~~~~ ~~~~ >socket.c:763: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_NULL_TYPE(sockport)); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >../include/libast/types.h:305:43: note: expanded from macro 'SPIF_NULL_TYPE' >#define SPIF_NULL_TYPE(type) (SPIF_CAST(type) (NULL)) > ^ >../include/libast/types.h:239:42: note: expanded from macro 'SPIF_CAST' >#define SPIF_CAST(type) (SPIF_TYPE(type)) > ^ >../include/libast.h:510:56: note: expanded from macro 'ASSERT_RVAL' > return (val);}} while (0) > ^~~ >In file included from regexp.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >3 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 >In file included from str.c:30: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >5 warnings generated. >/bin/sh ../libtool --mode=compile --tag=CC clang -DHAVE_CONFIG_H -I. -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 > clang -DHAVE_CONFIG_H -I. -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 strings.c:39: >In file included from ../include/libast_internal.h:53: >In file included from ../include/libast.h:42: >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" > ^ > clang -DHAVE_CONFIG_H -I. -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 >snprintf.c:45:22: error: unknown type name 'size_t' >vsnprintf(char *str, size_t count, const char *fmt, va_list args) > ^ >snprintf.c:53: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:53:13: note: include the header <string.h> or explicitly provide a > declaration for 'strlen' >snprintf.c:58:21: error: unknown type name 'size_t' >snprintf(char *str, size_t count, const char *fmt, ...) > ^ >snprintf.c:250: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:250:36: note: include the header <ctype.h> or explicitly provide a > declaration for 'iscntrl' >snprintf.c:250: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:250:51: note: include the header <ctype.h> or explicitly provide a > declaration for 'isspace' >snprintf.c:359: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:359:5: note: include the header <string.h> or explicitly provide a > declaration for 'strcpy' >snprintf.c:361: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:361:9: note: include the header <string.h> or explicitly provide a > declaration for 'strcat' >snprintf.c:363: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:363:9: note: include the header <stdio.h> or explicitly provide a > declaration for 'sprintf' >8 errors generated. >make[2]: *** [Makefile:330: snprintf.lo] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from strings.c:39: >In file included from ../include/libast_internal.h:53: >../include/libast.h:318:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(MAXFLOAT) > ^~~~~ > elif >../include/libast.h:320:4: warning: invalid preprocessing directive, did you > mean '#elif'? [-Wunknown-directives] ># elsif defined(HUGE) > ^~~~~ > elif >7 warnings generated. >3 warnings generated. >3 warnings generated. >make[2]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7/src' >make[1]: *** [Makefile:311: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7' >make: *** [Makefile:219: all] Error 2 > * ERROR: x11-libs/libast-0.7-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-libs/libast-0.7-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-libs/libast-0.7-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-libs:libast-0.7-r2:20220919-111521.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/libast-0.7-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libast-0.7-r2/temp/environment'. > * Working directory: '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7' > * S: '/var/tmp/portage/x11-libs/libast-0.7-r2/work/libast-0.7' >
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 871705
:
812794
|
812797
|
812800
|
812803
|
812806
|
812809
|
812812
| 812815