=> Building devel/openzz build started at Wed Oct 5 05:44:20 PDT 2016 port directory: /usr/ports/devel/openzz building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../01//usr/ports/devel/openzz/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=openzz-1.0.4.4_4 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/devel/openzz XDG_CONFIG_HOME=/wrkdirs/devel/openzz HOME=/wrkdirs/devel/openzz TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/devel/openzz XDG_CONFIG_HOME=/wrkdirs/devel/openzz HOME=/wrkdirs/devel/openzz TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/openzz" EXAMPLESDIR="share/examples/openzz" DATADIR="share/openzz" WWWDIR="www/openzz" ETCDIR="etc/openzz" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/openzz DOCSDIR=/usr/local/share/doc/openzz EXAMPLESDIR=/usr/local/share/examples/openzz WWWDIR=/usr/local/www/openzz ETCDIR=/usr/local/etc/openzz --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The openzz port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License LGPL21+ accepted by the user =========================================================================== =================================================== ===> openzz-1.0.4.4_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> openzz-1.0.4.4_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of openzz-1.0.4.4_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The openzz port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License LGPL21+ accepted by the user ===> Fetching all distfiles required by openzz-1.0.4.4_4 for building =========================================================================== =================================================== ===> NOTICE: The openzz port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License LGPL21+ accepted by the user ===> Fetching all distfiles required by openzz-1.0.4.4_4 for building => SHA256 Checksum OK for openzz-1.0.4-4.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The openzz port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License LGPL21+ accepted by the user ===> Fetching all distfiles required by openzz-1.0.4.4_4 for building ===> Extracting for openzz-1.0.4.4_4 => SHA256 Checksum OK for openzz-1.0.4-4.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for openzz-1.0.4.4_4 ===> Applying ports patches for openzz-1.0.4.4_4 =========================================================================== =================================================== =========================================================================== =================================================== ===> openzz-1.0.4.4_4 depends on shared library: libreadline.so.6 - not found ===> Installing existing package /packages/All/readline-6.3.8.txz Installing readline-6.3.8... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing ncurses-6.0_5... `-- Extracting ncurses-6.0_5: .......... done Extracting readline-6.3.8: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> openzz-1.0.4.4_4 depends on shared library: libreadline.so.6 - found (/usr/local/lib/libreadline.so.6) ===> Returning to build of openzz-1.0.4.4_4 =========================================================================== =================================================== ===> Configuring for openzz-1.0.4.4_4 configure: warning: x86_64-portbld-dragonfly4.7: invalid host type loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib) works... yes checking whether the C compiler (cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... cpp checking host system type... x86_64-portbld-dragonfly4.7 checking build system type... x86_64-portbld-dragonfly4.7 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... (cached) yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... dragonfly4.7 ld.so checking if libtool supports shared libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ranlib... (cached) ranlib checking for a BSD compatible install... /usr/bin/install -c checking for tputs in -ltermcap... no checking for readline in -lreadline... yes checking for dlopen in -ldl... yes checking for ANSI C header files... (cached) yes checking for working const... yes checking for inline... inline checking for size_t... (cached) yes checking for strdup... (cached) yes checking for strtol... (cached) yes checking for main in -lm... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating doc/Makefile creating doc/src/Makefile creating testsuite/Makefile creating config.h =========================================================================== =================================================== ===> Building for openzz-1.0.4.4_4 --- ./config.h.in --- --- all-recursive-am --- /usr/bin/make all-recursive --- all-recursive --- Making all in src --- defopen.lo --- --- avl.lo --- --- printz.lo --- --- action.lo --- --- dumpnet.lo --- --- defopen.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c defopen.c --- avl.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c avl.c --- printz.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c printz.c --- action.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c action.c --- dumpnet.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c dumpnet.c --- avl.lo --- mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c avl.c -fPIC -DPIC -o .libs/avl.lo --- dumpnet.lo --- rm -f .libs/dumpnet.lo --- avl.lo --- avl.c:195:2: warning: #warning "memmgr: mixed macro/inlinefun implementation" [-Wcpp] #warning "memmgr: mixed macro/inlinefun implementation" ^ --- dumpnet.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c dumpnet.c -fPIC -DPIC -o .libs/dumpnet.lo --- defopen.lo --- rm -f .libs/defopen.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c defopen.c -fPIC -DPIC -o .libs/defopen.lo --- action.lo --- rm -f .libs/action.lo --- printz.lo --- rm -f .libs/printz.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c printz.c -fPIC -DPIC -o .libs/printz.lo --- action.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c action.c -fPIC -DPIC -o .libs/action.lo action.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] action(rule,stack,ret) ^ action.c: In function 'action': action.c:79:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] caction = (int (*)())s_content_value(rule->action); ^ action.c:87:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] caction = (int (*)())s_content_value(rule->action); ^ action.c:201:9: warning: implicit declaration of function 'source_list' [-Wimplicit-function-declaration] source_list(&rule->action); ^ action.c:206:5: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] parse(root_nt); ^ action.c:211:9: warning: implicit declaration of function 'pop_source' [-Wimplicit-function-declaration] pop_source(); ^ action.c:262:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst=(struct s_list*)s_content_value(cnt); ^ action.c: At top level: action.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_action(action) ^ --- dumpnet.lo --- dumpnet.c:39:8: warning: return type defaults to 'int' [-Wimplicit-int] static dump_tran(string) ^ dumpnet.c: In function 'dump_tran': dumpnet.c:50:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buffer,"("); ^ dumpnet.c:50:7: warning: incompatible implicit declaration of built-in function 'strcat' dumpnet.c:50:7: note: include '' or provide a declaration of 'strcat' dumpnet.c:67:1: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buffer,string); ^ dumpnet.c:67:1: note: include '' or provide a declaration of 'strcat' dumpnet.c: In function 'dump_term_tran': dumpnet.c:117:1: warning: implicit declaration of function 'sprintz' [-Wimplicit-function-declaration] sprintz(buffer,"'%z' --> ",term); ^ dumpnet.c:123:6: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] else strcpy(tmp,"nil"); ^ dumpnet.c:123:6: warning: incompatible implicit declaration of built-in function 'strcpy' dumpnet.c:123:6: note: include '' or provide a declaration of 'strcpy' dumpnet.c:124:1: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buffer,tmp); ^ dumpnet.c:124:1: note: include '' or provide a declaration of 'strcat' dumpnet.c: In function 'dump_nt_tran': dumpnet.c:140:1: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,nt->name); ^ dumpnet.c:140:1: note: include '' or provide a declaration of 'strcpy' dumpnet.c:141:1: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buffer," --> "); ^ dumpnet.c:141:1: note: include '' or provide a declaration of 'strcat' dumpnet.c: At top level: dumpnet.c:154:8: warning: return type defaults to 'int' [-Wimplicit-int] static dump_rule(rule) ^ dumpnet.c: In function 'dump_rule': dumpnet.c:158:3: warning: implicit declaration of function 'printz' [-Wimplicit-function-declaration] printz(buffer,"reduce: %r", rule); ^ dumpnet.c: At top level: dumpnet.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpnet(ntname) ^ dumpnet.c: In function 'dumpnet': dumpnet.c:176:3: warning: implicit declaration of function 'do_dumpnet' [-Wimplicit-function-declaration] do_dumpnet(nt_list[i]); ^ dumpnet.c: At top level: dumpnet.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] do_dumpnet(nt) ^ --- action.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c action.c -o action.o >/dev/null 2>&1 --- dumpnet.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c dumpnet.c -o dumpnet.o >/dev/null 2>&1 --- defopen.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c defopen.c -o defopen.o >/dev/null 2>&1 --- dumpnet.lo --- mv -f .libs/dumpnet.lo dumpnet.lo --- err.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c err.c --- action.lo --- mv -f .libs/action.lo action.lo --- interface.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c interface.c --- defopen.lo --- mv -f .libs/defopen.lo defopen.lo --- kernel.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c kernel.c --- err.lo --- rm -f .libs/err.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c err.c -fPIC -DPIC -o .libs/err.lo --- interface.lo --- rm -f .libs/interface.lo --- err.lo --- err.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] open_err_file() ^ err.c: In function 'open_err_file': err.c:69:4: warning: implicit declaration of function 'get_source_file' [-Wimplicit-function-declaration] get_source_file(err_file); ^ err.c:70:4: warning: implicit declaration of function 'change_filetype' [-Wimplicit-function-declaration] change_filetype(err_file,".err"); ^ err.c: In function 'errprintf': err.c:92:1: warning: implicit declaration of function 'do_printz' [-Wimplicit-function-declaration] do_printz(stderr,err_chan,0,fmt,&ap); ^ err.c: In function 'zz_error': err.c:103:1: warning: implicit declaration of function 'error_head' [-Wimplicit-function-declaration] error_head(type); ^ err.c:107:1: warning: implicit declaration of function 'error_tail' [-Wimplicit-function-declaration] error_tail(); ^ --- interface.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c interface.c -fPIC -DPIC -o .libs/interface.lo --- err.lo --- err.c: In function 'zz_error_1': err.c:119:1: warning: implicit declaration of function 'error_tail_1' [-Wimplicit-function-declaration] error_tail_1(); ^ err.c: At top level: err.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] error_head(type) ^ err.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] error_tail() ^ err.c: In function 'error_tail': err.c:242:1: warning: implicit declaration of function 'fprint_source_position' [-Wimplicit-function-declaration] fprint_source_position(stderr,0); ^ err.c:243:1: warning: implicit declaration of function 'fprint_param' [-Wimplicit-function-declaration] fprint_param(stderr); ^ err.c:249:1: warning: implicit declaration of function 'check_error_max_number' [-Wimplicit-function-declaration] check_error_max_number(); ^ err.c: At top level: err.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] error_tail_1() ^ err.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] error_token(cnt) ^ err.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] print_error_count() ^ err.c:302:1: warning: return type defaults to 'int' [-Wimplicit-int] get_error_number() ^ err.c:309:1: warning: return type defaults to 'int' [-Wimplicit-int] syntax_error(info_routine) ^ err.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] check_error_max_number() ^ err.c: In function 'check_error_max_number': err.c:343:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ err.c:343:4: warning: incompatible implicit declaration of built-in function 'exit' err.c:343:4: note: include '' or provide a declaration of 'exit' err.c: At top level: err.c:347:1: warning: return type defaults to 'int' [-Wimplicit-int] set_max_error_n(argc,argv,ret) ^ err.c: In function 'set_max_error_n': err.c:352:15: warning: 'return' with no value, in function returning non-void if(argc!=1) return; ^ --- printz.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c printz.c -o printz.o >/dev/null 2>&1 --- interface.lo --- interface.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_open(s) ^ interface.c: In function 'zz_bind_open': interface.c:35:5: warning: implicit declaration of function 'init_zlex' [-Wimplicit-function-declaration] init_zlex(); ^ interface.c:36:3: warning: implicit declaration of function 'open_rule' [-Wimplicit-function-declaration] open_rule(zlex_strsave(s)); ^ interface.c: At top level: interface.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_match(s) ^ interface.c: In function 'zz_bind_match': interface.c:45:3: warning: implicit declaration of function 'append_nt_bead' [-Wimplicit-function-declaration] append_nt_bead(zlex_strsave(s),0); ^ interface.c: At top level: interface.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_keyword(s) ^ interface.c: In function 'zz_bind_keyword': interface.c:57:3: warning: implicit declaration of function 'append_t_bead' [-Wimplicit-function-declaration] append_t_bead(&cnt); ^ interface.c: At top level: interface.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_close() ^ interface.c: In function 'zz_bind_close': interface.c:65:3: warning: implicit declaration of function 'insert_rule' [-Wimplicit-function-declaration] insert_rule(0,close_rule()); ^ interface.c:65:17: warning: implicit declaration of function 'close_rule' [-Wimplicit-function-declaration] insert_rule(0,close_rule()); ^ interface.c: At top level: interface.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_call(proc) ^ interface.c: In function 'zz_bind_call': interface.c:74:3: warning: implicit declaration of function 'setaction_exesproc' [-Wimplicit-function-declaration] setaction_exesproc(proc,tag_none); ^ interface.c: At top level: interface.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_call_fun(proc,tag) ^ interface.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_call_fun_tag(proc,tag) ^ interface.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_call_exe_proc(proc,tag) ^ interface.c: In function 'zz_bind_call_exe_proc': interface.c:104:3: warning: implicit declaration of function 'setaction_exeproc' [-Wimplicit-function-declaration] setaction_exeproc(proc,find_tag(tag)); ^ interface.c: At top level: interface.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_call_exe_no_tag(proc) ^ interface.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_bind_pass() ^ interface.c: In function 'zz_bind_pass': interface.c:121:3: warning: implicit declaration of function 'setaction_pass' [-Wimplicit-function-declaration] setaction_pass(); ^ cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c interface.c -o interface.o >/dev/null 2>&1 --- kernel.lo --- rm -f .libs/kernel.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c kernel.c -fPIC -DPIC -o .libs/kernel.lo kernel.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] kernel() ^ In file included from kernel.c:22:0: kernel.c: In function 'kernel': zlex.h:48:39: warning: implicit declaration of function 'init_zlex' [-Wimplicit-function-declaration] #define INIT_ZLEX {if(!init_zlex_done)init_zlex();} ^ kernel.h:23:18: note: in expansion of macro 'INIT_ZLEX' #define OPEN(S) {INIT_ZLEX open_rule(zlex_strsave( #S ));} ^ kernel.c:32:1: note: in expansion of macro 'OPEN' OPEN(root) GSB(statlist) M_EOF END ^ In file included from kernel.c:23:0: kernel.h:23:28: warning: implicit declaration of function 'open_rule' [-Wimplicit-function-declaration] #define OPEN(S) {INIT_ZLEX open_rule(zlex_strsave( #S ));} ^ kernel.c:32:1: note: in expansion of macro 'OPEN' OPEN(root) GSB(statlist) M_EOF END ^ kernel.h:24:17: warning: implicit declaration of function 'append_nt_bead' [-Wimplicit-function-declaration] #define GSB(S) append_nt_bead(zlex_strsave( #S),0); ^ kernel.c:32:12: note: in expansion of macro 'GSB' OPEN(root) GSB(statlist) M_EOF END ^ kernel.h:28:26: warning: implicit declaration of function 'append_t_bead' [-Wimplicit-function-declaration] s_content_value(cnt)=0;append_t_bead(&cnt);} ^ kernel.c:32:26: note: in expansion of macro 'M_EOF' OPEN(root) GSB(statlist) M_EOF END ^ kernel.h:29:17: warning: implicit declaration of function 'insert_rule' [-Wimplicit-function-declaration] #define END insert_rule(0,close_rule()); ^ kernel.c:32:32: note: in expansion of macro 'END' OPEN(root) GSB(statlist) M_EOF END ^ kernel.h:29:31: warning: implicit declaration of function 'close_rule' [-Wimplicit-function-declaration] #define END insert_rule(0,close_rule()); ^ kernel.c:32:32: note: in expansion of macro 'END' OPEN(root) GSB(statlist) M_EOF END ^ kernel.c:39:1: warning: implicit declaration of function 'set_recovery' [-Wimplicit-function-declaration] set_recovery("statlist","\n;"); ^ kernel.c:40:1: warning: implicit declaration of function 'set_nt_prompt' [-Wimplicit-function-declaration] set_nt_prompt("statlist",zz_get_prompt()); ^ In file included from kernel.c:23:0: kernel.h:41:14: warning: implicit declaration of function 'setaction_list' [-Wimplicit-function-declaration] #define LIST setaction_list(); ^ kernel.c:45:26: note: in expansion of macro 'LIST' OPEN($arglist) GSB($arg) LIST END ^ kernel.h:42:16: warning: implicit declaration of function 'setaction_append' [-Wimplicit-function-declaration] #define APPEND setaction_append(); ^ kernel.c:46:47: note: in expansion of macro 'APPEND' OPEN($arglist) GSB($arglist) M(",") GSB($arg) APPEND END ^ kernel.h:40:14: warning: implicit declaration of function 'setaction_pass' [-Wimplicit-function-declaration] #define PASS setaction_pass(); ^ kernel.c:48:23: note: in expansion of macro 'PASS' OPEN($arg) GSB(num_e) PASS END ^ kernel.h:46:29: warning: implicit declaration of function 'setaction_exeproc' [-Wimplicit-function-declaration] #define PROC(P) {int P(); setaction_exeproc(P,0);} ^ kernel.c:58:49: note: in expansion of macro 'PROC' OPEN($cond) GSB(string_e) M("==") GSB(string_e) PROC(s_eq) END ^ --- interface.lo --- mv -f .libs/interface.lo interface.lo --- lazy.lo --- --- kernel.lo --- kernel.h:49:29: warning: implicit declaration of function 'setaction_exesproc' [-Wimplicit-function-declaration] #define SFUN(T,P) {int P(); setaction_exesproc(P,T);} ^ kernel.c:149:45: note: in expansion of macro 'SFUN' OPEN(string_t) M("$(") GSB(string_e) M(")") SFUN(tag_qstring,s_getenv) END ^ kernel.h:38:6: warning: implicit declaration of function 'setaction_return' [-Wimplicit-function-declaration] setaction_return(&tmp,tmp.tag->name);} ^ kernel.c:150:23: note: in expansion of macro 'RETURN_IDENT' OPEN(string_t) M("$") RETURN_IDENT("$") END ^ --- lazy.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c lazy.c --- kernel.lo --- kernel.h:43:15: warning: implicit declaration of function 'setaction_merge' [-Wimplicit-function-declaration] #define MERGE setaction_merge(); ^ kernel.c:156:47: note: in expansion of macro 'MERGE' OPEN(list_e) GSB(list_e) M("&") GSB($list_f) MERGE END ^ kernel.h:44:19: warning: implicit declaration of function 'setaction_merge_all' [-Wimplicit-function-declaration] #define MERGE_ALL setaction_merge_all(); ^ kernel.c:169:67: note: in expansion of macro 'MERGE_ALL' OPEN($flow_block) GSB($flow_block) M("{") GSB($flow_block) M("}") MERGE_ALL END ^ --- err.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c err.c -o err.o >/dev/null 2>&1 --- lazy.lo --- rm -f .libs/lazy.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c lazy.c -fPIC -DPIC -o .libs/lazy.lo lazy.c: In function 'lazy_search': lazy.c:67:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] node = (struct s_l_node *)malloc(sizeof(struct s_l_node)); ^ lazy.c:67:27: warning: incompatible implicit declaration of built-in function 'malloc' lazy.c:67:27: note: include '' or provide a declaration of 'malloc' lazy.c:71:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] node->dots=(struct s_dot**)calloc(n,sizeof(struct s_dot *)); ^ lazy.c:71:28: warning: incompatible implicit declaration of built-in function 'calloc' lazy.c:71:28: note: include '' or provide a declaration of 'calloc' lazy.c:72:1: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(node->dots,dots,n*sizeof(struct s_dot*)); ^ lazy.c:72:1: warning: incompatible implicit declaration of built-in function 'memcpy' lazy.c:72:1: note: include '' or provide a declaration of 'memcpy' lazy.c: At top level: lazy.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] lazy_rec(dots,len) ^ lazy.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] print_lazy_report() ^ --- printz.lo --- mv -f .libs/printz.lo printz.lo --- list.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c list.c --- err.lo --- mv -f .libs/err.lo err.lo --- param.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c param.c --- lazy.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c lazy.c -o lazy.o >/dev/null 2>&1 mv -f .libs/lazy.lo lazy.lo --- parse.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c parse.c --- param.lo --- rm -f .libs/param.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c param.c -fPIC -DPIC -o .libs/param.lo param.c: In function 'new_param_pair': param.c:55:33: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] pair = (struct s_param_pair*)malloc(sizeof(struct s_param_pair)); ^ param.c:55:33: warning: incompatible implicit declaration of built-in function 'malloc' param.c:55:33: note: include '' or provide a declaration of 'malloc' param.c: At top level: param.c:67:8: warning: return type defaults to 'int' [-Wimplicit-int] static free_param_pair(pair) ^ param.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] push_param_scope() ^ param.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] pop_param_scope() ^ param.c: In function 'set_param': param.c:123:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(name,"$")==0) ^ param.c: At top level: param.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] gset_param(char *name, struct s_content *cnt) ^ param.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] gnset_param(name,cnt,delta) ^ param.c:226:1: warning: return type defaults to 'int' [-Wimplicit-int] unset_param(name) ^ param.c: In function 'unset_param': param.c:234:9: warning: 'return' with no value, in function returning non-void if(i<0) return; ^ param.c: At top level: param.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] param_substitute(token,paramname) ^ param.c: In function 'param_substitute': param.c:268:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] name = (char*)s_content_value(*token); ^ param.c: At top level: param.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] local_param_substitute(token,paramname) ^ param.c: In function 'local_param_substitute': param.c:297:27: warning: 'return' with no value, in function returning non-void if(token->tag!=tag_ident) return; ^ param.c:298:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] name = (char*)s_content_value(*token); ^ param.c:310:7: warning: 'return' with no value, in function returning non-void return; ^ param.c: At top level: param.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] s_param_filter(argc,argv,ret) ^ param.c: In function 's_param_filter': param.c:324:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] name = (char*)s_content_value(argv[0]); ^ param.c: At top level: param.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int] list_params() ^ param.c:375:1: warning: return type defaults to 'int' [-Wimplicit-int] show_param_memory() ^ --- list.lo --- rm -f .libs/list.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c list.c -fPIC -DPIC -o .libs/list.lo list.c: In function 'create_list': list.c:49:27: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] lst = (struct s_list *) malloc(sizeof(struct s_list)); ^ list.c:49:27: warning: incompatible implicit declaration of built-in function 'malloc' list.c:49:27: note: include '' or provide a declaration of 'malloc' list.c:55:37: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] lst->array = (struct s_content *) calloc(lst->size,sizeof(struct s_content)); ^ list.c:55:37: warning: incompatible implicit declaration of built-in function 'calloc' list.c:55:37: note: include '' or provide a declaration of 'calloc' list.c: In function 'delete_list': list.c:70:70: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] {printf("Internal error - delete_list; argument must be LIST\n");exit(1);} ^ list.c:70:70: warning: incompatible implicit declaration of built-in function 'exit' list.c:70:70: note: include '' or provide a declaration of 'exit' list.c:71:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c:73:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(lst->array); ^ list.c:73:3: warning: incompatible implicit declaration of built-in function 'free' list.c:73:3: note: include '' or provide a declaration of 'free' list.c: In function 'copy_list': list.c:93:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ list.c:93:5: note: include '' or provide a declaration of 'exit' list.c:95:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] source_lst = (struct s_list *) s_content_value(*source); ^ list.c:97:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] target_lst = (struct s_list *) s_content_value(*target); ^ list.c: In function 'append_to_list': list.c:116:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:116:4: note: include '' or provide a declaration of 'exit' list.c:118:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt1); ^ list.c:124:7: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] realloc(lst->array,sizeof(struct s_content)*lst->size); ^ list.c:124:7: warning: incompatible implicit declaration of built-in function 'realloc' list.c:124:7: note: include '' or provide a declaration of 'realloc' list.c: In function 's_concat_list': list.c:141:26: warning: incompatible implicit declaration of built-in function 'calloc' cnt=(struct s_content *)calloc(1,sizeof(struct s_content)); ^ list.c:141:26: note: include '' or provide a declaration of 'calloc' list.c:146:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:146:5: note: include '' or provide a declaration of 'exit' list.c:147:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst1 = (struct s_list *) s_content_value(*cnt1); ^ list.c:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst2 = (struct s_list *) s_content_value(*cnt2); ^ list.c:151:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'merge_list': list.c:176:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ list.c:176:5: note: include '' or provide a declaration of 'exit' list.c:179:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst1 = (struct s_list *) s_content_value(*cnt1); ^ list.c:180:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst2 = (struct s_list *) s_content_value(*cnt2); ^ list.c:187:7: warning: incompatible implicit declaration of built-in function 'realloc' realloc(lst1->array,sizeof(struct s_content)*lst1->size); ^ list.c:187:7: note: include '' or provide a declaration of 'realloc' list.c: In function 'get_list_size': list.c:215:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:215:4: note: include '' or provide a declaration of 'exit' list.c:216:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'get_list_pos': list.c:228:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:228:4: note: include '' or provide a declaration of 'exit' list.c:229:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'list_seek': list.c:242:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:242:4: note: include '' or provide a declaration of 'exit' list.c:243:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'list_extract': list.c:259:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:259:4: note: include '' or provide a declaration of 'exit' list.c:260:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'next_list_item': list.c:275:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:275:4: note: include '' or provide a declaration of 'exit' list.c:276:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'sprint_list': list.c:314:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(string,buffer); ^ list.c:314:4: warning: incompatible implicit declaration of built-in function 'strcpy' list.c:314:4: note: include '' or provide a declaration of 'strcpy' list.c: In function 'fprint_list_image': list.c:330:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list*)s_content_value(*cnt); ^ list.c: In function 'sprint_list_image': list.c:347:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *)s_content_value(*cnt); ^ list.c:353:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(string,buffer); ^ list.c:353:4: note: include '' or provide a declaration of 'strcpy' list.c: In function 'print_list': list.c:370:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1);} ^ list.c:370:4: note: include '' or provide a declaration of 'exit' list.c:371:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ list.c: In function 'dump_list': list.c:400:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ list.c:400:5: note: include '' or provide a declaration of 'exit' list.c:403:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(*cnt); ^ --- parse.lo --- rm -f .libs/parse.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c parse.c -fPIC -DPIC -o .libs/parse.lo parse.c:34:8: warning: type defaults to 'int' in declaration of 'max_dot' [-Wimplicit-int] static max_dot=0,tot_dot=0,ndot=0,max_sp=0; ^ parse.c:34:18: warning: type defaults to 'int' in declaration of 'tot_dot' [-Wimplicit-int] static max_dot=0,tot_dot=0,ndot=0,max_sp=0; ^ parse.c:34:28: warning: type defaults to 'int' in declaration of 'ndot' [-Wimplicit-int] static max_dot=0,tot_dot=0,ndot=0,max_sp=0; ^ parse.c:34:35: warning: type defaults to 'int' in declaration of 'max_sp' [-Wimplicit-int] static max_dot=0,tot_dot=0,ndot=0,max_sp=0; ^ parse.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] make_closure() ^ parse.c: In function 'lr_add_nt': parse.c:144:51: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:207:4: note: in expansion of macro 'LR_AddDot' LR_AddDot(dot); ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:207:4: note: in expansion of macro 'LR_AddDot' LR_AddDot(dot); ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:207:4: note: in expansion of macro 'LR_AddDot' LR_AddDot(dot); ^ parse.c: At top level: parse.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] try_shift(set_index) ^ parse.c: In function 'try_shift': parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:245:11: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:245:11: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:252:11: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:252:11: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:261:7: note: in expansion of macro 'LR_AddDot' LR_AddDot(ttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:261:7: note: in expansion of macro 'LR_AddDot' LR_AddDot(ttran->next) ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:267:7: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:267:7: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:275:10: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:275:10: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:285:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(set_index) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:285:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(set_index) ^ parse.c: At top level: parse.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] check_shift(set_index) ^ parse.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] try_reduce(set_index,rule) ^ parse.c: In function 'try_reduce': parse.c:335:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt=(struct s_nt *)s_content_value(rule->beads[0].cnt); ^ parse.c:339:61: warning: incompatible implicit declaration of built-in function 'exit' if(i<0) {zz_error(INTERNAL_ERROR,"try_reduce: stack empty");exit(1);} ^ parse.c:339:61: note: include '' or provide a declaration of 'exit' parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:350:13: note: in expansion of macro 'LR_AddDot' if(tran) LR_AddDot(tran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:350:13: note: in expansion of macro 'LR_AddDot' if(tran) LR_AddDot(tran->next) ^ parse.c:355:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ parse.c:355:4: note: include '' or provide a declaration of 'exit' parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:358:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(oldset) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:358:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(oldset) ^ parse.c:366:40: warning: implicit declaration of function 'check_reduce' [-Wimplicit-function-declaration] if((rule1=dots[i]->rule)!=NULL && check_reduce(curset,rule1)) ^ parse.c: At top level: parse.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] check_reduce(set_index,rule) ^ parse.c: In function 'check_reduce': parse.c:399:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt=(struct s_nt *)s_content_value(rule->beads[0].cnt); ^ parse.c:403:63: warning: incompatible implicit declaration of built-in function 'exit' if(i<0) {zz_error(INTERNAL_ERROR,"check_reduce: stack empty");exit(1);} ^ parse.c:403:63: note: include '' or provide a declaration of 'exit' parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:411:13: note: in expansion of macro 'LR_AddDot' if(tran) LR_AddDot(tran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:411:13: note: in expansion of macro 'LR_AddDot' if(tran) LR_AddDot(tran->next) ^ parse.c:416:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ parse.c:416:4: note: include '' or provide a declaration of 'exit' parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:419:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(oldset) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:419:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(oldset) ^ parse.c: At top level: parse.c:438:1: warning: return type defaults to 'int' [-Wimplicit-int] lr_loop(main_nt) ^ parse.c: In function 'lr_loop': parse.c:474:8: warning: implicit declaration of function 'errprintf' [-Wimplicit-function-declaration] errprintf(" (%d) reduce %r\n",i,workarea[i].rule); ^ parse.c:488:6: warning: implicit declaration of function 'lr_reduce' [-Wimplicit-function-declaration] lr_reduce(rule,cur_set,&ret_token); ^ parse.c:79:23: warning: implicit declaration of function 'next_token' [-Wimplicit-function-declaration] cur_token.is_eof= !next_token(&(cur_token.cnt));\ ^ parse.c:531:8: note: in expansion of macro 'LR_NextToken' LR_NextToken; ^ parse.c:81:6: warning: implicit declaration of function 'param_substitute' [-Wimplicit-function-declaration] param_substitute(&(cur_token.cnt),&(cur_token.param_name));\ ^ parse.c:531:8: note: in expansion of macro 'LR_NextToken' LR_NextToken; ^ parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:538:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(old_set) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:538:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(old_set) ^ parse.c:543:37: warning: implicit declaration of function 'dump_stack' [-Wimplicit-function-declaration] {printz(" @ REDUCE %r\n",rule);dump_stack();} ^ parse.c: At top level: parse.c:556:1: warning: return type defaults to 'int' [-Wimplicit-int] lr_reduce(rule,set_index,ret_token) ^ parse.c: In function 'lr_reduce': parse.c:572:1: warning: implicit declaration of function 'action' [-Wimplicit-function-declaration] action(rule,valuestack+set_index,ret_token); ^ parse.c: At top level: parse.c:581:8: warning: return type defaults to 'int' [-Wimplicit-int] static add_expected(tag,value) ^ parse.c:611:8: warning: return type defaults to 'int' [-Wimplicit-int] static compute_expected_from_reduction(set_index,rule) ^ parse.c: In function 'compute_expected_from_reduction': parse.c:623:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt=(struct s_nt*)s_content_value(rule->beads[0].cnt); ^ parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:636:15: note: in expansion of macro 'LR_AddDot' if(nttran) LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:636:15: note: in expansion of macro 'LR_AddDot' if(nttran) LR_AddDot(nttran->next) ^ parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:644:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(set_index) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:644:1: note: in expansion of macro 'LR_PushSet' LR_PushSet(set_index) ^ parse.c: In function 'print_expected': parse.c:689:4: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buffer,"expected one of: "); ^ parse.c:689:4: warning: incompatible implicit declaration of built-in function 'strcat' parse.c:689:4: note: include '' or provide a declaration of 'strcat' parse.c:690:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] j=strlen(buffer); ^ parse.c:690:6: warning: incompatible implicit declaration of built-in function 'strlen' parse.c:690:6: note: include '' or provide a declaration of 'strlen' parse.c:695:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buffer+j,((struct s_nt*)s_content_value(expected[i]))->name); ^ parse.c:695:9: warning: incompatible implicit declaration of built-in function 'strcpy' parse.c:695:9: note: include '' or provide a declaration of 'strcpy' parse.c:695:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcpy(buffer+j,((struct s_nt*)s_content_value(expected[i]))->name); ^ parse.c:705:13: warning: incompatible implicit declaration of built-in function 'strcpy' i--;strcpy(buffer," ");j=strlen(buffer); ^ parse.c:705:13: note: include '' or provide a declaration of 'strcpy' parse.c: At top level: parse.c:715:1: warning: return type defaults to 'int' [-Wimplicit-int] recovery() ^ parse.c: In function 'recovery': parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:807:2: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:807:2: note: in expansion of macro 'LR_AddDot' LR_AddDot(nttran->next) ^ parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:810:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(j) ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:810:4: note: in expansion of macro 'LR_PushSet' LR_PushSet(j) ^ parse.c: At top level: parse.c:824:1: warning: return type defaults to 'int' [-Wimplicit-int] set_recovery(ntname,termlist) ^ parse.c: In function 'set_recovery': parse.c:835:57: warning: 'return' with no value, in function returning non-void printf("set_recovery: too many recovery pairs\n");return; ^ parse.c:843:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(recovery_array[i].termlist); ^ parse.c:843:6: warning: incompatible implicit declaration of built-in function 'free' parse.c:843:6: note: include '' or provide a declaration of 'free' parse.c:845:37: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] recovery_array[i].termlist = (char*)malloc(strlen(termlist)+1); ^ parse.c:845:37: warning: incompatible implicit declaration of built-in function 'malloc' parse.c:845:37: note: include '' or provide a declaration of 'malloc' parse.c:845:44: warning: incompatible implicit declaration of built-in function 'strlen' recovery_array[i].termlist = (char*)malloc(strlen(termlist)+1); ^ parse.c:845:44: note: include '' or provide a declaration of 'strlen' parse.c:846:1: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(recovery_array[i].termlist,termlist); ^ parse.c:846:1: note: include '' or provide a declaration of 'strcpy' parse.c: In function 'find_prompt': parse.c:873:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt=(struct s_nt*)s_content_value(dot->rule->beads[0].cnt); ^ parse.c: At top level: parse.c:892:1: warning: return type defaults to 'int' [-Wimplicit-int] set_nt_prompt(ntname,prompt) ^ parse.c:909:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_dot(dot,off) ^ parse.c:933:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_stack() ^ parse.c:961:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_set(set_index) ^ parse.c:978:1: warning: return type defaults to 'int' [-Wimplicit-int] write_dot_stat() ^ parse.c:986:1: warning: return type defaults to 'int' [-Wimplicit-int] print_report() ^ parse.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_param(chan) ^ parse.c:1011:1: warning: return type defaults to 'int' [-Wimplicit-int] parse(start_nt) ^ parse.c: In function 'parse': parse.c:144:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:1028:3: note: in expansion of macro 'LR_AddDot' LR_AddDot(start_nt->first_dot); ^ parse.c:144:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"dot_pool overflow");exit(1);}\ ^ parse.c:1028:3: note: in expansion of macro 'LR_AddDot' LR_AddDot(start_nt->first_dot); ^ parse.c:160:51: warning: incompatible implicit declaration of built-in function 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:1030:3: note: in expansion of macro 'LR_PushSet' LR_PushSet(-1); ^ parse.c:160:51: note: include '' or provide a declaration of 'exit' {zz_error(INTERNAL_ERROR,"lrstack overflow");exit(1);}\ ^ parse.c:1030:3: note: in expansion of macro 'LR_PushSet' LR_PushSet(-1); ^ parse.c:1037:18: warning: implicit declaration of function 'syntax_error' [-Wimplicit-function-declaration] if(ret==0) syntax_error(print_expected); ^ parse.c:1048:6: warning: implicit declaration of function 'get_error_number' [-Wimplicit-function-declaration] if(get_error_number()) ^ --- param.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c param.c -o param.o >/dev/null 2>&1 --- list.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c list.c -o list.o >/dev/null 2>&1 --- param.lo --- mv -f .libs/param.lo param.lo --- rule.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c rule.c --- list.lo --- mv -f .libs/list.lo list.lo --- scope.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c scope.c --- rule.lo --- rm -f .libs/rule.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c rule.c -fPIC -DPIC -o .libs/rule.lo --- scope.lo --- rm -f .libs/scope.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c scope.c -fPIC -DPIC -o .libs/scope.lo --- rule.lo --- rule.c: In function 'find_nt': rule.c:130:26: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] nt = (struct s_nt*)calloc(1,sizeof(struct s_nt)); ^ rule.c:130:26: warning: incompatible implicit declaration of built-in function 'calloc' rule.c:130:26: note: include '' or provide a declaration of 'calloc' rule.c:131:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] nt->name = (char*)malloc(strlen(name)+1); ^ rule.c:131:25: warning: incompatible implicit declaration of built-in function 'malloc' rule.c:131:25: note: include '' or provide a declaration of 'malloc' rule.c:131:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nt->name = (char*)malloc(strlen(name)+1); ^ rule.c:131:32: warning: incompatible implicit declaration of built-in function 'strlen' rule.c:131:32: note: include '' or provide a declaration of 'strlen' rule.c:133:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(nt->name,name); ^ rule.c:133:7: warning: incompatible implicit declaration of built-in function 'strcpy' rule.c:133:7: note: include '' or provide a declaration of 'strcpy' rule.c: In function 'open_rule': rule.c:174:3: warning: implicit declaration of function 'param_substitute' [-Wimplicit-function-declaration] param_substitute(&tmp1,&tmp2); ^ rule.c:175:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ntname = (char*)s_content_value(tmp1); ^ rule.c:179:31: warning: incompatible implicit declaration of built-in function 'calloc' cur_rule = (struct s_rule *)calloc(1,sizeof(struct s_rule)); ^ rule.c:179:31: note: include '' or provide a declaration of 'calloc' rule.c: In function 'close_rule': rule.c:359:5: warning: incompatible implicit declaration of built-in function 'calloc' calloc(rule->bead_n,sizeof(struct s_bead)); ^ rule.c:359:5: note: include '' or provide a declaration of 'calloc' rule.c:364:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(beads); ^ rule.c:364:3: warning: incompatible implicit declaration of built-in function 'free' rule.c:364:3: note: include '' or provide a declaration of 'free' rule.c: In function 'append_t_bead': rule.c:400:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (char*)s_content_value(*cnt); ^ rule.c: In function 'fprint_rule': rule.c:444:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt = (struct s_nt*) s_content_value(rule->beads[0].cnt); ^ rule.c:450:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((struct s_nt*)s_content_value(rule->beads[i].cnt))->name, ^ rule.c: In function 'sprint_rule': rule.c:469:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"(nil)"); ^ rule.c:469:5: note: include '' or provide a declaration of 'strcpy' rule.c:471:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"(nil)-> "); ^ rule.c:471:5: note: include '' or provide a declaration of 'strcpy' rule.c:474:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt = (struct s_nt*) s_content_value(rule->beads[0].cnt); ^ rule.c:475:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,nt->name); ^ rule.c:475:7: note: include '' or provide a declaration of 'strcpy' rule.c:476:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buffer," ->"); ^ rule.c:476:7: warning: incompatible implicit declaration of built-in function 'strcat' rule.c:476:7: note: include '' or provide a declaration of 'strcat' rule.c:477:18: warning: incompatible implicit declaration of built-in function 'strlen' s = buffer+strlen(buffer); ^ rule.c:477:18: note: include '' or provide a declaration of 'strlen' rule.c:482:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((struct s_nt*)s_content_value(rule->beads[i].cnt))->name, ^ rule.c: In function 'do_delete_scope_action': rule.c:517:4: warning: implicit declaration of function 'source_list' [-Wimplicit-function-declaration] source_list(&rule->when_exit_scope); ^ rule.c:518:4: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] parse(find_nt("root")); ^ rule.c:519:4: warning: implicit declaration of function 'pop_source' [-Wimplicit-function-declaration] pop_source(); ^ rule.c: In function 'free_rule': rule.c:529:3: warning: incompatible implicit declaration of built-in function 'free' free(rule->beads); ^ rule.c:529:3: note: include '' or provide a declaration of 'free' --- scope.lo --- scope.c: In function 'find_scope': scope.c:68:30: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] scope = (struct s_scope *)calloc(1,sizeof(struct s_scope)); ^ scope.c:68:30: warning: incompatible implicit declaration of built-in function 'calloc' scope.c:68:30: note: include '' or provide a declaration of 'calloc' scope.c: At top level: scope.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_push_scope(scope_name) ^ scope.c: In function 'zz_push_scope': scope.c:88:46: warning: 'return' with no value, in function returning non-void if(scope) {zz_error(ERROR,"duplicate scope");return;} ^ scope.c: At top level: scope.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_and_push_scope(scope_name) ^ scope.c: In function 'delete_and_push_scope': scope.c:102:1: warning: implicit declaration of function 'delete_scope' [-Wimplicit-function-declaration] delete_scope(scope_name); ^ scope.c: At top level: scope.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_pop_scope() ^ scope.c: In function 'zz_pop_scope': scope.c:112:56: warning: 'return' with no value, in function returning non-void {zz_error(ERROR,"you can't remove the kernel scope");return;} ^ scope.c: At top level: scope.c:216:1: warning: return type defaults to 'int' [-Wimplicit-int] insert_rule(scope_name,rule) ^ scope.c: In function 'insert_rule': scope.c:241:7: warning: implicit declaration of function 'source_list' [-Wimplicit-function-declaration] source_list(&oldrule->when_change_action); ^ scope.c:242:7: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] parse(find_nt("root")); ^ scope.c:243:7: warning: implicit declaration of function 'pop_source' [-Wimplicit-function-declaration] pop_source(); ^ scope.c:245:23: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if(oldrule->beads) free(oldrule->beads); ^ scope.c:245:23: warning: incompatible implicit declaration of built-in function 'free' scope.c:245:23: note: include '' or provide a declaration of 'free' scope.c:257:4: warning: incompatible implicit declaration of built-in function 'free' free(rule); ^ scope.c:257:4: note: include '' or provide a declaration of 'free' scope.c: At top level: scope.c:314:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_scope(name) ^ scope.c: In function 'delete_scope': scope.c:323:4: warning: 'return' with no value, in function returning non-void return; ^ scope.c:325:4: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(name,"kernel")==0) ^ scope.c:326:56: warning: 'return' with no value, in function returning non-void {zz_error(ERROR,"you can't remove the kernel scope");return;} ^ scope.c:329:51: warning: 'return' with no value, in function returning non-void {/*zz_error(ERROR,"scope %s not found",name);*/ return;} ^ scope.c:337:61: warning: 'return' with no value, in function returning non-void {zz_error(ERROR,"you can't remove the last scope");return;} ^ scope.c:343:29: warning: passing argument 2 of 'avl_release' from incompatible pointer type [-Wincompatible-pointer-types] avl_release(scope->rules,free_rule); ^ In file included from scope.c:25:0: avl.h:246:6: note: expected 'UsrFun {aka void (*)(void *, void *)}' but argument is of type 'void (*)(void *)' void avl_release (TREE *tree, UsrFun); ^ scope.c:345:4: warning: incompatible implicit declaration of built-in function 'free' free(scope); ^ scope.c:345:4: note: include '' or provide a declaration of 'free' scope.c:349:29: warning: passing argument 2 of 'avl_release' from incompatible pointer type [-Wincompatible-pointer-types] avl_release(scope->rules,free_rule); ^ In file included from scope.c:25:0: avl.h:246:6: note: expected 'UsrFun {aka void (*)(void *, void *)}' but argument is of type 'void (*)(void *)' void avl_release (TREE *tree, UsrFun); ^ scope.c:351:4: warning: incompatible implicit declaration of built-in function 'free' free(scope); ^ scope.c:351:4: note: include '' or provide a declaration of 'free' scope.c: In function 'do_list_rule': scope.c:371:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt = (struct s_nt*) s_content_value(rule->beads[0].cnt); ^ scope.c: At top level: scope.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] list_all_rules() {do_list_rules(0,0);} ^ scope.c: In function 'list_all_rules': scope.c:381:19: warning: implicit declaration of function 'do_list_rules' [-Wimplicit-function-declaration] list_all_rules() {do_list_rules(0,0);} ^ scope.c: At top level: scope.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] list_all_krules() {do_list_rules(0,1);} ^ scope.c:383:1: warning: return type defaults to 'int' [-Wimplicit-int] list_rules(s)char*s; {do_list_rules(s,0);} ^ scope.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] list_krules(s)char*s; {do_list_rules(s,1);} ^ scope.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] do_list_rules(sintname,kflag) ^ scope.c:433:1: warning: return type defaults to 'int' [-Wimplicit-int] write_rules(filename) ^ scope.c: In function 'write_rules': scope.c:439:61: warning: 'return' with no value, in function returning non-void if(!Uchan) {zz_error(ERROR,"Unable to write %s\n",filename);return;} ^ --- rule.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c rule.c -o rule.o >/dev/null 2>&1 --- scope.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c scope.c -o scope.o >/dev/null 2>&1 --- rule.lo --- mv -f .libs/rule.lo rule.lo --- source.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c source.c --- scope.lo --- mv -f .libs/scope.lo scope.lo --- sys.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c sys.c --- source.lo --- rm -f .libs/source.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c source.c -fPIC -DPIC -o .libs/source.lo source.c: In function 'zz_set_output': source.c:84:67: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] printf("zz: unable to open output file %s (%s)\n",filename, strerror(errno)); ^ In file included from source.c:33:0: source.c: In function 'new_source': zlex.h:48:39: warning: implicit declaration of function 'init_zlex' [-Wimplicit-function-declaration] #define INIT_ZLEX {if(!init_zlex_done)init_zlex();} ^ source.c:110:3: note: in expansion of macro 'INIT_ZLEX' INIT_ZLEX /* For safety */ ^ source.c:114:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ source.c:114:7: warning: incompatible implicit declaration of built-in function 'exit' source.c:114:7: note: include '' or provide a declaration of 'exit' source.c:119:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ source.c:119:7: note: include '' or provide a declaration of 'exit' source.c: At top level: source.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] pop_source() ^ source.c: In function 'pop_source': source.c:149:17: warning: 'return' with no value, in function returning non-void if(!cur_source) return; ^ source.c:153:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cur_source->src.file.filename); ^ source.c:153:4: warning: incompatible implicit declaration of built-in function 'free' source.c:153:4: note: include '' or provide a declaration of 'free' source.c: At top level: source.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] source_file(filename) ^ source.c: In function 'source_file': source.c:184:42: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cur_source->src.file.filename = (char*)malloc(strlen(filename)+1); ^ source.c:184:42: warning: incompatible implicit declaration of built-in function 'malloc' source.c:184:42: note: include '' or provide a declaration of 'malloc' source.c:184:49: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cur_source->src.file.filename = (char*)malloc(strlen(filename)+1); ^ source.c:184:49: warning: incompatible implicit declaration of built-in function 'strlen' source.c:184:49: note: include '' or provide a declaration of 'strlen' source.c:185:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(cur_source->src.file.filename,filename); ^ source.c:185:3: warning: incompatible implicit declaration of built-in function 'strcpy' source.c:185:3: note: include '' or provide a declaration of 'strcpy' source.c: At top level: source.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] source_pipe() ^ source.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] source_list(list,id) ^ source.c: In function 'source_list': source.c:216:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ source.c:216:7: note: include '' or provide a declaration of 'exit' source.c: At top level: source.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] stop_source() ^ source.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] next_token(token) ^ source.c: In function 'next_token_file': source.c:319:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ret = (int) fgets(cur_source->src.file.row,132,cur_source->src.file.chan); ^ source.c: In function 'zz_parse_pipe': source.c:385:9: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] ret = parse(find_nt("root")); ^ source.c:385:15: warning: implicit declaration of function 'find_nt' [-Wimplicit-function-declaration] ret = parse(find_nt("root")); ^ source.c: In function 'cur_list_row': source.c:426:9: warning: incompatible implicit declaration of built-in function 'strlen' len+=strlen(item)+1; ^ source.c:426:9: note: include '' or provide a declaration of 'strlen' source.c:433:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(row,"... "); ^ source.c:433:3: note: include '' or provide a declaration of 'strcpy' source.c:441:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(row,item); ^ source.c:441:7: warning: incompatible implicit declaration of built-in function 'strcat' source.c:441:7: note: include '' or provide a declaration of 'strcat' source.c:444:14: warning: incompatible implicit declaration of built-in function 'strlen' k = totlen = strlen(row); ^ source.c:444:14: note: include '' or provide a declaration of 'strlen' source.c:452:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(row,"..."); ^ source.c:452:7: note: include '' or provide a declaration of 'strcat' source.c:455:4: warning: incompatible implicit declaration of built-in function 'strcat' strcat(row,item); ^ source.c:455:4: note: include '' or provide a declaration of 'strcat' source.c: At top level: source.c:491:1: warning: return type defaults to 'int' [-Wimplicit-int] source_line(source) ^ source.c:501:1: warning: return type defaults to 'int' [-Wimplicit-int] get_current_line() ^ source.c:533:1: warning: return type defaults to 'int' [-Wimplicit-int] get_source_line() ^ source.c:543:1: warning: return type defaults to 'int' [-Wimplicit-int] get_source_file(buffer) ^ source.c: In function 'get_source_file': source.c:554:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"noname"); ^ source.c:554:3: note: include '' or provide a declaration of 'strcpy' source.c:558:6: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,source_stack[i].src.file.filename); ^ source.c:558:6: note: include '' or provide a declaration of 'strcpy' source.c:560:6: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"stdin"); ^ source.c:560:6: note: include '' or provide a declaration of 'strcpy' source.c: In function 'zz_parse_file': source.c:578:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(full,filename); ^ source.c:578:3: note: include '' or provide a declaration of 'strcpy' source.c:580:3: warning: implicit declaration of function 'get_extension' [-Wimplicit-function-declaration] get_extension(full,type); ^ source.c:582:18: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!type[0] && strcmp(full,"/dev/tty")) ^ source.c:583:5: warning: implicit declaration of function 'change_extension' [-Wimplicit-function-declaration] change_extension(full, in_ext); ^ source.c: At top level: source.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_source_position(chan,print_action_flag) ^ source.c: In function 'fprint_source_position': source.c:614:4: warning: 'return' with no value, in function returning non-void return; ^ source.c:623:7: warning: 'return' with no value, in function returning non-void return; ^ source.c:636:10: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(row,source->src.tt.row); ^ source.c:636:10: note: include '' or provide a declaration of 'strcpy' source.c: At top level: source.c:692:1: warning: return type defaults to 'int' [-Wimplicit-int] pretend_eof() ^ source.c:700:1: warning: return type defaults to 'int' [-Wimplicit-int] read_once_only(id) ^ source.c: In function 'read_once_only': source.c:709:20: warning: incompatible implicit declaration of built-in function 'malloc' p=(struct node*)malloc(sizeof(struct node)); ^ source.c:709:20: note: include '' or provide a declaration of 'malloc' source.c:710:26: warning: incompatible implicit declaration of built-in function 'strlen' p->id = (char*)malloc(strlen(id)+1); ^ source.c:710:26: note: include '' or provide a declaration of 'strlen' source.c:711:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(p->id,id); ^ source.c:711:4: note: include '' or provide a declaration of 'strcpy' --- parse.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c parse.c -o parse.o >/dev/null 2>&1 --- sys.lo --- rm -f .libs/sys.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c sys.c -fPIC -DPIC -o .libs/sys.lo sys.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] s_print(list) ^ sys.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] s_error(list) ^ sys.c: In function 's_error': sys.c:160:3: warning: implicit declaration of function 'error_head' [-Wimplicit-function-declaration] error_head(2); ^ sys.c:163:5: warning: implicit declaration of function 'error_token' [-Wimplicit-function-declaration] error_token(list->array+i); ^ sys.c:164:3: warning: implicit declaration of function 'error_tail_1' [-Wimplicit-function-declaration] error_tail_1(); ^ sys.c: At top level: sys.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] s_dump(argc,argv,ret) ^ sys.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] s_param_g_assign(int argc, struct s_content *argv , struct s_content*ret) ^ sys.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] s_param_gn_assign(int argc, struct s_content argv[], struct s_content *ret) ^ sys.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] s_dumpnet(argc,argv,ret) ^ sys.c: In function 's_dumpnet': sys.c:237:1: warning: implicit declaration of function 'dumpnet' [-Wimplicit-function-declaration] dumpnet(s_content_value(argv[0])); ^ sys.c: At top level: sys.c:245:1: warning: return type defaults to 'int' [-Wimplicit-int] s_trace(trace) ^ sys.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] s_eq(int argc, struct s_content argv[], struct s_content* ret) ^ sys.c: In function 's_eq': sys.c:271:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = ((strcmp((char *)s_content_value(argv[0]), ^ sys.c:272:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (char *)s_content_value(argv[1]))==0) ? 1 : 0); ^ sys.c: At top level: sys.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] s_ne(argc,argv,ret) ^ sys.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] s_ge(argc,argv,ret) ^ sys.c: In function 's_ge': sys.c:309:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = ((strcmp((char*)s_content_value(argv[0]),(char*)s_content_value(argv[1]))>=0) ? 1 : 0); ^ sys.c:309:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = ((strcmp((char*)s_content_value(argv[0]),(char*)s_content_value(argv[1]))>=0) ? 1 : 0); ^ sys.c: At top level: sys.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] s_gt(argc,argv,ret) ^ sys.c: In function 's_gt': sys.c:331:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = (strcmp((char*)s_content_value(argv[0]),(char*)s_content_value(argv[1]))>0) ? 1 : 0; ^ sys.c:331:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = (strcmp((char*)s_content_value(argv[0]),(char*)s_content_value(argv[1]))>0) ? 1 : 0; ^ sys.c: At top level: sys.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] s_le(argc,argv,ret) ^ sys.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int] s_lt(argc,argv,ret) ^ sys.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] s_add(argc,argv,ret) ^ sys.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] s_boolean_and(argc, argv, ret) ^ sys.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int] s_boolean_or(argc, argv, ret) ^ sys.c:470:1: warning: return type defaults to 'int' [-Wimplicit-int] s_sub(argc,argv,ret) ^ sys.c:498:1: warning: return type defaults to 'int' [-Wimplicit-int] s_mult(argc,argv,ret) ^ sys.c:525:1: warning: return type defaults to 'int' [-Wimplicit-int] s_div(argc,argv,ret) ^ sys.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] s_chs(argc,argv,ret) /* s_chs - change of sign */ ^ sys.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] s_strcat(argc,argv,ret) ^ sys.c: In function 's_strcat': sys.c:621:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] w=(char*)(s_content_value(argv[i])); ^ sys.c: At top level: sys.c:658:1: warning: return type defaults to 'int' [-Wimplicit-int] s_return(argc,argv,ret) ^ sys.c:674:1: warning: return type defaults to 'int' [-Wimplicit-int] s_exec(argc,argv,ret) ^ sys.c: In function 's_exec': sys.c:678:1: warning: implicit declaration of function 'source_list' [-Wimplicit-function-declaration] source_list(&argv[0]); ^ sys.c:679:1: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] parse(find_nt("root")); ^ sys.c:680:1: warning: implicit declaration of function 'pop_source' [-Wimplicit-function-declaration] pop_source(); ^ sys.c: At top level: sys.c:686:1: warning: return type defaults to 'int' [-Wimplicit-int] s_dumplist(argc,argv,ret) ^ sys.c: In function 's_dumplist': sys.c:693:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list*)s_content_value(argv[0]); ^ sys.c: At top level: sys.c:703:1: warning: return type defaults to 'int' [-Wimplicit-int] s_foreach(argc,argv,ret) ^ sys.c: In function 's_foreach': sys.c:711:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] paramname = (char*)s_content_value(argv[0]); ^ sys.c:712:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lst = (struct s_list *) s_content_value(argv[1]); ^ sys.c: At top level: sys.c:732:1: warning: return type defaults to 'int' [-Wimplicit-int] s_for(argc,argv,ret) ^ sys.c: In function 's_for': sys.c:740:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] paramname = (char*)s_content_value(argv[0]); ^ sys.c: At top level: sys.c:782:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_passparens(argc,argv, ret) ^ sys.c: In function 's_condecho_passparens': sys.c:792:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave("("); ^ sys.c:798:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave(")"); ^ sys.c: At top level: sys.c:805:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_chs(argc,argv,ret) ^ sys.c: In function 's_condecho_chs': sys.c:815:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave("-"); ^ sys.c: At top level: sys.c:828:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho(argc,argv, action, ret) ^ sys.c: In function 's_condecho': sys.c:848:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave(char_tmp); ^ sys.c: At top level: sys.c:858:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_and(argc,argv,ret) ^ sys.c:865:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_or(argc,argv,ret) ^ sys.c:872:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_add(argc,argv,ret) ^ sys.c:879:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_sub(argc,argv,ret) ^ sys.c:886:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_mult(argc,argv,ret) ^ sys.c:893:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_div(argc,argv,ret) ^ sys.c:900:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_eq(argc,argv,ret) ^ sys.c:907:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_ne(argc,argv,ret) ^ sys.c:914:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_ge(argc,argv,ret) ^ sys.c:921:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_gt(argc,argv,ret) ^ sys.c:928:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_le(argc,argv,ret) ^ sys.c:935:1: warning: return type defaults to 'int' [-Wimplicit-int] s_condecho_lt(argc,argv,ret) ^ sys.c:945:1: warning: return type defaults to 'int' [-Wimplicit-int] s_do(argc,argv,ret) ^ sys.c: In function 's_do': sys.c:949:3: warning: implicit declaration of function 's_do_while_loops' [-Wimplicit-function-declaration] s_do_while_loops(argc,argv,&ret,0); ^ sys.c: At top level: sys.c:952:1: warning: return type defaults to 'int' [-Wimplicit-int] s_while(argc,argv,ret) ^ sys.c:966:1: warning: return type defaults to 'int' [-Wimplicit-int] s_do_while_loops(argc,argv,ret,while_loop) ^ sys.c: In function 's_do_while_loops': sys.c:994:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_ivalue(loop_var)= (int)zlex_strsave(loop_var_name); ^ sys.c:1001:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_ivalue(loop_var)= (int)zlex_strsave(loop_var_name); ^ sys.c:1009:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave("/"); ^ sys.c:1013:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(tmp)= (int)zlex_strsave("if"); ^ sys.c:1037:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_ivalue(loop_var)= (int)zlex_strsave(loop_var_name); ^ sys.c:1070:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_ivalue(loop_var)= (int)zlex_strsave(loop_var_name); ^ sys.c: At top level: sys.c:1091:1: warning: return type defaults to 'int' [-Wimplicit-int] s_if(argc,argv,ret) ^ sys.c:1112:1: warning: return type defaults to 'int' [-Wimplicit-int] s_ifelse(argc,argv,ret) ^ sys.c:1149:1: warning: return type defaults to 'int' [-Wimplicit-int] s_include(argc,argv,ret) ^ sys.c: In function 's_include': sys.c:1161:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcat(filename,(char *)s_content_value(argv[0])); ^ sys.c:1167:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcat(filename,(char *)s_content_value(argv[0])); ^ sys.c:1169:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcat(filename,(char *)s_content_value(argv[1])); ^ sys.c:1176:7: warning: implicit declaration of function 'source_file' [-Wimplicit-function-declaration] if(!source_file(filename)) ^ --- avl.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c avl.c -o avl.o >/dev/null 2>&1 --- sys.lo --- sys.c: At top level: sys.c:1196:1: warning: return type defaults to 'int' [-Wimplicit-int] s_add_includedir(argc,argv,ret) ^ sys.c:1212:1: warning: return type defaults to 'int' [-Wimplicit-int] s_print_includedirs(argc,argv,ret) ^ sys.c:1225:1: warning: return type defaults to 'int' [-Wimplicit-int] s_include_default(argc,argv,ret) ^ sys.c: In function 's_include_default': sys.c:1245:7: warning: implicit declaration of function 'change_extension' [-Wimplicit-function-declaration] change_extension(filename,zz_include_default_extension); ^ sys.c: At top level: sys.c:1331:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_memory_usage() ^ sys.c:1345:1: warning: return type defaults to 'int' [-Wimplicit-int] s_extract(argc,argv,ret) ^ sys.c:1365:1: warning: return type defaults to 'int' [-Wimplicit-int] s_list_length(argc,argv,ret) ^ sys.c: In function 's_list_length': sys.c:1372:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) = ((struct s_list*)s_content_value(argv[0]))->n; ^ sys.c: At top level: sys.c:1377:1: warning: return type defaults to 'int' [-Wimplicit-int] s_string_length(int argc, struct s_content argv[], struct s_content* ret) ^ sys.c: In function 's_string_length': sys.c:1381:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s_content_value(*ret) =(s_content_value(argv[0]) ? strlen((char*)s_content_value(argv[0])):0); ^ sys.c: At top level: sys.c:1389:1: warning: return type defaults to 'int' [-Wimplicit-int] s_split(argc,argv,ret) ^ sys.c:1442:1: warning: return type defaults to 'int' [-Wimplicit-int] show_sys_memory() ^ sys.c:1449:1: warning: return type defaults to 'int' [-Wimplicit-int] subtag(tagson_name,tagparent_name) ^ sys.c:1462:1: warning: return type defaults to 'int' [-Wimplicit-int] show_memory() ^ sys.c: In function 'show_memory': sys.c:1465:1: warning: implicit declaration of function 'show_zlex_memory' [-Wimplicit-function-declaration] show_zlex_memory(); ^ sys.c:1467:1: warning: implicit declaration of function 'show_rule_memory' [-Wimplicit-function-declaration] show_rule_memory(); ^ sys.c: At top level: sys.c:1485:1: warning: return type defaults to 'int' [-Wimplicit-int] init_time() ^ sys.c: In function 'init_time': sys.c:1487:1: warning: implicit declaration of function 'times' [-Wimplicit-function-declaration] times (&Time); ^ sys.c: At top level: sys.c:1492:1: warning: return type defaults to 'int' [-Wimplicit-int] get_time() ^ sys.c:1503:1: warning: return type defaults to 'int' [-Wimplicit-int] proc_beep(argc,argv,ret) ^ sys.c: In function 'proc_beep': sys.c:1511:8: warning: type defaults to 'int' in declaration of 'count' [-Wimplicit-int] static count=0; ^ sys.c:1518:10: warning: implicit declaration of function 'get_source_name' [-Wimplicit-function-declaration] s=(char*)get_source_name(); ^ sys.c:1518:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s=(char*)get_source_name(); ^ sys.c:1519:8: warning: implicit declaration of function 'get_source_line' [-Wimplicit-function-declaration] line_n=get_source_line(); ^ sys.c: At top level: sys.c:1530:1: warning: return type defaults to 'int' [-Wimplicit-int] s_append_bra(argc,argv,ret) ^ sys.c:1551:1: warning: return type defaults to 'int' [-Wimplicit-int] s_append_ket(argc,argv,ret) ^ sys.c: In function 's_getenv': sys.c:1583:16: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] buffer[i]=toupper(name[i]); ^ sys.c: In function 'zz_inttohex': sys.c:1615:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)q; ^ sys.c: In function 'zz_inttostring': sys.c:1628:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)q; ^ --- kernel.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c kernel.c -o kernel.o >/dev/null 2>&1 --- source.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c source.c -o source.o >/dev/null 2>&1 --- parse.lo --- mv -f .libs/parse.lo parse.lo --- table.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c table.c --- source.lo --- mv -f .libs/source.lo source.lo --- util.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c util.c --- table.lo --- rm -f .libs/table.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c table.c -fPIC -DPIC -o .libs/table.lo --- util.lo --- rm -f .libs/util.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c util.c -fPIC -DPIC -o .libs/util.lo --- table.lo --- table.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] ttrancmp(p1,p2) ^ table.c: In function 'create_dot': table.c:75:23: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] dot = (struct s_dot *)calloc(1,sizeof(struct s_dot)); ^ table.c:75:23: warning: incompatible implicit declaration of built-in function 'calloc' table.c:75:23: note: include '' or provide a declaration of 'calloc' table.c: In function 'remove_nt_tran': table.c:94:1: warning: implicit declaration of function 'remove_dot' [-Wimplicit-function-declaration] remove_dot(tran->next); ^ table.c:95:1: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tran); ^ table.c:95:1: warning: incompatible implicit declaration of built-in function 'free' table.c:95:1: note: include '' or provide a declaration of 'free' table.c: In function 'remove_term_tran': table.c:108:1: warning: incompatible implicit declaration of built-in function 'free' free(tran); ^ table.c:108:1: note: include '' or provide a declaration of 'free' table.c: At top level: table.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] remove_dot(dot) ^ table.c: In function 'remove_dot': table.c:116:9: warning: 'return' with no value, in function returning non-void if(!dot)return; ^ table.c:121:1: warning: incompatible implicit declaration of built-in function 'free' free(dot); ^ table.c:121:1: note: include '' or provide a declaration of 'free' table.c: In function 'insert_term_tran': table.c:148:30: warning: incompatible implicit declaration of built-in function 'calloc' tran = (struct s_term_tran *)calloc(1,sizeof(struct s_term_tran)); ^ table.c:148:30: note: include '' or provide a declaration of 'calloc' table.c: In function 'insert_nt_tran': table.c:232:28: warning: incompatible implicit declaration of built-in function 'calloc' tran = (struct s_nt_tran *)calloc(1,sizeof(struct s_nt_tran)); ^ table.c:232:28: note: include '' or provide a declaration of 'calloc' table.c: At top level: table.c:286:1: warning: return type defaults to 'int' [-Wimplicit-int] link_rule(rule) ^ table.c: In function 'link_rule': table.c:295:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] nt = (struct s_nt *) s_content_value(bead->cnt); ^ table.c: At top level: table.c:321:1: warning: return type defaults to 'int' [-Wimplicit-int] unlink_rule(rule) ^ table.c: In function 'unlink_rule': table.c:356:49: warning: implicit declaration of function 'print_rule' [-Wimplicit-function-declaration] printf("| old rule is (0x%x)",dot->rule);print_rule(dot->rule);//printf(" (%p)\n", dot->rule); ^ table.c:358:7: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^ table.c:358:7: warning: incompatible implicit declaration of built-in function 'abort' table.c:358:7: note: include '' or provide a declaration of 'abort' table.c: At top level: table.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] show_table_mem() ^ --- util.lo --- util.c: In function 'zz_init': util.c:56:3: warning: implicit declaration of function 'kernel' [-Wimplicit-function-declaration] kernel(); ^ util.c:57:3: warning: implicit declaration of function 'zkernel' [-Wimplicit-function-declaration] zkernel(); ^ util.c: In function 'zz_parse_string': util.c:93:3: warning: implicit declaration of function 'source_list' [-Wimplicit-function-declaration] source_list(&lst,0); ^ util.c:94:9: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] ret = parse(find_nt("root")); ^ util.c:95:3: warning: implicit declaration of function 'pop_source' [-Wimplicit-function-declaration] pop_source(); ^ --- table.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c table.c -o table.o >/dev/null 2>&1 mv -f .libs/table.lo table.lo --- zkernel.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zkernel.c --- util.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c util.c -o util.o >/dev/null 2>&1 --- sys.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c sys.c -o sys.o >/dev/null 2>&1 --- zkernel.lo --- rm -f .libs/zkernel.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zkernel.c -fPIC -DPIC -o .libs/zkernel.lo zkernel.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] zkernel() ^ In file included from zkernel.c:21:0: zkernel.c: In function 'zkernel': zlex.h:48:39: warning: implicit declaration of function 'init_zlex' [-Wimplicit-function-declaration] #define INIT_ZLEX {if(!init_zlex_done)init_zlex();} ^ kernel.h:23:18: note: in expansion of macro 'INIT_ZLEX' #define OPEN(S) {INIT_ZLEX open_rule(zlex_strsave( #S ));} ^ zkernel.c:28:1: note: in expansion of macro 'OPEN' OPEN(stat) M("/") GSB(lvalue) M("->") GSB($thread) GSB($action) ^ In file included from zkernel.c:22:0: kernel.h:23:28: warning: implicit declaration of function 'open_rule' [-Wimplicit-function-declaration] #define OPEN(S) {INIT_ZLEX open_rule(zlex_strsave( #S ));} ^ zkernel.c:28:1: note: in expansion of macro 'OPEN' OPEN(stat) M("/") GSB(lvalue) M("->") GSB($thread) GSB($action) ^ kernel.h:26:32: warning: implicit declaration of function 'append_t_bead' [-Wimplicit-function-declaration] s_content_value(cnt)=(long)S;append_t_bead(&cnt);} ^ zkernel.c:28:12: note: in expansion of macro 'M' OPEN(stat) M("/") GSB(lvalue) M("->") GSB($thread) GSB($action) ^ kernel.h:24:17: warning: implicit declaration of function 'append_nt_bead' [-Wimplicit-function-declaration] #define GSB(S) append_nt_bead(zlex_strsave( #S),0); ^ zkernel.c:28:19: note: in expansion of macro 'GSB' OPEN(stat) M("/") GSB(lvalue) M("->") GSB($thread) GSB($action) ^ kernel.h:46:29: warning: implicit declaration of function 'setaction_exeproc' [-Wimplicit-function-declaration] #define PROC(P) {int P(); setaction_exeproc(P,0);} ^ zkernel.c:29:7: note: in expansion of macro 'PROC' PROC(z_link_rule_default) END ^ kernel.h:29:17: warning: implicit declaration of function 'insert_rule' [-Wimplicit-function-declaration] #define END insert_rule(0,close_rule()); ^ zkernel.c:29:33: note: in expansion of macro 'END' PROC(z_link_rule_default) END ^ kernel.h:29:31: warning: implicit declaration of function 'close_rule' [-Wimplicit-function-declaration] #define END insert_rule(0,close_rule()); ^ zkernel.c:29:33: note: in expansion of macro 'END' PROC(z_link_rule_default) END ^ kernel.h:48:29: warning: implicit declaration of function 'setaction_exesproc' [-Wimplicit-function-declaration] #define SPROC(P) {int P(); setaction_exesproc(P,tag_none);} ^ zkernel.c:67:40: note: in expansion of macro 'SPROC' OPEN(stat) M("/push scope") GSB(ident) SPROC(zz_push_scope) END ^ kernel.h:41:14: warning: implicit declaration of function 'setaction_list' [-Wimplicit-function-declaration] #define LIST setaction_list(); ^ zkernel.c:74:15: note: in expansion of macro 'LIST' OPEN($ablock) LIST END ^ kernel.h:44:19: warning: implicit declaration of function 'setaction_merge_all' [-Wimplicit-function-declaration] #define MERGE_ALL setaction_merge_all(); ^ zkernel.c:75:55: note: in expansion of macro 'MERGE_ALL' OPEN($ablock) GSB($ablock) M("{") GSB($ablock) M("}") MERGE_ALL END ^ kernel.h:42:16: warning: implicit declaration of function 'setaction_append' [-Wimplicit-function-declaration] #define APPEND setaction_append(); ^ zkernel.c:76:37: note: in expansion of macro 'APPEND' OPEN($ablock) GSB($ablock) GSB(any) APPEND END ^ --- util.lo --- mv -f .libs/util.lo util.lo --- zlex.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zlex.c --- zkernel.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zkernel.c -o zkernel.o >/dev/null 2>&1 --- avl.lo --- mv -f .libs/avl.lo avl.lo --- zsys.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zsys.c --- zlex.lo --- rm -f .libs/zlex.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zlex.c -fPIC -DPIC -o .libs/zlex.lo --- zsys.lo --- rm -f .libs/zsys.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zsys.c -fPIC -DPIC -o .libs/zsys.lo --- zlex.lo --- zlex.c: In function 'sprint_string': zlex.c:119:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buffer,(char*)s_content_value(*cnt)); ^ zlex.c:119:3: warning: incompatible implicit declaration of built-in function 'strcpy' zlex.c:119:3: note: include '' or provide a declaration of 'strcpy' zlex.c:119:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] strcpy(buffer,(char*)s_content_value(*cnt)); ^ zlex.c: In function 'sprint_eol': zlex.c:227:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"EOL"); ^ zlex.c:227:3: note: include '' or provide a declaration of 'strcpy' zlex.c: In function 'sprint_eof': zlex.c:245:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(buffer,"EOF"); ^ zlex.c:245:3: note: include '' or provide a declaration of 'strcpy' zlex.c: In function 'sprint_none': zlex.c:262:2: warning: incompatible implicit declaration of built-in function 'strcpy' {strcpy(buffer,"NONE");} ^ zlex.c:262:2: note: include '' or provide a declaration of 'strcpy' zlex.c: At top level: zlex.c:451:1: warning: return type defaults to 'int' [-Wimplicit-int] init_zlex() ^ zlex.c: In function 'init_zlex': zlex.c:453:20: warning: 'return' with no value, in function returning non-void if(init_zlex_done) return; ^ zlex.c: In function 'sprint_zlex': zlex.c:555:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(stringout,"NULL"); ^ zlex.c:555:5: note: include '' or provide a declaration of 'strcpy' zlex.c: At top level: zlex.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] zlex_set_precedence(cnt,prec,left_assoc) ^ zlex.c: In function 'zlex_set_precedence': zlex.c:619:4: warning: 'return' with no value, in function returning non-void return; ^ zlex.c:625:4: warning: 'return' with no value, in function returning non-void return; ^ zlex.c:627:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s = (char*)s_content_value(*cnt); ^ zlex.c:632:4: warning: 'return' with no value, in function returning non-void return; ^ zlex.c: In function 'zlex_strsave': zlex.c:655:17: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] tmp = (char*)malloc(strlen(name)+1); ^ zlex.c:655:17: warning: incompatible implicit declaration of built-in function 'malloc' zlex.c:655:17: note: include '' or provide a declaration of 'malloc' zlex.c:655:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] tmp = (char*)malloc(strlen(name)+1); ^ zlex.c:655:24: warning: incompatible implicit declaration of built-in function 'strlen' zlex.c:655:24: note: include '' or provide a declaration of 'strlen' zlex.c:675:28: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] term = (struct s_term *)calloc(1,sizeof(struct s_term)); ^ zlex.c:675:28: warning: incompatible implicit declaration of built-in function 'calloc' zlex.c:675:28: note: include '' or provide a declaration of 'calloc' zlex.c:676:10: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(name); ^ zlex.c:676:10: note: include '' or provide a declaration of 'strlen' zlex.c:677:16: warning: incompatible implicit declaration of built-in function 'malloc' s = (char*) malloc(len+1+3); ^ zlex.c:677:16: note: include '' or provide a declaration of 'malloc' zlex.c:682:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(term->name,name); ^ zlex.c:682:4: note: include '' or provide a declaration of 'strcpy' zlex.c:687:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] if(tmp) free(tmp); ^ zlex.c:687:9: warning: incompatible implicit declaration of built-in function 'free' zlex.c:687:9: note: include '' or provide a declaration of 'free' zlex.c: At top level: zlex.c:695:1: warning: return type defaults to 'int' [-Wimplicit-int] std_len(cnt) ^ zlex.c: In function 'create_tag': zlex.c:737:24: warning: incompatible implicit declaration of built-in function 'calloc' tag = (struct s_tag*)calloc(1,sizeof(struct s_tag)); ^ zlex.c:737:24: note: include '' or provide a declaration of 'calloc' zlex.c: In function 'zlex': zlex.c:902:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(*cnt) = (int) zlex_strsave(buffer); ^ zlex.c:1086:37: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] s_content_svalue(*cnt) = (char*)strdup(buffer); ^ zlex.c:1086:37: warning: incompatible implicit declaration of built-in function 'strdup' zlex.c:1090:23: warning: incompatible implicit declaration of built-in function 'strlen' zlex_qstring_mem+=strlen(buffer)+1; ^ zlex.c:1090:23: note: include '' or provide a declaration of 'strlen' zlex.c:1106:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(*cnt)= (int)zlex_strsave("!"); ^ zlex.c:1123:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] s_content_value(*cnt)= (int)zlex_strsave("/"); ^ zlex.c: At top level: zlex.c:1158:1: warning: return type defaults to 'int' [-Wimplicit-int] show_zlex_memory() ^ zlex.c:1201:1: warning: return type defaults to 'int' [-Wimplicit-int] ignore_block() ^ --- zsys.lo --- zsys.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] z_bead(argc,argv,ret) ^ zsys.c: In function 'z_bead': zsys.c:44:4: warning: 'return' with no value, in function returning non-void return; ^ zsys.c:47:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] beads[bead_n].name=(argc==3)?(char*)s_content_value(argv[2]):0; ^ zsys.c: At top level: zsys.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] z_set_action(argc,argv,ret) ^ zsys.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] z_set_return_action(argc,argv,ret) ^ zsys.c: In function 'z_set_return_action': zsys.c:76:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cur_action.tag_name = (char*)s_content_value(argv[1]); ^ zsys.c: At top level: zsys.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] z_link_rule_default(argc,argv,ret) ^ zsys.c: In function 'z_link_rule_default': zsys.c:90:1: warning: implicit declaration of function 'do_z_link_rule' [-Wimplicit-function-declaration] do_z_link_rule(s_content_value(argv[0]),0); ^ zsys.c: At top level: zsys.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] z_link_rule(argc,argv,ret) ^ zsys.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] do_z_link_rule(sint_name,scope_name) ^ zsys.c: In function 'do_z_link_rule': zsys.c:113:1: warning: implicit declaration of function 'open_rule' [-Wimplicit-function-declaration] open_rule(zlex_strsave(sint_name)); ^ zsys.c:116:5: warning: implicit declaration of function 'append_nt_bead' [-Wimplicit-function-declaration] append_nt_bead(s_content_value(beads[i].bead),beads[i].name); ^ zsys.c:118:5: warning: implicit declaration of function 'append_t_bead' [-Wimplicit-function-declaration] append_t_bead(&beads[i].bead); ^ zsys.c:123:4: warning: implicit declaration of function 'setaction_return' [-Wimplicit-function-declaration] setaction_return(&cur_action.cnt,cur_action.tag_name); ^ zsys.c:128:6: warning: implicit declaration of function 'setaction_exelist' [-Wimplicit-function-declaration] setaction_exelist(&cur_action.cnt); ^ zsys.c:131:10: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp((char*)s_content_value(cur_action.cnt),"pass")==0) ^ zsys.c:131:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if(strcmp((char*)s_content_value(cur_action.cnt),"pass")==0) ^ zsys.c:132:9: warning: implicit declaration of function 'setaction_pass' [-Wimplicit-function-declaration] setaction_pass(); ^ zsys.c:133:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(strcmp((char*)s_content_value(cur_action.cnt),"rreturn")==0) ^ zsys.c:134:9: warning: implicit declaration of function 'setaction_rreturn' [-Wimplicit-function-declaration] setaction_rreturn(); ^ zsys.c:135:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(strcmp((char*)s_content_value(cur_action.cnt),"assign")==0) ^ zsys.c:136:9: warning: implicit declaration of function 'setaction_assign' [-Wimplicit-function-declaration] setaction_assign(); ^ zsys.c:142:1: warning: implicit declaration of function 'insert_rule' [-Wimplicit-function-declaration] insert_rule(scope_name,rule); ^ zsys.c: At top level: zsys.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] z_set_when_change_action(argc,argv,ret) ^ zsys.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] z_set_when_exit_scope(argc,argv,ret) ^ --- zkernel.lo --- mv -f .libs/zkernel.lo zkernel.lo --- zz.o --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zz.c --- kernel.lo --- mv -f .libs/kernel.lo kernel.lo --- zzi.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zzi.c --- zz.o --- zz.c: In function 'main': zz.c:71:5: warning: implicit declaration of function 'print_usage' [-Wimplicit-function-declaration] print_usage(); ^ zz.c:159:5: warning: implicit declaration of function 'print_error_count' [-Wimplicit-function-declaration] print_error_count(); ^ zz.c: At top level: zz.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] print_usage() { ^ --- zsys.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zsys.c -o zsys.o >/dev/null 2>&1 mv -f .libs/zsys.lo zsys.lo --- zzi.lo --- rm -f .libs/zzi.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zzi.c -fPIC -DPIC -o .libs/zzi.lo zzi.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] source_tt() ^ zzi.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_parse_tt() ^ zzi.c: In function 'zz_parse_tt': zzi.c:70:10: warning: implicit declaration of function 'parse' [-Wimplicit-function-declaration] return parse(find_nt("root")); ^ zzi.c:70:16: warning: implicit declaration of function 'find_nt' [-Wimplicit-function-declaration] return parse(find_nt("root")); ^ zzi.c: In function 'next_token_tt': zzi.c:102:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(line_read) >= MAX_INPUT_LINE_LENGTH) { ^ zzi.c:102:6: warning: incompatible implicit declaration of built-in function 'strlen' zzi.c:102:6: note: include '' or provide a declaration of 'strlen' zzi.c:110:6: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(line_read) >= 250) { ^ zzi.c:110:6: note: include '' or provide a declaration of 'strlen' zzi.c:111:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ zzi.c:111:4: warning: incompatible implicit declaration of built-in function 'exit' zzi.c:111:4: note: include '' or provide a declaration of 'exit' zzi.c:119:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(cur_source->src.tt.row, line_read); ^ zzi.c:119:2: warning: incompatible implicit declaration of built-in function 'strcpy' zzi.c:119:2: note: include '' or provide a declaration of 'strcpy' zzi.c:123:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_source->src.tt.row, ""); ^ zzi.c:123:2: note: include '' or provide a declaration of 'strcpy' zzi.c:133:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free (line_read); ^ zzi.c:133:7: warning: incompatible implicit declaration of built-in function 'free' zzi.c:133:7: note: include '' or provide a declaration of 'free' cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zzi.c -o zzi.o >/dev/null 2>&1 mv -f .libs/zzi.lo zzi.lo --- libozzi.la --- /bin/sh ../libtool --mode=link cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib -o libozzi.la -rpath /usr/local/lib -version-info 1:4:1 -export-dynamic zzi.lo -ldl -lreadline --- sys.lo --- mv -f .libs/sys.lo sys.lo --- libozzi.la --- rm -fr .libs/libozzi.la .libs/libozzi.* .libs/libozzi.* cc -shared zzi.lo -L/usr/local/lib -ldl -lreadline -Wl,-soname -Wl,libozzi.so.0 -o .libs/libozzi.so.0.1.4 (cd .libs && rm -f libozzi.so.0 && ln -s libozzi.so.0.1.4 libozzi.so.0) (cd .libs && rm -f libozzi.so && ln -s libozzi.so.0.1.4 libozzi.so) ar cru .libs/libozzi.a zzi.o ranlib .libs/libozzi.a creating libozzi.la (cd .libs && rm -f libozzi.la && ln -s ../libozzi.la libozzi.la) --- zlex.lo --- cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c zlex.c -o zlex.o >/dev/null 2>&1 mv -f .libs/zlex.lo zlex.lo --- libozz.la --- /bin/sh ../libtool --mode=link cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib -o libozz.la -rpath /usr/local/lib -version-info 1:4:1 -export-dynamic err.lo source.lo zlex.lo list.lo rule.lo scope.lo table.lo dumpnet.lo parse.lo param.lo action.lo lazy.lo zkernel.lo zsys.lo kernel.lo sys.lo interface.lo defopen.lo avl.lo printz.lo util.lo -lm -ldl -lreadline rm -fr .libs/libozz.la .libs/libozz.* .libs/libozz.* cc -shared err.lo source.lo zlex.lo list.lo rule.lo scope.lo table.lo dumpnet.lo parse.lo param.lo action.lo lazy.lo zkernel.lo zsys.lo kernel.lo sys.lo interface.lo defopen.lo avl.lo printz.lo util.lo -L/usr/local/lib -lm -ldl -lreadline -Wl,-soname -Wl,libozz.so.0 -o .libs/libozz.so.0.1.4 (cd .libs && rm -f libozz.so.0 && ln -s libozz.so.0.1.4 libozz.so.0) (cd .libs && rm -f libozz.so && ln -s libozz.so.0.1.4 libozz.so) ar cru .libs/libozz.a err.o source.o zlex.o list.o rule.o scope.o table.o dumpnet.o parse.o param.o action.o lazy.o zkernel.o zsys.o kernel.o sys.o interface.o defopen.o avl.o printz.o util.o ranlib .libs/libozz.a creating libozz.la (cd .libs && rm -f libozz.la && ln -s ../libozz.la libozz.la) --- ozz --- /bin/sh ../libtool --mode=link cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib -o ozz zz.o libozzi.la libozz.la -ldl -lreadline cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -o .libs/ozz zz.o -L/usr/local/lib ./.libs/libozzi.so ./.libs/libozz.so -lm -ldl -lreadline -Wl,--rpath -Wl,/usr/local/lib creating ozz Making all in doc --- all-recursive --- Making all in src Making all in testsuite --- tagdtor.lo --- /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c tagdtor.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c tagdtor.c -fPIC -DPIC -o .libs/tagdtor.lo tagdtor.c: In function 'zz_ext_init': tagdtor.c:67:41: warning: passing argument 1 of 'zz_bind_call' from incompatible pointer type [-Wincompatible-pointer-types] OPEN(stat) M("$foo_remove_tag") SPROC(foo_remove_tag) END; ^ tagdtor.c:14:34: note: in definition of macro 'SPROC' #define SPROC(P) {zz_bind_call(P);} ^ In file included from tagdtor.c:5:0: ../src/zzbind.h:51:5: note: expected 'zz_sproc {aka void (*)(int)}' but argument is of type 'int (*)()' int zz_bind_call(zz_sproc sproc); ^ cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I/usr/local/include -pipe -Wno-return-type -O2 -fno-strict-aliasing -c tagdtor.c -o tagdtor.o >/dev/null 2>&1 mv -f .libs/tagdtor.lo tagdtor.lo --- libtagdtor.la --- /bin/sh ../libtool --mode=link cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib -o libtagdtor.la -rpath /usr/local/lib tagdtor.lo ../src/libozz.la -ldl -lreadline rm -fr .libs/libtagdtor.la .libs/libtagdtor.* .libs/libtagdtor.* cc -shared tagdtor.lo -Wl,--rpath -Wl,/wrkdirs/devel/openzz/openzz-1.0.4/src/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib ../src/.libs/libozz.so -ldl -lreadline -Wl,-soname -Wl,libtagdtor.so.0 -o .libs/libtagdtor.so.0.0.0 (cd .libs && rm -f libtagdtor.so.0 && ln -s libtagdtor.so.0.0.0 libtagdtor.so.0) (cd .libs && rm -f libtagdtor.so && ln -s libtagdtor.so.0.0.0 libtagdtor.so) ar cru .libs/libtagdtor.a tagdtor.o ranlib .libs/libtagdtor.a creating libtagdtor.la (cd .libs && rm -f libtagdtor.la && ln -s ../libtagdtor.la libtagdtor.la) --- ./config.h.in --- =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for openzz-1.0.4.4_4 ===> Generating temporary packing list Making install in src /bin/sh ../mkinstalldirs /wrkdirs/devel/openzz/stage/usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libozz.la /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.la /usr/bin/install -c .libs/libozz.so.0.1.4 /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.so.0.1.4 (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libozz.so.0 && ln -s libozz.so.0.1.4 libozz.so.0) (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libozz.so && ln -s libozz.so.0.1.4 libozz.so) /usr/bin/install -c .libs/libozz.lai /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.la /usr/bin/install -c .libs/libozz.a /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.a ranlib /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.a chmod 644 /wrkdirs/devel/openzz/stage/usr/local/lib/libozz.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libozzi.la /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.la /usr/bin/install -c .libs/libozzi.so.0.1.4 /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.so.0.1.4 (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libozzi.so.0 && ln -s libozzi.so.0.1.4 libozzi.so.0) (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libozzi.so && ln -s libozzi.so.0.1.4 libozzi.so) /usr/bin/install -c .libs/libozzi.lai /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.la /usr/bin/install -c .libs/libozzi.a /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.a ranlib /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.a chmod 644 /wrkdirs/devel/openzz/stage/usr/local/lib/libozzi.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' /bin/sh ../mkinstalldirs /wrkdirs/devel/openzz/stage/usr/local/bin /bin/sh ../libtool --mode=install install -s -m 555 ozz /wrkdirs/devel/openzz/stage/usr/local/bin/ozz libtool: install: warning: `libozzi.la' has not been installed in `/usr/local/lib' libtool: install: warning: `libozz.la' has not been installed in `/usr/local/lib' install -m 555 -s .libs/ozz /wrkdirs/devel/openzz/stage/usr/local/bin/ozz /bin/sh ../mkinstalldirs /wrkdirs/devel/openzz/stage/usr/local/include/ozz mkdir /wrkdirs/devel/openzz/stage/usr/local/include/ozz install -m 0644 zz.h /wrkdirs/devel/openzz/stage/usr/local/include/ozz/zz.h install -m 0644 zzbind.h /wrkdirs/devel/openzz/stage/usr/local/include/ozz/zzbind.h Making install in doc Making install in src Making install in testsuite /bin/sh ../mkinstalldirs /wrkdirs/devel/openzz/stage/usr/local/lib /bin/sh ../libtool --mode=install /usr/bin/install -c libtagdtor.la /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.la libtool: install: warning: relinking `libtagdtor.la' cd /wrkdirs/devel/openzz/openzz-1.0.4/testsuite; /bin/sh ../libtool --mode=relink cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -L/usr/local/lib -o libtagdtor.la -rpath /usr/local/lib tagdtor.lo ../src/libozz.la -ldl -lreadline cc -shared tagdtor.lo -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib ../src/.libs/libozz.so -ldl -lreadline -Wl,-soname -Wl,libtagdtor.so.0 -o .libs/libtagdtor.so.0.0.0 /usr/bin/install -c .libs/libtagdtor.so.0.0.0T /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.so.0.0.0 (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libtagdtor.so.0 && ln -s libtagdtor.so.0.0.0 libtagdtor.so.0) (cd /wrkdirs/devel/openzz/stage/usr/local/lib && rm -f libtagdtor.so && ln -s libtagdtor.so.0.0.0 libtagdtor.so) /usr/bin/install -c .libs/libtagdtor.lai /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.la /usr/bin/install -c .libs/libtagdtor.a /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.a ranlib /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.a chmod 644 /wrkdirs/devel/openzz/stage/usr/local/lib/libtagdtor.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' /usr/bin/strip /wrkdirs/devel/openzz/stage/usr/local/lib/*.so ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for openzz-1.0.4.4_4 file sizes/checksums [18]: . done packing files [18]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for openzz-1.0.4.4_4 build of devel/openzz ended at Wed Oct 5 05:44:41 PDT 2016 build time: 00:00:21