=> Building math/calctool build started at Tue Oct 4 22:41:07 PDT 2016 port directory: /usr/ports/math/calctool 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/../08//usr/ports/math/calctool/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=calctool-2.4.13_5 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--- ===> The following configuration options are available for calctool-2.4.13_5: TTY=on: Build tty version of calctool X11=on: Build X11 version of calctool XVIEW=off: Build tty version of calctool ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/math/calctool XDG_CONFIG_HOME=/wrkdirs/math/calctool HOME=/wrkdirs/math/calctool TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/math/calctool XDG_CONFIG_HOME=/wrkdirs/math/calctool HOME=/wrkdirs/math/calctool 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 -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -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-- TTY="" NO_TTY="@comment " X11="" NO_X11="@comment " XVIEW="@comment " NO_XVIEW="" OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/calctool" EXAMPLESDIR="share/examples/calctool" DATADIR="share/calctool" WWWDIR="www/calctool" ETCDIR="etc/calctool" --End PLIST_SUB-- --SUB_LIST-- TTY="" NO_TTY="@comment " X11="" NO_X11="@comment " XVIEW="@comment " NO_XVIEW="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/calctool DOCSDIR=/usr/local/share/doc/calctool EXAMPLESDIR=/usr/local/share/examples/calctool WWWDIR=/usr/local/www/calctool ETCDIR=/usr/local/etc/calctool --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 calctool 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 =========================================================================== =================================================== ===> calctool-2.4.13_5 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 ===> calctool-2.4.13_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of calctool-2.4.13_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The calctool 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 ===> Fetching all distfiles required by calctool-2.4.13_5 for building =========================================================================== =================================================== ===> NOTICE: The calctool 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 ===> Fetching all distfiles required by calctool-2.4.13_5 for building => SHA256 Checksum OK for calctool-2.4pl13.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The calctool 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 ===> Fetching all distfiles required by calctool-2.4.13_5 for building ===> Extracting for calctool-2.4.13_5 => SHA256 Checksum OK for calctool-2.4pl13.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for calctool-2.4.13_5 ===> Applying ports patches for calctool-2.4.13_5 =========================================================================== =================================================== ===> calctool-2.4.13_5 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.0_5.txz Installing ncurses-6.0_5... Extracting ncurses-6.0_5: .......... 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 ===> calctool-2.4.13_5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of calctool-2.4.13_5 ===> calctool-2.4.13_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> calctool-2.4.13_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of calctool-2.4.13_5 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for calctool-2.4.13_5 =========================================================================== =================================================== ===> Building for calctool-2.4.13_5 --- calctool.o --- --- mathlib.o --- --- graphics.o --- --- display.o --- --- functions.o --- --- calctool.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c calctool.c --- mathlib.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c mathlib.c --- graphics.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c graphics.c --- display.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c display.c --- functions.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c functions.c --- calctool.o --- calctool.c:329:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ In file included from calctool.c:25:0: calctool.c: In function 'main': calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ calctool.c:333:3: note: in expansion of macro 'STRCPY' STRCPY(progname, argv[0]) ; /* Save this programs name. */ ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ calctool.c:333:3: note: in expansion of macro 'STRCPY' STRCPY(progname, argv[0]) ; /* Save this programs name. */ ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ calctool.c:333:3: note: in expansion of macro 'STRCPY' STRCPY(progname, argv[0]) ; /* Save this programs name. */ ^ calctool.c:334:3: warning: implicit declaration of function 'get_options' [-Wimplicit-function-declaration] get_options(argc, argv) ; /* Get command line arguments. */ ^ calctool.c:335:3: warning: implicit declaration of function 'get_helpfile' [-Wimplicit-function-declaration] get_helpfile(helpname) ; /* Open helpfile if present. */ ^ calctool.c:336:3: warning: implicit declaration of function 'read_rcfiles' [-Wimplicit-function-declaration] read_rcfiles() ; /* Read .calctoolrc's files. */ ^ calctool.c:337:7: warning: implicit declaration of function 'init_ws_type' [-Wimplicit-function-declaration] if (init_ws_type()) /* Determine window system type. */ ^ calctool.c:340:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1) ; ^ calctool.c:340:7: warning: incompatible implicit declaration of built-in function 'exit' calctool.c:340:7: note: include '' or provide a declaration of 'exit' calctool.c:342:3: warning: implicit declaration of function 'init_fonts' [-Wimplicit-function-declaration] init_fonts() ; /* Open required fonts. */ ^ calctool.c:343:3: warning: implicit declaration of function 'make_icon' [-Wimplicit-function-declaration] make_icon() ; /* Set up the calctool window icon. */ ^ calctool.c:344:3: warning: implicit declaration of function 'make_frames' [-Wimplicit-function-declaration] make_frames(argc, argv) ; /* Create calctool window frames. */ ^ calctool.c:345:3: warning: implicit declaration of function 'make_subframes' [-Wimplicit-function-declaration] make_subframes() ; /* Create panels and canvases. */ ^ calctool.c:346:3: warning: implicit declaration of function 'make_menus' [-Wimplicit-function-declaration] make_menus() ; /* Create menus for graphics versions. */ ^ calctool.c:347:21: warning: implicit declaration of function 'load_colors' [-Wimplicit-function-declaration] if (gtype != X11) load_colors() ; /* Load the initial calctool colormap. */ ^ calctool.c:356:3: warning: implicit declaration of function 'grey_buttons' [-Wimplicit-function-declaration] grey_buttons(base) ; ^ calctool.c:366:3: warning: implicit declaration of function 'make_items' [-Wimplicit-function-declaration] make_items() ; /* Create panel items and cursors. */ ^ calctool.c:368:3: warning: implicit declaration of function 'set_cursor' [-Wimplicit-function-declaration] set_cursor(MAINCURSOR) ; /* Initially display the arrow cursor. */ ^ calctool.c:369:3: warning: implicit declaration of function 'start_tool' [-Wimplicit-function-declaration] start_tool() ; /* Display the calculator. */ ^ calctool.c:370:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0) ; ^ calctool.c:370:3: note: include '' or provide a declaration of 'exit' calctool.c: At top level: calctool.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] doerr(funcname, etype, eval) ^ calctool.c: In function 'doerr': calctool.c:381:3: warning: implicit declaration of function 'set_item' [-Wimplicit-function-declaration] set_item(DISPLAYITEM, display) ; ^ calctool.c: At top level: calctool.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] matherr(exc) ^ In file included from calctool.c:25:0: calctool.c: In function 'matherr': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ calctool.c:393:3: note: in expansion of macro 'STRCPY' STRCPY(display, "Error") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ calctool.c:393:3: note: in expansion of macro 'STRCPY' STRCPY(display, "Error") ; ^ --- mathlib.o --- mathlib.c: In function 'addition': mathlib.c:2373:23: warning: implicit declaration of function 'doerr' [-Wimplicit-function-declaration] if (y > (HUGE - x)) doerr("add", "OVERFLOW", ERANGE) ; ^ --- display.o --- display.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] char_val(chr) ^ display.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_display() ^ In file included from display.c:23:0: display.c: In function 'clear_display': calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ display.c:43:3: note: in expansion of macro 'STRCPY' STRCPY(display, "0.") ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:43:3: note: in expansion of macro 'STRCPY' STRCPY(display, "0.") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:43:3: note: in expansion of macro 'STRCPY' STRCPY(display, "0.") ; ^ calctool.h:33:32: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] #define STRNCAT (void) strncat ^ display.c:44:34: note: in expansion of macro 'STRNCAT' for (i = 0; i < accuracy; i++) STRNCAT(display, "0", 1) ; ^ calctool.h:33:32: warning: incompatible implicit declaration of built-in function 'strncat' #define STRNCAT (void) strncat ^ display.c:44:34: note: in expansion of macro 'STRNCAT' for (i = 0; i < accuracy; i++) STRNCAT(display, "0", 1) ; ^ calctool.h:33:32: note: include '' or provide a declaration of 'strncat' #define STRNCAT (void) strncat ^ display.c:44:34: note: in expansion of macro 'STRNCAT' for (i = 0; i < accuracy; i++) STRNCAT(display, "0", 1) ; ^ display.c:45:3: warning: implicit declaration of function 'set_item' [-Wimplicit-function-declaration] set_item(DISPLAYITEM, display) ; ^ --- functions.o --- functions.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] do_accuracy() /* Set display accuracy. */ ^ functions.c: In function 'do_accuracy': functions.c:42:18: warning: implicit declaration of function 'char_val' [-Wimplicit-function-declaration] accuracy = char_val(current) ; ^ functions.c:43:7: warning: implicit declaration of function 'make_registers' [-Wimplicit-function-declaration] make_registers() ; ^ functions.c: At top level: functions.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] do_base() /* Change the current base setting. */ ^ --- display.o --- display.c: At top level: display.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] get_label(n) ^ --- functions.o --- functions.c: In function 'do_base': functions.c:60:3: warning: implicit declaration of function 'grey_buttons' [-Wimplicit-function-declaration] grey_buttons(base) ; ^ functions.c:61:3: warning: implicit declaration of function 'set_item' [-Wimplicit-function-declaration] set_item(BASEITEM, base_str[(int) base]) ; ^ functions.c:62:3: warning: implicit declaration of function 'show_display' [-Wimplicit-function-declaration] show_display(disp_val) ; ^ functions.c: At top level: functions.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] do_calculation() /* Perform arithmetic calculation and display result. */ ^ --- display.o --- In file included from display.c:23:0: display.c: In function 'get_label': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:107:29: note: in expansion of macro 'STRCPY' case CCTRL('h') : STRCPY(pstr, "bsp ") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:107:29: note: in expansion of macro 'STRCPY' case CCTRL('h') : STRCPY(pstr, "bsp ") ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:113:8: note: in expansion of macro 'STRCPY' else STRCPY(pstr, buttons[n].str) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:113:8: note: in expansion of macro 'STRCPY' else STRCPY(pstr, buttons[n].str) ; ^ display.c: At top level: display.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] initialise() ^ --- functions.o --- functions.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] do_clear() /* Clear the calculator display and re-initialise. */ ^ functions.c: In function 'do_clear': functions.c:123:3: warning: implicit declaration of function 'clear_display' [-Wimplicit-function-declaration] clear_display() ; ^ functions.c:125:3: warning: implicit declaration of function 'initialise' [-Wimplicit-function-declaration] initialise() ; ^ functions.c: At top level: functions.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] do_constant() ^ functions.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] do_delete() /* Remove the last numeric character typed. */ ^ functions.c: In function 'do_delete': functions.c:141:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(display)) display[strlen(display)-1] = '\0' ; ^ --- display.o --- In file included from display.c:23:0: display.c: In function 'make_number': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:185:7: note: in expansion of macro 'STRCPY' STRCPY(display, "Error") ; ^ --- functions.o --- functions.c:141:7: warning: incompatible implicit declaration of built-in function 'strlen' functions.c:141:7: note: include '' or provide a declaration of 'strlen' --- display.o --- calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:185:7: note: in expansion of macro 'STRCPY' STRCPY(display, "Error") ; ^ --- functions.o --- functions.c:150:15: warning: incompatible implicit declaration of built-in function 'strlen' display[strlen(display)-1] = '\0' ; ^ functions.c:150:15: note: include '' or provide a declaration of 'strlen' functions.c: At top level: functions.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] do_exchange() /* Exchange display with memory register. */ ^ functions.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int] do_expno() /* Get exponential number. */ ^ In file included from functions.c:25:0: functions.c: In function 'do_expno': calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ functions.c:177:7: note: in expansion of macro 'STRCPY' STRCPY(display, "1.0 +") ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ functions.c:177:7: note: in expansion of macro 'STRCPY' STRCPY(display, "1.0 +") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ functions.c:177:7: note: in expansion of macro 'STRCPY' STRCPY(display, "1.0 +") ; ^ --- display.o --- display.c: In function 'make_scientific': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:247:3: note: in expansion of macro 'STRCPY' STRCPY(fixed, make_fixed(mant, MAX_DIGITS-6)) ; ^ --- functions.o --- calctool.h:33:32: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] #define STRNCAT (void) strncat ^ functions.c:183:7: note: in expansion of macro 'STRNCAT' STRNCAT(display, ". +", 3) ; ^ --- display.o --- calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:247:3: note: in expansion of macro 'STRCPY' STRCPY(fixed, make_fixed(mant, MAX_DIGITS-6)) ; ^ --- functions.o --- calctool.h:33:32: warning: incompatible implicit declaration of built-in function 'strncat' #define STRNCAT (void) strncat ^ functions.c:183:7: note: in expansion of macro 'STRNCAT' STRNCAT(display, ". +", 3) ; ^ calctool.h:33:32: note: include '' or provide a declaration of 'strncat' #define STRNCAT (void) strncat ^ functions.c:183:7: note: in expansion of macro 'STRNCAT' STRNCAT(display, ". +", 3) ; ^ --- display.o --- display.c:248:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = 0; i < strlen(fixed); i++) *optr++ = fixed[i] ; ^ display.c:248:19: warning: incompatible implicit declaration of built-in function 'strlen' display.c:248:19: note: include '' or provide a declaration of 'strlen' --- functions.o --- calctool.h:33:32: warning: incompatible implicit declaration of built-in function 'strncat' #define STRNCAT (void) strncat ^ functions.c:186:22: note: in expansion of macro 'STRNCAT' else if (!key_exp) STRNCAT(display, " +", 2) ; ^ calctool.h:33:32: note: include '' or provide a declaration of 'strncat' #define STRNCAT (void) strncat ^ functions.c:186:22: note: in expansion of macro 'STRNCAT' else if (!key_exp) STRNCAT(display, " +", 2) ; ^ functions.c: At top level: functions.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] do_function() /* Perform a user defined function. */ ^ functions.c: In function 'do_function': functions.c:225:24: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0 ; i < strlen(fun_vals[fno]); i++) ^ functions.c:225:24: note: include '' or provide a declaration of 'strlen' functions.c:229:15: warning: implicit declaration of function 'process_item' [-Wimplicit-function-declaration] process_item(n) ; ^ --- display.o --- display.c: At top level: display.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] show_display(val) ^ In file included from display.c:23:0: display.c: In function 'show_display': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ display.c:317:7: note: in expansion of macro 'STRCPY' STRCPY(display, make_number(val)) ; ^ --- functions.o --- functions.c: In function 'do_help': functions.c:246:7: warning: implicit declaration of function 'make_canvas' [-Wimplicit-function-declaration] make_canvas(0) ; ^ --- display.o --- calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ display.c:317:7: note: in expansion of macro 'STRCPY' STRCPY(display, make_number(val)) ; ^ --- functions.o --- functions.c:247:7: warning: implicit declaration of function 'set_cursor' [-Wimplicit-function-declaration] set_cursor(MAINCURSOR) ; ^ functions.c:251:7: warning: implicit declaration of function 'clear_canvas' [-Wimplicit-function-declaration] clear_canvas(KEYCANVAS, WHITE) ; ^ functions.c:254:9: warning: implicit declaration of function 'drawtext' [-Wimplicit-function-declaration] drawtext(5, y, KEYCANVAS, NFONT, BLACK, "No help file found.") ; ^ In file included from functions.c:25:0: calctool.h:110:26: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] #define EQUAL !strcmp /* For character comparisons. */ ^ functions.c:265:15: note: in expansion of macro 'EQUAL' if (EQUAL(p, "_calctool.help_\n")) ^ functions.c:275:28: warning: incompatible implicit declaration of built-in function 'strlen' nextline[strlen(nextline)-1] = '\0' ; ^ functions.c:275:28: note: include '' or provide a declaration of 'strlen' functions.c: At top level: functions.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] do_immediate() ^ functions.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] do_keys() /* Display/undisplay the calctool key values. */ ^ functions.c: In function 'do_number': functions.c:353:12: warning: incompatible implicit declaration of built-in function 'strlen' else if (strlen(display) < disp_length[(int) base]) ^ functions.c:353:12: note: include '' or provide a declaration of 'strlen' In file included from functions.c:25:0: calctool.h:33:32: warning: incompatible implicit declaration of built-in function 'strncat' #define STRNCAT (void) strncat ^ functions.c:354:5: note: in expansion of macro 'STRNCAT' STRNCAT(display, ¤t, 1) ; ^ calctool.h:33:32: note: include '' or provide a declaration of 'strncat' #define STRNCAT (void) strncat ^ functions.c:354:5: note: in expansion of macro 'STRNCAT' STRNCAT(display, ¤t, 1) ; ^ functions.c: At top level: functions.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] do_numtype() /* Set number type (fixed or scientific). */ ^ In file included from functions.c:25:0: functions.c: In function 'do_numtype': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ functions.c:368:3: note: in expansion of macro 'STRCPY' STRCPY(buttons[n].str, (dtype == FIX) ? "SCI " : "FIX ") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ functions.c:368:3: note: in expansion of macro 'STRCPY' STRCPY(buttons[n].str, (dtype == FIX) ? "SCI " : "FIX ") ; ^ functions.c:370:3: warning: implicit declaration of function 'draw_button' [-Wimplicit-function-declaration] draw_button(row, column, 0, NORMAL) ; ^ functions.c: In function 'do_pending': functions.c:389:25: warning: implicit declaration of function 'do_sto_rcl' [-Wimplicit-function-declaration] case 'r' : do_sto_rcl() ; /* RCL */ ^ functions.c:394:25: warning: implicit declaration of function 'do_shift' [-Wimplicit-function-declaration] case '>' : do_shift() ; /* > */ ^ functions.c: At top level: functions.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] do_point() /* Handle numeric point. */ ^ In file included from functions.c:25:0: functions.c: In function 'do_point': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ functions.c:424:11: note: in expansion of macro 'STRCPY' STRCPY(display, ".") ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ functions.c:424:11: note: in expansion of macro 'STRCPY' STRCPY(display, ".") ; ^ functions.c:427:16: warning: incompatible implicit declaration of built-in function 'strlen' else if (strlen(display) < disp_length[(int) base]) ^ functions.c:427:16: note: include '' or provide a declaration of 'strlen' In file included from functions.c:25:0: calctool.h:33:32: warning: incompatible implicit declaration of built-in function 'strncat' #define STRNCAT (void) strncat ^ functions.c:428:9: note: in expansion of macro 'STRNCAT' STRNCAT(display, ".", 1) ; ^ calctool.h:33:32: note: include '' or provide a declaration of 'strncat' #define STRNCAT (void) strncat ^ functions.c:428:9: note: in expansion of macro 'STRNCAT' STRNCAT(display, ".", 1) ; ^ functions.c: At top level: functions.c:436:1: warning: return type defaults to 'int' [-Wimplicit-int] do_portion() ^ functions.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] do_set_mode() /* Set or unset various calculator modes. */ ^ functions.c: In function 'do_set_mode': functions.c:456:25: warning: implicit declaration of function 'do_trigtype' [-Wimplicit-function-declaration] case CCTRL('r') : do_trigtype() ; /* RAD */ ^ functions.c: At top level: functions.c:470:1: warning: return type defaults to 'int' [-Wimplicit-int] do_shift() /* Perform bitwise shift on display value. */ ^ In file included from functions.c:25:0: functions.c: In function 'do_shift': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ functions.c:487:7: note: in expansion of macro 'STRCPY' STRCPY(display, make_number(setbool(temp))) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ functions.c:487:7: note: in expansion of macro 'STRCPY' STRCPY(display, make_number(setbool(temp))) ; ^ functions.c: At top level: functions.c:493:1: warning: return type defaults to 'int' [-Wimplicit-int] do_sto_rcl() /* Save/restore value to/from memory register. */ ^ functions.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] do_trig() /* Perform all trigonometric functions. */ ^ functions.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] do_trigtype() /* Change the current trigonometric type. */ ^ --- graphics.o --- graphics.c: In function 'but_text': graphics.c:35:3: warning: implicit declaration of function 'get_label' [-Wimplicit-function-declaration] get_label(n) ; ^ graphics.c:36:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (spaces = 0, i = 0; i < strlen(pstr); i++) ^ graphics.c:36:31: warning: incompatible implicit declaration of built-in function 'strlen' graphics.c:36:31: note: include '' or provide a declaration of 'strlen' graphics.c:46:3: warning: implicit declaration of function 'drawtext' [-Wimplicit-function-declaration] drawtext(column*(BWIDTH+BGAP)+BBORDER+x, ^ graphics.c: At top level: graphics.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] do_repaint() /* Redraw the calctool canvas[es]. */ ^ graphics.c: In function 'do_repaint': graphics.c:53:3: warning: implicit declaration of function 'make_canvas' [-Wimplicit-function-declaration] make_canvas(0) ; ^ graphics.c: At top level: graphics.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] drawbox(x, y, width, height) ^ graphics.c: In function 'drawbox': graphics.c:60:3: warning: implicit declaration of function 'drawline' [-Wimplicit-function-declaration] drawline(x, y, x+width, y) ; ^ graphics.c: At top level: graphics.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_button(row, column, portion, state) ^ graphics.c: In function 'draw_button': graphics.c:79:7: warning: implicit declaration of function 'fillbox' [-Wimplicit-function-declaration] fillbox(column*(BWIDTH+BGAP)+BBORDER+1, ^ graphics.c: At top level: graphics.c:94:1: warning: return type defaults to 'int' [-Wimplicit-int] fillbox(x, y, width, height, boundry, color) ^ graphics.c: In function 'fillbox': graphics.c:99:7: warning: implicit declaration of function 'color_area' [-Wimplicit-function-declaration] color_area(x, y, width, height, WHITE) ; ^ graphics.c: At top level: graphics.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] get_menu_value() /* Get menu value if valid right mouse press. */ ^ graphics.c: In function 'get_menu_value': graphics.c:114:15: warning: implicit declaration of function 'do_menu' [-Wimplicit-function-declaration] val = do_menu((enum menu_type) i) ; ^ graphics.c:115:18: warning: implicit declaration of function 'handle_menu_selection' [-Wimplicit-function-declaration] if (val) handle_menu_selection(i, val) ; ^ graphics.c: In function 'handle_down_event': graphics.c:170:15: warning: implicit declaration of function 'inv_but' [-Wimplicit-function-declaration] inv_but(row, column, portion, INVERTED) ; ^ graphics.c: At top level: graphics.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] handle_menu_selection(menu, item) /* Process right button menu selection. */ ^ graphics.c: In function 'handle_menu_selection': graphics.c:183:3: warning: implicit declaration of function 'do_pending' [-Wimplicit-function-declaration] do_pending() ; ^ graphics.c: At top level: graphics.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] inv_but(row, column, portion, state) ^ graphics.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] make_canvas(toggle) ^ graphics.c: In function 'make_canvas': graphics.c:216:3: warning: implicit declaration of function 'clear_canvas' [-Wimplicit-function-declaration] clear_canvas(KEYCANVAS, color) ; ^ graphics.c:224:3: warning: implicit declaration of function 'set_item' [-Wimplicit-function-declaration] set_item(BASEITEM,base_str[(int) base]) ; ^ graphics.c: At top level: graphics.c:235:1: warning: return type defaults to 'int' [-Wimplicit-int] make_menus() /* Create the popup menus used by the graphics versions. */ ^ graphics.c: In function 'make_menus': graphics.c:259:3: warning: implicit declaration of function 'create_menu' [-Wimplicit-function-declaration] create_menu(M_ACC) ; /* Accuracies. */ ^ graphics.c: In function 'process_event': graphics.c:316:30: warning: implicit declaration of function 'process_item' [-Wimplicit-function-declaration] process_item(n) ; ^ graphics.c:340:30: warning: implicit declaration of function 'handle_selection' [-Wimplicit-function-declaration] case TAKE_FROM_SHELF : handle_selection() ; ^ graphics.c:342:49: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0 ; i < strlen(selection); i++) ^ graphics.c:342:49: note: include '' or provide a declaration of 'strlen' graphics.c:350:30: warning: implicit declaration of function 'get_display' [-Wimplicit-function-declaration] case PUT_ON_SHELF : get_display() ; ^ graphics.c:352:30: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] case DIED : exit(0) ; ^ graphics.c:352:30: warning: incompatible implicit declaration of built-in function 'exit' graphics.c:352:30: note: include '' or provide a declaration of 'exit' graphics.c: At top level: graphics.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] set_item(itemno, str) ^ graphics.c: In function 'set_item': graphics.c:367:25: warning: incompatible implicit declaration of built-in function 'strlen' x = 5+(MAX_DIGITS - strlen(old_text))*nfont_width ; ^ graphics.c:367:25: note: include '' or provide a declaration of 'strlen' graphics.c:374:50: warning: incompatible implicit declaration of built-in function 'strlen' if (itemno == DISPLAYITEM) x = 5+(MAX_DIGITS - strlen(str))*nfont_width ; ^ graphics.c:374:50: note: include '' or provide a declaration of 'strlen' In file included from graphics.c:19:0: calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ graphics.c:377:3: note: in expansion of macro 'STRCPY' STRCPY(items[(int) itemno].text, str) ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ graphics.c:377:3: note: in expansion of macro 'STRCPY' STRCPY(items[(int) itemno].text, str) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ graphics.c:377:3: note: in expansion of macro 'STRCPY' STRCPY(items[(int) itemno].text, str) ; ^ --- get.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c get.c get.c: In function 'convert': get.c:36:19: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = 0; i < strlen(line); i++) ^ get.c:36:19: warning: incompatible implicit declaration of built-in function 'strlen' get.c:36:19: note: include '' or provide a declaration of 'strlen' get.c: At top level: get.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] get_options(argc, argv) /* Extract command line options. */ ^ In file included from get.c:22:0: get.c: In function 'get_options': calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ get.c:58:3: note: in expansion of macro 'STRCPY' STRCPY(helpname, HELPNAME) ; /* Default help filename. */ ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ get.c:58:3: note: in expansion of macro 'STRCPY' STRCPY(helpname, HELPNAME) ; /* Default help filename. */ ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ get.c:58:3: note: in expansion of macro 'STRCPY' STRCPY(helpname, HELPNAME) ; /* Default help filename. */ ^ get.c:70:24: warning: implicit declaration of function 'getparam' [-Wimplicit-function-declaration] getparam(next, argv, "-a needs accuracy value") ; ^ get.c:71:35: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] accuracy = atoi(next) ; ^ get.c:141:24: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] default : usage() ; ^ get.c: At top level: get.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] getparam(s, argv, errmes) ^ In file included from get.c:22:0: get.c: In function 'getparam': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ get.c:151:43: note: in expansion of macro 'STRCPY' if (*argv != NULL && argv[0][0] != '-') STRCPY(s, *argv) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ get.c:151:43: note: in expansion of macro 'STRCPY' if (*argv != NULL && argv[0][0] != '-') STRCPY(s, *argv) ; ^ get.c:155:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1) ; ^ get.c:155:7: warning: incompatible implicit declaration of built-in function 'exit' get.c:155:7: note: include '' or provide a declaration of 'exit' In file included from get.c:22:0: get.c: In function 'get_helpfile': calctool.h:31:32: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] #define STRCAT (void) strcat ^ get.c:179:15: note: in expansion of macro 'STRCAT' STRCAT(name, helpname) ; ^ calctool.h:31:32: warning: incompatible implicit declaration of built-in function 'strcat' #define STRCAT (void) strcat ^ get.c:179:15: note: in expansion of macro 'STRCAT' STRCAT(name, helpname) ; ^ calctool.h:31:32: note: include '' or provide a declaration of 'strcat' #define STRCAT (void) strcat ^ get.c:179:15: note: in expansion of macro 'STRCAT' STRCAT(name, helpname) ; ^ get.c: In function 'get_rcfile': get.c:250:17: warning: implicit declaration of function 'char_val' [-Wimplicit-function-declaration] i = char_val(line[1]) ; ^ In file included from get.c:22:0: calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ get.c:259:17: note: in expansion of macro 'STRCPY' STRCPY(fun_vals[i], convert(tmp)) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ get.c:259:17: note: in expansion of macro 'STRCPY' STRCPY(fun_vals[i], convert(tmp)) ; ^ get.c:267:29: warning: incompatible implicit declaration of built-in function 'strlen' for (n = 3; n < strlen(line); n++) ^ get.c:267:29: note: include '' or provide a declaration of 'strlen' In file included from get.c:22:0: get.c: In function 'read_rcfiles': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ get.c:298:7: note: in expansion of macro 'STRCPY' STRCPY(con_names[n], name) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ get.c:298:7: note: in expansion of macro 'STRCPY' STRCPY(con_names[n], name) ; ^ get.c:304:29: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] if ((entry = getpwuid(getuid())) == NULL) return ; ^ get.c: At top level: get.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^ get.c: In function 'usage': get.c:319:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0) ; ^ get.c:319:3: note: include '' or provide a declaration of 'exit' --- x11.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c x11.c x11.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_canvas(ctype, color) ^ x11.c:94:1: warning: return type defaults to 'int' [-Wimplicit-int] close_frame() ^ x11.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] color_area(x, y, width, height, color) ^ x11.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] create_menu(mtype) /* Create popup menu for right button press. */ ^ x11.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_frame() ^ x11.c: In function 'destroy_frame': x11.c:136:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0) ; ^ x11.c:136:3: warning: incompatible implicit declaration of built-in function 'exit' x11.c:136:3: note: include '' or provide a declaration of 'exit' x11.c: At top level: x11.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] do_menu(mtype) /* Popup appropriate menu and get value. */ ^ x11.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] drawline(x1, y1, x2, y2) ^ x11.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_regs() ^ x11.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] drawtext(x, y, ctype, fontno, color, str) ^ x11.c: In function 'drawtext': x11.c:187:43: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] XDrawString(dpy, window, gc, x, y, str, strlen(str)) ; ^ x11.c:187:43: warning: incompatible implicit declaration of built-in function 'strlen' x11.c:187:43: note: include '' or provide a declaration of 'strlen' x11.c: At top level: x11.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] get_display() /* GET function key was pressed. */ ^ x11.c: In function 'get_font': x11.c:206:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1) ; ^ x11.c:206:9: note: include '' or provide a declaration of 'exit' x11.c: At top level: x11.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] get_next_event() ^ x11.c: In function 'get_next_event': x11.c:229:33: warning: incompatible implicit declaration of built-in function 'exit' exit(0) ; ^ x11.c:229:33: note: include '' or provide a declaration of 'exit' x11.c:232:38: warning: implicit declaration of function 'process_expose' [-Wimplicit-function-declaration] case Expose : return(process_expose(&event)) ; ^ x11.c: At top level: x11.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] handle_selection() ^ x11.c:278:1: warning: return type defaults to 'int' [-Wimplicit-int] init_fonts() ^ x11.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] init_ws_type() ^ x11.c: In function 'init_ws_type': x11.c:295:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1) ; ^ x11.c:295:7: note: include '' or provide a declaration of 'exit' In file included from x11.c:17:0: calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ x11.c:304:5: note: in expansion of macro 'STRCPY' STRCPY(geometry, tmpGeometry) ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ x11.c:304:5: note: in expansion of macro 'STRCPY' STRCPY(geometry, tmpGeometry) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ x11.c:304:5: note: in expansion of macro 'STRCPY' STRCPY(geometry, tmpGeometry) ; ^ x11.c: At top level: x11.c:314:1: warning: return type defaults to 'int' [-Wimplicit-int] load_colors() /* Create and load calctool color map. */ ^ x11.c: In function 'load_colors': x11.c:337:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1) ; ^ x11.c:337:11: note: include '' or provide a declaration of 'exit' x11.c: At top level: x11.c:401:1: warning: return type defaults to 'int' [-Wimplicit-int] make_frames(argc, argv) ^ x11.c: In function 'make_frames': x11.c:419:7: warning: incompatible implicit declaration of built-in function 'strlen' if (strlen(geometry)) ^ x11.c:419:7: note: include '' or provide a declaration of 'strlen' x11.c: At top level: x11.c:480:1: warning: return type defaults to 'int' [-Wimplicit-int] make_icon() {} /* Null routine - icon created in make_frame. */ ^ x11.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] make_items() ^ x11.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] make_subframes() {} /* Null routine, see the make_frame routine. */ ^ x11.c:495:1: warning: return type defaults to 'int' [-Wimplicit-int] process_expose(event) ^ x11.c: In function 'process_expose': x11.c:513:27: warning: implicit declaration of function 'make_registers' [-Wimplicit-function-declaration] if (dorframe && rstate) make_registers() ; ^ x11.c: At top level: x11.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int] set_cursor(type) ^ x11.c:530:1: warning: return type defaults to 'int' [-Wimplicit-int] start_tool() ^ x11.c: In function 'start_tool': x11.c:533:5: warning: implicit declaration of function 'process_event' [-Wimplicit-function-declaration] process_event(get_next_event()) ; ^ x11.c: At top level: x11.c:537:1: warning: return type defaults to 'int' [-Wimplicit-int] toggle_reg_canvas() ^ --- tty.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include -c tty.c tty.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_canvas(canvas, color) ^ tty.c: In function 'clear_canvas': tty.c:54:9: warning: implicit declaration of function 'tputs' [-Wimplicit-function-declaration] tputs(tgoto(CM, i, 43), 1, outc) ; ^ tty.c:55:9: warning: implicit declaration of function 'do_move' [-Wimplicit-function-declaration] do_move(43, i) ; ^ tty.c:56:9: warning: implicit declaration of function 'do_clr_eol' [-Wimplicit-function-declaration] do_clr_eol() ; ^ tty.c: At top level: tty.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] close_frame() {} /* This option does nothing with termcap. */ ^ tty.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] color_area(x, y, width, height, color) /* Color an area - null routine. */ ^ tty.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] create_menu(mtype) /* Create popup menu - null routine. */ ^ tty.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] destroy_frame() ^ tty.c: In function 'destroy_frame': tty.c:95:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0) ; ^ tty.c:95:3: warning: incompatible implicit declaration of built-in function 'exit' tty.c:95:3: note: include '' or provide a declaration of 'exit' tty.c: At top level: tty.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] do_clr_eol() /* Clear to the end of the line. */ ^ tty.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] do_menu(mtype) /* Popup appropriate menu (null routine). */ ^ tty.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] do_move(x, y) /* Move to character position (x, y). */ ^ tty.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] do_standend() /* Finish inverted area. */ ^ tty.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] do_standout() /* Start inverted area. */ ^ tty.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_regs() ^ tty.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] drawtext(tx, ty, window, fontno, color, str) ^ tty.c: In function 'drawtext': tty.c:210:25: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (i = 0; i < strlen(str); i++) str[i] = ' ' ; ^ tty.c:210:25: warning: incompatible implicit declaration of built-in function 'strlen' tty.c:210:25: note: include '' or provide a declaration of 'strlen' tty.c:219:21: warning: incompatible implicit declaration of built-in function 'strlen' tx = 41 - strlen(str) ; ^ tty.c:219:21: note: include '' or provide a declaration of 'strlen' In file included from tty.c:25:0: calctool.h:32:32: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define STRCPY (void) strcpy ^ tty.c:234:20: note: in expansion of macro 'STRCPY' case 4 : STRCPY(key, str) ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ tty.c:234:20: note: in expansion of macro 'STRCPY' case 4 : STRCPY(key, str) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ tty.c:234:20: note: in expansion of macro 'STRCPY' case 4 : STRCPY(key, str) ; ^ calctool.h:34:32: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] #define STRNCPY (void) strncpy ^ tty.c:238:20: note: in expansion of macro 'STRNCPY' STRNCPY(&key[1], str, 3) ; ^ calctool.h:34:32: warning: incompatible implicit declaration of built-in function 'strncpy' #define STRNCPY (void) strncpy ^ tty.c:238:20: note: in expansion of macro 'STRNCPY' STRNCPY(&key[1], str, 3) ; ^ calctool.h:34:32: note: include '' or provide a declaration of 'strncpy' #define STRNCPY (void) strncpy ^ tty.c:238:20: note: in expansion of macro 'STRNCPY' STRNCPY(&key[1], str, 3) ; ^ calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ tty.c:241:7: note: in expansion of macro 'STRCPY' STRCPY(str, key) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ tty.c:241:7: note: in expansion of macro 'STRCPY' STRCPY(str, key) ; ^ tty.c:247:3: warning: implicit declaration of function 'outstr' [-Wimplicit-function-declaration] outstr(str) ; ^ tty.c: At top level: tty.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] get_display() /* No GET key; null routine. */ ^ tty.c:257:1: warning: return type defaults to 'int' [-Wimplicit-int] get_next_event() /* Only events possible are keyboard ones. */ ^ In file included from tty.c:25:0: tty.c: In function 'get_next_event': calctool.h:26:32: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] #define READ (void) read ^ tty.c:264:7: note: in expansion of macro 'READ' READ(0, &c, 1) ; ^ tty.c: At top level: tty.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] handle_selection() /* There is no PUT function key with termcap. */ ^ tty.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] init_fonts() /* No fonts with the termcap version. */ ^ tty.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] init_ws_type() /* Check if terminal capable of termcap output. */ ^ In file included from tty.c:25:0: tty.c: In function 'init_ws_type': calctool.h:32:32: warning: incompatible implicit declaration of built-in function 'strcpy' #define STRCPY (void) strcpy ^ tty.c:288:31: note: in expansion of macro 'STRCPY' if (getenv("TERM") != NULL) STRCPY(termtype, getenv("TERM")) ; ^ calctool.h:32:32: note: include '' or provide a declaration of 'strcpy' #define STRCPY (void) strcpy ^ tty.c:288:31: note: in expansion of macro 'STRCPY' if (getenv("TERM") != NULL) STRCPY(termtype, getenv("TERM")) ; ^ tty.c:289:7: warning: implicit declaration of function 'tgetent' [-Wimplicit-function-declaration] if (tgetent(bp, termtype) != 1) return 1 ; ^ tty.c: At top level: tty.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] load_colors() ^ tty.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] make_frames(argc, argv) ^ tty.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int] make_icon() {} /* There is no icon with termcap. */ ^ tty.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] make_items() ^ tty.c: In function 'make_items': tty.c:348:3: warning: implicit declaration of function 'do_repaint' [-Wimplicit-function-declaration] do_repaint() ; /* Redraw the calctool canvas[es]. */ ^ tty.c: At top level: tty.c:352:1: warning: return type defaults to 'int' [-Wimplicit-int] make_subframes() {} /* There are no subframes with termcap. */ ^ tty.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int] outc(c) /* Output the next character to the screen. */ ^ tty.c:362:1: warning: return type defaults to 'int' [-Wimplicit-int] outstr(str) ^ tty.c: In function 'outstr': tty.c:367:19: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0; i < strlen(str); i++) PUTC(str[i], stdout) ; ^ tty.c:367:19: note: include '' or provide a declaration of 'strlen' tty.c: At top level: tty.c:372:1: warning: return type defaults to 'int' [-Wimplicit-int] set_cursor(type) /* There are no cursors with termcap. */ ^ tty.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int] start_tool() ^ tty.c: In function 'start_tool': tty.c:380:5: warning: implicit declaration of function 'process_event' [-Wimplicit-function-declaration] process_event(get_next_event()) ; ^ tty.c: At top level: tty.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] toggle_reg_canvas() /* Show or clear memory register area. */ ^ tty.c: In function 'toggle_reg_canvas': tty.c:388:15: warning: implicit declaration of function 'make_registers' [-Wimplicit-function-declaration] if (rstate) make_registers() ; ^ --- libcalctool.so.1 --- cc -shared -o libcalctool.so.1 graphics.o display.o functions.o get.o ln -sf libcalctool.so.1 libcalctool.so --- tty_calctool --- --- xcalctool --- --- tty_calctool --- cc -o tty_calctool -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include calctool.o mathlib.o tty.o -L . -lcalctool -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lncurses -lm --- xcalctool --- cc -o xcalctool -L/usr/local/lib -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHELPNAME=\"/usr/local/share/calctool/calctool.help\" -fpic -DSUN4_KEYBOARD -I/usr/local/include -I/usr/local/include calctool.o mathlib.o x11.o -L . -lcalctool -lX11 -lm =========================================================================== =================================================== ===> calctool-2.4.13_5 depends on file: /usr/local/lib/libncurses.so.6 - found ===> calctool-2.4.13_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===> Staging for calctool-2.4.13_5 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/math/calctool/stage/usr/local/share/calctool install -s -m 555 /wrkdirs/math/calctool/calctool-2.4pl13/libcalctool.so.1 /wrkdirs/math/calctool/stage/usr/local/lib install -s -m 555 /wrkdirs/math/calctool/calctool-2.4pl13/xcalctool /wrkdirs/math/calctool/stage/usr/local/bin install -s -m 555 /wrkdirs/math/calctool/calctool-2.4pl13/tty_calctool /wrkdirs/math/calctool/stage/usr/local/bin install -m 444 /wrkdirs/math/calctool/calctool-2.4pl13/calctool.1 /wrkdirs/math/calctool/stage/usr/local/man/man1 install -m 0644 /wrkdirs/math/calctool/calctool-2.4pl13/calctool.help /wrkdirs/math/calctool/stage/usr/local/share/calctool ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for calctool-2.4.13_5 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for calctool-2.4.13_5 build of math/calctool ended at Tue Oct 4 22:41:15 PDT 2016 build time: 00:00:08