<86>Sep 29 13:18:41 userdel[581257]: delete user 'rooter' <86>Sep 29 13:18:41 userdel[581257]: removed group 'rooter' owned by 'rooter' <86>Sep 29 13:18:41 userdel[581257]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 29 13:18:41 groupadd[581286]: group added to /etc/group: name=rooter, GID=1805 <86>Sep 29 13:18:41 groupadd[581286]: group added to /etc/gshadow: name=rooter <86>Sep 29 13:18:41 groupadd[581286]: new group: name=rooter, GID=1805 <86>Sep 29 13:18:41 useradd[581304]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash <86>Sep 29 13:18:41 userdel[581351]: delete user 'builder' <86>Sep 29 13:18:41 userdel[581351]: removed group 'builder' owned by 'builder' <86>Sep 29 13:18:41 userdel[581351]: removed shadow group 'builder' owned by 'builder' <86>Sep 29 13:18:41 groupadd[581385]: group added to /etc/group: name=builder, GID=1806 <86>Sep 29 13:18:41 groupadd[581385]: group added to /etc/gshadow: name=builder <86>Sep 29 13:18:41 groupadd[581385]: new group: name=builder, GID=1806 <86>Sep 29 13:18:41 useradd[581416]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Sep 29 13:18:45 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Sep 29 13:18:45 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 29 13:18:45 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Sep 29 13:18:45 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:45 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Sep 29 13:18:45 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 13:18:45 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:45 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 29 13:18:46 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Sep 29 13:18:46 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Sep 29 13:18:46 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Sep 29 13:18:46 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Sep 29 13:18:46 rpmi: imake-1.0.7-alt3 1518797773 installed <13>Sep 29 13:18:46 rpmi: gccmakedep-1.0.3-alt1 1401808701 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libxview-3.2p1.4-alt10.nosrc.rpm (w1.gzdio) Installing libxview-3.2p1.4-alt10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.24043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xview-3.2p1.4 + echo 'Source #0 (xview_3.2p1.4.orig.tar.gz):' Source #0 (xview_3.2p1.4.orig.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/xview_3.2p1.4.orig.tar.gz + /bin/tar -xf - + cd xview-3.2p1.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (xview-3.2p1.4-debian-26.patch):' Patch #0 (xview-3.2p1.4-debian-26.patch): + /usr/bin/patch -p1 patching file Build-LinuxXView.bash patching file imake patching file xview.man patching file Imakefile patching file util/Imakefile patching file util/conversion/Imakefile patching file util/xgettext/xgettext.h patching file util/xgettext/xgettext.c patching file util/xgettext/xgettext.man patching file util/xgettext/Imakefile patching file util/msgfmt/Imakefile patching file util/cpp/Imakefile patching file config/XView.lib patching file config/XView.rules.xstr patching file config/XView.rules patching file config/XView.obj patching file config/XView.prog patching file config/XView.cf patching file config/Imakefile patching file config/XView.tmpl patching file clients/Imakefile patching file clients/olwm/winframe.c patching file clients/olwm/mem.c patching file clients/olwm/menu.c patching file clients/olwm/events.c patching file clients/olwm/olwm.c patching file clients/olwm/mem.h patching file clients/olwm/slave.c patching file clients/olwm/services.c patching file clients/olwm/gettext.c patching file clients/olwm/screen.c patching file clients/olwm/cmdstream.c patching file clients/olwm/st.c patching file clients/olwm/usermenu.c patching file clients/olwm/resources.c patching file clients/olwm/winicon.c patching file clients/olwm/usleep.c patching file clients/olwm/Imakefile patching file clients/olwm/defaults.c patching file clients/olwm/i18n.c patching file clients/textedit/textedit.c patching file clients/textedit/Imakefile patching file clients/textedit/textedit.man patching file clients/olwmslave/i18n.h patching file clients/olwmslave/olwmslave.c patching file clients/olwmslave/propswin.c patching file clients/olwmslave/mem.h patching file clients/olwmslave/cmdstream.c patching file clients/olwmslave/helpwin.c patching file clients/olwmslave/Imakefile patching file clients/olwmslave/helprecv.c patching file clients/olwmslave/propsrecv.c patching file clients/olwmslave/i18n.c patching file clients/olvwm-4.1/ol_button.svr4.c patching file clients/olvwm-4.1/atom.c patching file clients/olvwm-4.1/images.c patching file clients/olvwm-4.1/patchlevel.h patching file clients/olvwm-4.1/st.h patching file clients/olvwm-4.1/evbind.c patching file clients/olvwm-4.1/winframe.c patching file clients/olvwm-4.1/menu.c patching file clients/olvwm-4.1/olwm.c patching file clients/olvwm-4.1/mem.h patching file clients/olvwm-4.1/winipane.c patching file clients/olvwm-4.1/properties.c patching file clients/olvwm-4.1/services.c patching file clients/olvwm-4.1/gettext.c patching file clients/olvwm-4.1/virtual.c patching file clients/olvwm-4.1/pixmap.c patching file clients/olvwm-4.1/screen.c patching file clients/olvwm-4.1/olgx_impl.h patching file clients/olvwm-4.1/olvwmrc.y patching file clients/olvwm-4.1/st.c patching file clients/olvwm-4.1/usermenu.c patching file clients/olvwm-4.1/moveresize.c patching file clients/olvwm-4.1/cursors.c patching file clients/olvwm-4.1/resources.c patching file clients/olvwm-4.1/winicon.c patching file clients/olvwm-4.1/usleep.c patching file clients/olvwm-4.1/Imakefile patching file clients/olvwm-4.1/defaults.c patching file clients/olvwm-4.1/ol_button.413.c patching file clients/olvwm-4.1/CHANGES patching file clients/olvwm-4.1/gif.c patching file clients/olvwm-4.1/i18n.c patching file clients/cmdtool/cmdtool.man patching file clients/cmdtool/cmdtool.c patching file clients/cmdtool/Imakefile patching file clients/clock/Imakefile patching file clients/clock/clock.c patching file clients/props/props.man patching file clients/props/l10n_read.c patching file clients/props/l10n_props.h patching file clients/props/l10n_props.c patching file clients/props/Imakefile patching file contrib/Imakefile patching file contrib/misc/insert_brackets patching file contrib/misc/shift_lines.1 patching file contrib/misc/capitalize.1 patching file contrib/misc/insert_brackets.1 patching file contrib/misc/remove_brackets patching file contrib/misc/remove_brackets.1 patching file contrib/misc/capitalize patching file contrib/misc/shift_lines patching file contrib/examples/Imakefile patching file contrib/examples/dnd/source2.c patching file contrib/examples/dnd/source1.c patching file contrib/examples/dnd/Imakefile patching file contrib/examples/panels/Imakefile patching file contrib/examples/notifier/animate.c patching file contrib/examples/notifier/ntfy_pipe.c patching file contrib/examples/notifier/notify.c patching file contrib/examples/notifier/Imakefile patching file contrib/examples/color/animate.c patching file contrib/examples/color/Imakefile patching file contrib/examples/cursor/Imakefile patching file contrib/examples/defaults/Imakefile patching file contrib/examples/scrollbar/scroll_cells.c patching file contrib/examples/scrollbar/Imakefile patching file contrib/examples/menus/menu_dir.c patching file contrib/examples/menus/menu_dir2.c patching file contrib/examples/menus/Imakefile patching file contrib/examples/frames/Imakefile patching file contrib/examples/ttysw/Imakefile patching file contrib/examples/extensions/Imakefile patching file contrib/examples/extensions/panel_items/wizzy.c patching file contrib/examples/extensions/panel_items/Imakefile patching file contrib/examples/selection/Imakefile patching file contrib/examples/misc/Imakefile patching file contrib/examples/fonts/Imakefile patching file contrib/examples/fonts/simple_font.c patching file contrib/examples/canvas/Imakefile patching file contrib/examples/sv_compat/Imakefile patching file contrib/examples/icons/Imakefile patching file contrib/examples/textsw/Imakefile patching file contrib/examples/notice/Imakefile patching file contrib/examples/seln_svc/Imakefile patching file lib/Imakefile patching file lib/libxview/Imakefile patching file lib/libxview/wmgr/wmgr_decor.h patching file lib/libxview/wmgr/wmgr_menu.c patching file lib/libxview/wmgr/Imakefile patching file lib/libxview/attr/attr.c patching file lib/libxview/attr/attr_copy.c patching file lib/libxview/attr/attr_impl.h patching file lib/libxview/attr/Imakefile patching file lib/libxview/notify/notify.h patching file lib/libxview/notify/sys_select.c patching file lib/libxview/notify/ultrix_cpt.h patching file lib/libxview/notify/ndet_loop.c patching file lib/libxview/notify/nint_stack.c patching file lib/libxview/notify/linux_select.h patching file lib/libxview/notify/ndisd_wait.c patching file lib/libxview/notify/linux_select.c patching file lib/libxview/notify/ndet_fcntl.c patching file lib/libxview/notify/sys_read.c patching file lib/libxview/notify/ntfyclient.c patching file lib/libxview/notify/ndisdispch.c patching file lib/libxview/notify/ndet_s_poll.c patching file lib/libxview/notify/ndet_auto.c patching file lib/libxview/notify/nint.h patching file lib/libxview/notify/ndet.h patching file lib/libxview/notify/nintn_wait.c patching file lib/libxview/notify/ntfy.h patching file lib/libxview/notify/ntfy_ctbl.c patching file lib/libxview/notify/ndetitimer.c patching file lib/libxview/notify/ndetpoll.c patching file lib/libxview/notify/ntfy_test.c patching file lib/libxview/notify/sys_fcntl.c patching file lib/libxview/notify/ndet_fd.c patching file lib/libxview/notify/nint_copy.c patching file lib/libxview/notify/ndis.h patching file lib/libxview/notify/Imakefile patching file lib/libxview/notify/nint_next.c patching file lib/libxview/notify/ntfy_fd_op.c patching file lib/libxview/notify/ndis_d_pri.c patching file lib/libxview/dnd/site_impl.h patching file lib/libxview/dnd/dndimpl.h patching file lib/libxview/dnd/site_pblc.c patching file lib/libxview/dnd/dnd_dsdm.c patching file lib/libxview/dnd/dnd_pblc.c patching file lib/libxview/dnd/dnd.c patching file lib/libxview/dnd/site.c patching file lib/libxview/dnd/Imakefile patching file lib/libxview/imcb/stat_imcb.c patching file lib/libxview/imcb/Imakefile patching file lib/libxview/imcb/aux.h patching file lib/libxview/window/windowutil.c patching file lib/libxview/window/window_set.c patching file lib/libxview/window/window.c patching file lib/libxview/window/window_get.c patching file lib/libxview/window/windowlayt.c patching file lib/libxview/window/Imakefile patching file lib/libxview/color/Imakefile patching file lib/libxview/color/cms_pblc.c patching file lib/libxview/string_utils/Imakefile patching file lib/libxview/server/svr_x.c patching file lib/libxview/server/svr_kmdata.h patching file lib/libxview/server/server.c patching file lib/libxview/server/Imakefile patching file lib/libxview/cursor/Imakefile patching file lib/libxview/defaults/Imakefile patching file lib/libxview/defaults/defaults.c patching file lib/libxview/scrollbar/sb_impl.h patching file lib/libxview/scrollbar/sb.c patching file lib/libxview/scrollbar/Imakefile patching file lib/libxview/font/font_get.c patching file lib/libxview/font/font_x.c patching file lib/libxview/font/font.c patching file lib/libxview/font/Imakefile patching file lib/libxview/ttysw/tty_ntfy.c patching file lib/libxview/ttysw/ttytl.c patching file lib/libxview/ttysw/csr_change.c patching file lib/libxview/ttysw/tty_mapkey.c patching file lib/libxview/ttysw/term_ntfy.c patching file lib/libxview/ttysw/ttyansi.c patching file lib/libxview/ttysw/term_impl.h patching file lib/libxview/ttysw/charscreen.h patching file lib/libxview/ttysw/tty_init.c patching file lib/libxview/ttysw/tty_main.c patching file lib/libxview/ttysw/ttyselect.c patching file lib/libxview/ttysw/tty_modes.c patching file lib/libxview/ttysw/tty_impl.h patching file lib/libxview/ttysw/tty_stty.c patching file lib/libxview/ttysw/csr_init.c patching file lib/libxview/ttysw/termsw.c patching file lib/libxview/ttysw/tty_newtxt.c patching file lib/libxview/ttysw/Imakefile patching file lib/libxview/ttysw/cim_change.c patching file lib/libxview/ttysw/tty_gtty.c patching file lib/libxview/panel/panel_seln.c patching file lib/libxview/panel/p_select.c patching file lib/libxview/panel/p_slider.c patching file lib/libxview/panel/p_list.c patching file lib/libxview/panel/p_utl.c patching file lib/libxview/panel/item_set.c patching file lib/libxview/panel/p_txt.c patching file lib/libxview/panel/p_btn.c patching file lib/libxview/panel/p_num_btn.c patching file lib/libxview/panel/p_set.c patching file lib/libxview/panel/panel_impl.h patching file lib/libxview/panel/p_choice.c patching file lib/libxview/panel/panel.c patching file lib/libxview/panel/Imakefile patching file lib/libxview/panel/p_get.c patching file lib/libxview/panel/p_gauge.c patching file lib/libxview/panel/p_mlinetxt.c patching file lib/libxview/selection/sel_req.c patching file lib/libxview/selection/sel_item.c patching file lib/libxview/selection/sel_own.c patching file lib/libxview/selection/sel_impl.h patching file lib/libxview/selection/selection.c patching file lib/libxview/selection/sel_util.c patching file lib/libxview/selection/Imakefile patching file lib/libxview/io_stream/input.c patching file lib/libxview/io_stream/Imakefile patching file lib/libxview/help/help_file.c patching file lib/libxview/help/help.h patching file lib/libxview/help/Imakefile patching file lib/libxview/base/generic.c patching file lib/libxview/base/base.h patching file lib/libxview/base/generic.h patching file lib/libxview/base/xv_list.h patching file lib/libxview/base/xv_error.c patching file lib/libxview/base/qualifyx.h patching file lib/libxview/base/xv_parse.c patching file lib/libxview/base/Imakefile patching file lib/libxview/base/xv_debug.h patching file lib/libxview/base/gen_impl.h patching file lib/libxview/base/xv_xlib.h patching file lib/libxview/base/xv.c patching file lib/libxview/icon/Imakefile patching file lib/libxview/misc/portable.h patching file lib/libxview/misc/xv_icccm.c patching file lib/libxview/misc/getlogindr.c patching file lib/libxview/misc/hashfn.h patching file lib/libxview/misc/setlocale.c patching file lib/libxview/misc/i18n_impl.h patching file lib/libxview/misc/quark.c patching file lib/libxview/misc/drop.c patching file lib/libxview/misc/gettext.c patching file lib/libxview/misc/gettext.h patching file lib/libxview/misc/Imakefile patching file lib/libxview/misc/bitmask.h patching file lib/libxview/misc/expandname.c patching file lib/libxview/win/win_bldkmp.c patching file lib/libxview/win/win_ascii.h patching file lib/libxview/win/win_input.c patching file lib/libxview/win/win_kmdata.h patching file lib/libxview/win/win_keymap.h patching file lib/libxview/win/Imakefile patching file lib/libxview/filter/filter.h patching file lib/libxview/filter/filter.c patching file lib/libxview/filter/Imakefile patching file lib/libxview/canvas/Imakefile patching file lib/libxview/menu/om_public.c patching file lib/libxview/menu/omi_impl.h patching file lib/libxview/menu/openmenu.h patching file lib/libxview/menu/omi.h patching file lib/libxview/menu/Imakefile patching file lib/libxview/menu/om_impl.h patching file lib/libxview/sel/seln.c patching file lib/libxview/sel/sel_compat.h patching file lib/libxview/sel/seln_impl.h patching file lib/libxview/sel/Imakefile patching file lib/libxview/sel/sel_agent.c patching file lib/libxview/fullscreen/Imakefile patching file lib/libxview/file_chooser/file_list.c patching file lib/libxview/file_chooser/flist_impl.h patching file lib/libxview/file_chooser/Imakefile patching file lib/libxview/pw/xv_rop.c patching file lib/libxview/pw/Imakefile patching file lib/libxview/rect/rect_util.c patching file lib/libxview/rect/Imakefile patching file lib/libxview/screen/scrn_lyout.c patching file lib/libxview/screen/scrn_get.c patching file lib/libxview/screen/Imakefile patching file lib/libxview/textsw/finger_tbl.c patching file lib/libxview/textsw/txt_once.c patching file lib/libxview/textsw/es_file.c patching file lib/libxview/textsw/txt_edit.c patching file lib/libxview/textsw/ps_impl.c patching file lib/libxview/textsw/txt_view.c patching file lib/libxview/textsw/ev_display.c patching file lib/libxview/textsw/txt_menu.c patching file lib/libxview/textsw/txt_incl.c patching file lib/libxview/textsw/txt_input.c patching file lib/libxview/textsw/txt_file.c patching file lib/libxview/textsw/txt_popup.c patching file lib/libxview/textsw/ev_edit.c patching file lib/libxview/textsw/txt_field.c patching file lib/libxview/textsw/txt_filter.c patching file lib/libxview/textsw/ev_op_bdry.c patching file lib/libxview/textsw/txt_putkey.c patching file lib/libxview/textsw/txt_impl.h patching file lib/libxview/textsw/primal.h patching file lib/libxview/textsw/txt_again.c patching file lib/libxview/textsw/txt_selsvc.c patching file lib/libxview/textsw/ei_text.c patching file lib/libxview/textsw/es_mem.c patching file lib/libxview/textsw/Imakefile patching file lib/libxview/textsw/txt_search.c patching file lib/libxview/textsw/txt_e_menu.c patching file lib/libxview/notice/notice_get.c patching file lib/libxview/notice/notice_set.c patching file lib/libxview/notice/notice_pt.c patching file lib/libxview/notice/noticeimpl.h patching file lib/libxview/notice/Imakefile patching file lib/libxview/openwin/ow_get.c patching file lib/libxview/openwin/ow_seln.c patching file lib/libxview/openwin/openwin.c patching file lib/libxview/openwin/ow_impl.h patching file lib/libxview/openwin/ow_evt.c patching file lib/libxview/openwin/ow_paint.c patching file lib/libxview/openwin/ow_set.c patching file lib/libxview/openwin/ow_view.c patching file lib/libxview/openwin/ow_resize.c patching file lib/libxview/openwin/Imakefile patching file lib/libxview/frame/fm_xutil.h patching file lib/libxview/frame/frame_help.h patching file lib/libxview/frame/fm_get.c patching file lib/libxview/frame/fm_rescale.c patching file lib/libxview/frame/fmcmd_set.c patching file lib/libxview/frame/fm_impl.h patching file lib/libxview/frame/frame_base.h patching file lib/libxview/frame/fm_cmdline.c patching file lib/libxview/frame/fm_input.c patching file lib/libxview/frame/fm_layout.c patching file lib/libxview/frame/fm_props.h patching file lib/libxview/frame/Imakefile patching file lib/libxview/frame/frame_cmd.h patching file lib/libxview/frame/fm_win.c patching file lib/libxview/server_image/svrim_impl.h patching file lib/libxview/server_image/Imakefile patching file lib/pixrect/memreg.h patching file lib/pixrect/mem_rop_impl_util.h patching file lib/pixrect/cg8var.h patching file lib/pixrect/pr_dblbuf.h patching file lib/pixrect/cg9var.h patching file lib/pixrect/cg12_var.h patching file lib/pixrect/gp1var.h patching file lib/pixrect/pr_line.h patching file lib/pixrect/pr_impl_make.h patching file lib/pixrect/mem32_var.h patching file lib/pixrect/cg4var.h patching file lib/pixrect/memvar.h patching file lib/pixrect/pixfont.h patching file lib/pixrect/bw2var.h patching file lib/pixrect/cg2var.h patching file lib/pixrect/traprop.h patching file lib/pixrect/pixrect_hs.h patching file lib/pixrect/tv1var.h patching file lib/pixrect/gp1cmds.h patching file lib/pixrect/pr_io.h patching file lib/pixrect/cg2reg.h patching file lib/pixrect/pr_util.h patching file lib/pixrect/pr_planegroups.h patching file lib/pixrect/cg3var.h patching file lib/pixrect/Imakefile patching file lib/pixrect/pr_impl_util.h patching file lib/pixrect/pixrect.h patching file lib/libolgx/Imakefile patching file images/Imakefile patching file misc/Imakefile patching file misc/support/Imakefile patching file fonts/Imakefile patching file fonts/bdf/Imakefile patching file fonts/bdf/75dpi/Imakefile patching file fonts/bdf/misc/Imakefile patching file fonts/bdf/100dpi/Imakefile patching file doc/Imakefile patching file doc/bugs/Imakefile patching file doc/config/Imakefile patching file doc/config/usenixws/Imakefile patching file bitmaps/Imakefile + echo 'Patch #1 (xview_3.2p1.4-alt-xorg7.patch):' Patch #1 (xview_3.2p1.4-alt-xorg7.patch): + /usr/bin/patch -p0 patching file imake + echo 'Patch #2 (xview_3.2p1.4-alt-gcc41.patch):' Patch #2 (xview_3.2p1.4-alt-gcc41.patch): + /usr/bin/patch -p1 patching file lib/libxview/ttysw/tty_mapkey.c Hunk #1 succeeded at 35 (offset 1 line). + sed -e 's/MSG_UTIL = xgettext msgfmt/#MSG_UTIL = xgettext msgfmt/' -i util/Imakefile + echo 'Patch #21 (olvwm-posix-regex.patch):' Patch #21 (olvwm-posix-regex.patch): + /usr/bin/patch -p1 patching file clients/olvwm-4.1/virtual.c + echo 'Patch #22 (xview-FD_SETSIZE.patch):' Patch #22 (xview-FD_SETSIZE.patch): + /usr/bin/patch -p1 patching file lib/libxview/notify/ndet_fd.c patching file lib/libxview/notify/ndisdispch.c patching file lib/libxview/sel/sel_agent.c patching file lib/libxview/textsw/txt_filter.c patching file lib/libxview/ttysw/term_ntfy.c + echo 'Patch #23 (xview-shelltool-manpage-cpp-compatibility.patch):' Patch #23 (xview-shelltool-manpage-cpp-compatibility.patch): + /usr/bin/patch -p1 patching file clients/cmdtool/shelltool.man + echo 'Patch #24 (xview-sysv-wait-and-signals.patch):' Patch #24 (xview-sysv-wait-and-signals.patch): + /usr/bin/patch -p1 patching file clients/olvwm-4.1/olwm.c patching file clients/olwm/olwm.c patching file contrib/examples/notifier/ntfy_pipe.c patching file lib/libxview/base/base.h patching file lib/libxview/misc/expandname.c patching file lib/libxview/notify/ndisd_wait.c patching file lib/libxview/notify/nintn_wait.c patching file lib/libxview/notify/ntfy_test.c patching file lib/libxview/ttysw/tty.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xview-3.2p1.4 + rm -f make ++ pwd + export 'IMAKEINCLUDE=-I/usr/src/RPM/BUILD/xview-3.2p1.4/config -I/usr/share/X11/config' + IMAKEINCLUDE='-I/usr/src/RPM/BUILD/xview-3.2p1.4/config -I/usr/share/X11/config' + cd config + imake -DUseInstalled In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 + cd .. + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 make Makefiles make: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' making Makefiles in lib... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' making Makefiles in lib/libolgx... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:46, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' making Makefiles in lib/libxview... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:38, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.lib:25: warning: "NoDataObjs" is not defined, evaluates to 0 [-Wundef] # if !NoDataObjs make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' making Makefiles in lib/libxview/attr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:51, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' making Makefiles in lib/libxview/base... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:64, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' making Makefiles in lib/libxview/canvas... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:64, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' making Makefiles in lib/libxview/color... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:48, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' making Makefiles in lib/libxview/cursor... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:51, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' making Makefiles in lib/libxview/defaults... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:45, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' making Makefiles in lib/libxview/dnd... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:44, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' making Makefiles in lib/libxview/file_chooser... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:67, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' making Makefiles in lib/libxview/filter... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:43, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' making Makefiles in lib/libxview/font... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:56, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' making Makefiles in lib/libxview/frame... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:59, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' making Makefiles in lib/libxview/fullscreen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:50, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' making Makefiles in lib/libxview/help... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:46, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' making Makefiles in lib/libxview/icon... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:50, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' making Makefiles in lib/libxview/io_stream... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:53, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' making Makefiles in lib/libxview/menu... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:53, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' making Makefiles in lib/libxview/misc... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from /usr/src/tmp/IIf.MSm2yN:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from /usr/src/tmp/IIf.MSm2yN:148, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' making Makefiles in lib/libxview/notice... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:56, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' making Makefiles in lib/libxview/notify... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:82, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' making Makefiles in lib/libxview/openwin... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:45, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' making Makefiles in lib/libxview/panel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:72, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' making Makefiles in lib/libxview/pw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:75, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' making Makefiles in lib/libxview/rect... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:48, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' making Makefiles in lib/libxview/screen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:50, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' making Makefiles in lib/libxview/scrollbar... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:46, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' making Makefiles in lib/libxview/sel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:56, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' making Makefiles in lib/libxview/selection... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:44, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' making Makefiles in lib/libxview/server... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:56, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' making Makefiles in lib/libxview/server_image... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:46, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' making Makefiles in lib/libxview/string_utils... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:45, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' making Makefiles in lib/libxview/textsw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:92, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' making Makefiles in lib/libxview/ttysw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:62, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' making Makefiles in lib/libxview/win... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:65, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' making Makefiles in lib/libxview/window... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:58, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' making Makefiles in lib/libxview/wmgr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from ./Imakefile:43, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:12: warning: "LibraryTmpl" is not defined, evaluates to 0 [-Wundef] #if LibraryTmpl /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:20: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] #if !NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:32: warning: "SubdirHasSpecialObjs" is not defined, evaluates to 0 [-Wundef] # if SubdirHasSpecialObjs /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:101: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:119: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.obj:125: warning: "NotLibXView" is not defined, evaluates to 0 [-Wundef] # if NotLibXView make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' make[3]: Nothing to be done for 'Makefiles'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' making Makefiles in lib/pixrect... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' making Makefiles in images... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' making Makefiles in bitmaps... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: ./Imakefile:8:16: warning: backslash and newline separated by space CORE_BITMAPS = \ make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' making Makefiles in misc... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' making Makefiles in misc/support... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX In file included from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: ./Imakefile:8:79: warning: backslash and newline separated by space INFOFILES = textsw.info ttysw.info xview.info clock.info olwm.info props.info \ make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' making Makefiles in util... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from /usr/src/tmp/IIf.tlV1gE:5, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' making Makefiles in util/conversion... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from ./Imakefile:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: /usr/src/RPM/BUILD/xview-3.2p1.4/config/XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' making Makefiles in config... mv -f Makefile Makefile.bak make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined # define XBinDir $(XPROJECTROOT)/bin In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:14: note: this is the location of the previous definition #define XBinDir /usr/bin In file included from /usr/share/X11/config/Imake.tmpl:2145, from Imakefile.c:34: /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116, from Imakefile.c:34: /usr/share/X11/config/host.def:16: note: this is the location of the previous definition #define XUsrLibDirPath /usr/lib64 In file included from /usr/src/tmp/IIf.EZ3XYG:2, from /usr/share/X11/config/Imake.tmpl:2194, from Imakefile.c:34: ./XView.tmpl:354: warning: "SharedLibX" is not defined, evaluates to 0 [-Wundef] #if SharedLibX make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make includes make: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' including in ./lib... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' including in lib/libolgx... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' + mkdir -p ../../build//include/olgx + cd ../../build//include/olgx + for i in olgx.h + rm -f olgx.h + ln -s ../../..//lib/libolgx/olgx.h . + mkdir -p ../../build//include/olgx_private + cd ../../build//include/olgx_private + for i in busy.h grey.h olgx_impl.h + rm -f busy.h + ln -s ../../..//lib/libolgx/busy.h . + for i in busy.h grey.h olgx_impl.h + rm -f grey.h + ln -s ../../..//lib/libolgx/grey.h . + for i in busy.h grey.h olgx_impl.h + rm -f olgx_impl.h + ln -s ../../..//lib/libolgx/olgx_impl.h . make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' including in lib/libxview... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' including in lib/libxview/attr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' + mkdir -p ../../../build//include/xview + cd ../../../build//include/xview + for i in attr.h + rm -f attr.h + ln -s ../../..//lib/libxview/attr/attr.h . + mkdir -p ../../../build//include/xview_private + cd ../../../build//include/xview_private + for i in attr_impl.h + rm -f attr_impl.h + ln -s ../../..//lib/libxview/attr/attr_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' including in lib/libxview/base... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' + cd ../../../build//include/xview + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f base.h + ln -s ../../..//lib/libxview/base/base.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f generic.h + ln -s ../../..//lib/libxview/base/generic.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f pkg_public.h + ln -s ../../..//lib/libxview/base/pkg_public.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f pkg.h + ln -s ../../..//lib/libxview/base/pkg.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f xview_xvin.h + ln -s ../../..//lib/libxview/base/xview_xvin.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f drawable.h + ln -s ../../..//lib/libxview/base/drawable.h . + for i in base.h generic.h pkg_public.h pkg.h xview_xvin.h drawable.h xv_error.h + rm -f xv_error.h + ln -s ../../..//lib/libxview/base/xv_error.h . + cd ../../../build//include/xview_private + for i in xv_debug.h xv_list.h draw_impl.h gen_impl.h + rm -f xv_debug.h + ln -s ../../..//lib/libxview/base/xv_debug.h . + for i in xv_debug.h xv_list.h draw_impl.h gen_impl.h + rm -f xv_list.h + ln -s ../../..//lib/libxview/base/xv_list.h . + for i in xv_debug.h xv_list.h draw_impl.h gen_impl.h + rm -f draw_impl.h + ln -s ../../..//lib/libxview/base/draw_impl.h . + for i in xv_debug.h xv_list.h draw_impl.h gen_impl.h + rm -f gen_impl.h + ln -s ../../..//lib/libxview/base/gen_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' including in lib/libxview/canvas... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' + cd ../../../build//include/xview + for i in canvas.h + rm -f canvas.h + ln -s ../../..//lib/libxview/canvas/canvas.h . + cd ../../../build//include/xview_private + for i in cnvs_impl.h + rm -f cnvs_impl.h + ln -s ../../..//lib/libxview/canvas/cnvs_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' including in lib/libxview/color... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' + cd ../../../build//include/xview + for i in cms.h + rm -f cms.h + ln -s ../../..//lib/libxview/color/cms.h . + cd ../../../build//include/xview_private + for i in cms_impl.h + rm -f cms_impl.h + ln -s ../../..//lib/libxview/color/cms_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' including in lib/libxview/cursor... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' + cd ../../../build//include/xview + for i in cursor.h + rm -f cursor.h + ln -s ../../..//lib/libxview/cursor/cursor.h . + cd ../../../build//include/xview_private + for i in curs_impl.h + rm -f curs_impl.h + ln -s ../../..//lib/libxview/cursor/curs_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' including in lib/libxview/defaults... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' + cd ../../../build//include/xview + for i in defaults.h + rm -f defaults.h + ln -s ../../..//lib/libxview/defaults/defaults.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' including in lib/libxview/dnd... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' + cd ../../../build//include/xview + for i in dragdrop.h + rm -f dragdrop.h + ln -s ../../..//lib/libxview/dnd/dragdrop.h . + cd ../../../build//include/xview_private + for i in dndimpl.h site_impl.h + rm -f dndimpl.h + ln -s ../../..//lib/libxview/dnd/dndimpl.h . + for i in dndimpl.h site_impl.h + rm -f site_impl.h + ln -s ../../..//lib/libxview/dnd/site_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' including in lib/libxview/file_chooser... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' + cd ../../../build//include/xview + for i in file_chsr.h file_list.h path.h hist.h + rm -f file_chsr.h + ln -s ../../..//lib/libxview/file_chooser/file_chsr.h . + for i in file_chsr.h file_list.h path.h hist.h + rm -f file_list.h + ln -s ../../..//lib/libxview/file_chooser/file_list.h . + for i in file_chsr.h file_list.h path.h hist.h + rm -f path.h + ln -s ../../..//lib/libxview/file_chooser/path.h . + for i in file_chsr.h file_list.h path.h hist.h + rm -f hist.h + ln -s ../../..//lib/libxview/file_chooser/hist.h . + cd ../../../build//include/xview_private + for i in fchsr_impl.h flist_impl.h xv_path_util.h path_impl.h hist_impl.h + rm -f fchsr_impl.h + ln -s ../../..//lib/libxview/file_chooser/fchsr_impl.h . + for i in fchsr_impl.h flist_impl.h xv_path_util.h path_impl.h hist_impl.h + rm -f flist_impl.h + ln -s ../../..//lib/libxview/file_chooser/flist_impl.h . + for i in fchsr_impl.h flist_impl.h xv_path_util.h path_impl.h hist_impl.h + rm -f xv_path_util.h + ln -s ../../..//lib/libxview/file_chooser/xv_path_util.h . + for i in fchsr_impl.h flist_impl.h xv_path_util.h path_impl.h hist_impl.h + rm -f path_impl.h + ln -s ../../..//lib/libxview/file_chooser/path_impl.h . + for i in fchsr_impl.h flist_impl.h xv_path_util.h path_impl.h hist_impl.h + rm -f hist_impl.h + ln -s ../../..//lib/libxview/file_chooser/hist_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' including in lib/libxview/filter... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' + cd ../../../build//include/xview_private + for i in filter.h + rm -f filter.h + ln -s ../../..//lib/libxview/filter/filter.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' including in lib/libxview/font... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' + cd ../../../build//include/xview + for i in font.h + rm -f font.h + ln -s ../../..//lib/libxview/font/font.h . + cd ../../../build//include/xview_private + for i in font_impl.h + rm -f font_impl.h + ln -s ../../..//lib/libxview/font/font_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' including in lib/libxview/frame... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' + cd ../../../build//include/xview + for i in frame.h + rm -f frame.h + ln -s ../../..//lib/libxview/frame/frame.h . + cd ../../../build//include/xview_private + for i in fm_impl.h frame_base.h frame_cmd.h frame_help.h + rm -f fm_impl.h + ln -s ../../..//lib/libxview/frame/fm_impl.h . + for i in fm_impl.h frame_base.h frame_cmd.h frame_help.h + rm -f frame_base.h + ln -s ../../..//lib/libxview/frame/frame_base.h . + for i in fm_impl.h frame_base.h frame_cmd.h frame_help.h + rm -f frame_cmd.h + ln -s ../../..//lib/libxview/frame/frame_cmd.h . + for i in fm_impl.h frame_base.h frame_cmd.h frame_help.h + rm -f frame_help.h + ln -s ../../..//lib/libxview/frame/frame_help.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' including in lib/libxview/fullscreen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' + cd ../../../build//include/xview + for i in fullscreen.h + rm -f fullscreen.h + ln -s ../../..//lib/libxview/fullscreen/fullscreen.h . + cd ../../../build//include/xview_private + for i in fs_impl.h + rm -f fs_impl.h + ln -s ../../..//lib/libxview/fullscreen/fs_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' including in lib/libxview/help... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' make[3]: Nothing to be done for 'includes'. make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' including in lib/libxview/icon... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' + cd ../../../build//include/xview + for i in icon.h icon_load.h + rm -f icon.h + ln -s ../../..//lib/libxview/icon/icon.h . + for i in icon.h icon_load.h + rm -f icon_load.h + ln -s ../../..//lib/libxview/icon/icon_load.h . + cd ../../../build//include/xview_private + for i in icon_impl.h + rm -f icon_impl.h + ln -s ../../..//lib/libxview/icon/icon_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' including in lib/libxview/io_stream... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' + cd ../../../build//include/xview_private + for i in io_stream.h + rm -f io_stream.h + ln -s ../../..//lib/libxview/io_stream/io_stream.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' including in lib/libxview/menu... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' + cd ../../../build//include/xview + for i in openmenu.h + rm -f openmenu.h + ln -s ../../..//lib/libxview/menu/openmenu.h . + cd ../../../build//include/xview_private + for i in omi_impl.h om_impl.h + rm -f omi_impl.h + ln -s ../../..//lib/libxview/menu/omi_impl.h . + for i in omi_impl.h om_impl.h + rm -f om_impl.h + ln -s ../../..//lib/libxview/menu/om_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' including in lib/libxview/misc... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' + cd ../../../build//include/xview + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f cms_grays.h + ln -s ../../..//lib/libxview/misc/cms_grays.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f cms_mono.h + ln -s ../../..//lib/libxview/misc/cms_mono.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f cmsrainbow.h + ln -s ../../..//lib/libxview/misc/cmsrainbow.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f cms_rgb.h + ln -s ../../..//lib/libxview/misc/cms_rgb.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f sun.h + ln -s ../../..//lib/libxview/misc/sun.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f window_hs.h + ln -s ../../..//lib/libxview/misc/window_hs.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f expandname.h + ln -s ../../..//lib/libxview/misc/expandname.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f xv_c_types.h + ln -s ../../..//lib/libxview/misc/xv_c_types.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f attrol.h + ln -s ../../..//lib/libxview/misc/attrol.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f db.h + ln -s ../../..//lib/libxview/misc/db.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f xv_c_types.h + ln -s ../../..//lib/libxview/misc/xv_c_types.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f xv_i18n.h + ln -s ../../..//lib/libxview/misc/xv_i18n.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f xv_version.h + ln -s ../../..//lib/libxview/misc/xv_version.h . + for i in cms_grays.h cms_mono.h cmsrainbow.h cms_rgb.h sun.h window_hs.h expandname.h xv_c_types.h attrol.h db.h xv_c_types.h xv_i18n.h xv_version.h xview.h + rm -f xview.h + ln -s ../../..//lib/libxview/misc/xview.h . + cd ../../../build//include/xview_private + for i in bitmask.h hashfn.h i18n_impl.h portable.h gettext.h + rm -f bitmask.h + ln -s ../../..//lib/libxview/misc/bitmask.h . + for i in bitmask.h hashfn.h i18n_impl.h portable.h gettext.h + rm -f hashfn.h + ln -s ../../..//lib/libxview/misc/hashfn.h . + for i in bitmask.h hashfn.h i18n_impl.h portable.h gettext.h + rm -f i18n_impl.h + ln -s ../../..//lib/libxview/misc/i18n_impl.h . + for i in bitmask.h hashfn.h i18n_impl.h portable.h gettext.h + rm -f portable.h + ln -s ../../..//lib/libxview/misc/portable.h . + for i in bitmask.h hashfn.h i18n_impl.h portable.h gettext.h + rm -f gettext.h + ln -s ../../..//lib/libxview/misc/gettext.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' including in lib/libxview/notice... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' + cd ../../../build//include/xview + for i in notice.h alert.h + rm -f notice.h + ln -s ../../..//lib/libxview/notice/notice.h . + for i in notice.h alert.h + rm -f alert.h + ln -s ../../..//lib/libxview/notice/alert.h . + cd ../../../build//include/xview_private + for i in noticeimpl.h + rm -f noticeimpl.h + ln -s ../../..//lib/libxview/notice/noticeimpl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' including in lib/libxview/notify... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' + cd ../../../build//include/xview + for i in notify.h + rm -f notify.h + ln -s ../../..//lib/libxview/notify/notify.h . + cd ../../../build//include/xview_private + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f ndet.h + ln -s ../../..//lib/libxview/notify/ndet.h . + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f ndis.h + ln -s ../../..//lib/libxview/notify/ndis.h . + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f nint.h + ln -s ../../..//lib/libxview/notify/nint.h . + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f ntfy.h + ln -s ../../..//lib/libxview/notify/ntfy.h . + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f ultrix_cpt.h + ln -s ../../..//lib/libxview/notify/ultrix_cpt.h . + for i in ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h + rm -f ntfy_ctbl.h + ln -s ../../..//lib/libxview/notify/ntfy_ctbl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' including in lib/libxview/openwin... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' + cd ../../../build//include/xview + for i in openwin.h + rm -f openwin.h + ln -s ../../..//lib/libxview/openwin/openwin.h . + cd ../../../build//include/xview_private + for i in ow_impl.h + rm -f ow_impl.h + ln -s ../../..//lib/libxview/openwin/ow_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' including in lib/libxview/panel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' + cd ../../../build//include/xview + for i in panel.h + rm -f panel.h + ln -s ../../..//lib/libxview/panel/panel.h . + cd ../../../build//include/xview_private + for i in panel_impl.h item_impl.h p_lst_impl.h + rm -f panel_impl.h + ln -s ../../..//lib/libxview/panel/panel_impl.h . + for i in panel_impl.h item_impl.h p_lst_impl.h + rm -f item_impl.h + ln -s ../../..//lib/libxview/panel/item_impl.h . + for i in panel_impl.h item_impl.h p_lst_impl.h + rm -f p_lst_impl.h + ln -s ../../..//lib/libxview/panel/p_lst_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' including in lib/libxview/pw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' + cd ../../../build//include/xview + for i in pixwin.h + rm -f pixwin.h + ln -s ../../..//lib/libxview/pw/pixwin.h . + cd ../../../build//include/xview_private + for i in pw_impl.h xv_color.h + rm -f pw_impl.h + ln -s ../../..//lib/libxview/pw/pw_impl.h . + for i in pw_impl.h xv_color.h + rm -f xv_color.h + ln -s ../../..//lib/libxview/pw/xv_color.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' including in lib/libxview/rect... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' + cd ../../../build//include/xview + for i in rect.h rectlist.h xv_xrect.h + rm -f rect.h + ln -s ../../..//lib/libxview/rect/rect.h . + for i in rect.h rectlist.h xv_xrect.h + rm -f rectlist.h + ln -s ../../..//lib/libxview/rect/rectlist.h . + for i in rect.h rectlist.h xv_xrect.h + rm -f xv_xrect.h + ln -s ../../..//lib/libxview/rect/xv_xrect.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' including in lib/libxview/screen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' + cd ../../../build//include/xview + for i in screen.h + rm -f screen.h + ln -s ../../..//lib/libxview/screen/screen.h . + cd ../../../build//include/xview_private + for i in scrn_impl.h scrn_vis.h + rm -f scrn_impl.h + ln -s ../../..//lib/libxview/screen/scrn_impl.h . + for i in scrn_impl.h scrn_vis.h + rm -f scrn_vis.h + ln -s ../../..//lib/libxview/screen/scrn_vis.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' including in lib/libxview/scrollbar... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' + cd ../../../build//include/xview + for i in scrollbar.h + rm -f scrollbar.h + ln -s ../../..//lib/libxview/scrollbar/scrollbar.h . + cd ../../../build//include/xview_private + for i in sb_impl.h + rm -f sb_impl.h + ln -s ../../..//lib/libxview/scrollbar/sb_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' including in lib/libxview/sel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' + cd ../../../build//include/xview + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f seln.h + ln -s ../../..//lib/libxview/sel/seln.h . + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f sel_attrs.h + ln -s ../../..//lib/libxview/sel/sel_attrs.h . + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f sel_svc.h + ln -s ../../..//lib/libxview/sel/sel_svc.h . + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f seln.h + ln -s ../../..//lib/libxview/sel/seln.h . + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f sel_compat.h + ln -s ../../..//lib/libxview/sel/sel_compat.h . + for i in seln.h sel_attrs.h sel_svc.h seln.h sel_compat.h selection.h + rm -f selection.h + ln -s ../../..//lib/libxview/sel/selection.h . + cd ../../../build//include/xview_private + for i in seln_impl.h + rm -f seln_impl.h + ln -s ../../..//lib/libxview/sel/seln_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' including in lib/libxview/selection... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' + cd ../../../build//include/xview + for i in sel_pkg.h + rm -f sel_pkg.h + ln -s ../../..//lib/libxview/selection/sel_pkg.h . + cd ../../../build//include/xview_private + for i in sel_impl.h + rm -f sel_impl.h + ln -s ../../..//lib/libxview/selection/sel_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' including in lib/libxview/server... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' + cd ../../../build//include/xview + for i in server.h + rm -f server.h + ln -s ../../..//lib/libxview/server/server.h . + cd ../../../build//include/xview_private + for i in svr_impl.h svr_atom.h svr_kmdata.h + rm -f svr_impl.h + ln -s ../../..//lib/libxview/server/svr_impl.h . + for i in svr_impl.h svr_atom.h svr_kmdata.h + rm -f svr_atom.h + ln -s ../../..//lib/libxview/server/svr_atom.h . + for i in svr_impl.h svr_atom.h svr_kmdata.h + rm -f svr_kmdata.h + ln -s ../../..//lib/libxview/server/svr_kmdata.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' including in lib/libxview/server_image... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' + cd ../../../build//include/xview + for i in svrimage.h + rm -f svrimage.h + ln -s ../../..//lib/libxview/server_image/svrimage.h . + cd ../../../build//include/xview_private + for i in svrim_impl.h + rm -f svrim_impl.h + ln -s ../../..//lib/libxview/server_image/svrim_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' including in lib/libxview/string_utils... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' + cd ../../../build//include/xview + for i in str_utils.h + rm -f str_utils.h + ln -s ../../..//lib/libxview/string_utils/str_utils.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' including in lib/libxview/textsw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' + cd ../../../build//include/xview + for i in textsw.h text.h + rm -f textsw.h + ln -s ../../..//lib/libxview/textsw/textsw.h . + for i in textsw.h text.h + rm -f text.h + ln -s ../../..//lib/libxview/textsw/text.h . + cd ../../../build//include/xview_private + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f ei.h + ln -s ../../..//lib/libxview/textsw/ei.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f es.h + ln -s ../../..//lib/libxview/textsw/es.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f ev.h + ln -s ../../..//lib/libxview/textsw/ev.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f ev_impl.h + ln -s ../../..//lib/libxview/textsw/ev_impl.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f primal.h + ln -s ../../..//lib/libxview/textsw/primal.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f ps_impl.h + ln -s ../../..//lib/libxview/textsw/ps_impl.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f finger_tbl.h + ln -s ../../..//lib/libxview/textsw/finger_tbl.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f txt_impl.h + ln -s ../../..//lib/libxview/textsw/txt_impl.h . + for i in ei.h es.h ev.h ev_impl.h primal.h ps_impl.h finger_tbl.h txt_impl.h txt_18impl.h + rm -f txt_18impl.h + ln -s ../../..//lib/libxview/textsw/txt_18impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' including in lib/libxview/ttysw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' + cd ../../../build//include/xview + for i in ttysw.h tty.h termsw.h + rm -f ttysw.h + ln -s ../../..//lib/libxview/ttysw/ttysw.h . + for i in ttysw.h tty.h termsw.h + rm -f tty.h + ln -s ../../..//lib/libxview/ttysw/tty.h . + for i in ttysw.h tty.h termsw.h + rm -f termsw.h + ln -s ../../..//lib/libxview/ttysw/termsw.h . + cd ../../../build//include/xview_private + for i in charimage.h charscreen.h ttyansi.h tty_impl.h term_impl.h + rm -f charimage.h + ln -s ../../..//lib/libxview/ttysw/charimage.h . + for i in charimage.h charscreen.h ttyansi.h tty_impl.h term_impl.h + rm -f charscreen.h + ln -s ../../..//lib/libxview/ttysw/charscreen.h . + for i in charimage.h charscreen.h ttyansi.h tty_impl.h term_impl.h + rm -f ttyansi.h + ln -s ../../..//lib/libxview/ttysw/ttyansi.h . + for i in charimage.h charscreen.h ttyansi.h tty_impl.h term_impl.h + rm -f tty_impl.h + ln -s ../../..//lib/libxview/ttysw/tty_impl.h . + for i in charimage.h charscreen.h ttyansi.h tty_impl.h term_impl.h + rm -f term_impl.h + ln -s ../../..//lib/libxview/ttysw/term_impl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' including in lib/libxview/win... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' + cd ../../../build//include/xview + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_enum.h + ln -s ../../..//lib/libxview/win/win_enum.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_env.h + ln -s ../../..//lib/libxview/win/win_env.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_event.h + ln -s ../../..//lib/libxview/win/win_event.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_input.h + ln -s ../../..//lib/libxview/win/win_input.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_notify.h + ln -s ../../..//lib/libxview/win/win_notify.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_screen.h + ln -s ../../..//lib/libxview/win/win_screen.h . + for i in win_enum.h win_env.h win_event.h win_input.h win_notify.h win_screen.h win_struct.h + rm -f win_struct.h + ln -s ../../..//lib/libxview/win/win_struct.h . + cd ../../../build//include/xview_private + for i in win_info.h win_keymap.h + rm -f win_info.h + ln -s ../../..//lib/libxview/win/win_info.h . + for i in win_info.h win_keymap.h + rm -f win_keymap.h + ln -s ../../..//lib/libxview/win/win_keymap.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' including in lib/libxview/window... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' + cd ../../../build//include/xview + for i in window.h + rm -f window.h + ln -s ../../..//lib/libxview/window/window.h . + cd ../../../build//include/xview_private + for i in windowimpl.h + rm -f windowimpl.h + ln -s ../../..//lib/libxview/window/windowimpl.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' including in lib/libxview/wmgr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' + cd ../../../build//include/xview + for i in wmgr.h + rm -f wmgr.h + ln -s ../../..//lib/libxview/wmgr/wmgr.h . + cd ../../../build//include/xview_private + for i in wmgr_decor.h + rm -f wmgr_decor.h + ln -s ../../..//lib/libxview/wmgr/wmgr_decor.h . make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' including in lib/pixrect... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' + mkdir -p ../../build//include/pixrect + cd ../../build//include/pixrect + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f bw2var.h + ln -s ../../..//lib/pixrect/bw2var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg12_var.h + ln -s ../../..//lib/pixrect/cg12_var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg2reg.h + ln -s ../../..//lib/pixrect/cg2reg.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg2var.h + ln -s ../../..//lib/pixrect/cg2var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg3var.h + ln -s ../../..//lib/pixrect/cg3var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg4var.h + ln -s ../../..//lib/pixrect/cg4var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg8var.h + ln -s ../../..//lib/pixrect/cg8var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg8var.h + ln -s ../../..//lib/pixrect/cg8var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f cg9var.h + ln -s ../../..//lib/pixrect/cg9var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f gp1cmds.h + ln -s ../../..//lib/pixrect/gp1cmds.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f gp1reg.h + ln -s ../../..//lib/pixrect/gp1reg.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f mem32_var.h + ln -s ../../..//lib/pixrect/mem32_var.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f mem_rop_impl_ops.h + ln -s ../../..//lib/pixrect/mem_rop_impl_ops.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f mem_rop_impl_util.h + ln -s ../../..//lib/pixrect/mem_rop_impl_util.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f memreg.h + ln -s ../../..//lib/pixrect/memreg.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f memvar.h + ln -s ../../..//lib/pixrect/memvar.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pixfont.h + ln -s ../../..//lib/pixrect/pixfont.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pixrect.h + ln -s ../../..//lib/pixrect/pixrect.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pixrect_hs.h + ln -s ../../..//lib/pixrect/pixrect_hs.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_dblbuf.h + ln -s ../../..//lib/pixrect/pr_dblbuf.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_impl_make.h + ln -s ../../..//lib/pixrect/pr_impl_make.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_impl_util.h + ln -s ../../..//lib/pixrect/pr_impl_util.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_io.h + ln -s ../../..//lib/pixrect/pr_io.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_line.h + ln -s ../../..//lib/pixrect/pr_line.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_planegroups.h + ln -s ../../..//lib/pixrect/pr_planegroups.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f pr_util.h + ln -s ../../..//lib/pixrect/pr_util.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f rasterfile.h + ln -s ../../..//lib/pixrect/rasterfile.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f traprop.h + ln -s ../../..//lib/pixrect/traprop.h . + for i in bw2var.h cg12_var.h cg2reg.h cg2var.h cg3var.h cg4var.h cg8var.h cg8var.h cg9var.h gp1cmds.h gp1reg.h mem32_var.h mem_rop_impl_ops.h mem_rop_impl_util.h memreg.h memvar.h pixfont.h pixrect.h pixrect_hs.h pr_dblbuf.h pr_impl_make.h pr_impl_util.h pr_io.h pr_line.h pr_planegroups.h pr_util.h rasterfile.h traprop.h tv1var.h + rm -f tv1var.h + ln -s ../../..//lib/pixrect/tv1var.h . + cd ../../build//include + for i in rasterfile.h + rm -f rasterfile.h + ln -s ../../..//lib/pixrect/rasterfile.h . make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' including in ./images... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' + mkdir -p ../build//include/images + cd ../build//include/images + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f bg1.xbm + ln -s ../../..//images/bg1.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f bg2.xbm + ln -s ../../..//images/bg2.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f bg3.xbm + ln -s ../../..//images/bg3.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f fl_arrow.xbm + ln -s ../../..//images/fl_arrow.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f fl_doc.xbm + ln -s ../../..//images/fl_doc.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f fl_folder.xbm + ln -s ../../..//images/fl_folder.xbm . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f default.icon + ln -s ../../..//images/default.icon . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f mglass.icon + ln -s ../../..//images/mglass.icon . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f mglass_mask.icon + ln -s ../../..//images/mglass_mask.icon . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f square_17.pr + ln -s ../../..//images/square_17.pr . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f square_25.pr + ln -s ../../..//images/square_25.pr . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f square_75.pr + ln -s ../../..//images/square_75.pr . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f dup_cursor.pr + ln -s ../../..//images/dup_cursor.pr . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f text_move_cursor.pr + ln -s ../../..//images/text_move_cursor.pr . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f focus_up.cursor + ln -s ../../..//images/focus_up.cursor . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f focus_right.cursor + ln -s ../../..//images/focus_right.cursor . + for i in bg1.xbm bg2.xbm bg3.xbm fl_arrow.xbm fl_doc.xbm fl_folder.xbm default.icon mglass.icon mglass_mask.icon square_17.pr square_25.pr square_75.pr dup_cursor.pr text_move_cursor.pr focus_up.cursor focus_right.cursor qmark.cursor + rm -f qmark.cursor + ln -s ../../..//images/qmark.cursor . make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' including in ./bitmaps... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' + mkdir -p ../build//include/bitmaps + cd ../build//include/bitmaps + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f 1x1 + ln -s ../../..//bitmaps/1x1 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f escherknot + ln -s ../../..//bitmaps/escherknot . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f mailemptymsk + ln -s ../../..//bitmaps/mailemptymsk . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f sipb + ln -s ../../..//bitmaps/sipb . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmvok + ln -s ../../..//bitmaps/txtmvok . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f 2x2 + ln -s ../../..//bitmaps/2x2 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f flagdown + ln -s ../../..//bitmaps/flagdown . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f mailfull + ln -s ../../..//bitmaps/mailfull . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f star + ln -s ../../..//bitmaps/star . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmvokmask + ln -s ../../..//bitmaps/txtmvokmask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f flagup + ln -s ../../..//bitmaps/flagup . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f mailfullmsk + ln -s ../../..//bitmaps/mailfullmsk . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f starMask + ln -s ../../..//bitmaps/starMask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmvokmore + ln -s ../../..//bitmaps/txtmvokmore . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f flipped_gray + ln -s ../../..//bitmaps/flipped_gray . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f mensetmanus + ln -s ../../..//bitmaps/mensetmanus . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f stipple + ln -s ../../..//bitmaps/stipple . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f vlines2 + ln -s ../../..//bitmaps/vlines2 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f gray + ln -s ../../..//bitmaps/gray . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f menu10 + ln -s ../../..//bitmaps/menu10 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f target + ln -s ../../..//bitmaps/target . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f vlines3 + ln -s ../../..//bitmaps/vlines3 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f black + ln -s ../../..//bitmaps/black . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f gray1 + ln -s ../../..//bitmaps/gray1 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f menu12 + ln -s ../../..//bitmaps/menu12 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f terminal + ln -s ../../..//bitmaps/terminal . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f weird_size + ln -s ../../..//bitmaps/weird_size . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f boxes + ln -s ../../..//bitmaps/boxes . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f gray3 + ln -s ../../..//bitmaps/gray3 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f menu16 + ln -s ../../..//bitmaps/menu16 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f tie_fighter + ln -s ../../..//bitmaps/tie_fighter . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f wide_weave + ln -s ../../..//bitmaps/wide_weave . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f calculator + ln -s ../../..//bitmaps/calculator . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f hlines2 + ln -s ../../..//bitmaps/hlines2 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f menu8 + ln -s ../../..//bitmaps/menu8 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdup + ln -s ../../..//bitmaps/txtdup . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f wierd_size + ln -s ../../..//bitmaps/wierd_size . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f cntr_ptr + ln -s ../../..//bitmaps/cntr_ptr . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f hlines3 + ln -s ../../..//bitmaps/hlines3 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f noletters + ln -s ../../..//bitmaps/noletters . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdupmask + ln -s ../../..//bitmaps/txtdupmask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f wingdogs + ln -s ../../..//bitmaps/wingdogs . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f cntr_ptrmsk + ln -s ../../..//bitmaps/cntr_ptrmsk . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f icon + ln -s ../../..//bitmaps/icon . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f opendot + ln -s ../../..//bitmaps/opendot . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdupmore + ln -s ../../..//bitmaps/txtdupmore . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f woman + ln -s ../../..//bitmaps/woman . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f cross_weave + ln -s ../../..//bitmaps/cross_weave . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f keyboard16 + ln -s ../../..//bitmaps/keyboard16 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f opendotMask + ln -s ../../..//bitmaps/opendotMask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdupok + ln -s ../../..//bitmaps/txtdupok . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f xfd_icon + ln -s ../../..//bitmaps/xfd_icon . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f dimple1 + ln -s ../../..//bitmaps/dimple1 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f left_ptr + ln -s ../../..//bitmaps/left_ptr . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f plaid + ln -s ../../..//bitmaps/plaid . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdupokmask + ln -s ../../..//bitmaps/txtdupokmask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f xlogo11 + ln -s ../../..//bitmaps/xlogo11 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f dimple3 + ln -s ../../..//bitmaps/dimple3 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f left_ptrmsk + ln -s ../../..//bitmaps/left_ptrmsk . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f right_ptr + ln -s ../../..//bitmaps/right_ptr . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtdupokmore + ln -s ../../..//bitmaps/txtdupokmore . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f xlogo16 + ln -s ../../..//bitmaps/xlogo16 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f dot + ln -s ../../..//bitmaps/dot . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f letters + ln -s ../../..//bitmaps/letters . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f right_ptrmsk + ln -s ../../..//bitmaps/right_ptrmsk . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmv + ln -s ../../..//bitmaps/txtmv . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f xlogo32 + ln -s ../../..//bitmaps/xlogo32 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f dropbar7 + ln -s ../../..//bitmaps/dropbar7 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f light_gray + ln -s ../../..//bitmaps/light_gray . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f root_weave + ln -s ../../..//bitmaps/root_weave . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmvmask + ln -s ../../..//bitmaps/txtmvmask . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f xlogo64 + ln -s ../../..//bitmaps/xlogo64 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f dropbar8 + ln -s ../../..//bitmaps/dropbar8 . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f mailempty + ln -s ../../..//bitmaps/mailempty . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f scales + ln -s ../../..//bitmaps/scales . + for i in 1x1 escherknot mailemptymsk sipb txtmvok 2x2 flagdown mailfull star txtmvokmask flagup mailfullmsk starMask txtmvokmore flipped_gray mensetmanus stipple vlines2 gray menu10 target vlines3 black gray1 menu12 terminal weird_size boxes gray3 menu16 tie_fighter wide_weave calculator hlines2 menu8 txtdup wierd_size cntr_ptr hlines3 noletters txtdupmask wingdogs cntr_ptrmsk icon opendot txtdupmore woman cross_weave keyboard16 opendotMask txtdupok xfd_icon dimple1 left_ptr plaid txtdupokmask xlogo11 dimple3 left_ptrmsk right_ptr txtdupokmore xlogo16 dot letters right_ptrmsk txtmv xlogo32 dropbar7 light_gray root_weave txtmvmask xlogo64 dropbar8 mailempty scales txtmvmore + rm -f txtmvmore + ln -s ../../..//bitmaps/txtmvmore . rm -f ../build//include/X11 ln -s . ../build//include/X11 make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' including in ./misc... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' echo "no includes in misc." no includes in misc. including in misc/support... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[2]: Nothing to be done for 'includes'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' including in ./util... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' echo "no includes in util" no includes in util including in util/conversion... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[2]: Nothing to be done for 'includes'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' including in ./config... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' echo "no includes in config" no includes in config make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' make depend make: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' depending in ./lib... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' depending in lib/libolgx... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' gccmakedep -- -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- ol_button.c ol_color.c ol_draw.c ol_init.c ol_misc.c ol_sb.c ol_slider.c make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' depending in lib/libxview... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' depending in lib/libxview/attr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- attr.c attr_copy.c attr_cu.c attr_cust.c attr_util.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' depending in lib/libxview/base... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- xv.c xv_init.c xv_init_x.c generic.c drawable.c xv_debug.c xv_parse.c xv_list.c xv_error.c base_data.c xv_usage.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' depending in lib/libxview/canvas... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- canvas.c cnvs_set.c cnvs_get.c cnvs_scrol.c cnvs_resze.c cnvs_view.c cnvs_input.c cnvs_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' depending in lib/libxview/color... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- cms.c cms_pblc.c cms_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' depending in lib/libxview/cursor... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- cursor.c curs_pri.c curs_cmpat.c cur_rodata.c curs_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' depending in lib/libxview/defaults... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- defaults.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' depending in lib/libxview/dnd... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- dnd.c dnd_data.c dnd_decode.c dnd_dsdm.c dnd_pblc.c dndutil.c site.c site_data.c site_pblc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' depending in lib/libxview/file_chooser... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- file_chsr.c fc_layout.c file_list.c path.c xv_path_util.c hist_list.c hist_menu.c fchsr_data.c flist_data.c path_data.c hist_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' depending in lib/libxview/filter... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- filter.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' depending in lib/libxview/font... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- font.c font_set.c font_get.c font_x.c pf_text.c pf_ttext.c pf.c font_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' depending in lib/libxview/frame... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- frame.c frame_init.c fm_get.c fm_set.c fm_destroy.c fm_layout.c fm_cmdline.c fm_display.c fm_win.c fm_geom.c fm_input.c fm_bdry.c frame_sw.c fm_rescale.c frame_base.c fmbs_set.c fmbs_get.c fmbs_dsty.c frame_cmd.c fmcmd_set.c fmcmd_get.c fmcmd_dsty.c frame_help.c fmhlp_set.c fmhlp_get.c fmhlp_dsty.c fm_data.c fm_rodata.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' depending in lib/libxview/fullscreen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- fs.c fs_set.c fs_get.c fs_compat.c fs_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' depending in lib/libxview/help... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- help.c help_file.c hlp_rodata.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' depending in lib/libxview/icon... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- icon.c icon_obj.c icon_load.c icon_input.c icon_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' depending in lib/libxview/io_stream... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- input.c output.c io.c str_strms.c file_strms.c othr_strms.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' depending in lib/libxview/menu... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- omi.c om_public.c om_render.c om_set.c om_get.c om_compat.c om_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' depending in lib/libxview/misc... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- demorandom.c getlogindr.c expandname.c expandpath.c bitmask.c hashfn.c db_conv.c gettext.c quark.c setlocale.c windowloop.c xv_deaf.c xv_util.c xv_version.c xv_win_lp.c drop.c xv_casecmp.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' depending in lib/libxview/notice... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- notice.c notice_data.c notice_dstry.c notice_get.c notice_itm.c notice_ol.c notice_pt.c notice_set.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' depending in lib/libxview/notify... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- ndet_auto.c ndet_death.c ndet_die.c ndet_dodis.c ndet_event.c ndet_fcntl.c ndet_fd.c ndet_g_fd.c ndet_g_in.c ndet_g_out.c ndet_g_pri.c ndet_g_sig.c ndet_loop.c ndet_nodis.c ndet_read.c ndet_s_fd.c ndet_s_in.c ndet_s_out.c ndet_s_pri.c ndet_s_sig.c ndet_sig.c ndet_value.c ndet_veto.c ndet_wait.c ndetg_wait.c ndetgdeath.c ndetgetfnc.c ndetgevent.c ndetgexcep.c ndetgitimr.c ndetitimer.c ndetpdeath.c ndetpevent.c ndetremove.c ndets_wait.c ndetsdeath.c ndetselect.c ndetsevent.c ndetsexcep.c ndetsingle.c ndetsitimr.c ndis_d_pri.c ndisd_wait.c ndisdispch.c ndisdsched.c ndisgsched.c ndisssched.c nint_copy.c nint_get.c nint_i_fd.c nint_i_in.c nint_i_out.c nint_i_sig.c nint_inter.c nint_n_fd.c nint_n_in.c nint_n_out.c nint_n_sig.c nint_next.c nint_r_fd.c nint_r_in.c nint_r_out.c nint_r_sig.c nint_set.c nint_stack.c ninti_wait.c nintideath.c nintievent.c nintiexcpt.c nintiitimr.c nintn_wait.c nintndeath.c nintnevent.c nintnexcpt.c nintnitimr.c nintr_wait.c nintrdeath.c nintremove.c nintrevent.c nintrexcpt.c nintritimr.c notifydata.c ntfy_cond.c ntfy_ctbl.c ntfy_debug.c ntfy_dump.c ntfy_fd_op.c ntfy_list.c ntfy_node.c ntfyclient.c ntfyperror.c ntfyprotec.c sys_fcntl.c sys_read.c sys_select.c linux_select.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' depending in lib/libxview/openwin... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- openwin.c ow_evt.c ow_get.c ow_paint.c ow_resize.c ow_set.c ow_view.c ow_rescale.c ow_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' depending in lib/libxview/panel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- p_utl.c panel.c p_set.c p_get.c p_event.c p_scroll.c p_select.c p_paint.c p_image.c p_public.c p_compat.c p_view.c item.c item_set.c item_get.c p_txt.c p_choice.c p_btn.c p_msg.c p_slider.c p_list.c p_num_txt.c p_gauge.c p_ambtn.c p_drop.c p_drp_data.c p_utl_data.c panel_data.c item_data.c p_btn_data.c p_chcedata.c p_txt_data.c p_msg_data.c p_lst_data.c p_ntx_data.c p_amb_data.c p_mlinetxt.c p_mltxdata.c p_list2.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' depending in lib/libxview/pw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- pw_btchrop.c pw_cms.c pw_get.c pw_line.c pw_plygon2.c pw_plyline.c pw_plypt.c pw_put.c pw_read.c pw_traprop.c pw_vector.c xv_olgx.c xv_text.c xv_stencil.c xv_rop.c mem.c mem_ops.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' depending in lib/libxview/rect... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- rect.c rectlist.c rect_util.c rect_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' depending in lib/libxview/screen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- screen.c scrn_get.c scrn_lyout.c scrn_vis.c scrn_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' depending in lib/libxview/scrollbar... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- sb_compat.c sb_destroy.c sb_get.c sb_pos.c sb_set.c sb_event.c sb_paint.c sb_scroll.c sb.c sb_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' depending in lib/libxview/sel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- seln.c sel_appl.c sel_clnt.c sel_common.c sel_policy.c sel_agent.c sel_compat.c seln_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' depending in lib/libxview/selection... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- sel_data.c sel_item.c sel_own.c sel_req.c sel_util.c selection.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' depending in lib/libxview/server... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- server.c svr_x.c svr_get.c svr_set.c svr_rodata.c svr_atom.c svr_data.c svr_parse.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' depending in lib/libxview/server_image... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- svrim_ops.c svrim_pblc.c svrim_data.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' depending in lib/libxview/string_utils... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- str_utils.c whitespace.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' depending in lib/libxview/textsw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -- es_file.c es_mem.c es_util.c es_attr.c ps_impl.c ev_display.c ev_op_bdry.c ev_edit.c ev_once.c ev_attr.c ev_field.c ev_update.c es_cp_file.c ei_text.c ei_attr.c finger_tbl.c txt_data.c txt_once.c txt_input.c txt_edit.c txt_menu.c txt_disp.c txt_event.c txt_find.c txt_file.c txt_sel.c txt_selsvc.c txt_again.c txt_getkey.c txt_putkey.c txt_filter.c text.c txt_attr.c txt_dbx.c txt_tool.c txt_scroll.c txt_field.c txt_caret.c txt_search.c txt_e_menu.c txt_move.c txt_view.c txt_popup.c txt_store.c txt_match.c txt_load.c txt_line.c txt_incl.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' depending in lib/libxview/ttysw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- cim_change.c cim_size.c csr_change.c csr_init.c ttyansi.c tty_gtty.c tty_init.c tty_ntfy.c tty_stty.c ttytl.c ttyselect.c tty_main.c tty_menu.c tty_mapkey.c tty.c tty_modes.c tty_es.c tty_data.c term_ntfy.c tty_compat.c termsw.c term_data.c tty_newtxt.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' depending in lib/libxview/win... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- win_cursor.c win_env.c win_geom.c win_global.c win_cntral.c win_input.c win_treeop.c win_bell.c win_damage.c win_compat.c win_keymap.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' depending in lib/libxview/window... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- window.c window_get.c window_set.c windowlayt.c windowutil.c window_cms.c windowcmpt.c windowdrop.c windowdata.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' depending in lib/libxview/wmgr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' gccmakedep -- -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- wmgr_rect.c wmgr_state.c wmgr_menu.c wmgr_decor.c make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' depending in lib/pixrect... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' gccmakedep -- -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' depending in ./images... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' depending in ./bitmaps... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' depending in ./misc... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' depending in misc/support... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' gccmakedep -- -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -- make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' depending in ./util... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' depending in util/conversion... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[2]: Nothing to be done for 'depend'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' depending in ./config... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' + make CC=gcc 'CCOPTIONS=-pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4' making all in ./lib... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' making all in lib/libolgx... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' rm -f ol_button.o shared/ol_button.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_button.c -o shared/ol_button.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_button.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_button.c: In function 'olgx_draw_button': ol_button.c:237:23: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:238:24: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:254:23: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:255:24: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_menu_mark': ol_button.c:492:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] olgx_draw_menu_mark(info, win, x, y, state, fill_in) ^~~~~~~~~~~~~~~~~~~ ol_button.c:492:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] ol_button.c: In function 'olgx_draw_ximage_label': ol_button.c:901:25: warning: unused variable 'depth' [-Wunused-variable] unsigned int depth; ^~~~~ ol_button.c:900:41: warning: unused variable 'bw_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~~ ol_button.c:900:33: warning: unused variable 'h_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~ ol_button.c:900:25: warning: unused variable 'w_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~ ol_button.c:899:33: warning: unused variable 'y_dummy' [-Wunused-variable] int x_dummy,y_dummy; ^~~~~~~ ol_button.c:899:25: warning: unused variable 'x_dummy' [-Wunused-variable] int x_dummy,y_dummy; ^~~~~~~ ol_button.c:898:25: warning: unused variable 'root' [-Wunused-variable] Window root; ^~~~ ol_button.c: In function 'olgx_draw_textscroll_button': ol_button.c:1004:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_HORIZ_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c:1007:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_HORIZ_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c: In function 'olgx_draw_numscroll_button': ol_button.c:1074:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_VERT_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c:1076:28: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_VERT_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c: In function 'olgx_draw_diamond_mark': ol_button.c:1107:21: warning: unused variable 'old_dash_offset' [-Wunused-variable] int old_dash_offset; ^~~~~~~~~~~~~~~ ol_button.c:1106:21: warning: unused variable 'old_dashes' [-Wunused-variable] char old_dashes; ^~~~~~~~~~ ol_button.c:1103:21: warning: unused variable 'd_height' [-Wunused-variable] int d_height,d_half_height,d_width,d_half_width; ^~~~~~~~ ol_button.c: In function 'olgx_draw_accel_label_internal': ol_button.c:1272:12: warning: unused variable 'highlight_char' [-Wunused-variable] char *highlight_char; ^~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_accel_choice_item': ol_button.c:1723:21: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag = 0; ^~~~ ol_button.c: At top level: ol_button.c:29:17: warning: 'olgx_draw_label' declared 'static' but never defined [-Wunused-function] static void olgx_draw_label(); ^~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_pixmap_label': ol_button.c:883:2: warning: 'savebg1' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(info, OLGX_BG1, savebg1, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_ximage_label': ol_button.c:932:2: warning: 'savebg1' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(info, OLGX_BG1, savebg1, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_button': ol_button.c:297:6: warning: 'fill_color' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_draw_menu_mark(info, win, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x + (width - info->endcap_width - info->mm_width), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y + (info->button_height - info->mm_height - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info->base_off), ~~~~~~~~~~~~~~~~ state & ~OLGX_INACTIVE, ~~~~~~~~~~~~~~~~~~~~~~~ (fill_color != OLGX_BG2)); ~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_accel_label_internal': ol_button.c:1456:3: warning: 'hlabel' may be used uninitialized in this function [-Wmaybe-uninitialized] XTextExtents(TextFont_Struct(info),(char *)string_label, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlabel->position,&direction,&ascent,&descent, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &overall); ~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_button.c -o ol_button.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_button.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_button.c: In function 'olgx_draw_button': ol_button.c:237:23: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:238:24: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:254:23: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c:255:24: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_menu_mark': ol_button.c:492:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] olgx_draw_menu_mark(info, win, x, y, state, fill_in) ^~~~~~~~~~~~~~~~~~~ ol_button.c:492:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] ol_button.c: In function 'olgx_draw_ximage_label': ol_button.c:901:25: warning: unused variable 'depth' [-Wunused-variable] unsigned int depth; ^~~~~ ol_button.c:900:41: warning: unused variable 'bw_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~~ ol_button.c:900:33: warning: unused variable 'h_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~ ol_button.c:900:25: warning: unused variable 'w_dummy' [-Wunused-variable] unsigned int w_dummy,h_dummy,bw_dummy; ^~~~~~~ ol_button.c:899:33: warning: unused variable 'y_dummy' [-Wunused-variable] int x_dummy,y_dummy; ^~~~~~~ ol_button.c:899:25: warning: unused variable 'x_dummy' [-Wunused-variable] int x_dummy,y_dummy; ^~~~~~~ ol_button.c:898:25: warning: unused variable 'root' [-Wunused-variable] Window root; ^~~~ ol_button.c: In function 'olgx_draw_textscroll_button': ol_button.c:1004:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_HORIZ_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c:1007:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_HORIZ_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c: In function 'olgx_draw_numscroll_button': ol_button.c:1074:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_VERT_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c:1076:28: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] OLGX_VERT_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ^ ol_button.c: In function 'olgx_draw_diamond_mark': ol_button.c:1107:21: warning: unused variable 'old_dash_offset' [-Wunused-variable] int old_dash_offset; ^~~~~~~~~~~~~~~ ol_button.c:1106:21: warning: unused variable 'old_dashes' [-Wunused-variable] char old_dashes; ^~~~~~~~~~ ol_button.c:1103:21: warning: unused variable 'd_height' [-Wunused-variable] int d_height,d_half_height,d_width,d_half_width; ^~~~~~~~ ol_button.c: In function 'olgx_draw_accel_label_internal': ol_button.c:1272:12: warning: unused variable 'highlight_char' [-Wunused-variable] char *highlight_char; ^~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_accel_choice_item': ol_button.c:1723:21: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag = 0; ^~~~ ol_button.c: At top level: ol_button.c:29:17: warning: 'olgx_draw_label' declared 'static' but never defined [-Wunused-function] static void olgx_draw_label(); ^~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_pixmap_label': ol_button.c:883:2: warning: 'savebg1' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(info, OLGX_BG1, savebg1, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_ximage_label': ol_button.c:932:2: warning: 'savebg1' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(info, OLGX_BG1, savebg1, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_button': ol_button.c:297:6: warning: 'fill_color' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_draw_menu_mark(info, win, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x + (width - info->endcap_width - info->mm_width), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y + (info->button_height - info->mm_height - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info->base_off), ~~~~~~~~~~~~~~~~ state & ~OLGX_INACTIVE, ~~~~~~~~~~~~~~~~~~~~~~~ (fill_color != OLGX_BG2)); ~~~~~~~~~~~~~~~~~~~~~~~~~ ol_button.c: In function 'olgx_draw_accel_label_internal': ol_button.c:1456:3: warning: 'hlabel' may be used uninitialized in this function [-Wmaybe-uninitialized] XTextExtents(TextFont_Struct(info),(char *)string_label, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlabel->position,&direction,&ascent,&descent, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &overall); ~~~~~~~~~ rm -f ol_color.o shared/ol_color.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_color.c -o shared/ol_color.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../build/include/olgx/olgx.h:13, from olgx_impl.h:29, from ol_color.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_color.c: In function 'hsv_to_rgb': ol_color.c:101:12: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->b = b; ~~~~~~~^~~ ol_color.c:100:12: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->g = g; ~~~~~~~^~~ ol_color.c:99:12: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->r = r; ~~~~~~~^~~ ol_color.c: In function 'rgb_to_hsv': ol_color.c:132:18: warning: 'hex' may be used uninitialized in this function [-Wmaybe-uninitialized] int hex; ^~~ ol_color.c:145:20: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] h = hex * 60 + (h * 60 / MAXRGB); ~~^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_color.c -o ol_color.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../build/include/olgx/olgx.h:13, from olgx_impl.h:29, from ol_color.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_color.c: In function 'hsv_to_rgb': ol_color.c:101:12: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->b = b; ~~~~~~~^~~ ol_color.c:100:12: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->g = g; ~~~~~~~^~~ ol_color.c:99:12: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] rgb->r = r; ~~~~~~~^~~ ol_color.c: In function 'rgb_to_hsv': ol_color.c:132:18: warning: 'hex' may be used uninitialized in this function [-Wmaybe-uninitialized] int hex; ^~~ ol_color.c:145:20: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] h = hex * 60 + (h * 60 / MAXRGB); ~~^~~~ rm -f ol_draw.o shared/ol_draw.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_draw.c -o shared/ol_draw.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_draw.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_draw.c -o ol_draw.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_draw.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f ol_init.o shared/ol_init.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_init.c -o shared/ol_init.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_init.c:10: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_init.c: In function 'olgx_get_perdisplay_list': ol_init.c:1564:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] cur->busy_stipple = NULL; ^ ol_init.c:1565:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] cur->grey_stipple = NULL; ^ ol_init.c: In function 'olgx_get_single_color': ol_init.c:1217:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_init.c -o ol_init.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_init.c:10: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_init.c: In function 'olgx_get_perdisplay_list': ol_init.c:1564:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] cur->busy_stipple = NULL; ^ ol_init.c:1565:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] cur->grey_stipple = NULL; ^ ol_init.c: In function 'olgx_get_single_color': ol_init.c:1217:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f ol_misc.o shared/ol_misc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_misc.c -o shared/ol_misc.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_misc.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_misc.c: In function 'olgx_draw_check_box': ol_misc.c:240:56: warning: 'fill_color' may be used uninitialized in this function [-Wmaybe-uninitialized] XDrawText(info->dpy, win, info->three_d ? info->gc_rec[fill_color]->gc : ~~~~~~~~~~~~^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_misc.c -o ol_misc.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_misc.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_misc.c: In function 'olgx_draw_check_box': ol_misc.c:240:56: warning: 'fill_color' may be used uninitialized in this function [-Wmaybe-uninitialized] XDrawText(info->dpy, win, info->three_d ? info->gc_rec[fill_color]->gc : ~~~~~~~~~~~~^~~~~~~~~~~~ rm -f ol_sb.o shared/ol_sb.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_sb.c -o shared/ol_sb.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_sb.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_sb.c: In function 'olgx_draw_elevator': ol_sb.c:212:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] olgx_draw_elevator(info, win, x, y, state) ^~~~~~~~~~~~~~~~~~ ol_sb.c:212:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_sb.c -o ol_sb.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_sb.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_sb.c: In function 'olgx_draw_elevator': ol_sb.c:212:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] olgx_draw_elevator(info, win, x, y, state) ^~~~~~~~~~~~~~~~~~ ol_sb.c:212:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] rm -f ol_slider.o shared/ol_slider.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_slider.c -o shared/ol_slider.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_slider.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_slider.c: In function 'olgx_draw_horizontal_slider': ol_slider.c:98:21: warning: type defaults to 'int' in declaration of 'y_slider_offset' [-Wimplicit-int] register y_slider_offset; ^~~~~~~~~~~~~~~ ol_slider.c: In function 'olgx_draw_horiz_gauge': ol_slider.c:833:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_update_horiz_gauge': ol_slider.c:955:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_draw_vertical_gauge': ol_slider.c:1003:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_update_vertical_gauge': ol_slider.c:1132:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ol_slider.c -o ol_slider.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ol_slider.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ol_slider.c: In function 'olgx_draw_horizontal_slider': ol_slider.c:98:21: warning: type defaults to 'int' in declaration of 'y_slider_offset' [-Wimplicit-int] register y_slider_offset; ^~~~~~~~~~~~~~~ ol_slider.c: In function 'olgx_draw_horiz_gauge': ol_slider.c:833:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_update_horiz_gauge': ol_slider.c:955:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_draw_vertical_gauge': ol_slider.c:1003:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ ol_slider.c: In function 'olgx_update_vertical_gauge': ol_slider.c:1132:21: warning: type defaults to 'int' in declaration of 'left_offset' [-Wimplicit-int] register left_offset; ^~~~~~~~~~~ + rm -f ./xshared/ol_button.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_button.o ./xshared/ol_button.o + rm -f ./xshared/ol_color.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_color.o ./xshared/ol_color.o + rm -f ./xshared/ol_draw.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_draw.o ./xshared/ol_draw.o + rm -f ./xshared/ol_init.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_init.o ./xshared/ol_init.o + rm -f ./xshared/ol_misc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_misc.o ./xshared/ol_misc.o + rm -f ./xshared/ol_sb.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_sb.o ./xshared/ol_sb.o + rm -f ./xshared/ol_slider.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx/shared/ol_slider.o ./xshared/ol_slider.o rm -f libolgx.so.3.2.4~ (cd ./xshared; gcc -shared -Wl,-soname -Wl,`basename libolgx.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` -o libolgx.so.3.2.4~ ?*.o -L/usr/lib64 -L/usr/lib -lXext -lX11 -lc) rm -f libolgx.so.3.2.4 `basename libolgx.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` libolgx.so mv -f ./xshared/libolgx.so.3.2.4~ libolgx.so.3.2.4 ln -s libolgx.so.3.2.4 `basename libolgx.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` ln -s libolgx.so.3.2.4 libolgx.so ar ruv ./libolgx.a ol_button.o ol_color.o ol_draw.o ol_init.o ol_misc.o ol_sb.o ol_slider.o ar: creating ./libolgx.a a - ol_button.o a - ol_color.o a - ol_draw.o a - ol_init.o a - ol_misc.o a - ol_sb.o a - ol_slider.o make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libolgx' making all in lib/libxview... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' making all in lib/libxview/attr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' rm -f attr.o shared/attr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr.c -o shared/attr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from attr.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr.c: In function 'attr_make_count': attr.c:34:46: warning: passing argument 3 of 'copy_va_to_av' makes integer from pointer without a cast [-Wint-conversion] return( copy_va_to_av( valist, listhead, NULL )); ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview_private/portable.h:25:97: note: expected 'Attr_attribute' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Attr_avlist copy_va_to_av, (va_list valist, Attr_avlist avlist, Attr_attribute attr1)); ~~~~~~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c: In function 'attr_name': attr.c:53:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (found = (attr_value == attr)) ^~~~~ attr.c:59:38: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Attr_attribute' {aka 'long unsigned int'} [-Wformat=] sprintf(attr_name_buf, "attr # 0x%08x", attr); ~~~^ ~~~~ %08lx attr.c: In function 'copy_va_to_av': attr.c:113:20: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:128:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:151:36: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:165:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:185:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:196:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:210:33: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:238:36: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:265:12: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *avlist = NULL; ^ attr.c: In function 'attr_copy_avlist': attr.c:297:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr.c: In function 'attr_count_avlist': attr.c:402:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ^~~~ attr.c: In function 'attr_skip_value': attr.c:501:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr.c -o attr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from attr.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr.c: In function 'attr_make_count': attr.c:34:46: warning: passing argument 3 of 'copy_va_to_av' makes integer from pointer without a cast [-Wint-conversion] return( copy_va_to_av( valist, listhead, NULL )); ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview_private/portable.h:25:97: note: expected 'Attr_attribute' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Attr_avlist copy_va_to_av, (va_list valist, Attr_avlist avlist, Attr_attribute attr1)); ~~~~~~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c: In function 'attr_name': attr.c:53:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (found = (attr_value == attr)) ^~~~~ attr.c:59:38: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Attr_attribute' {aka 'long unsigned int'} [-Wformat=] sprintf(attr_name_buf, "attr # 0x%08x", attr); ~~~^ ~~~~ %08lx attr.c: In function 'copy_va_to_av': attr.c:113:20: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:128:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:151:36: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:165:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:185:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:196:32: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:210:33: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:238:36: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from attr.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ attr.c:265:12: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *avlist = NULL; ^ attr.c: In function 'attr_copy_avlist': attr.c:297:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr.c: In function 'attr_count_avlist': attr.c:402:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ^~~~ attr.c: In function 'attr_skip_value': attr.c:501:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) ^~~~ rm -f attr_copy.o shared/attr_copy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_copy.c -o shared/attr_copy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from attr_copy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_copy.c -o attr_copy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from attr_copy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f attr_cu.o shared/attr_cu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_cu.c -o shared/attr_cu.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from attr_cu.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr_cu.c: In function 'attr_decode_cu': attr_cu.c:35:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ attr_cu.c: In function 'attr_rc_units_to_pixels': attr_cu.c:208:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_cu.c -o attr_cu.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from attr_cu.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr_cu.c: In function 'attr_decode_cu': attr_cu.c:35:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ attr_cu.c: In function 'attr_rc_units_to_pixels': attr_cu.c:208:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ^~~~ rm -f attr_cust.o shared/attr_cust.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_cust.c -o shared/attr_cust.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from attr_cust.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr_cust.c: In function 'attr_copy_customize': attr_cust.c:303:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr_cust.c: In function 'attr_check_use_custom': attr_cust.c:421:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr_cust.c: In function 'xv_add_custom_attrs': attr_cust.c:545:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ attr_cust.c:531:1: note: declared here xv_add_custom_attrs(Xv_pkg *pkg, ...) ^~~~~~~~~~~~~~~~~~~ attr_cust.c: In function 'attr_copy_customize': attr_cust.c:320:28: warning: 'db' may be used uninitialized in this function [-Wmaybe-uninitialized] temp = db_get_data(db, instance_qlist, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_name, attr, default_value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_cust.c -o attr_cust.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from attr_cust.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ attr_cust.c: In function 'attr_copy_customize': attr_cust.c:303:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr_cust.c: In function 'attr_check_use_custom': attr_cust.c:421:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ^~~~ attr_cust.c: In function 'xv_add_custom_attrs': attr_cust.c:545:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ attr_cust.c:531:1: note: declared here xv_add_custom_attrs(Xv_pkg *pkg, ...) ^~~~~~~~~~~~~~~~~~~ attr_cust.c: In function 'attr_copy_customize': attr_cust.c:320:28: warning: 'db' may be used uninitialized in this function [-Wmaybe-uninitialized] temp = db_get_data(db, instance_qlist, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_name, attr, default_value); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f attr_util.o shared/attr_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_util.c -o shared/attr_util.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from attr_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c attr_util.c -o attr_util.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from attr_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/attr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr/shared/attr.o ../../libxview/xshared/attr.o + rm -f ../../libxview/xshared/attr_copy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr/shared/attr_copy.o ../../libxview/xshared/attr_copy.o + rm -f ../../libxview/xshared/attr_cu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr/shared/attr_cu.o ../../libxview/xshared/attr_cu.o + rm -f ../../libxview/xshared/attr_cust.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr/shared/attr_cust.o ../../libxview/xshared/attr_cust.o + rm -f ../../libxview/xshared/attr_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr/shared/attr_util.o ../../libxview/xshared/attr_util.o ar ruv ../../libxview/libxview.a attr.o attr_copy.o attr_cu.o attr_cust.o attr_util.o ar: creating ../../libxview/libxview.a a - attr.o a - attr_copy.o a - attr_cu.o a - attr_cust.o a - attr_util.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/attr' making all in lib/libxview/base... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' rm -f xv.o shared/xv.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv.c -o shared/xv.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv.c: In function 'xv_alloc_error': xv.c:60:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_calloc': xv.c:71:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = calloc( num, size )) ^~~ xv.c:75:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_find_avlist': xv.c:241:30: warning: initialization of 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_object object = NULL; ^~~~ xv.c:270:10: warning: implicit declaration of function 'xv_connection_error'; did you mean 'XConnectionNumber'? [-Wimplicit-function-declaration] (void) xv_connection_error((char *)NULL); ^~~~~~~~~~~~~~~~~~~ XConnectionNumber xv.c: In function 'xv_create_avlist': xv.c:403:9: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] object = NULL; ^ xv.c:431:14: warning: returning 'void *' from a function with return type 'Xv_object' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ xv.c: In function 'xv_set': xv.c:455:16: warning: comparison between pointer and integer if (object == NULL) { ^~ xv.c:456:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_set_avlist': xv.c:510:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_set", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_get': xv.c:544:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c:564:15: warning: implicit declaration of function 'generic_get'; did you mean 'GenericEvent'? [-Wimplicit-function-declaration] result = generic_get(object, &status, (Attr_attribute) attr, args); ^~~~~~~~~~~ GenericEvent xv.c: In function 'xv_get_varargs': xv.c:636:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_destroy_status': xv.c:775:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_destroy_status", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_check_bad_attr': xv.c:838:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv.c -o xv.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv.c: In function 'xv_alloc_error': xv.c:60:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_calloc': xv.c:71:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = calloc( num, size )) ^~~ xv.c:75:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_find_avlist': xv.c:241:30: warning: initialization of 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_object object = NULL; ^~~~ xv.c:270:10: warning: implicit declaration of function 'xv_connection_error'; did you mean 'XConnectionNumber'? [-Wimplicit-function-declaration] (void) xv_connection_error((char *)NULL); ^~~~~~~~~~~~~~~~~~~ XConnectionNumber xv.c: In function 'xv_create_avlist': xv.c:403:9: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] object = NULL; ^ xv.c:431:14: warning: returning 'void *' from a function with return type 'Xv_object' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ xv.c: In function 'xv_set': xv.c:455:16: warning: comparison between pointer and integer if (object == NULL) { ^~ xv.c:456:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_set_avlist': xv.c:510:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_set", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_get': xv.c:544:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c:564:15: warning: implicit declaration of function 'generic_get'; did you mean 'GenericEvent'? [-Wimplicit-function-declaration] result = generic_get(object, &status, (Attr_attribute) attr, args); ^~~~~~~~~~~ GenericEvent xv.c: In function 'xv_get_varargs': xv.c:636:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_destroy_status': xv.c:775:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_destroy_status", object); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv.c: In function 'xv_check_bad_attr': xv.c:838:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f xv_init.o shared/xv_init.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_init.c -o shared/xv_init.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_init.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_init.c:54:24: warning: type defaults to 'int' in declaration of 'notify_exclude_fd' [-Wimplicit-int] Xv_private_data extern notify_exclude_fd; ^~~~~~~~~~~~~~~~~ xv_init.c: In function 'xv_init': xv_init.c:135:24: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs_start[0] = NULL; ^ xv_init.c:248:21: warning: implicit declaration of function 'xv_parse_cmdline'; did you mean 'xv_base_name'? [-Wimplicit-function-declaration] parse_result = xv_parse_cmdline(xv_app_name, &argc, argv, FALSE); ^~~~~~~~~~~~~~~~ xv_base_name xv_init.c:276:4: warning: case value '1251674465' not in enumerated type [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ xv_init.c:277:4: warning: case value '1252002145' not in enumerated type [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ xv_init.c:278:4: warning: case value '1252329825' not in enumerated type [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ xv_init.c:279:4: warning: case value '1252657505' not in enumerated type [-Wswitch] case XV_LC_NUMERIC: ^~~~ xv_init.c:280:4: warning: case value '1252985185' not in enumerated type [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ xv_init.c:281:4: warning: case value '1253312865' not in enumerated type [-Wswitch] case XV_LOCALE_DIR: ^~~~ xv_init.c:234:4: warning: case value '1253640449' not in enumerated type [-Wswitch] case XV_USE_LOCALE: ^~~~ xv_init.c:300:10: warning: implicit declaration of function 'xv_has_been_initialized' [-Wimplicit-function-declaration] if (!xv_has_been_initialized()) { ^~~~~~~~~~~~~~~~~~~~~~~ xv_init.c: In function 'init_custom_attrs': xv_init.c:350:5: warning: implicit declaration of function 'xv_add_custom_attrs'; did you mean 'init_custom_attrs'? [-Wimplicit-function-declaration] xv_add_custom_attrs(WINDOW, ^~~~~~~~~~~~~~~~~~~ init_custom_attrs xv_init.c: In function 'xv_connection_error': xv_init.c:494:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_init.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_init.c: In function 'xv_init': xv_init.c:344:12: warning: 'server' may be used uninitialized in this function [-Wmaybe-uninitialized] return (server); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_init.c -o xv_init.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_init.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_init.c:54:24: warning: type defaults to 'int' in declaration of 'notify_exclude_fd' [-Wimplicit-int] Xv_private_data extern notify_exclude_fd; ^~~~~~~~~~~~~~~~~ xv_init.c: In function 'xv_init': xv_init.c:135:24: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs_start[0] = NULL; ^ xv_init.c:248:21: warning: implicit declaration of function 'xv_parse_cmdline'; did you mean 'xv_base_name'? [-Wimplicit-function-declaration] parse_result = xv_parse_cmdline(xv_app_name, &argc, argv, FALSE); ^~~~~~~~~~~~~~~~ xv_base_name xv_init.c:276:4: warning: case value '1251674465' not in enumerated type [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ xv_init.c:277:4: warning: case value '1252002145' not in enumerated type [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ xv_init.c:278:4: warning: case value '1252329825' not in enumerated type [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ xv_init.c:279:4: warning: case value '1252657505' not in enumerated type [-Wswitch] case XV_LC_NUMERIC: ^~~~ xv_init.c:280:4: warning: case value '1252985185' not in enumerated type [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ xv_init.c:281:4: warning: case value '1253312865' not in enumerated type [-Wswitch] case XV_LOCALE_DIR: ^~~~ xv_init.c:234:4: warning: case value '1253640449' not in enumerated type [-Wswitch] case XV_USE_LOCALE: ^~~~ xv_init.c:300:10: warning: implicit declaration of function 'xv_has_been_initialized' [-Wimplicit-function-declaration] if (!xv_has_been_initialized()) { ^~~~~~~~~~~~~~~~~~~~~~~ xv_init.c: In function 'init_custom_attrs': xv_init.c:350:5: warning: implicit declaration of function 'xv_add_custom_attrs'; did you mean 'init_custom_attrs'? [-Wimplicit-function-declaration] xv_add_custom_attrs(WINDOW, ^~~~~~~~~~~~~~~~~~~ init_custom_attrs xv_init.c: In function 'xv_connection_error': xv_init.c:494:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_init.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_init.c: In function 'xv_init': xv_init.c:344:12: warning: 'server' may be used uninitialized in this function [-Wmaybe-uninitialized] return (server); ^ rm -f xv_init_x.o shared/xv_init_x.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_init_x.c -o shared/xv_init_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/xv_debug.h:16, from xv_init_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_init_x.c: In function 'xv_x_error_handler': xv_init_x.c:89:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from xv_init_x.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_init_x.c -o xv_init_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/xv_debug.h:16, from xv_init_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_init_x.c: In function 'xv_x_error_handler': xv_init_x.c:89:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from xv_init_x.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f generic.o shared/generic.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c generic.c -o shared/generic.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from generic.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ generic.c: In function 'generic_create_instance_qlist': generic.c:145:38: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque parent_quarks = NULL, quarks; ^~~~ generic.c:152:16: warning: comparison between pointer and integer if (parent != NULL) ^~ generic.c:156:18: warning: implicit declaration of function 'db_qlist_from_name' [-Wimplicit-function-declaration] parent_quarks = db_qlist_from_name(xv_instance_app_name, NULL); ^~~~~~~~~~~~~~~~~~ generic.c:161:49: warning: comparison between pointer and integer if ((null_parent == TRUE) && (parent_quarks != NULL)) ^~ generic.c: At top level: generic.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] generic_set_instance_name(parent, object, instance_name) ^~~~~~~~~~~~~~~~~~~~~~~~~ generic.c: In function 'generic_set_instance_name': generic.c:177:16: warning: comparison between pointer and integer if (quarks != NULL) ^~ generic.c: In function 'generic_set_avlist': generic.c:191:37: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] register Xv_opaque error_code = NULL; ^~~~ generic.c:294:3: warning: enumeration value 'XV_KEY_DATA' not handled in switch [-Wswitch] switch ((Xv_generic_attr) (*avlist)) { ^~~~~~ generic.c:294:3: warning: enumeration value 'XV_REF_COUNT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_TYPE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_IS_SUBTYPE_OF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LABEL' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_STATUS' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_STATUS_PTR' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HELP' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HELP_STRING_FILENAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SHOW' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_COPY_OF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_END_CREATE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SELF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_OWNER' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_AUTO_CREATE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FONT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LEFT_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_TOP_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_RIGHT_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_BOTTOM_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_X' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_Y' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_WIDTH' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HEIGHT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_RECT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_XNAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DEVICE_NUMBER' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_ROOT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_VISUAL' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_VISUAL_CLASS' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DEPTH' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DISPLAY' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SCREEN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_APP_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FOCUS_ELEMENT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FOCUS_RANK_KEY' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_DB' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_INSTANCE_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_INSTANCE_QLIST' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_QUARK' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_INSTANCE_RESOURCES' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_BASIC_LOCALE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_DISPLAY_LANG' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_INPUT_LANG' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_NUMERIC' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_TIME_FORMAT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LOCALE_DIR' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_LOCALE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_GC' not handled in switch [-Wswitch] generic.c:339:4: warning: case value '1074792992' not in enumerated type [-Wswitch] case ATTR_NOP0: ^~~~ generic.c:340:4: warning: case value '1074858497' not in enumerated type [-Wswitch] case ATTR_NOP1: ^~~~ generic.c:341:4: warning: case value '1074924034' not in enumerated type [-Wswitch] case ATTR_NOP2: ^~~~ generic.c:342:4: warning: case value '1074989571' not in enumerated type [-Wswitch] case ATTR_NOP3: ^~~~ generic.c:343:4: warning: case value '1075055108' not in enumerated type [-Wswitch] case ATTR_NOP4: ^~~~ generic.c: In function 'generic_get': generic.c:442:12: warning: implicit declaration of function 'db_name_from_qlist' [-Wimplicit-function-declaration] (char *)db_name_from_qlist(generic->instance_qlist); ^~~~~~~~~~~~~~~~~~ generic.c:442:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (char *)db_name_from_qlist(generic->instance_qlist); ^ generic.c: In function 'generic_destroy': generic.c:494:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = HEAD(object)) { ^~~~ generic.c: In function 'generic_set_instance_name': generic.c:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ generic.c: In function 'generic_get': generic.c:372:24: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] register Xv_opaque result; ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c generic.c -o generic.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from generic.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ generic.c: In function 'generic_create_instance_qlist': generic.c:145:38: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque parent_quarks = NULL, quarks; ^~~~ generic.c:152:16: warning: comparison between pointer and integer if (parent != NULL) ^~ generic.c:156:18: warning: implicit declaration of function 'db_qlist_from_name' [-Wimplicit-function-declaration] parent_quarks = db_qlist_from_name(xv_instance_app_name, NULL); ^~~~~~~~~~~~~~~~~~ generic.c:161:49: warning: comparison between pointer and integer if ((null_parent == TRUE) && (parent_quarks != NULL)) ^~ generic.c: At top level: generic.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] generic_set_instance_name(parent, object, instance_name) ^~~~~~~~~~~~~~~~~~~~~~~~~ generic.c: In function 'generic_set_instance_name': generic.c:177:16: warning: comparison between pointer and integer if (quarks != NULL) ^~ generic.c: In function 'generic_set_avlist': generic.c:191:37: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] register Xv_opaque error_code = NULL; ^~~~ generic.c:294:3: warning: enumeration value 'XV_KEY_DATA' not handled in switch [-Wswitch] switch ((Xv_generic_attr) (*avlist)) { ^~~~~~ generic.c:294:3: warning: enumeration value 'XV_REF_COUNT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_TYPE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_IS_SUBTYPE_OF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LABEL' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_STATUS' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_STATUS_PTR' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HELP' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HELP_STRING_FILENAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SHOW' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_COPY_OF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_END_CREATE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SELF' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_OWNER' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_AUTO_CREATE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FONT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LEFT_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_TOP_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_RIGHT_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_BOTTOM_MARGIN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_X' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_Y' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_WIDTH' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_HEIGHT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_RECT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_XNAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DEVICE_NUMBER' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_ROOT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_VISUAL' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_VISUAL_CLASS' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DEPTH' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_DISPLAY' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_SCREEN' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_APP_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FOCUS_ELEMENT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_FOCUS_RANK_KEY' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_DB' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_INSTANCE_NAME' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_INSTANCE_QLIST' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_QUARK' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_INSTANCE_RESOURCES' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_BASIC_LOCALE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_DISPLAY_LANG' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_INPUT_LANG' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_NUMERIC' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LC_TIME_FORMAT' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_LOCALE_DIR' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_USE_LOCALE' not handled in switch [-Wswitch] generic.c:294:3: warning: enumeration value 'XV_GC' not handled in switch [-Wswitch] generic.c:339:4: warning: case value '1074792992' not in enumerated type [-Wswitch] case ATTR_NOP0: ^~~~ generic.c:340:4: warning: case value '1074858497' not in enumerated type [-Wswitch] case ATTR_NOP1: ^~~~ generic.c:341:4: warning: case value '1074924034' not in enumerated type [-Wswitch] case ATTR_NOP2: ^~~~ generic.c:342:4: warning: case value '1074989571' not in enumerated type [-Wswitch] case ATTR_NOP3: ^~~~ generic.c:343:4: warning: case value '1075055108' not in enumerated type [-Wswitch] case ATTR_NOP4: ^~~~ generic.c: In function 'generic_get': generic.c:442:12: warning: implicit declaration of function 'db_name_from_qlist' [-Wimplicit-function-declaration] (char *)db_name_from_qlist(generic->instance_qlist); ^~~~~~~~~~~~~~~~~~ generic.c:442:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (char *)db_name_from_qlist(generic->instance_qlist); ^ generic.c: In function 'generic_destroy': generic.c:494:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = HEAD(object)) { ^~~~ generic.c: In function 'generic_set_instance_name': generic.c:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ generic.c: In function 'generic_get': generic.c:372:24: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] register Xv_opaque result; ^~~~~~ rm -f drawable.o shared/drawable.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c drawable.c -o shared/drawable.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from drawable.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ drawable.c: In function 'drawable_get_attr': drawable.c:61:7: warning: case value '1247873793' not in enumerated type 'Drawable_attr' {aka 'enum '} [-Wswitch] case XV_XID: ^~~~ drawable.c:65:7: warning: case value '1248725505' not in enumerated type 'Drawable_attr' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ drawable.c: In function 'xv_private_gc': drawable.c:82:18: warning: implicit declaration of function 'window_private_gc'; did you mean 'xv_private_gc'? [-Wimplicit-function-declaration] return ((GC) window_private_gc(d)); ^~~~~~~~~~~~~~~~~ xv_private_gc drawable.c:82:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((GC) window_private_gc(d)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c drawable.c -o drawable.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from drawable.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ drawable.c: In function 'drawable_get_attr': drawable.c:61:7: warning: case value '1247873793' not in enumerated type 'Drawable_attr' {aka 'enum '} [-Wswitch] case XV_XID: ^~~~ drawable.c:65:7: warning: case value '1248725505' not in enumerated type 'Drawable_attr' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ drawable.c: In function 'xv_private_gc': drawable.c:82:18: warning: implicit declaration of function 'window_private_gc'; did you mean 'xv_private_gc'? [-Wimplicit-function-declaration] return ((GC) window_private_gc(d)); ^~~~~~~~~~~~~~~~~ xv_private_gc drawable.c:82:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((GC) window_private_gc(d)); ^ rm -f xv_debug.o shared/xv_debug.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_debug.c -o shared/xv_debug.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_debug.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_debug.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] _xview_dprintf() ^~~~~~~~~~~~~~ xv_debug.c: In function '_xview_dprintf': xv_debug.c:149:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_debug.c -o xv_debug.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_debug.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_debug.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] _xview_dprintf() ^~~~~~~~~~~~~~ xv_debug.c: In function '_xview_dprintf': xv_debug.c:149:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xv_parse.o shared/xv_parse.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_parse.c -o shared/xv_parse.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_parse.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_parse.c:129:41: warning: missing braces around initializer [-Wmissing-braces] static Cmd_line_flag cmd_line_flags[] = { ^ "-Wx", "-scale", "window.scale.cmdline", 0, 1, { { } } "-Wt", "-font", "font.name.cmdline", 0, 1, { { } } "-fn", "", "font.name.cmdline", 0, 1, { { } } "-Ww", "-width", "window.columns", 0, 1, { { } } "-Wh", "-height", "window.rows", 0, 1, { { } } "-Ws", "-size", "window.width", "window.height", 2, { { } } "-Wp", "-position", "window.x", "window.y", 2, { { } } "-WG", "-geometry", "window.geometry", 0, 1, { { } } "-WP", "-icon_position", "icon.x", "icon.y", 2, { { } } "-Wl", "-label", "window.header", 0, 1, { { } } "", "-title", "window.header", 0, 1, { { } } "-Wi", "-iconic", "window.iconic", 0, 0, { { } } "+Wi", "+iconic", "window.iconic", 0, 0, { { } } "-Wf", "-foreground_color", "window.color.foreground", 0, 3, { { } } "-fg", "-foreground", "window.color.foreground", 0, 1, { { } } "-Wb", "-background_color", "window.color.background", 0, 3, { { } } "-bg", "-background", "window.color.background", 0, 1, { { } } "-Wg", "-set_default_color", "window.inheritcolor", 0, 0, { { } } "-rv", "-reverse", "window.reverseVideo", 0, 0, { { } } "+rv", "+reverse", "window.reverseVideo", 0, 0, { { } } "-WI", "-icon_image", "icon.pixmap", 0, 1, { { } } "-WL", "-icon_label", "icon.footer", 0, 1, { { } } "-WT", "-icon_font", "icon.font.name.cmdline", 0, 1, { { } } "-Wd", "-default", 0, 0, 2, { { } } "", "-xrm", 0, 0, 1, { { } } "-WH", "-help", 0, 0, 0, { { } } "-sync", "-synchronous", "window.synchronous", 0, 0, { { } } "+sync", "+synchronous", "window.synchronous", 0, 0, { { } } "-Wr", "-display", "server.name", 0, 1, { { } } "", "-visual", "window.visual", 0, 1, { { } } "", "-depth", "window.depth", 0, 1, { { } } "-Wdr", "-disable_retained", "window.mono.disableRetained", 0, 0, { { } } "-Wdxio", "-disable_xio_error_handler", 0, 0, 0, { { } } "-Wfsdb", "-fullscreendebug", 0, 0, 0, { { } } "-Wfsdbs", "-fullscreendebugserver", 0, 0, 0, { { } } "-Wfsdbp", "-fullscreendebugptr", 0, 0, 0, { { } } "-Wfsdbk", "-fullscreendebugkbd", 0, 0, 0, { { } } "-Wdpgs", "-disable_pass_grab_select", "window.passiveGrab.select", 0, 0, { { } } "-WS", "-defeateventsecurity", 0, 0, 0, { { } } "-name", "-name", 0, 0, 1, { { } } "-lc_basiclocale", "-lc_basiclocale", "openWindows.basicLocale", 0, 1, { { } } "-lc_displaylang", "-lc_displaylang", "openWindows.displayLang", 0, 1, { { } } "-lc_inputlang", "-lc_inputlang", "openWindows.inputLang", 0, 1, { { } } "-lc_numeric", "-lc_numeric", "openWindows.numericFormat", 0, 1, { { } } "-lc_timeformat", "-lc_timeformat", "openWindows.timeFormat", 0, 1, { { } } xv_parse.c:187:5: 0, 0, 0, 0, 0 { { } }; } xv_parse.c:198:40: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs known_scales[] = { ^ xv_parse.c: In function 'xv_parse_cmdline': xv_parse.c:259:15: warning: implicit declaration of function 'xv_parse_one'; did you mean 'xv_parse_cmdline'? [-Wimplicit-function-declaration] switch ((n = xv_parse_one(app_name, argc, argv))) { ^~~~~~~~~~~~ xv_parse_cmdline xv_parse.c: In function 'xv_parse_one': xv_parse.c:319:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_parse.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_parse.c -o xv_parse.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_parse.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_parse.c:129:41: warning: missing braces around initializer [-Wmissing-braces] static Cmd_line_flag cmd_line_flags[] = { ^ "-Wx", "-scale", "window.scale.cmdline", 0, 1, { { } } "-Wt", "-font", "font.name.cmdline", 0, 1, { { } } "-fn", "", "font.name.cmdline", 0, 1, { { } } "-Ww", "-width", "window.columns", 0, 1, { { } } "-Wh", "-height", "window.rows", 0, 1, { { } } "-Ws", "-size", "window.width", "window.height", 2, { { } } "-Wp", "-position", "window.x", "window.y", 2, { { } } "-WG", "-geometry", "window.geometry", 0, 1, { { } } "-WP", "-icon_position", "icon.x", "icon.y", 2, { { } } "-Wl", "-label", "window.header", 0, 1, { { } } "", "-title", "window.header", 0, 1, { { } } "-Wi", "-iconic", "window.iconic", 0, 0, { { } } "+Wi", "+iconic", "window.iconic", 0, 0, { { } } "-Wf", "-foreground_color", "window.color.foreground", 0, 3, { { } } "-fg", "-foreground", "window.color.foreground", 0, 1, { { } } "-Wb", "-background_color", "window.color.background", 0, 3, { { } } "-bg", "-background", "window.color.background", 0, 1, { { } } "-Wg", "-set_default_color", "window.inheritcolor", 0, 0, { { } } "-rv", "-reverse", "window.reverseVideo", 0, 0, { { } } "+rv", "+reverse", "window.reverseVideo", 0, 0, { { } } "-WI", "-icon_image", "icon.pixmap", 0, 1, { { } } "-WL", "-icon_label", "icon.footer", 0, 1, { { } } "-WT", "-icon_font", "icon.font.name.cmdline", 0, 1, { { } } "-Wd", "-default", 0, 0, 2, { { } } "", "-xrm", 0, 0, 1, { { } } "-WH", "-help", 0, 0, 0, { { } } "-sync", "-synchronous", "window.synchronous", 0, 0, { { } } "+sync", "+synchronous", "window.synchronous", 0, 0, { { } } "-Wr", "-display", "server.name", 0, 1, { { } } "", "-visual", "window.visual", 0, 1, { { } } "", "-depth", "window.depth", 0, 1, { { } } "-Wdr", "-disable_retained", "window.mono.disableRetained", 0, 0, { { } } "-Wdxio", "-disable_xio_error_handler", 0, 0, 0, { { } } "-Wfsdb", "-fullscreendebug", 0, 0, 0, { { } } "-Wfsdbs", "-fullscreendebugserver", 0, 0, 0, { { } } "-Wfsdbp", "-fullscreendebugptr", 0, 0, 0, { { } } "-Wfsdbk", "-fullscreendebugkbd", 0, 0, 0, { { } } "-Wdpgs", "-disable_pass_grab_select", "window.passiveGrab.select", 0, 0, { { } } "-WS", "-defeateventsecurity", 0, 0, 0, { { } } "-name", "-name", 0, 0, 1, { { } } "-lc_basiclocale", "-lc_basiclocale", "openWindows.basicLocale", 0, 1, { { } } "-lc_displaylang", "-lc_displaylang", "openWindows.displayLang", 0, 1, { { } } "-lc_inputlang", "-lc_inputlang", "openWindows.inputLang", 0, 1, { { } } "-lc_numeric", "-lc_numeric", "openWindows.numericFormat", 0, 1, { { } } "-lc_timeformat", "-lc_timeformat", "openWindows.timeFormat", 0, 1, { { } } xv_parse.c:187:5: 0, 0, 0, 0, 0 { { } }; } xv_parse.c:198:40: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs known_scales[] = { ^ xv_parse.c: In function 'xv_parse_cmdline': xv_parse.c:259:15: warning: implicit declaration of function 'xv_parse_one'; did you mean 'xv_parse_cmdline'? [-Wimplicit-function-declaration] switch ((n = xv_parse_one(app_name, argc, argv))) { ^~~~~~~~~~~~ xv_parse_cmdline xv_parse.c: In function 'xv_parse_one': xv_parse.c:319:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_parse.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f xv_list.o shared/xv_list.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_list.c -o shared/xv_list.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from xv_list.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_list.c -o xv_list.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from xv_list.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f xv_error.o shared/xv_error.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_error.c -o shared/xv_error.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_error.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_error.c:16: xv_error.c: In function 'xv_error_format': xv_error.c:73:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Attr_attribute' {aka 'long unsigned int'} [-Wformat=] XV_MSG("bad value (0x%x) for attribute %s"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_error.c:146:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Xv_object' {aka 'long unsigned int'} [-Wformat=] sprintf(msg, XV_MSG("%s %s: Object 0x%x,"), ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_error.c:170:10: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(msg, XV_MSG("%s (%s package)\n"), ^~~ msg, pkg_name); ~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_error.c -o xv_error.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_error.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_error.c:16: xv_error.c: In function 'xv_error_format': xv_error.c:73:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Attr_attribute' {aka 'long unsigned int'} [-Wformat=] XV_MSG("bad value (0x%x) for attribute %s"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_error.c:146:22: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Xv_object' {aka 'long unsigned int'} [-Wformat=] sprintf(msg, XV_MSG("%s %s: Object 0x%x,"), ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_error.c:170:10: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(msg, XV_MSG("%s (%s package)\n"), ^~~ msg, pkg_name); ~~~ rm -f base_data.o shared/base_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c base_data.c -o shared/base_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from base_data.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c base_data.c -o base_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from base_data.c:6: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f xv_usage.o shared/xv_usage.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_usage.c -o shared/xv_usage.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_usage.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_usage.c -o xv_usage.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_usage.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/xv.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv.o ../../libxview/xshared/xv.o + rm -f ../../libxview/xshared/xv_init.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_init.o ../../libxview/xshared/xv_init.o + rm -f ../../libxview/xshared/xv_init_x.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_init_x.o ../../libxview/xshared/xv_init_x.o + rm -f ../../libxview/xshared/generic.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/generic.o ../../libxview/xshared/generic.o + rm -f ../../libxview/xshared/drawable.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/drawable.o ../../libxview/xshared/drawable.o + rm -f ../../libxview/xshared/xv_debug.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_debug.o ../../libxview/xshared/xv_debug.o + rm -f ../../libxview/xshared/xv_parse.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_parse.o ../../libxview/xshared/xv_parse.o + rm -f ../../libxview/xshared/xv_list.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_list.o ../../libxview/xshared/xv_list.o + rm -f ../../libxview/xshared/xv_error.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_error.o ../../libxview/xshared/xv_error.o + rm -f ../../libxview/xshared/base_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/base_data.o ../../libxview/xshared/base_data.o + rm -f ../../libxview/xshared/xv_usage.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base/shared/xv_usage.o ../../libxview/xshared/xv_usage.o ar ruv ../../libxview/libxview.a xv.o xv_init.o xv_init_x.o generic.o drawable.o xv_debug.o xv_parse.o xv_list.o xv_error.o base_data.o xv_usage.o a - xv.o a - xv_init.o a - xv_init_x.o a - generic.o a - drawable.o a - xv_debug.o a - xv_parse.o a - xv_list.o a - xv_error.o a - base_data.o a - xv_usage.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/base' making all in lib/libxview/canvas... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' rm -f canvas.o shared/canvas.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c canvas.c -o shared/canvas.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from canvas.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c canvas.c -o canvas.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from canvas.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f cnvs_set.o shared/cnvs_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_set.c -o shared/cnvs_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_set.c: In function 'canvas_set_avlist': cnvs_set.c:34:27: warning: initialization of 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^~~~ cnvs_set.c:34:39: warning: initialization of 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^~~~ In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:87:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:101:8: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:143:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:183:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c:185:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, pw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cnvs_set.c:189:13: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] (void)win_set_kbd_focus(paint_window, xv_xid(pw_info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:198:3: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c:214:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(canvas_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_set.c:218:4: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(canvas_public, view_public) ^~~~~~~~~~~~~~~~~ cnvs_set.c:220:14: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] (void)window_set_cms(view_public, cms, cms_bg, cms_fg); ^~~~~~~~~~~~~~ window_set In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:242:3: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c: In function 'canvas_set_bit_gravity': ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:294:5: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(CANVAS_PUBLIC(canvas), paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c: In function 'canvas_append_paint_attrs': cnvs_set.c:308:46: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^~~~~~~~~~~~~~~~ attr_create_list cnvs_set.c:308:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_set.c -o cnvs_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_set.c: In function 'canvas_set_avlist': cnvs_set.c:34:27: warning: initialization of 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^~~~ cnvs_set.c:34:39: warning: initialization of 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^~~~ In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:87:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:101:8: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:143:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:183:6: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c:185:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, pw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cnvs_set.c:189:13: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] (void)win_set_kbd_focus(paint_window, xv_xid(pw_info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:198:3: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c:214:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(canvas_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_set.c:218:4: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(canvas_public, view_public) ^~~~~~~~~~~~~~~~~ cnvs_set.c:220:14: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] (void)window_set_cms(view_public, cms, cms_bg, cms_fg); ^~~~~~~~~~~~~~ window_set In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_set.c:13: ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:242:3: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c: In function 'canvas_set_bit_gravity': ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_set.c:294:5: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(CANVAS_PUBLIC(canvas), paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ cnvs_set.c: In function 'canvas_append_paint_attrs': cnvs_set.c:308:46: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^~~~~~~~~~~~~~~~ attr_create_list cnvs_set.c:308:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^ rm -f cnvs_get.o shared/cnvs_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_get.c -o shared/cnvs_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_get.c: In function 'canvas_get_attr': cnvs_get.c:31:18: warning: comparison between pointer and integer if (view_public != NULL) { ^~ cnvs_get.c:68:19: warning: comparison between pointer and integer if (paint_window != NULL) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_get.c -o cnvs_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_get.c: In function 'canvas_get_attr': cnvs_get.c:31:18: warning: comparison between pointer and integer if (view_public != NULL) { ^~ cnvs_get.c:68:19: warning: comparison between pointer and integer if (paint_window != NULL) { ^~ rm -f cnvs_scrol.o shared/cnvs_scrol.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_scrol.c -o shared/cnvs_scrol.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_scrol.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_scrol.c:13: cnvs_scrol.c: In function 'canvas_update_scrollbars': ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_scrol.c:54:5: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(canvas_public, view) ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_scrol.c -o cnvs_scrol.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_scrol.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_scrol.c:13: cnvs_scrol.c: In function 'canvas_update_scrollbars': ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_scrol.c:54:5: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(canvas_public, view) ^~~~~~~~~~~~~~~~~ rm -f cnvs_resze.o shared/cnvs_resze.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_resze.c -o shared/cnvs_resze.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_resze.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_resze.c:13: cnvs_resze.c: In function 'canvas_set_paint_window_size': ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_resze.c:83:5: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_resze.c:13: cnvs_resze.c: In function 'canvas_view_maxsize': ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_resze.c:130:5: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(CANVAS_PUBLIC(canvas), view) ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_resze.c -o cnvs_resze.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_resze.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_resze.c:13: cnvs_resze.c: In function 'canvas_set_paint_window_size': ../../../build/include/xview/canvas.h:48:85: warning: comparison between pointer and integer while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ^~ cnvs_resze.c:83:5: note: in expansion of macro 'CANVAS_EACH_PAINT_WINDOW' CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_resze.c:13: cnvs_resze.c: In function 'canvas_view_maxsize': ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ cnvs_resze.c:130:5: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(CANVAS_PUBLIC(canvas), view) ^~~~~~~~~~~~~~~~~ rm -f cnvs_view.o shared/cnvs_view.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_view.c -o shared/cnvs_view.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_view.c:29:17: warning: type defaults to 'int' in declaration of 'canvas_view_create_paint_window' [-Wimplicit-int] static canvas_view_create_paint_window(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_view.c: In function 'canvas_paint_set': cnvs_view.c:169:21: warning: implicit declaration of function 'rl_rectunion'; did you mean 'pr_region'? [-Wimplicit-function-declaration] rl_rectunion(&rect, &rl, &rl); ^~~~~~~~~~~~ pr_region cnvs_view.c:171:21: warning: implicit declaration of function 'win_set_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_damage(paint_public, &rl); ^~~~~~~~~~~~~~ win_get_damage cnvs_view.c:172:21: warning: implicit declaration of function 'canvas_inform_repaint'; did you mean 'canvas_window_event'? [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, paint_public); ^~~~~~~~~~~~~~~~~~~~~ canvas_window_event cnvs_view.c:173:21: warning: implicit declaration of function 'win_clear_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_clear_damage(paint_public); ^~~~~~~~~~~~~~~~ win_get_damage cnvs_view.c: In function 'canvas_view_create_paint_window': cnvs_view.c:441:28: warning: comparison between pointer and integer if (view->paint_window == NULL) { ^~ cnvs_view.c:452:18: warning: comparison between pointer and integer if (split_paint != NULL) { ^~ cnvs_view.c:503:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ cnvs_view.c:508:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_view.c -o cnvs_view.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_view.c:29:17: warning: type defaults to 'int' in declaration of 'canvas_view_create_paint_window' [-Wimplicit-int] static canvas_view_create_paint_window(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_view.c: In function 'canvas_paint_set': cnvs_view.c:169:21: warning: implicit declaration of function 'rl_rectunion'; did you mean 'pr_region'? [-Wimplicit-function-declaration] rl_rectunion(&rect, &rl, &rl); ^~~~~~~~~~~~ pr_region cnvs_view.c:171:21: warning: implicit declaration of function 'win_set_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_damage(paint_public, &rl); ^~~~~~~~~~~~~~ win_get_damage cnvs_view.c:172:21: warning: implicit declaration of function 'canvas_inform_repaint'; did you mean 'canvas_window_event'? [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, paint_public); ^~~~~~~~~~~~~~~~~~~~~ canvas_window_event cnvs_view.c:173:21: warning: implicit declaration of function 'win_clear_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_clear_damage(paint_public); ^~~~~~~~~~~~~~~~ win_get_damage cnvs_view.c: In function 'canvas_view_create_paint_window': cnvs_view.c:441:28: warning: comparison between pointer and integer if (view->paint_window == NULL) { ^~ cnvs_view.c:452:18: warning: comparison between pointer and integer if (split_paint != NULL) { ^~ cnvs_view.c:503:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ cnvs_view.c:508:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ rm -f cnvs_input.o shared/cnvs_input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_input.c -o shared/cnvs_input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_input.c: In function 'canvas_paint_event': cnvs_input.c:135:2: warning: implicit declaration of function 'canvas_inform_repaint'; did you mean 'canvas_inform_resize'? [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, window_public); ^~~~~~~~~~~~~~~~~~~~~ canvas_inform_resize cnvs_input.c:164:7: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(window_public, help_data, event); ^~~~~~~~~~~~ menu_show cnvs_input.c:79:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define nth_pw nth_view ^~~~~~~~ cnvs_input.c:172:4: note: in expansion of macro 'nth_pw' nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^~~~~~ cnvs_input.c:79:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define nth_pw nth_view ^~~~~~~~ cnvs_input.c:192:4: note: in expansion of macro 'nth_pw' nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^~~~~~ cnvs_input.c:221:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(canvas_public, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_input.c:13: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ cnvs_input.c:275:6: note: in expansion of macro 'event_init' event_init(&sb_event); ^~~~~~~~~~ cnvs_input.c:279:6: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] win_post_event(sb, &sb_event, NOTIFY_SAFE); ^~~~~~~~~~~~~~ notify_post_event cnvs_input.c: At top level: cnvs_input.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] canvas_inform_repaint(canvas, paint_window) ^~~~~~~~~~~~~~~~~~~~~ cnvs_input.c: In function 'canvas_inform_repaint': cnvs_input.c:375:5: warning: implicit declaration of function 'rl_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] rl_copy(win_damage, &damage); ^~~~~~~ pw_copy cnvs_input.c:394:18: warning: implicit declaration of function 'win_convert_to_x_rectlist'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] xrects.count = win_convert_to_x_rectlist(&damage, ^~~~~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list cnvs_input.c:405:5: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damage); ^~~~~~~ xv_free cnvs_input.c: In function 'canvas_window_event': cnvs_input.c:422:22: warning: comparison between pointer and integer if (paint_window == NULL) { ^~ cnvs_input.c:431:13: warning: function returns address of local variable [-Wreturn-local-addr] return (&tmp_event); ~^~~~~~~~~~~ cnvs_input.c: In function 'canvas_event': cnvs_input.c:447:22: warning: comparison between pointer and integer if (paint_window == NULL) { ^~ cnvs_input.c:456:13: warning: function returns address of local variable [-Wreturn-local-addr] return (&tmp_event); ~^~~~~~~~~~~ cnvs_input.c: In function 'canvas_clear_damage': cnvs_input.c:476:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cnvs_input.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gc_values.stipple = xv_get(window, WIN_BACKGROUND_PIXMAP)) { ^~~~~~~~~ cnvs_input.c: In function 'canvas_inform_repaint': cnvs_input.c:406:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_input.c -o cnvs_input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cnvs_input.c: In function 'canvas_paint_event': cnvs_input.c:135:2: warning: implicit declaration of function 'canvas_inform_repaint'; did you mean 'canvas_inform_resize'? [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, window_public); ^~~~~~~~~~~~~~~~~~~~~ canvas_inform_resize cnvs_input.c:164:7: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(window_public, help_data, event); ^~~~~~~~~~~~ menu_show cnvs_input.c:79:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define nth_pw nth_view ^~~~~~~~ cnvs_input.c:172:4: note: in expansion of macro 'nth_pw' nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^~~~~~ cnvs_input.c:79:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define nth_pw nth_view ^~~~~~~~ cnvs_input.c:192:4: note: in expansion of macro 'nth_pw' nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^~~~~~ cnvs_input.c:221:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(canvas_public, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview_private/cnvs_impl.h:10, from cnvs_input.c:13: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ cnvs_input.c:275:6: note: in expansion of macro 'event_init' event_init(&sb_event); ^~~~~~~~~~ cnvs_input.c:279:6: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] win_post_event(sb, &sb_event, NOTIFY_SAFE); ^~~~~~~~~~~~~~ notify_post_event cnvs_input.c: At top level: cnvs_input.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] canvas_inform_repaint(canvas, paint_window) ^~~~~~~~~~~~~~~~~~~~~ cnvs_input.c: In function 'canvas_inform_repaint': cnvs_input.c:375:5: warning: implicit declaration of function 'rl_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] rl_copy(win_damage, &damage); ^~~~~~~ pw_copy cnvs_input.c:394:18: warning: implicit declaration of function 'win_convert_to_x_rectlist'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] xrects.count = win_convert_to_x_rectlist(&damage, ^~~~~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list cnvs_input.c:405:5: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damage); ^~~~~~~ xv_free cnvs_input.c: In function 'canvas_window_event': cnvs_input.c:422:22: warning: comparison between pointer and integer if (paint_window == NULL) { ^~ cnvs_input.c:431:13: warning: function returns address of local variable [-Wreturn-local-addr] return (&tmp_event); ~^~~~~~~~~~~ cnvs_input.c: In function 'canvas_event': cnvs_input.c:447:22: warning: comparison between pointer and integer if (paint_window == NULL) { ^~ cnvs_input.c:456:13: warning: function returns address of local variable [-Wreturn-local-addr] return (&tmp_event); ~^~~~~~~~~~~ cnvs_input.c: In function 'canvas_clear_damage': cnvs_input.c:476:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cnvs_input.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gc_values.stipple = xv_get(window, WIN_BACKGROUND_PIXMAP)) { ^~~~~~~~~ cnvs_input.c: In function 'canvas_inform_repaint': cnvs_input.c:406:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f cnvs_data.o shared/cnvs_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_data.c -o shared/cnvs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cnvs_data.c -o cnvs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/cnvs_impl.h:8, from cnvs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/canvas.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/canvas.o ../../libxview/xshared/canvas.o + rm -f ../../libxview/xshared/cnvs_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_set.o ../../libxview/xshared/cnvs_set.o + rm -f ../../libxview/xshared/cnvs_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_get.o ../../libxview/xshared/cnvs_get.o + rm -f ../../libxview/xshared/cnvs_scrol.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_scrol.o ../../libxview/xshared/cnvs_scrol.o + rm -f ../../libxview/xshared/cnvs_resze.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_resze.o ../../libxview/xshared/cnvs_resze.o + rm -f ../../libxview/xshared/cnvs_view.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_view.o ../../libxview/xshared/cnvs_view.o + rm -f ../../libxview/xshared/cnvs_input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_input.o ../../libxview/xshared/cnvs_input.o + rm -f ../../libxview/xshared/cnvs_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas/shared/cnvs_data.o ../../libxview/xshared/cnvs_data.o ar ruv ../../libxview/libxview.a canvas.o cnvs_set.o cnvs_get.o cnvs_scrol.o cnvs_resze.o cnvs_view.o cnvs_input.o cnvs_data.o a - canvas.o a - cnvs_set.o a - cnvs_get.o a - cnvs_scrol.o a - cnvs_resze.o a - cnvs_view.o a - cnvs_input.o a - cnvs_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/canvas' making all in lib/libxview/color... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' rm -f cms.o shared/cms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms.c -o shared/cms.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from cms.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cms.c: In function 'cms_set_unique_name': cms.c:77:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Cms_info *' {aka 'struct cms_info *'} [-Wformat=] sprintf(buf, "%x", cms); ~^ ~~~ cms.c: In function 'cms_set_static_colors': cms.c:223:15: warning: implicit declaration of function 'cms_alloc_static_colors'; did you mean 'cms_set_static_colors'? [-Wimplicit-function-declaration] status = cms_alloc_static_colors(display, cms, cmap, xcolors, ^~~~~~~~~~~~~~~~~~~~~~~ cms_set_static_colors cms.c: In function 'cms_parse_named_colors': cms.c:370:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from cms.c:10: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms.c -o cms.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from cms.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cms.c: In function 'cms_set_unique_name': cms.c:77:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Cms_info *' {aka 'struct cms_info *'} [-Wformat=] sprintf(buf, "%x", cms); ~^ ~~~ cms.c: In function 'cms_set_static_colors': cms.c:223:15: warning: implicit declaration of function 'cms_alloc_static_colors'; did you mean 'cms_set_static_colors'? [-Wimplicit-function-declaration] status = cms_alloc_static_colors(display, cms, cmap, xcolors, ^~~~~~~~~~~~~~~~~~~~~~~ cms_set_static_colors cms.c: In function 'cms_parse_named_colors': cms.c:370:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from cms.c:10: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f cms_pblc.o shared/cms_pblc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms_pblc.c -o shared/cms_pblc.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/cms.h:11, from cms_pblc.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cms_pblc.c: In function 'cms_init': cms_pblc.c:114:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c: In function 'cms_set_avlist': cms_pblc.c:186:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c:240:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c:261:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c: In function 'cms_get_attr': cms_pblc.c:414:10: warning: implicit declaration of function 'cms_get_colors'; did you mean 'cms_set_colors'? [-Wimplicit-function-declaration] if (cms_get_colors(cms, (unsigned long)0, cms->size, ^~~~~~~~~~~~~~ cms_set_colors cms_pblc.c:420:9: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ cms_pblc.c:447:9: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ cms_pblc.c:371:7: warning: case value '1078462817' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case CMS_NAME: ^~~~ cms_pblc.c:403:7: warning: case value '1247873793' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_XID: /* public */ ^~~~ cms_pblc.c:395:7: warning: case value '1249183745' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL_CLASS: ^~~~ cms_pblc.c:391:7: warning: case value '1249708545' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL: ^~~~ cms_pblc.c:399:7: warning: case value '1249773569' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_DEPTH: ^~~~ cms_pblc.c: In function 'cms_find_cms': cms_pblc.c:537:11: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return(NULL); ^ cms_pblc.c: In function 'cms_get_attr': cms_pblc.c:495:11: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return(value); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms_pblc.c -o cms_pblc.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/cms.h:11, from cms_pblc.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cms_pblc.c: In function 'cms_init': cms_pblc.c:114:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c: In function 'cms_set_avlist': cms_pblc.c:186:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c:240:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c:261:13: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/cms.h:19, from cms_pblc.c:7: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cms_pblc.c: In function 'cms_get_attr': cms_pblc.c:414:10: warning: implicit declaration of function 'cms_get_colors'; did you mean 'cms_set_colors'? [-Wimplicit-function-declaration] if (cms_get_colors(cms, (unsigned long)0, cms->size, ^~~~~~~~~~~~~~ cms_set_colors cms_pblc.c:420:9: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ cms_pblc.c:447:9: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ cms_pblc.c:371:7: warning: case value '1078462817' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case CMS_NAME: ^~~~ cms_pblc.c:403:7: warning: case value '1247873793' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_XID: /* public */ ^~~~ cms_pblc.c:395:7: warning: case value '1249183745' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL_CLASS: ^~~~ cms_pblc.c:391:7: warning: case value '1249708545' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL: ^~~~ cms_pblc.c:399:7: warning: case value '1249773569' not in enumerated type 'Cms_attribute' {aka 'enum '} [-Wswitch] case XV_DEPTH: ^~~~ cms_pblc.c: In function 'cms_find_cms': cms_pblc.c:537:11: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return(NULL); ^ cms_pblc.c: In function 'cms_get_attr': cms_pblc.c:495:11: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return(value); ^ rm -f cms_data.o shared/cms_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms_data.c -o shared/cms_data.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/cms_impl.h:16, from cms_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cms_data.c -o cms_data.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/cms_impl.h:16, from cms_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/cms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color/shared/cms.o ../../libxview/xshared/cms.o + rm -f ../../libxview/xshared/cms_pblc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color/shared/cms_pblc.o ../../libxview/xshared/cms_pblc.o + rm -f ../../libxview/xshared/cms_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color/shared/cms_data.o ../../libxview/xshared/cms_data.o ar ruv ../../libxview/libxview.a cms.o cms_pblc.o cms_data.o a - cms.o a - cms_pblc.o a - cms_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/color' making all in lib/libxview/cursor... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' rm -f cursor.o shared/cursor.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cursor.c -o shared/cursor.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from cursor.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cursor.c:67:51: warning: missing braces around initializer [-Wmissing-braces] static Cursor_table_entry cursor_table[2][2][2] = { ^ cursor.c:69:5: txtmove_bits, txtmove_mask_bits, {{{ txtmove_width, txtmove_height, 20, 29, } cursor.c:72:5: txtmove_more_bits, txtmove_mask_bits, { txtmove_more_width, txtmove_more_height, 20, 29, }} cursor.c:75:5: txtdup_bits, txtdup_mask_bits, {{ txtdup_width, txtdup_height, 20, 29, } cursor.c:78:5: txtdup_more_bits, txtdup_mask_bits, { txtdup_more_width, txtdup_more_height, 20, 29, }}} cursor.c:81:5: txtmove_accept_bits, txtmove_accept_mask_bits, {{{ txtmove_accept_width, txtmove_accept_height, 20, 29, } cursor.c:84:5: txtmove_accept_more_bits, txtmove_accept_mask_bits, { txtmove_accept_more_width, txtmove_accept_more_height, 20, 29, }} cursor.c:87:5: txtdup_accept_bits, txtdup_accept_mask_bits, {{ txtdup_accept_width, txtdup_accept_height, 20, 29, } cursor.c:90:5: txtdup_accept_more_bits, txtdup_accept_mask_bits, { cursor.c:92:1: }; }}} cursor.c: In function 'cursor_create_internal': cursor.c:138:2: warning: implicit declaration of function 'xv_rop'; did you mean 'xv_row'? [-Wimplicit-function-declaration] xv_rop(cursor->cur_shape, 0, 0, pr->pr_width, pr->pr_height, PIX_SRC, ^~~~~~ xv_row cursor.c: In function 'cursor_destroy_internal': cursor.c:190:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cursor.c: In function 'cursor_set_internal': cursor.c:388:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, root_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cursor.c: In function 'cursor_set_cursor': cursor.c:455:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cursor.c -o cursor.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from cursor.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cursor.c:67:51: warning: missing braces around initializer [-Wmissing-braces] static Cursor_table_entry cursor_table[2][2][2] = { ^ cursor.c:69:5: txtmove_bits, txtmove_mask_bits, {{{ txtmove_width, txtmove_height, 20, 29, } cursor.c:72:5: txtmove_more_bits, txtmove_mask_bits, { txtmove_more_width, txtmove_more_height, 20, 29, }} cursor.c:75:5: txtdup_bits, txtdup_mask_bits, {{ txtdup_width, txtdup_height, 20, 29, } cursor.c:78:5: txtdup_more_bits, txtdup_mask_bits, { txtdup_more_width, txtdup_more_height, 20, 29, }}} cursor.c:81:5: txtmove_accept_bits, txtmove_accept_mask_bits, {{{ txtmove_accept_width, txtmove_accept_height, 20, 29, } cursor.c:84:5: txtmove_accept_more_bits, txtmove_accept_mask_bits, { txtmove_accept_more_width, txtmove_accept_more_height, 20, 29, }} cursor.c:87:5: txtdup_accept_bits, txtdup_accept_mask_bits, {{ txtdup_accept_width, txtdup_accept_height, 20, 29, } cursor.c:90:5: txtdup_accept_more_bits, txtdup_accept_mask_bits, { cursor.c:92:1: }; }}} cursor.c: In function 'cursor_create_internal': cursor.c:138:2: warning: implicit declaration of function 'xv_rop'; did you mean 'xv_row'? [-Wimplicit-function-declaration] xv_rop(cursor->cur_shape, 0, 0, pr->pr_width, pr->pr_height, PIX_SRC, ^~~~~~ xv_row cursor.c: In function 'cursor_destroy_internal': cursor.c:190:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cursor.c: In function 'cursor_set_internal': cursor.c:388:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, root_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ cursor.c: In function 'cursor_set_cursor': cursor.c:455:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from cursor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f curs_pri.o shared/curs_pri.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_pri.c -o shared/curs_pri.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from curs_pri.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ curs_pri.c: In function 'cursor_make_x': curs_pri.c:47:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c:59:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c:122:2: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, src, gc, 0, 0, w, h, pr, 0, 0, &info); ^~~~~~~~~~~~~~~ curs_pri.c:175:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c: In function 'cursor_make_x_font': curs_pri.c:216:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c: In function 'cursor_make_x': curs_pri.c:113:2: warning: 'oldh' may be used uninitialized in this function [-Wmaybe-uninitialized] XFillRectangle(display, src, gc, 0, 0, oldw, oldh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curs_pri.c:113:2: warning: 'oldw' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_pri.c -o curs_pri.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from curs_pri.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ curs_pri.c: In function 'cursor_make_x': curs_pri.c:47:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c:59:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c:122:2: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, src, gc, 0, 0, w, h, pr, 0, 0, &info); ^~~~~~~~~~~~~~~ curs_pri.c:175:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c: In function 'cursor_make_x_font': curs_pri.c:216:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from curs_pri.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ curs_pri.c: In function 'cursor_make_x': curs_pri.c:113:2: warning: 'oldh' may be used uninitialized in this function [-Wmaybe-uninitialized] XFillRectangle(display, src, gc, 0, 0, oldw, oldh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curs_pri.c:113:2: warning: 'oldw' may be used uninitialized in this function [-Wmaybe-uninitialized] rm -f cur_rodata.o shared/cur_rodata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cur_rodata.c -o shared/cur_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from cur_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cur_rodata.c -o cur_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from cur_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f curs_cmpat.o shared/curs_cmpat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_cmpat.c -o shared/curs_cmpat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from curs_cmpat.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ curs_cmpat.c: In function 'cursor_create': curs_cmpat.c:43:19: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_cmpat.c -o curs_cmpat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from curs_cmpat.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ curs_cmpat.c: In function 'cursor_create': curs_cmpat.c:43:19: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ rm -f curs_data.o shared/curs_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_data.c -o shared/curs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from curs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c curs_data.c -o curs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/curs_impl.h:12, from curs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/cursor.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor/shared/cursor.o ../../libxview/xshared/cursor.o + rm -f ../../libxview/xshared/curs_pri.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor/shared/curs_pri.o ../../libxview/xshared/curs_pri.o + rm -f ../../libxview/xshared/cur_rodata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor/shared/cur_rodata.o ../../libxview/xshared/cur_rodata.o + rm -f ../../libxview/xshared/curs_cmpat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor/shared/curs_cmpat.o ../../libxview/xshared/curs_cmpat.o + rm -f ../../libxview/xshared/curs_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor/shared/curs_data.o ../../libxview/xshared/curs_data.o ar ruv ../../libxview/libxview.a cursor.o curs_pri.o cur_rodata.o curs_cmpat.o curs_data.o a - cursor.o a - curs_pri.o a - cur_rodata.o a - curs_cmpat.o a - curs_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/cursor' making all in lib/libxview/defaults... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' rm -f defaults.o shared/defaults.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c defaults.c -o shared/defaults.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from defaults.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ defaults.c: In function 'defaults_get_boolean': defaults.c:112:37: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bools[] = { ^ defaults.c:148:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_character': defaults.c:183:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_integer': defaults.c:259:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_integer_check': defaults.c:299:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_store_db': defaults.c:505:8: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized] if (file) ^ defaults.c:508:2: warning: 'buffer' may be used uninitialized in this function [-Wmaybe-uninitialized] free(buffer); ^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c defaults.c -o defaults.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from defaults.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ defaults.c: In function 'defaults_get_boolean': defaults.c:112:37: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bools[] = { ^ defaults.c:148:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_character': defaults.c:183:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_integer': defaults.c:259:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_get_integer_check': defaults.c:299:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/defaults.h:27, from defaults.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ defaults.c: In function 'defaults_store_db': defaults.c:505:8: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized] if (file) ^ defaults.c:508:2: warning: 'buffer' may be used uninitialized in this function [-Wmaybe-uninitialized] free(buffer); ^~~~~~~~~~~~ + rm -f ../../libxview/xshared/defaults.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults/shared/defaults.o ../../libxview/xshared/defaults.o ar ruv ../../libxview/libxview.a defaults.o a - defaults.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/defaults' making all in lib/libxview/dnd... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' rm -f dnd.o shared/dnd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd.c -o shared/dnd.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dnd.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd.c: In function 'dnd_send_drop': dnd.c:70:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ dnd.c:74:9: warning: implicit declaration of function 'DndGetSelection'; did you mean 'XConvertSelection'? [-Wimplicit-function-declaration] if (DndGetSelection(dnd, dpy) == DND_SELECTION) ^~~~~~~~~~~~~~~ XConvertSelection dnd.c:123:8: warning: implicit declaration of function 'xview_x_input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] (void)xview_x_input_readevent(dpy, &event, dnd->parent, True, True, ^~~~~~~~~~~~~~~~~~~~~~~ xv_input_readevent dnd.c:149:11: warning: implicit declaration of function 'DndSendPreviewEvent' [-Wimplicit-function-declaration] (void)DndSendPreviewEvent(dnd, DND_NO_SITE, ev); ^~~~~~~~~~~~~~~~~~~ dnd.c:174:38: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] status = SendTrigger(dnd, info, ev, win_data(dpy,dnd->dropSite.window)); ^~~~~~~~ dnd.c:174:34: warning: passing argument 3 of 'SendTrigger' from incompatible pointer type [-Wincompatible-pointer-types] status = SendTrigger(dnd, info, ev, win_data(dpy,dnd->dropSite.window)); ^~ dnd.c:45:20: note: expected 'XButtonEvent *' {aka 'struct *'} but argument is of type 'XEvent *' {aka 'union _XEvent *'} XButtonEvent *buttonEvent, ~~~~~~~~~~~~~~~^~~~~~~~~~~ dnd.c: In function 'UpdateGrabCursor': dnd.c:349:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ dnd.c: In function 'WaitForAck': dnd.c:386:19: warning: implicit declaration of function 'DndWaitForEvent'; did you mean 'DndMatchEvent'? [-Wimplicit-function-declaration] if ((status = DndWaitForEvent(dpy, xv_xid(info), SelectionRequest, ^~~~~~~~~~~~~~~ DndMatchEvent dnd.c:420:9: warning: implicit declaration of function 'DndSendEvent'; did you mean 'XSendEvent'? [-Wimplicit-function-declaration] if (DndSendEvent(dpy, &selNotifyEvent) != DND_SUCCEEDED) { ^~~~~~~~~~~~ XSendEvent In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from dnd.c:16: dnd.c: In function 'SendDndEvent': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ dnd.c:559:8: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ dnd.c:582:15: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] if (win_post_event(dropObject, &event, NOTIFY_IMMEDIATE) != NOTIFY_OK) ^~~~~~~~~~~~~~ notify_post_event In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ dnd.c:609:12: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd.c -o dnd.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dnd.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd.c: In function 'dnd_send_drop': dnd.c:70:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ dnd.c:74:9: warning: implicit declaration of function 'DndGetSelection'; did you mean 'XConvertSelection'? [-Wimplicit-function-declaration] if (DndGetSelection(dnd, dpy) == DND_SELECTION) ^~~~~~~~~~~~~~~ XConvertSelection dnd.c:123:8: warning: implicit declaration of function 'xview_x_input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] (void)xview_x_input_readevent(dpy, &event, dnd->parent, True, True, ^~~~~~~~~~~~~~~~~~~~~~~ xv_input_readevent dnd.c:149:11: warning: implicit declaration of function 'DndSendPreviewEvent' [-Wimplicit-function-declaration] (void)DndSendPreviewEvent(dnd, DND_NO_SITE, ev); ^~~~~~~~~~~~~~~~~~~ dnd.c:174:38: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] status = SendTrigger(dnd, info, ev, win_data(dpy,dnd->dropSite.window)); ^~~~~~~~ dnd.c:174:34: warning: passing argument 3 of 'SendTrigger' from incompatible pointer type [-Wincompatible-pointer-types] status = SendTrigger(dnd, info, ev, win_data(dpy,dnd->dropSite.window)); ^~ dnd.c:45:20: note: expected 'XButtonEvent *' {aka 'struct *'} but argument is of type 'XEvent *' {aka 'union _XEvent *'} XButtonEvent *buttonEvent, ~~~~~~~~~~~~~~~^~~~~~~~~~~ dnd.c: In function 'UpdateGrabCursor': dnd.c:349:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ dnd.c: In function 'WaitForAck': dnd.c:386:19: warning: implicit declaration of function 'DndWaitForEvent'; did you mean 'DndMatchEvent'? [-Wimplicit-function-declaration] if ((status = DndWaitForEvent(dpy, xv_xid(info), SelectionRequest, ^~~~~~~~~~~~~~~ DndMatchEvent dnd.c:420:9: warning: implicit declaration of function 'DndSendEvent'; did you mean 'XSendEvent'? [-Wimplicit-function-declaration] if (DndSendEvent(dpy, &selNotifyEvent) != DND_SUCCEEDED) { ^~~~~~~~~~~~ XSendEvent In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from dnd.c:16: dnd.c: In function 'SendDndEvent': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ dnd.c:559:8: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ dnd.c:582:15: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] if (win_post_event(dropObject, &event, NOTIFY_IMMEDIATE) != NOTIFY_OK) ^~~~~~~~~~~~~~ notify_post_event In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from dnd.c:16: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ dnd.c:609:12: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ rm -f dnd_decode.o shared/dnd_decode.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_decode.c -o shared/dnd_decode.o In file included from /usr/include/sys/time.h:21, from dnd_decode.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd_decode.c: In function 'dnd_decode_drop': dnd_decode.c:77:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(site = (Dnd_drop_site *) (XV_SL_SAFE_NEXT(site))) { ^~~~ dnd_decode.c: In function 'MakeSelRequest': dnd_decode.c:132:9: warning: implicit declaration of function 'DndWaitForEvent'; did you mean 'DndMatchEvent'? [-Wimplicit-function-declaration] if (DndWaitForEvent(dpy, window, SelectionNotify, target, &timeout, ^~~~~~~~~~~~~~~ DndMatchEvent gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_decode.c -o dnd_decode.o In file included from /usr/include/sys/time.h:21, from dnd_decode.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd_decode.c: In function 'dnd_decode_drop': dnd_decode.c:77:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(site = (Dnd_drop_site *) (XV_SL_SAFE_NEXT(site))) { ^~~~ dnd_decode.c: In function 'MakeSelRequest': dnd_decode.c:132:9: warning: implicit declaration of function 'DndWaitForEvent'; did you mean 'DndMatchEvent'? [-Wimplicit-function-declaration] if (DndWaitForEvent(dpy, window, SelectionNotify, target, &timeout, ^~~~~~~~~~~~~~~ DndMatchEvent rm -f dnd_dsdm.o shared/dnd_dsdm.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_dsdm.c -o shared/dnd_dsdm.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dnd_dsdm.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_dsdm.c -o dnd_dsdm.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dnd_dsdm.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f dnd_pblc.o shared/dnd_pblc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_pblc.c -o shared/dnd_pblc.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from dnd_pblc.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd_pblc.c: In function 'BuildDefaults': dnd_pblc.c:172:14: warning: assignment to 'Selection_requestor' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] dnd->sel = NULL; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_pblc.c -o dnd_pblc.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from dnd_pblc.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ dnd_pblc.c: In function 'BuildDefaults': dnd_pblc.c:172:14: warning: assignment to 'Selection_requestor' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] dnd->sel = NULL; ^ rm -f dndutil.o shared/dndutil.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dndutil.c -o shared/dndutil.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from dndutil.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from dndutil.c:18: dndutil.c: In function 'InternSelection': ../../../build/include/xview_private/dndimpl.h:35:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'XID' {aka 'long unsigned int'} [-Wformat=] #define SUN_DND_TRANSIENT_TEMPLATE "_SUN_DRAGDROP_TRANSIENT_%d_%d" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dndutil.c:89:18: note: in expansion of macro 'SUN_DND_TRANSIENT_TEMPLATE' sprintf(buf, SUN_DND_TRANSIENT_TEMPLATE, xid, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~ dndutil.c: At top level: dndutil.c:94:10: warning: type defaults to 'int' in declaration of 'old_handler' [-Wimplicit-int] static (*old_handler)(); ^~~~~~~~~~~ dndutil.c: In function 'sendEventErrorHandler': dndutil.c:105:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dndutil.c -o dndutil.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from dndutil.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from dndutil.c:18: dndutil.c: In function 'InternSelection': ../../../build/include/xview_private/dndimpl.h:35:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'XID' {aka 'long unsigned int'} [-Wformat=] #define SUN_DND_TRANSIENT_TEMPLATE "_SUN_DRAGDROP_TRANSIENT_%d_%d" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dndutil.c:89:18: note: in expansion of macro 'SUN_DND_TRANSIENT_TEMPLATE' sprintf(buf, SUN_DND_TRANSIENT_TEMPLATE, xid, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~ dndutil.c: At top level: dndutil.c:94:10: warning: type defaults to 'int' in declaration of 'old_handler' [-Wimplicit-int] static (*old_handler)(); ^~~~~~~~~~~ dndutil.c: In function 'sendEventErrorHandler': dndutil.c:105:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ rm -f site.o shared/site.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site.c -o shared/site.o In file included from /usr/include/assert.h:35, from site.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ site.c: In function 'DndDropAreaOps': site.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^~~~~~~ site.c:106:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^~~~~~~~ site.c:182:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^~~~~~~ site.c:207:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^~~~~~~~ site.c:306:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site.c -o site.o In file included from /usr/include/assert.h:35, from site.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ site.c: In function 'DndDropAreaOps': site.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^~~~~~~ site.c:106:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^~~~~~~~ site.c:182:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^~~~~~~ site.c:207:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^~~~~~~~ site.c:306:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) ^~~~~~~ rm -f site_pblc.o shared/site_pblc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site_pblc.c -o shared/site_pblc.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from site_pblc.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ site_pblc.c: In function 'dnd_site_get_attr': site_pblc.c:210:11: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site_pblc.c -o site_pblc.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from site_pblc.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ site_pblc.c: In function 'dnd_site_get_attr': site_pblc.c:210:11: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] value = NULL; ^ rm -f dnd_data.o shared/dnd_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_data.c -o shared/dnd_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/dndimpl.h:16, from dnd_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c dnd_data.c -o dnd_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/dndimpl.h:16, from dnd_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f site_data.o shared/site_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site_data.c -o shared/site_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/site_impl.h:16, from site_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c site_data.c -o site_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/site_impl.h:16, from site_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/dnd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dnd.o ../../libxview/xshared/dnd.o + rm -f ../../libxview/xshared/dnd_decode.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dnd_decode.o ../../libxview/xshared/dnd_decode.o + rm -f ../../libxview/xshared/dnd_dsdm.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dnd_dsdm.o ../../libxview/xshared/dnd_dsdm.o + rm -f ../../libxview/xshared/dnd_pblc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dnd_pblc.o ../../libxview/xshared/dnd_pblc.o + rm -f ../../libxview/xshared/dndutil.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dndutil.o ../../libxview/xshared/dndutil.o + rm -f ../../libxview/xshared/site.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/site.o ../../libxview/xshared/site.o + rm -f ../../libxview/xshared/site_pblc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/site_pblc.o ../../libxview/xshared/site_pblc.o + rm -f ../../libxview/xshared/dnd_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/dnd_data.o ../../libxview/xshared/dnd_data.o + rm -f ../../libxview/xshared/site_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd/shared/site_data.o ../../libxview/xshared/site_data.o ar ruv ../../libxview/libxview.a dnd.o dnd_decode.o dnd_dsdm.o dnd_pblc.o dndutil.o site.o site_pblc.o dnd_data.o site_data.o a - dnd.o a - dnd_decode.o a - dnd_dsdm.o a - dnd_pblc.o a - dndutil.o a - site.o a - site_pblc.o a - dnd_data.o a - site_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/dnd' making all in lib/libxview/file_chooser... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' rm -f file_chsr.o shared/file_chsr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_chsr.c -o shared/file_chsr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from file_chsr.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from file_chsr.c:17: file_chsr.c: In function 'fc_hist_notify': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ file_chsr.c:1579:2: note: in expansion of macro 'event_init' event_init( &event ); ^~~~~~~~~~ file_chsr.c: In function 'fc_update_dimming': file_chsr.c:1787:26: warning: comparison between pointer and integer || (private->custom == NULL) ^~ file_chsr.c: In function 'fc_confirm_overwrite': file_chsr.c:2101:15: warning: unused variable 'notice' [-Wunused-variable] Xv_notice notice; ^~~~~~ file_chsr.c: In function 'fchsr_no_case_ascend_compare': file_chsr.c:2448:12: warning: implicit declaration of function 'xv_strcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^~~~~~~~~~~~~ strcasecmp file_chsr.c: In function 'file_chooser_get': file_chsr.c:870:1: warning: control reaches end of non-void function [-Wreturn-type] } /* file_chooser_get() */ ^ file_chsr.c: In function 'file_chooser_init': file_chsr.c:143:5: warning: 'label_str' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_set((Xv_opaque) public, ^~~~~~~~~~~~~~~~~~~~~~~~~~ XV_LABEL, label_str, ~~~~~~~~~~~~~~~~~~~~~~ FRAME_SHOW_RESIZE_CORNER, TRUE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRAME_SHOW_FOOTER, TRUE, ~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_chsr.c -o file_chsr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from file_chsr.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:47, from ../../../build/include/xview/xview.h:18, from file_chsr.c:17: file_chsr.c: In function 'fc_hist_notify': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ file_chsr.c:1579:2: note: in expansion of macro 'event_init' event_init( &event ); ^~~~~~~~~~ file_chsr.c: In function 'fc_update_dimming': file_chsr.c:1787:26: warning: comparison between pointer and integer || (private->custom == NULL) ^~ file_chsr.c: In function 'fc_confirm_overwrite': file_chsr.c:2101:15: warning: unused variable 'notice' [-Wunused-variable] Xv_notice notice; ^~~~~~ file_chsr.c: In function 'fchsr_no_case_ascend_compare': file_chsr.c:2448:12: warning: implicit declaration of function 'xv_strcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^~~~~~~~~~~~~ strcasecmp file_chsr.c: In function 'file_chooser_get': file_chsr.c:870:1: warning: control reaches end of non-void function [-Wreturn-type] } /* file_chooser_get() */ ^ file_chsr.c: In function 'file_chooser_init': file_chsr.c:143:5: warning: 'label_str' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_set((Xv_opaque) public, ^~~~~~~~~~~~~~~~~~~~~~~~~~ XV_LABEL, label_str, ~~~~~~~~~~~~~~~~~~~~~~ FRAME_SHOW_RESIZE_CORNER, TRUE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FRAME_SHOW_FOOTER, TRUE, ~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ rm -f fc_layout.o shared/fc_layout.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fc_layout.c -o shared/fc_layout.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fc_layout.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fc_layout.c: In function 'fc_calc_xs': fc_layout.c:56:9: warning: unused variable 'label_right' [-Wunused-variable] int label_right; ^~~~~~~~~~~ fc_layout.c: In function 'fc_calc_ys_top_down': fc_layout.c:225:9: warning: unused variable 'y_pos' [-Wunused-variable] int y_pos; ^~~~~ fc_layout.c: In function 'fc_recalc_ys': fc_layout.c:336:9: warning: unused variable 'max_exten' [-Wunused-variable] int max_exten; ^~~~~~~~~ fc_layout.c: In function 'fc_calc_ys': fc_layout.c:410:9: warning: unused variable 'top_of_bottom' [-Wunused-variable] int top_of_bottom; ^~~~~~~~~~~~~ fc_layout.c: In function 'file_chooser_position_objects': fc_layout.c:462:6: warning: unused variable 'right_edge' [-Wunused-variable] int right_edge = private->rect.r_width - COLS(2); ^~~~~~~~~~ fc_layout.c: In function 'fc_calc_min_width': fc_layout.c:508:9: warning: unused variable 'other_width' [-Wunused-variable] int other_width = 0; ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fc_layout.c -o fc_layout.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fc_layout.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fc_layout.c: In function 'fc_calc_xs': fc_layout.c:56:9: warning: unused variable 'label_right' [-Wunused-variable] int label_right; ^~~~~~~~~~~ fc_layout.c: In function 'fc_calc_ys_top_down': fc_layout.c:225:9: warning: unused variable 'y_pos' [-Wunused-variable] int y_pos; ^~~~~ fc_layout.c: In function 'fc_recalc_ys': fc_layout.c:336:9: warning: unused variable 'max_exten' [-Wunused-variable] int max_exten; ^~~~~~~~~ fc_layout.c: In function 'fc_calc_ys': fc_layout.c:410:9: warning: unused variable 'top_of_bottom' [-Wunused-variable] int top_of_bottom; ^~~~~~~~~~~~~ fc_layout.c: In function 'file_chooser_position_objects': fc_layout.c:462:6: warning: unused variable 'right_edge' [-Wunused-variable] int right_edge = private->rect.r_width - COLS(2); ^~~~~~~~~~ fc_layout.c: In function 'fc_calc_min_width': fc_layout.c:508:9: warning: unused variable 'other_width' [-Wunused-variable] int other_width = 0; ^~~~~~~~~~~ rm -f file_list.o shared/file_list.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_list.c -o shared/file_list.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from file_list.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from file_list.c:24: file_list.c: In function 'flist_error': ../../../build/include/xview_private/portable.h:29:37: warning: unused variable 'avlist' [-Wunused-variable] Attr_avlist avlist = avarray ^~~~~~ file_list.c:574:5: note: in expansion of macro 'AVLIST_DECL' AVLIST_DECL; ^~~~~~~~~~~ file_list.c: In function 'flist_load_dir': file_list.c:777:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( entry = readdir(private->dir_ptr) ) { ^~~~~ file_list.c:940:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( status == FILE_LIST_IGNORE ) ^ file_list.c: In function 'flist_update_list': file_list.c:1099:15: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[4] = NULL; ^ file_list.c:1118:11: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[3] = NULL; ^ file_list.c:1129:11: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[2] = NULL; ^ file_list.c: In function 'flist_compile_regex': file_list.c:1239:5: warning: implicit declaration of function 're_compile_pattern' [-Wimplicit-function-declaration] re_compile_pattern(private->regex_pattern, strlen(private->regex_pattern), ^~~~~~~~~~~~~~~~~~ file_list.c: In function 'flist_match_regex': file_list.c:1250:13: warning: implicit declaration of function 're_match'; did you mean 'rpmatch'? [-Wimplicit-function-declaration] return (re_match(private->regex_compile, s, strlen(s), 0, NULL) != -1); ^~~~~~~~ rpmatch file_list.c: In function 'file_list_no_case_ascend_compare': file_list.c:1478:12: warning: implicit declaration of function 'xv_strcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^~~~~~~~~~~~~ strcasecmp file_list.c: In function 'flist_load_dir': file_list.c:687:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir( private->directory ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ file_list.c:1000:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir( cwd ); ^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_list.c -o file_list.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from file_list.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from file_list.c:24: file_list.c: In function 'flist_error': ../../../build/include/xview_private/portable.h:29:37: warning: unused variable 'avlist' [-Wunused-variable] Attr_avlist avlist = avarray ^~~~~~ file_list.c:574:5: note: in expansion of macro 'AVLIST_DECL' AVLIST_DECL; ^~~~~~~~~~~ file_list.c: In function 'flist_load_dir': file_list.c:777:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( entry = readdir(private->dir_ptr) ) { ^~~~~ file_list.c:940:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( status == FILE_LIST_IGNORE ) ^ file_list.c: In function 'flist_update_list': file_list.c:1099:15: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[4] = NULL; ^ file_list.c:1118:11: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[3] = NULL; ^ file_list.c:1129:11: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] attrs[2] = NULL; ^ file_list.c: In function 'flist_compile_regex': file_list.c:1239:5: warning: implicit declaration of function 're_compile_pattern' [-Wimplicit-function-declaration] re_compile_pattern(private->regex_pattern, strlen(private->regex_pattern), ^~~~~~~~~~~~~~~~~~ file_list.c: In function 'flist_match_regex': file_list.c:1250:13: warning: implicit declaration of function 're_match'; did you mean 'rpmatch'? [-Wimplicit-function-declaration] return (re_match(private->regex_compile, s, strlen(s), 0, NULL) != -1); ^~~~~~~~ rpmatch file_list.c: In function 'file_list_no_case_ascend_compare': file_list.c:1478:12: warning: implicit declaration of function 'xv_strcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^~~~~~~~~~~~~ strcasecmp file_list.c: In function 'flist_load_dir': file_list.c:687:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir( private->directory ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ file_list.c:1000:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir( cwd ); ^~~~~~~~~~~~ rm -f path.o shared/path.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c path.c -o shared/path.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from path.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c path.c -o path.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from path.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f xv_path_util.o shared/xv_path_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_path_util.c -o shared/xv_path_util.o In file included from /usr/include/unistd.h:25, from xv_path_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_path_util.c: In function 'xv_strcpy': xv_path_util.c:81:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] (void) xv_error( NULL, ^~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from xv_path_util.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_path_util.c -o xv_path_util.o In file included from /usr/include/unistd.h:25, from xv_path_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_path_util.c: In function 'xv_strcpy': xv_path_util.c:81:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] (void) xv_error( NULL, ^~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from xv_path_util.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f hist_list.o shared/hist_list.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_list.c -o shared/hist_list.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hist_list.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hist_list.c: In function 'hist_list_destroy': hist_list.c:431:25: warning: unused variable 'old_node' [-Wunused-variable] struct hist_entry * old_node; ^~~~~~~~ hist_list.c: In function 'populate_menu': hist_list.c:659:9: warning: unused variable 'ii' [-Wunused-variable] int ii; ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_list.c -o hist_list.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hist_list.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hist_list.c: In function 'hist_list_destroy': hist_list.c:431:25: warning: unused variable 'old_node' [-Wunused-variable] struct hist_entry * old_node; ^~~~~~~~ hist_list.c: In function 'populate_menu': hist_list.c:659:9: warning: unused variable 'ii' [-Wunused-variable] int ii; ^~ rm -f hist_menu.o shared/hist_menu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_menu.c -o shared/hist_menu.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hist_menu.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hist_menu.c: In function 'hist_menu_destroy': hist_menu.c:167:15: warning: unused variable 'owner' [-Wunused-variable] Xv_opaque owner; ^~~~~ hist_menu.c: In function 'hist_menu_gen_proc': hist_menu.c:269:9: warning: unused variable 'ii' [-Wunused-variable] int ii; ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_menu.c -o hist_menu.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from hist_menu.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hist_menu.c: In function 'hist_menu_destroy': hist_menu.c:167:15: warning: unused variable 'owner' [-Wunused-variable] Xv_opaque owner; ^~~~~ hist_menu.c: In function 'hist_menu_gen_proc': hist_menu.c:269:9: warning: unused variable 'ii' [-Wunused-variable] int ii; ^~ rm -f fchsr_data.o shared/fchsr_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fchsr_data.c -o shared/fchsr_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from fchsr_data.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fchsr_data.c -o fchsr_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from fchsr_data.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f flist_data.o shared/flist_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c flist_data.c -o shared/flist_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from flist_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c flist_data.c -o flist_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from flist_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f path_data.o shared/path_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c path_data.c -o shared/path_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from path_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c path_data.c -o path_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from path_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f hist_data.o shared/hist_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_data.c -o shared/hist_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from hist_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hist_data.c -o hist_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from hist_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/file_chsr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/file_chsr.o ../../libxview/xshared/file_chsr.o + rm -f ../../libxview/xshared/fc_layout.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/fc_layout.o ../../libxview/xshared/fc_layout.o + rm -f ../../libxview/xshared/file_list.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/file_list.o ../../libxview/xshared/file_list.o + rm -f ../../libxview/xshared/path.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/path.o ../../libxview/xshared/path.o + rm -f ../../libxview/xshared/xv_path_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/xv_path_util.o ../../libxview/xshared/xv_path_util.o + rm -f ../../libxview/xshared/hist_list.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/hist_list.o ../../libxview/xshared/hist_list.o + rm -f ../../libxview/xshared/hist_menu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/hist_menu.o ../../libxview/xshared/hist_menu.o + rm -f ../../libxview/xshared/fchsr_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/fchsr_data.o ../../libxview/xshared/fchsr_data.o + rm -f ../../libxview/xshared/flist_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/flist_data.o ../../libxview/xshared/flist_data.o + rm -f ../../libxview/xshared/path_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/path_data.o ../../libxview/xshared/path_data.o + rm -f ../../libxview/xshared/hist_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/hist_data.o ../../libxview/xshared/hist_data.o + rm -f ../../libxview/xshared/fchsr_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/fchsr_data.o ../../libxview/xshared/fchsr_data.o + rm -f ../../libxview/xshared/flist_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/flist_data.o ../../libxview/xshared/flist_data.o + rm -f ../../libxview/xshared/path_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/path_data.o ../../libxview/xshared/path_data.o + rm -f ../../libxview/xshared/hist_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser/shared/hist_data.o ../../libxview/xshared/hist_data.o ar ruv ../../libxview/libxview.a file_chsr.o fc_layout.o file_list.o path.o xv_path_util.o hist_list.o hist_menu.o fchsr_data.o flist_data.o path_data.o hist_data.o fchsr_data.o flist_data.o path_data.o hist_data.o a - file_chsr.o a - fc_layout.o a - file_list.o a - path.o a - xv_path_util.o a - hist_list.o a - hist_menu.o a - fchsr_data.o a - flist_data.o a - path_data.o a - hist_data.o a - fchsr_data.o a - flist_data.o a - path_data.o a - hist_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/file_chooser' making all in lib/libxview/filter... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' rm -f filter.o shared/filter.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c filter.c -o shared/filter.o In file included from /usr/include/ctype.h:25, from filter.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ filter.c:44:8: warning: type defaults to 'int' in declaration of 'any_shell_meta' [-Wimplicit-int] static any_shell_meta(char *s); ^~~~~~~~~~~~~~ filter.c: In function 'xv_parse_filter_table': filter.c:70:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:106:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:158:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:175:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:188:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c: In function 'xv_free_filter_table': filter.c:205:2: warning: implicit declaration of function 'cfree'; did you mean 'free'? [-Wimplicit-function-declaration] cfree((char *) table[i]->call); ^~~~~ free filter.c: At top level: filter.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c filter.c -o filter.o In file included from /usr/include/ctype.h:25, from filter.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ filter.c:44:8: warning: type defaults to 'int' in declaration of 'any_shell_meta' [-Wimplicit-int] static any_shell_meta(char *s); ^~~~~~~~~~~~~~ filter.c: In function 'xv_parse_filter_table': filter.c:70:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:106:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:158:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:175:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c:188:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview_private/io_stream.h:11, from filter.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ filter.c: In function 'xv_free_filter_table': filter.c:205:2: warning: implicit declaration of function 'cfree'; did you mean 'free'? [-Wimplicit-function-declaration] cfree((char *) table[i]->call); ^~~~~ free filter.c: At top level: filter.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^~~~~~~~~~~~~~ + rm -f ../../libxview/xshared/filter.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter/shared/filter.o ../../libxview/xshared/filter.o ar ruv ../../libxview/libxview.a filter.o a - filter.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/filter' making all in lib/libxview/font... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' rm -f font.o shared/font.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font.c -o shared/font.o In file included from /usr/include/sys/types.h:25, from font.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ font.c:222:51: warning: missing braces around initializer [-Wmissing-braces] static Family_defs default_family_translation[] = { ^ font.c:264:49: warning: missing braces around initializer [-Wmissing-braces] static Style_defs default_style_translation[] = { ^ font.c:328:38: warning: missing braces around initializer [-Wmissing-braces] static Family_foundry style_less[] = { ^ font.c:339:37: warning: missing braces around initializer [-Wmissing-braces] static Family_foundry size_less[] = { ^ font.c:350:38: warning: missing braces around initializer [-Wmissing-braces] static Wildcards known_wildcards[] = { ^ font.c: In function 'font_init': font.c:1233:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(parent_public, "font_init", real_parent_public); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:1268:9: warning: implicit declaration of function 'font_free_font_return_attr_strings' [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1324:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:1437:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (font_head = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^~~~~~~~~ font.c: In function 'font_destroy_struct': font.c:1568:7: warning: implicit declaration of function 'xv_mem_destroy'; did you mean 'xv_destroy'? [-Wimplicit-function-declaration] xv_mem_destroy(pfc->pc_pr); ^~~~~~~~~~~~~~ xv_destroy font.c: In function 'font_rescale_from_font': font.c:2313:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_find_font': font.c:2790:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (font_list = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^~~~~~~~~ font.c: In function 'font_read_attrs': font.c:3146:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(pf, "font_read_attrs", font); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_setup_known_families': font.c:3422:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:3427:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ font.c:3332:1: note: declared here font_setup_known_families(linfo) ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:3434:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ font.c:3332:1: note: declared here font_setup_known_families(linfo) ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'font_setup_known_styles': font.c:3445:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_setup_defaults': font.c:3468:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_construct_name': font.c:4171:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4195:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4212:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4222:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_init_create_attrs': font.c:4520:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_free_font_return_attr_strings': font.c:2865:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_fill_in_defaults': font.c:3881:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_setup_pixfont': font.c:4431:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_check_var_height': font.c:4439:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_check_overlapping': font.c:4447:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_determine_font_name': font.c:1932:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(sizestr, "%d", 10 * my_attrs->size); ^ In file included from /usr/include/stdio.h:862, from ../../../build/include/xview_private/xv_debug.h:16, from font.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'font_construct_name': font.c:2388:24: warning: '%s' directive writing up to 511 bytes into a region of size 256 [-Wformat-overflow=] sprintf(new_name, "%s-*-%d-*-*-*-*-%s-%s", name, (10*desired_scale), ^~ ~~~~ font.c:2388:23: note: directive argument in the range [-327680, 2147483647] sprintf(new_name, "%s-*-%d-*-*-*-*-%s-%s", name, (10*desired_scale), ^~~~~~~~~~~~~~~~~~~~~~~ font.c:2388:23: note: assuming directive output of 1 byte font.c:2388:23: note: assuming directive output of 1 byte In file included from /usr/include/stdio.h:862, from ../../../build/include/xview_private/xv_debug.h:16, from font.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 537) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font.c -o font.o In file included from /usr/include/sys/types.h:25, from font.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ font.c:222:51: warning: missing braces around initializer [-Wmissing-braces] static Family_defs default_family_translation[] = { ^ font.c:264:49: warning: missing braces around initializer [-Wmissing-braces] static Style_defs default_style_translation[] = { ^ font.c:328:38: warning: missing braces around initializer [-Wmissing-braces] static Family_foundry style_less[] = { ^ font.c:339:37: warning: missing braces around initializer [-Wmissing-braces] static Family_foundry size_less[] = { ^ font.c:350:38: warning: missing braces around initializer [-Wmissing-braces] static Wildcards known_wildcards[] = { ^ font.c: In function 'font_init': font.c:1233:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(parent_public, "font_init", real_parent_public); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:1268:9: warning: implicit declaration of function 'font_free_font_return_attr_strings' [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1324:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:1437:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (font_head = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^~~~~~~~~ font.c: In function 'font_destroy_struct': font.c:1568:7: warning: implicit declaration of function 'xv_mem_destroy'; did you mean 'xv_destroy'? [-Wimplicit-function-declaration] xv_mem_destroy(pfc->pc_pr); ^~~~~~~~~~~~~~ xv_destroy font.c: In function 'font_rescale_from_font': font.c:2313:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_find_font': font.c:2790:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (font_list = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^~~~~~~~~ font.c: In function 'font_read_attrs': font.c:3146:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(pf, "font_read_attrs", font); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_setup_known_families': font.c:3422:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:3427:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ font.c:3332:1: note: declared here font_setup_known_families(linfo) ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c:3434:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ font.c:3332:1: note: declared here font_setup_known_families(linfo) ^~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'font_setup_known_styles': font.c:3445:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_setup_defaults': font.c:3468:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_construct_name': font.c:4171:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4195:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4212:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c:4222:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_debug.h:18, from font.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ font.c: In function 'font_init_create_attrs': font.c:4520:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ font.c: In function 'font_free_font_return_attr_strings': font.c:2865:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_fill_in_defaults': font.c:3881:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_setup_pixfont': font.c:4431:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_check_var_height': font.c:4439:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_check_overlapping': font.c:4447:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c: In function 'font_determine_font_name': font.c:1932:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(sizestr, "%d", 10 * my_attrs->size); ^ In file included from /usr/include/stdio.h:862, from ../../../build/include/xview_private/xv_debug.h:16, from font.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'font_construct_name': font.c:2388:24: warning: '%s' directive writing up to 511 bytes into a region of size 256 [-Wformat-overflow=] sprintf(new_name, "%s-*-%d-*-*-*-*-%s-%s", name, (10*desired_scale), ^~ ~~~~ font.c:2388:23: note: directive argument in the range [-327680, 2147483647] sprintf(new_name, "%s-*-%d-*-*-*-*-%s-%s", name, (10*desired_scale), ^~~~~~~~~~~~~~~~~~~~~~~ font.c:2388:23: note: assuming directive output of 1 byte font.c:2388:23: note: assuming directive output of 1 byte In file included from /usr/include/stdio.h:862, from ../../../build/include/xview_private/xv_debug.h:16, from font.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 537) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f font_set.o shared/font_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_set.c -o shared/font_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from font_set.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_set.c -o font_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from font_set.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f font_get.o shared/font_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_get.c -o shared/font_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from font_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ font_get.c: In function 'font_get_attr': font_get.c:178:13: warning: implicit declaration of function 'font_init_pixfont'; did you mean 'font_find_font'? [-Wimplicit-function-declaration] font_init_pixfont(font_public); ^~~~~~~~~~~~~~~~~ font_find_font font_get.c:183:7: warning: case value '1247873793' not in enumerated type 'Font_attribute' {aka 'enum '} [-Wswitch] case XV_XID: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_get.c -o font_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from font_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ font_get.c: In function 'font_get_attr': font_get.c:178:13: warning: implicit declaration of function 'font_init_pixfont'; did you mean 'font_find_font'? [-Wimplicit-function-declaration] font_init_pixfont(font_public); ^~~~~~~~~~~~~~~~~ font_find_font font_get.c:183:7: warning: case value '1247873793' not in enumerated type 'Font_attribute' {aka 'enum '} [-Wswitch] case XV_XID: ^~~~ rm -f font_x.o shared/font_x.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_x.c -o shared/font_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from font_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_x.c -o font_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from font_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f pf_text.o shared/pf_text.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf_text.c -o shared/pf_text.o In file included from /usr/include/sys/types.h:25, from pf_text.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pf_text.c: In function 'xv_pf_text': pf_text.c:58:11: warning: implicit declaration of function 'server_image_pf_text' [-Wimplicit-function-declaration] errors = server_image_pf_text(prpos, op, pf, str); ^~~~~~~~~~~~~~~~~~~~ pf_text.c:95:18: warning: array subscript has type 'char' [-Wchar-subscripts] pf->pf_char[*str].pc_home.x, -pf->pf_char[*str].pc_home.y, str, rmdr); ^ pf_text.c:95:48: warning: array subscript has type 'char' [-Wchar-subscripts] pf->pf_char[*str].pc_home.x, -pf->pf_char[*str].pc_home.y, str, rmdr); ^ pf_text.c:96:14: warning: implicit declaration of function 'xv_read_internal' [-Wimplicit-function-declaration] errors = xv_read_internal(prpos.pr, prpos.pos.x - pf->pf_char[*str].pc_home.x, ^~~~~~~~~~~~~~~~ pf_text.c:96:66: warning: array subscript has type 'char' [-Wchar-subscripts] errors = xv_read_internal(prpos.pr, prpos.pos.x - pf->pf_char[*str].pc_home.x, ^ pf_text.c:97:32: warning: array subscript has type 'char' [-Wchar-subscripts] prpos.pos.y + pf->pf_char[*str].pc_home.y, needed_width, ^ pf_text.c: In function 'xv_pf_textbound': pf_text.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf_text.c -o pf_text.o In file included from /usr/include/sys/types.h:25, from pf_text.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pf_text.c: In function 'xv_pf_text': pf_text.c:58:11: warning: implicit declaration of function 'server_image_pf_text' [-Wimplicit-function-declaration] errors = server_image_pf_text(prpos, op, pf, str); ^~~~~~~~~~~~~~~~~~~~ pf_text.c:95:18: warning: array subscript has type 'char' [-Wchar-subscripts] pf->pf_char[*str].pc_home.x, -pf->pf_char[*str].pc_home.y, str, rmdr); ^ pf_text.c:95:48: warning: array subscript has type 'char' [-Wchar-subscripts] pf->pf_char[*str].pc_home.x, -pf->pf_char[*str].pc_home.y, str, rmdr); ^ pf_text.c:96:14: warning: implicit declaration of function 'xv_read_internal' [-Wimplicit-function-declaration] errors = xv_read_internal(prpos.pr, prpos.pos.x - pf->pf_char[*str].pc_home.x, ^~~~~~~~~~~~~~~~ pf_text.c:96:66: warning: array subscript has type 'char' [-Wchar-subscripts] errors = xv_read_internal(prpos.pr, prpos.pos.x - pf->pf_char[*str].pc_home.x, ^ pf_text.c:97:32: warning: array subscript has type 'char' [-Wchar-subscripts] prpos.pos.y + pf->pf_char[*str].pc_home.y, needed_width, ^ pf_text.c: In function 'xv_pf_textbound': pf_text.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pf_ttext.o shared/pf_ttext.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf_ttext.c -o shared/pf_ttext.o In file included from /usr/include/sys/types.h:25, from pf_ttext.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pf_ttext.c: In function 'xv_pf_ttext': pf_ttext.c:36:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (spr = pc->pc_pr) ^~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf_ttext.c -o pf_ttext.o In file included from /usr/include/sys/types.h:25, from pf_ttext.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pf_ttext.c: In function 'xv_pf_ttext': pf_ttext.c:36:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (spr = pc->pc_pr) ^~~ rm -f pf.o shared/pf.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf.c -o shared/pf.o In file included from /usr/include/sys/types.h:25, from pf.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pf.c -o pf.o In file included from /usr/include/sys/types.h:25, from pf.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f font_data.o shared/font_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_data.c -o shared/font_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/font_impl.h:15, from font_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c font_data.c -o font_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/font_impl.h:15, from font_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/font.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/font.o ../../libxview/xshared/font.o + rm -f ../../libxview/xshared/font_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/font_set.o ../../libxview/xshared/font_set.o + rm -f ../../libxview/xshared/font_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/font_get.o ../../libxview/xshared/font_get.o + rm -f ../../libxview/xshared/font_x.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/font_x.o ../../libxview/xshared/font_x.o + rm -f ../../libxview/xshared/pf_text.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/pf_text.o ../../libxview/xshared/pf_text.o + rm -f ../../libxview/xshared/pf_ttext.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/pf_ttext.o ../../libxview/xshared/pf_ttext.o + rm -f ../../libxview/xshared/pf.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/pf.o ../../libxview/xshared/pf.o + rm -f ../../libxview/xshared/font_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font/shared/font_data.o ../../libxview/xshared/font_data.o ar ruv ../../libxview/libxview.a font.o font_set.o font_get.o font_x.o pf_text.o pf_ttext.o pf.o font_data.o a - font.o a - font_set.o a - font_get.o a - font_x.o a - pf_text.o a - pf_ttext.o a - pf.o a - font_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/font' making all in lib/libxview/frame... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' rm -f frame.o shared/frame.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame.c -o shared/frame.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame.c: In function 'frame_cmdline_help': frame.c:24:5: warning: implicit declaration of function 'xv_usage'; did you mean 'xv_get'? [-Wimplicit-function-declaration] xv_usage(name); ^~~~~~~~ xv_get frame.c: In function 'frame_get_rect': frame.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame.c:62:2: warning: implicit declaration of function 'screen_get_sun_wm_protocols' [-Wimplicit-function-declaration] screen_get_sun_wm_protocols(xv_screen(info))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'frame_set_rect': frame.c:103:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame.c -o frame.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame.c: In function 'frame_cmdline_help': frame.c:24:5: warning: implicit declaration of function 'xv_usage'; did you mean 'xv_get'? [-Wimplicit-function-declaration] xv_usage(name); ^~~~~~~~ xv_get frame.c: In function 'frame_get_rect': frame.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame.c:62:2: warning: implicit declaration of function 'screen_get_sun_wm_protocols' [-Wimplicit-function-declaration] screen_get_sun_wm_protocols(xv_screen(info))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ frame.c: In function 'frame_set_rect': frame.c:103:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f frame_init.o shared/frame_init.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_init.c -o shared/frame_init.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from frame_init.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_init.c: In function 'frame_default_done_func': frame_init.c:54:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c: In function 'frame_init': frame_init.c:100:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c:117:5: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(frame_public, SERVER_WM_PROTOCOLS, XA_ATOM, 32, ^~~~~~~~~~~~~~~~~~~ XChangeProperty frame_init.c:124:34: warning: implicit declaration of function 'xv_get_hostname'; did you mean 'xv_set_image'? [-Wimplicit-function-declaration] WMMachineName.nitems = (int) xv_get_hostname(hostname, MAXHOSTNAMELEN + 1); ^~~~~~~~~~~~~~~ xv_set_image frame_init.c:128:5: warning: implicit declaration of function 'win_set_wm_class'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_wm_class(frame_public); ^~~~~~~~~~~~~~~~ win_get_damage frame_init.c:155:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owner, owner_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c:235:5: warning: implicit declaration of function 'window_set_map_cache'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_map_cache(frame_public, False); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect frame_init.c:276:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^~~~~~~~~~~ win_get_damage gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_init.c -o frame_init.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from frame_init.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_init.c: In function 'frame_default_done_func': frame_init.c:54:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c: In function 'frame_init': frame_init.c:100:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c:117:5: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(frame_public, SERVER_WM_PROTOCOLS, XA_ATOM, 32, ^~~~~~~~~~~~~~~~~~~ XChangeProperty frame_init.c:124:34: warning: implicit declaration of function 'xv_get_hostname'; did you mean 'xv_set_image'? [-Wimplicit-function-declaration] WMMachineName.nitems = (int) xv_get_hostname(hostname, MAXHOSTNAMELEN + 1); ^~~~~~~~~~~~~~~ xv_set_image frame_init.c:128:5: warning: implicit declaration of function 'win_set_wm_class'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_wm_class(frame_public); ^~~~~~~~~~~~~~~~ win_get_damage frame_init.c:155:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owner, owner_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from frame_init.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_init.c:235:5: warning: implicit declaration of function 'window_set_map_cache'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_map_cache(frame_public, False); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect frame_init.c:276:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^~~~~~~~~~~ win_get_damage rm -f fm_get.o shared/fm_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_get.c -o shared/fm_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_get.c: In function 'frame_get_attr': fm_get.c:38:6: warning: implicit declaration of function 'win_getrect' [-Wimplicit-function-declaration] win_getrect(frame_public, &rect); ^~~~~~~~~~~ fm_get.c:96:10: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c:185:10: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c:429:15: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c: In function 'frame_fit_direction': fm_get.c:465:8: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void)win_get_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_get.c: In function 'frame_find_menu_acc': fm_get.c:567:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[0] = XKeycodeToKeysym(dpy, keycode, 0); ^~~~~~~~~~ In file included from ../../../build/include/xview/win_input.h:24, from ../../../build/include/xview_private/fm_impl.h:35, from fm_get.c:13: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ fm_get.c:579:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[1] = XKeycodeToKeysym(dpy, keycode, 1); ^~~~~~~~~~ In file included from ../../../build/include/xview/win_input.h:24, from ../../../build/include/xview_private/fm_impl.h:35, from fm_get.c:13: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ fm_get.c:612:15: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] if ( isascii((int)keysymlist[0]) && ^~~~~~~ fm_get.c:613:3: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] isalpha((int)keysymlist[0]) ) { ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_get.c -o fm_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_get.c: In function 'frame_get_attr': fm_get.c:38:6: warning: implicit declaration of function 'win_getrect' [-Wimplicit-function-declaration] win_getrect(frame_public, &rect); ^~~~~~~~~~~ fm_get.c:96:10: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c:185:10: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c:429:15: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ fm_get.c: In function 'frame_fit_direction': fm_get.c:465:8: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void)win_get_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_get.c: In function 'frame_find_menu_acc': fm_get.c:567:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[0] = XKeycodeToKeysym(dpy, keycode, 0); ^~~~~~~~~~ In file included from ../../../build/include/xview/win_input.h:24, from ../../../build/include/xview_private/fm_impl.h:35, from fm_get.c:13: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ fm_get.c:579:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[1] = XKeycodeToKeysym(dpy, keycode, 1); ^~~~~~~~~~ In file included from ../../../build/include/xview/win_input.h:24, from ../../../build/include/xview_private/fm_impl.h:35, from fm_get.c:13: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ fm_get.c:612:15: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] if ( isascii((int)keysymlist[0]) && ^~~~~~~ fm_get.c:613:3: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] isalpha((int)keysymlist[0]) ) { ^~~~~~~ rm -f fm_set.o shared/fm_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_set.c -o shared/fm_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fm_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from fm_set.c:31: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ fm_set.c:61:1: note: in expansion of macro 'mpr_static' mpr_static(default_frame_icon_mpr, ICON_DEFAULT_WIDTH, ICON_DEFAULT_HEIGHT, 1, ^~~~~~~~~~ fm_set.c: In function 'frame_set_avlist': fm_set.c:79:35: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] unsigned long new_frame_fg = NULL; ^~~~ fm_set.c:108:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:110:18: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, (Rect *) attrs[1]); ^~~~~~~~~~~ fm_set.c:202:7: warning: implicit declaration of function 'xv_deaf'; did you mean 'xv_read'? [-Wimplicit-function-declaration] if (xv_deaf(frame_public, TRUE) != XV_OK) { ^~~~~~~ xv_read fm_set.c:232:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fm_set.c:398:37: warning: unused variable 'new_accel' [-Wunused-variable] Frame_menu_accelerator *new_accel, ^~~~~~~~~ fm_set.c:484:12: warning: unused variable 'found' [-Wunused-variable] int found; ^~~~~ fm_set.c:479:45: warning: unused variable 'prev_accel' [-Wunused-variable] Frame_menu_accelerator *accel, *prev_accel; ^~~~~~~~~~ fm_set.c:555:20: warning: unused variable 'mask' [-Wunused-variable] unsigned int mask; ^~~~ fm_set.c:607:26: warning: comparison between pointer and integer if (frame->footer == NULL) { ^~ fm_set.c:608:21: warning: implicit declaration of function 'frame_create_footer'; did you mean 'frame_display_footer'? [-Wimplicit-function-declaration] frame->footer = frame_create_footer(frame); ^~~~~~~~~~~~~~~~~~~ frame_display_footer fm_set.c:616:26: warning: comparison between pointer and integer if (frame->footer != NULL) { ^~ fm_set.c:741:4: warning: implicit declaration of function 'menu_set_acc_on_frame' [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, item, FALSE); ^~~~~~~~~~~~~~~~~~~~~ fm_set.c:787:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:707:10: warning: unused variable 'frame_menus' [-Wunused-variable] Menu *frame_menus; ^~~~~~~~~~~ fm_set.c:896:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item,MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:963:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:932:13: warning: unused variable 'item' [-Wunused-variable] Menu_item item; ^~~~ fm_set.c:1008:9: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] (void)win_getrect(frame_public, &rect); ^~~~~~~~~~~ svc_getreq fm_set.c:1043:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:1055:11: warning: implicit declaration of function 'window_get_map_cache'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] if ((window_get_map_cache(frame_public) != (int)attrs[1]) && ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_set.c:1216:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:1276:21: warning: implicit declaration of function 'frame_all_set_cmdline_options'; did you mean 'frame_set_cmdline_options'? [-Wimplicit-function-declaration] if (frame_all_set_cmdline_options(frame_public) != XV_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_set_cmdline_options fm_set.c:1292:3: warning: implicit declaration of function 'frame_set_position'; did you mean 'frame_set_icon'? [-Wimplicit-function-declaration] frame_set_position(owner, frame); ^~~~~~~~~~~~~~~~~~ frame_set_icon fm_set.c:1362:9: warning: implicit declaration of function 'frame_update_status_win_color'; did you mean 'frame_update_compose_led'? [-Wimplicit-function-declaration] frame_update_status_win_color(frame_public, frame->footer, new_frame_cms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_update_compose_led fm_set.c:1387:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_change_state': fm_set.c:1412:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_update_compose_led': fm_set.c:1453:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_set_icon': fm_set.c:1518:22: warning: assignment to 'Icon' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->default_icon = NULL; ^ fm_set.c:1557:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_set_menu_acc': fm_set.c:1651:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_set.c -o fm_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fm_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from fm_set.c:31: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ fm_set.c:61:1: note: in expansion of macro 'mpr_static' mpr_static(default_frame_icon_mpr, ICON_DEFAULT_WIDTH, ICON_DEFAULT_HEIGHT, 1, ^~~~~~~~~~ fm_set.c: In function 'frame_set_avlist': fm_set.c:79:35: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] unsigned long new_frame_fg = NULL; ^~~~ fm_set.c:108:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:110:18: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, (Rect *) attrs[1]); ^~~~~~~~~~~ fm_set.c:202:7: warning: implicit declaration of function 'xv_deaf'; did you mean 'xv_read'? [-Wimplicit-function-declaration] if (xv_deaf(frame_public, TRUE) != XV_OK) { ^~~~~~~ xv_read fm_set.c:232:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fm_set.c:398:37: warning: unused variable 'new_accel' [-Wunused-variable] Frame_menu_accelerator *new_accel, ^~~~~~~~~ fm_set.c:484:12: warning: unused variable 'found' [-Wunused-variable] int found; ^~~~~ fm_set.c:479:45: warning: unused variable 'prev_accel' [-Wunused-variable] Frame_menu_accelerator *accel, *prev_accel; ^~~~~~~~~~ fm_set.c:555:20: warning: unused variable 'mask' [-Wunused-variable] unsigned int mask; ^~~~ fm_set.c:607:26: warning: comparison between pointer and integer if (frame->footer == NULL) { ^~ fm_set.c:608:21: warning: implicit declaration of function 'frame_create_footer'; did you mean 'frame_display_footer'? [-Wimplicit-function-declaration] frame->footer = frame_create_footer(frame); ^~~~~~~~~~~~~~~~~~~ frame_display_footer fm_set.c:616:26: warning: comparison between pointer and integer if (frame->footer != NULL) { ^~ fm_set.c:741:4: warning: implicit declaration of function 'menu_set_acc_on_frame' [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, item, FALSE); ^~~~~~~~~~~~~~~~~~~~~ fm_set.c:787:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:707:10: warning: unused variable 'frame_menus' [-Wunused-variable] Menu *frame_menus; ^~~~~~~~~~~ fm_set.c:896:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item,MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:963:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^~~~~~~~~ fm_set.c:932:13: warning: unused variable 'item' [-Wunused-variable] Menu_item item; ^~~~ fm_set.c:1008:9: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] (void)win_getrect(frame_public, &rect); ^~~~~~~~~~~ svc_getreq fm_set.c:1043:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:1055:11: warning: implicit declaration of function 'window_get_map_cache'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] if ((window_get_map_cache(frame_public) != (int)attrs[1]) && ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_set.c:1216:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c:1276:21: warning: implicit declaration of function 'frame_all_set_cmdline_options'; did you mean 'frame_set_cmdline_options'? [-Wimplicit-function-declaration] if (frame_all_set_cmdline_options(frame_public) != XV_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_set_cmdline_options fm_set.c:1292:3: warning: implicit declaration of function 'frame_set_position'; did you mean 'frame_set_icon'? [-Wimplicit-function-declaration] frame_set_position(owner, frame); ^~~~~~~~~~~~~~~~~~ frame_set_icon fm_set.c:1362:9: warning: implicit declaration of function 'frame_update_status_win_color'; did you mean 'frame_update_compose_led'? [-Wimplicit-function-declaration] frame_update_status_win_color(frame_public, frame->footer, new_frame_cms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_update_compose_led fm_set.c:1387:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_change_state': fm_set.c:1412:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_update_compose_led': fm_set.c:1453:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_set_icon': fm_set.c:1518:22: warning: assignment to 'Icon' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->default_icon = NULL; ^ fm_set.c:1557:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_set.c: In function 'frame_set_menu_acc': fm_set.c:1651:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f fm_destroy.o shared/fm_destroy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_destroy.c -o shared/fm_destroy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fm_destroy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_destroy.c: In function 'frame_destroy': fm_destroy.c:47:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] win_remove(frame_public); ^~~~~~~~~~ remove fm_destroy.c:61:2: warning: implicit declaration of function 'window_set_parent_dying'; did you mean 'window_set_client_message'? [-Wimplicit-function-declaration] window_set_parent_dying(); ^~~~~~~~~~~~~~~~~~~~~~~ window_set_client_message fm_destroy.c:70:2: warning: implicit declaration of function 'window_unset_parent_dying'; did you mean 'window_set_client_message'? [-Wimplicit-function-declaration] window_unset_parent_dying(); ^~~~~~~~~~~~~~~~~~~~~~~~~ window_set_client_message fm_destroy.c:86:20: warning: comparison between pointer and integer if (frame->footer != NULL) ^~ fm_destroy.c:105:26: warning: assignment to 'Icon' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->default_icon = NULL; ^ fm_destroy.c:108:26: warning: comparison between pointer and integer if (frame->focus_window != NULL) { ^~ fm_destroy.c:128:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame->focus_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_destroy.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_destroy.c: In function 'frame_confirm_destroy': fm_destroy.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (frame_is_iconic(frame)) ^~ fm_destroy.c:162:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!frame_notice_key) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_destroy.c -o fm_destroy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fm_destroy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_destroy.c: In function 'frame_destroy': fm_destroy.c:47:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] win_remove(frame_public); ^~~~~~~~~~ remove fm_destroy.c:61:2: warning: implicit declaration of function 'window_set_parent_dying'; did you mean 'window_set_client_message'? [-Wimplicit-function-declaration] window_set_parent_dying(); ^~~~~~~~~~~~~~~~~~~~~~~ window_set_client_message fm_destroy.c:70:2: warning: implicit declaration of function 'window_unset_parent_dying'; did you mean 'window_set_client_message'? [-Wimplicit-function-declaration] window_unset_parent_dying(); ^~~~~~~~~~~~~~~~~~~~~~~~~ window_set_client_message fm_destroy.c:86:20: warning: comparison between pointer and integer if (frame->footer != NULL) ^~ fm_destroy.c:105:26: warning: assignment to 'Icon' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->default_icon = NULL; ^ fm_destroy.c:108:26: warning: comparison between pointer and integer if (frame->focus_window != NULL) { ^~ fm_destroy.c:128:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame->focus_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_destroy.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_destroy.c: In function 'frame_confirm_destroy': fm_destroy.c:159:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (frame_is_iconic(frame)) ^~ fm_destroy.c:162:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!frame_notice_key) { ^~ rm -f fm_layout.o shared/fm_layout.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_layout.c -o shared/fm_layout.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fm_layout.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_layout.c: In function 'frame_layout': fm_layout.c:101:10: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(child, ¤t_rect); /* inner rect */ ^~~~~~~~~~~ frame_get_rect fm_layout.c:120:10: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] (void) win_setrect(child, &rect); ^~~~~~~~~~~ frame_set_rect fm_layout.c:154:7: warning: implicit declaration of function 'xv_deaf'; did you mean 'xv_get'? [-Wimplicit-function-declaration] if (xv_deaf(child, TRUE) != XV_OK) { ^~~~~~~ xv_get fm_layout.c:166:35: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window prev_child = NULL; ^~~~ fm_layout.c:167:35: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window next_child = NULL; ^~~~ fm_layout.c:200:26: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->focus_subwindow = NULL; ^ fm_layout.c:202:27: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->primary_focus_sw = NULL; ^ fm_layout.c:208:13: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] (void) win_insert(child); ^~~~~~~~~~ XK_Insert fm_layout.c:219:10: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(child, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_layout.c:221:10: warning: implicit declaration of function 'win_set_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_set_outer_rect(child, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_layout.c:227:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(child); ^~~~~~~~~~ remove fm_layout.c:235:13: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] (void) win_set_kbd_focus(child, WIN_NULLLINK); ^~~~~~~~~~~~~~~~~ xv_set_no_focus fm_layout.c:239:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *layout_supported = (int *) d1; ^ fm_layout.c:252:6: warning: implicit declaration of function 'window_getrelrect'; did you mean 'window_get'? [-Wimplicit-function-declaration] if (window_getrelrect(child, d1, &rect) != XV_OK) /* outer rect of d1 */ ^~~~~~~~~~~~~~~~~ window_get fm_layout.c:256:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d2; ^ fm_layout.c:269:2: warning: implicit declaration of function 'frame_adjust_rect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] frame_adjust_rect(frame_public, child, is_subframe, (Rect *)d1); ^~~~~~~~~~~~~~~~~ frame_set_rect fm_layout.c:269:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frame_adjust_rect(frame_public, child, is_subframe, (Rect *)d1); ^ fm_layout.c:277:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d2; ^ fm_layout.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d1; ^ fm_layout.c:302:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d1; ^ fm_layout.c:314:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *w = (int *) d1; ^ fm_layout.c:322:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *h = (int *) d1; ^ fm_layout.c:330:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *) d1; ^ fm_layout.c: In function 'frame_adjust_rect': fm_layout.c:375:2: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getsize(child, &real_size); ^~~~~~~~~~~ win_get_damage fm_layout.c:383:14: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^~~~~~~~~~~~~~~~~~~~ fm_layout.c:388:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(child, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_layout.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_layout.c:398:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_layout.c -o fm_layout.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fm_layout.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_layout.c: In function 'frame_layout': fm_layout.c:101:10: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(child, ¤t_rect); /* inner rect */ ^~~~~~~~~~~ frame_get_rect fm_layout.c:120:10: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] (void) win_setrect(child, &rect); ^~~~~~~~~~~ frame_set_rect fm_layout.c:154:7: warning: implicit declaration of function 'xv_deaf'; did you mean 'xv_get'? [-Wimplicit-function-declaration] if (xv_deaf(child, TRUE) != XV_OK) { ^~~~~~~ xv_get fm_layout.c:166:35: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window prev_child = NULL; ^~~~ fm_layout.c:167:35: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window next_child = NULL; ^~~~ fm_layout.c:200:26: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->focus_subwindow = NULL; ^ fm_layout.c:202:27: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] frame->primary_focus_sw = NULL; ^ fm_layout.c:208:13: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] (void) win_insert(child); ^~~~~~~~~~ XK_Insert fm_layout.c:219:10: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(child, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_layout.c:221:10: warning: implicit declaration of function 'win_set_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_set_outer_rect(child, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_layout.c:227:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(child); ^~~~~~~~~~ remove fm_layout.c:235:13: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] (void) win_set_kbd_focus(child, WIN_NULLLINK); ^~~~~~~~~~~~~~~~~ xv_set_no_focus fm_layout.c:239:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *layout_supported = (int *) d1; ^ fm_layout.c:252:6: warning: implicit declaration of function 'window_getrelrect'; did you mean 'window_get'? [-Wimplicit-function-declaration] if (window_getrelrect(child, d1, &rect) != XV_OK) /* outer rect of d1 */ ^~~~~~~~~~~~~~~~~ window_get fm_layout.c:256:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d2; ^ fm_layout.c:269:2: warning: implicit declaration of function 'frame_adjust_rect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] frame_adjust_rect(frame_public, child, is_subframe, (Rect *)d1); ^~~~~~~~~~~~~~~~~ frame_set_rect fm_layout.c:269:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] frame_adjust_rect(frame_public, child, is_subframe, (Rect *)d1); ^ fm_layout.c:277:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d2; ^ fm_layout.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d1; ^ fm_layout.c:302:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d1; ^ fm_layout.c:314:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *w = (int *) d1; ^ fm_layout.c:322:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *h = (int *) d1; ^ fm_layout.c:330:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *) d1; ^ fm_layout.c: In function 'frame_adjust_rect': fm_layout.c:375:2: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getsize(child, &real_size); ^~~~~~~~~~~ win_get_damage fm_layout.c:383:14: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^~~~~~~~~~~~~~~~~~~~ fm_layout.c:388:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(child, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_layout.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_layout.c:398:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f fm_cmdline.o shared/fm_cmdline.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_cmdline.c -o shared/fm_cmdline.o In file included from /usr/include/sys/types.h:25, from fm_cmdline.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_cmdline.c: In function 'frame_set_cmdline_options': fm_cmdline.c:138:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_cmdline.c:159:6: warning: implicit declaration of function 'win_set_wm_command'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_wm_command(frame_public); ^~~~~~~~~~~~~~~~~~ win_get_damage fm_cmdline.c:167:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!from_init) ^ fm_cmdline.c: In function 'frame_all_set_cmdline_options': fm_cmdline.c:269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (string=xv_font_regular()) { ^~~~~~ fm_cmdline.c: In function 'frame_set_icon_cmdline_options': fm_cmdline.c:446:15: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *defaults = NULL; ^ fm_cmdline.c:464:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_cmdline.c: In function 'frame_parse_color': fm_cmdline.c:484:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_cmdline.c -o fm_cmdline.o In file included from /usr/include/sys/types.h:25, from fm_cmdline.c:11: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_cmdline.c: In function 'frame_set_cmdline_options': fm_cmdline.c:138:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_cmdline.c:159:6: warning: implicit declaration of function 'win_set_wm_command'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_wm_command(frame_public); ^~~~~~~~~~~~~~~~~~ win_get_damage fm_cmdline.c:167:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!from_init) ^ fm_cmdline.c: In function 'frame_all_set_cmdline_options': fm_cmdline.c:269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (string=xv_font_regular()) { ^~~~~~ fm_cmdline.c: In function 'frame_set_icon_cmdline_options': fm_cmdline.c:446:15: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *defaults = NULL; ^ fm_cmdline.c:464:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_cmdline.c: In function 'frame_parse_color': fm_cmdline.c:484:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from fm_cmdline.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f fm_display.o shared/fm_display.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_display.c -o shared/fm_display.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fm_display.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_display.c: In function 'frame_display_label': fm_display.c:79:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: In function 'frame_display_footer': fm_display.c:107:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:108:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame->footer, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:92:11: warning: variable 'frame_cms' set but not used [-Wunused-but-set-variable] Cms frame_cms; /* frame cms */ ^~~~~~~~~ fm_display.c: In function 'frame_update_status_win_color': fm_display.c:389:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(status_window, status_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:425:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: In function 'frame_display_busy': fm_display.c:459:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: At top level: fm_display.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] frame_set_color(frame, fg, bg) ^~~~~~~~~~~~~~~ fm_display.c: In function 'frame_set_color': fm_display.c:539:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:541:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ fm_display.c:528:1: note: declared here frame_set_color(frame, fg, bg) ^~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_display.c -o fm_display.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fm_display.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_display.c: In function 'frame_display_label': fm_display.c:79:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: In function 'frame_display_footer': fm_display.c:107:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:108:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame->footer, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:92:11: warning: variable 'frame_cms' set but not used [-Wunused-but-set-variable] Cms frame_cms; /* frame cms */ ^~~~~~~~~ fm_display.c: In function 'frame_update_status_win_color': fm_display.c:389:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(status_window, status_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:425:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: In function 'frame_display_busy': fm_display.c:459:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c: At top level: fm_display.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] frame_set_color(frame, fg, bg) ^~~~~~~~~~~~~~~ fm_display.c: In function 'frame_set_color': fm_display.c:539:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_display.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_display.c:541:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ fm_display.c:528:1: note: declared here frame_set_color(frame, fg, bg) ^~~~~~~~~~~~~~~ rm -f fm_win.o shared/fm_win.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_win.c -o shared/fm_win.o In file included from /usr/include/sys/file.h:21, from fm_win.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_win.c: In function 'frame_set_position': fm_win.c:39:5: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] win_getrect(frame_public, &rectnormal); ^~~~~~~~~~~ frame_get_rect fm_win.c:53:5: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] win_setrect(frame_public, &rectnormal); ^~~~~~~~~~~ frame_set_rect fm_win.c: In function 'frame_is_exposed': fm_win.c:75:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_win.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_win.c:83:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(rootwindow, root_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_win.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_win.c:117:10: warning: implicit declaration of function 'win_view_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] if (win_view_state(display, *c) != IsViewable) ^~~~~~~~~~~~~~ initstate fm_win.c:119:6: warning: implicit declaration of function 'win_x_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] win_x_getrect(display, *c, &child_rect); ^~~~~~~~~~~~~ frame_get_rect gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_win.c -o fm_win.o In file included from /usr/include/sys/file.h:21, from fm_win.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_win.c: In function 'frame_set_position': fm_win.c:39:5: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] win_getrect(frame_public, &rectnormal); ^~~~~~~~~~~ frame_get_rect fm_win.c:53:5: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] win_setrect(frame_public, &rectnormal); ^~~~~~~~~~~ frame_set_rect fm_win.c: In function 'frame_is_exposed': fm_win.c:75:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_win.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_win.c:83:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(rootwindow, root_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fm_win.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_win.c:117:10: warning: implicit declaration of function 'win_view_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] if (win_view_state(display, *c) != IsViewable) ^~~~~~~~~~~~~~ initstate fm_win.c:119:6: warning: implicit declaration of function 'win_x_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] win_x_getrect(display, *c, &child_rect); ^~~~~~~~~~~~~ frame_get_rect rm -f fm_geom.o shared/fm_geom.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_geom.c -o shared/fm_geom.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_geom.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_geom.c: In function 'frame_position_sw': fm_geom.c:83:12: warning: implicit declaration of function 'win_getrect' [-Wimplicit-function-declaration] (void) win_getrect(nsw,¤t_rect); ^~~~~~~~~~~ fm_geom.c:94:2: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] win_get_outer_rect(swprevious, rect); /* outer rect */ ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_geom.c:124:2: warning: implicit declaration of function 'window_outer_to_innerrect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_outer_to_innerrect(swprevious, rect); /* decrease the rect if ^~~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_geom.c -o fm_geom.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_geom.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_geom.c: In function 'frame_position_sw': fm_geom.c:83:12: warning: implicit declaration of function 'win_getrect' [-Wimplicit-function-declaration] (void) win_getrect(nsw,¤t_rect); ^~~~~~~~~~~ fm_geom.c:94:2: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] win_get_outer_rect(swprevious, rect); /* outer rect */ ^~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_geom.c:124:2: warning: implicit declaration of function 'window_outer_to_innerrect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_outer_to_innerrect(swprevious, rect); /* decrease the rect if ^~~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect rm -f fm_input.o shared/fm_input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_input.c -o shared/fm_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_input.c: In function 'frame_input': fm_input.c:61:3: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(frame_public, help_data, event); ^~~~~~~~~~~~ menu_show fm_input.c:71:9: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^~~~~~~~~~~ win_get_damage fm_input.c:75:7: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^~~~~~~~~~~~~~~~~~~~ fm_input.c:80:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c:234:2: warning: implicit declaration of function 'frame_handle_props'; did you mean 'frame_done_proc'? [-Wimplicit-function-declaration] frame_handle_props(frame_public); ^~~~~~~~~~~~~~~~~~ frame_done_proc fm_input.c: In function 'frame_focus_win_event_proc': fm_input.c:275:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c:285:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(image, image_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c: In function 'frame_set_accept_default_focus': fm_input.c:361:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] frame_set_accept_default_focus(frame_public, flag) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_input.c -o fm_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_input.c: In function 'frame_input': fm_input.c:61:3: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(frame_public, help_data, event); ^~~~~~~~~~~~ menu_show fm_input.c:71:9: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^~~~~~~~~~~ win_get_damage fm_input.c:75:7: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^~~~~~~~~~~~~~~~~~~~ fm_input.c:80:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c:234:2: warning: implicit declaration of function 'frame_handle_props'; did you mean 'frame_done_proc'? [-Wimplicit-function-declaration] frame_handle_props(frame_public); ^~~~~~~~~~~~~~~~~~ frame_done_proc fm_input.c: In function 'frame_focus_win_event_proc': fm_input.c:275:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c:285:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(image, image_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fm_input.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fm_input.c: In function 'frame_set_accept_default_focus': fm_input.c:361:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] frame_set_accept_default_focus(frame_public, flag) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f fm_bdry.o shared/fm_bdry.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_bdry.c -o shared/fm_bdry.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_bdry.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_bdry.c: In function 'frame_compute_constraint': fm_bdry.c:60:5: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] win_get_outer_rect(sw, &rect); /* outer rect */ ^~~~~~~~~~~~~~~~~~ window_set_cache_rect gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_bdry.c -o fm_bdry.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_bdry.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_bdry.c: In function 'frame_compute_constraint': fm_bdry.c:60:5: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] win_get_outer_rect(sw, &rect); /* outer rect */ ^~~~~~~~~~~~~~~~~~ window_set_cache_rect rm -f frame_sw.o shared/frame_sw.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_sw.c -o shared/frame_sw.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from frame_sw.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_sw.c: In function 'frame_layout_subwindows': frame_sw.c:99:9: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect frame_sw.c:160:13: warning: implicit declaration of function 'win_set_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_set_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_sw.c -o frame_sw.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from frame_sw.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_sw.c: In function 'frame_layout_subwindows': frame_sw.c:99:9: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect frame_sw.c:160:13: warning: implicit declaration of function 'win_set_outer_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] (void) win_set_outer_rect(sw, &rect); ^~~~~~~~~~~~~~~~~~ window_set_cache_rect rm -f fm_rescale.o shared/fm_rescale.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_rescale.c -o shared/fm_rescale.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_rescale.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_rescale.c: In function 'frame_rescale_subwindows': fm_rescale.c:44:5: warning: implicit declaration of function 'window_default_event_func'; did you mean 'frame_default_done_func'? [-Wimplicit-function-declaration] window_default_event_func(frame_public, (Event *) 0, scale, (Notify_event_type) 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ frame_default_done_func fm_rescale.c:45:5: warning: implicit declaration of function 'window_calculate_new_size' [-Wimplicit-function-declaration] window_calculate_new_size(frame_public, frame_public, &frame_height, &frame_width); ^~~~~~~~~~~~~~~~~~~~~~~~~ fm_rescale.c:60:2: warning: implicit declaration of function 'window_set_rescale_state'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_rescale_state(sw, scale); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_rescale.c:61:5: warning: implicit declaration of function 'window_start_rescaling'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] window_start_rescaling(sw); ^~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list fm_rescale.c:65:2: warning: implicit declaration of function 'window_adjust_rects'; did you mean 'window_destroy'? [-Wimplicit-function-declaration] window_adjust_rects(rect_obj_list, num_sws, frame_width, frame_height); ^~~~~~~~~~~~~~~~~~~ window_destroy fm_rescale.c:69:5: warning: implicit declaration of function 'window_end_rescaling'; did you mean 'window_read_event'? [-Wimplicit-function-declaration] window_end_rescaling(sw); ^~~~~~~~~~~~~~~~~~~~ window_read_event gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_rescale.c -o fm_rescale.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_rescale.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fm_rescale.c: In function 'frame_rescale_subwindows': fm_rescale.c:44:5: warning: implicit declaration of function 'window_default_event_func'; did you mean 'frame_default_done_func'? [-Wimplicit-function-declaration] window_default_event_func(frame_public, (Event *) 0, scale, (Notify_event_type) 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ frame_default_done_func fm_rescale.c:45:5: warning: implicit declaration of function 'window_calculate_new_size' [-Wimplicit-function-declaration] window_calculate_new_size(frame_public, frame_public, &frame_height, &frame_width); ^~~~~~~~~~~~~~~~~~~~~~~~~ fm_rescale.c:60:2: warning: implicit declaration of function 'window_set_rescale_state'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_rescale_state(sw, scale); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect fm_rescale.c:61:5: warning: implicit declaration of function 'window_start_rescaling'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] window_start_rescaling(sw); ^~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list fm_rescale.c:65:2: warning: implicit declaration of function 'window_adjust_rects'; did you mean 'window_destroy'? [-Wimplicit-function-declaration] window_adjust_rects(rect_obj_list, num_sws, frame_width, frame_height); ^~~~~~~~~~~~~~~~~~~ window_destroy fm_rescale.c:69:5: warning: implicit declaration of function 'window_end_rescaling'; did you mean 'window_read_event'? [-Wimplicit-function-declaration] window_end_rescaling(sw); ^~~~~~~~~~~~~~~~~~~~ window_read_event rm -f frame_base.o shared/frame_base.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_base.c -o shared/frame_base.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_base.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_base.c: In function 'frame_base_init': frame_base.c:45:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_base.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_base.c:78:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state frame_base.c:95:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_base.c:105:9: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ frame_base.c: At top level: frame_base.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] frame_handle_props(frame_public) ^~~~~~~~~~~~~~~~~~ frame_base.c: In function 'frame_handle_props': frame_base.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_base.c -o frame_base.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_base.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_base.c: In function 'frame_base_init': frame_base.c:45:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_base.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_base.c:78:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state frame_base.c:95:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ frame_base.c:105:9: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ frame_base.c: At top level: frame_base.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] frame_handle_props(frame_public) ^~~~~~~~~~~~~~~~~~ frame_base.c: In function 'frame_handle_props': frame_base.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f fmbs_set.o shared/fmbs_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_set.c -o shared/fmbs_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmbs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmbs_set.c: In function 'frame_base_set_avlist': fmbs_set.c:35:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fmbs_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmbs_set.c:116:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fmbs_set.c:155:12: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void)wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmbs_set.c:194:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)cmd_line == -1) { ^ fmbs_set.c:235:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmbs_set.c:258:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmbs_set.c:260:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_set.c -o fmbs_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmbs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmbs_set.c: In function 'frame_base_set_avlist': fmbs_set.c:35:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fmbs_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmbs_set.c:116:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fmbs_set.c:155:12: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void)wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmbs_set.c:194:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)cmd_line == -1) { ^ fmbs_set.c:235:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmbs_set.c:258:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmbs_set.c:260:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ rm -f fmbs_get.o shared/fmbs_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_get.c -o shared/fmbs_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmbs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_get.c -o fmbs_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmbs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f fmbs_dsty.o shared/fmbs_dsty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_dsty.c -o shared/fmbs_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmbs_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmbs_dsty.c -o fmbs_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmbs_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f frame_cmd.o shared/frame_cmd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_cmd.c -o shared/frame_cmd.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_cmd.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_cmd.c: In function 'frame_cmd_init': frame_cmd.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_cmd.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_cmd.c:87:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state frame_cmd.c:103:12: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_cmd.c -o frame_cmd.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_cmd.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_cmd.c: In function 'frame_cmd_init': frame_cmd.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_cmd.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ frame_cmd.c:87:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state frame_cmd.c:103:12: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ rm -f fmcmd_set.o shared/fmcmd_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_set.c -o shared/fmcmd_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmcmd_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmcmd_set.c: In function 'frame_cmd_set_avlist': fmcmd_set.c:36:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fmcmd_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmcmd_set.c:122:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fmcmd_set.c:227:34: warning: comparison between pointer and integer if (default_panel_item == NULL) ^~ fmcmd_set.c:242:11: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(frame_public, ^~~~~~~~~~~~~~~~~~~ XChangeProperty fmcmd_set.c:274:9: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmcmd_set.c:295:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmcmd_set.c:297:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_set.c -o fmcmd_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmcmd_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmcmd_set.c: In function 'frame_cmd_set_avlist': fmcmd_set.c:36:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fmcmd_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmcmd_set.c:122:6: warning: implicit declaration of function 'wmgr_set_rescale_state'; did you mean 'Frame_rescale_state'? [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^~~~~~~~~~~~~~~~~~~~~~ Frame_rescale_state fmcmd_set.c:227:34: warning: comparison between pointer and integer if (default_panel_item == NULL) ^~ fmcmd_set.c:242:11: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(frame_public, ^~~~~~~~~~~~~~~~~~~ XChangeProperty fmcmd_set.c:274:9: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmcmd_set.c:295:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmcmd_set.c:297:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ rm -f fmcmd_get.o shared/fmcmd_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_get.c -o shared/fmcmd_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmcmd_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_get.c -o fmcmd_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmcmd_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f fmcmd_dsty.o shared/fmcmd_dsty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_dsty.c -o shared/fmcmd_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmcmd_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmcmd_dsty.c -o fmcmd_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmcmd_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f frame_help.o shared/frame_help.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_help.c -o shared/frame_help.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_help.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_help.c: In function 'frame_help_init': frame_help.c:43:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_help.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c frame_help.c -o frame_help.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from frame_help.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ frame_help.c: In function 'frame_help_init': frame_help.c:43:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from frame_help.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f fmhlp_set.o shared/fmhlp_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_set.c -o shared/fmhlp_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmhlp_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmhlp_set.c: In function 'frame_help_set_avlist': fmhlp_set.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fmhlp_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmhlp_set.c:135:13: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmhlp_set.c:145:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmhlp_set.c:148:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_set.c -o fmhlp_set.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from fmhlp_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fmhlp_set.c: In function 'frame_help_set_avlist': fmhlp_set.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from ../../../build/include/xview_private/fm_impl.h:30, from fmhlp_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fmhlp_set.c:135:13: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^~~~~~~~~~~~~~~~~ fmhlp_set.c:145:2: warning: implicit declaration of function 'wmgr_add_decor' [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^~~~~~~~~~~~~~ fmhlp_set.c:148:2: warning: implicit declaration of function 'wmgr_delete_decor' [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^~~~~~~~~~~~~~~~~ rm -f fmhlp_get.o shared/fmhlp_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_get.c -o shared/fmhlp_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmhlp_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_get.c -o fmhlp_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmhlp_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f fmhlp_dsty.o shared/fmhlp_dsty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_dsty.c -o shared/fmhlp_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmhlp_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fmhlp_dsty.c -o fmhlp_dsty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fmhlp_dsty.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f fm_data.o shared/fm_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_data.c -o shared/fm_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_data.c -o fm_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/fm_impl.h:24, from fm_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f fm_rodata.o shared/fm_rodata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_rodata.c -o shared/fm_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from fm_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fm_rodata.c -o fm_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from fm_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/frame.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame.o ../../libxview/xshared/frame.o + rm -f ../../libxview/xshared/frame_init.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame_init.o ../../libxview/xshared/frame_init.o + rm -f ../../libxview/xshared/fm_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_get.o ../../libxview/xshared/fm_get.o + rm -f ../../libxview/xshared/fm_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_set.o ../../libxview/xshared/fm_set.o + rm -f ../../libxview/xshared/fm_destroy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_destroy.o ../../libxview/xshared/fm_destroy.o + rm -f ../../libxview/xshared/fm_layout.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_layout.o ../../libxview/xshared/fm_layout.o + rm -f ../../libxview/xshared/fm_cmdline.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_cmdline.o ../../libxview/xshared/fm_cmdline.o + rm -f ../../libxview/xshared/fm_display.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_display.o ../../libxview/xshared/fm_display.o + rm -f ../../libxview/xshared/fm_win.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_win.o ../../libxview/xshared/fm_win.o + rm -f ../../libxview/xshared/fm_geom.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_geom.o ../../libxview/xshared/fm_geom.o + rm -f ../../libxview/xshared/fm_input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_input.o ../../libxview/xshared/fm_input.o + rm -f ../../libxview/xshared/fm_bdry.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_bdry.o ../../libxview/xshared/fm_bdry.o + rm -f ../../libxview/xshared/frame_sw.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame_sw.o ../../libxview/xshared/frame_sw.o + rm -f ../../libxview/xshared/fm_rescale.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_rescale.o ../../libxview/xshared/fm_rescale.o + rm -f ../../libxview/xshared/frame_base.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame_base.o ../../libxview/xshared/frame_base.o + rm -f ../../libxview/xshared/fmbs_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmbs_set.o ../../libxview/xshared/fmbs_set.o + rm -f ../../libxview/xshared/fmbs_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmbs_get.o ../../libxview/xshared/fmbs_get.o + rm -f ../../libxview/xshared/fmbs_dsty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmbs_dsty.o ../../libxview/xshared/fmbs_dsty.o + rm -f ../../libxview/xshared/frame_cmd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame_cmd.o ../../libxview/xshared/frame_cmd.o + rm -f ../../libxview/xshared/fmcmd_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmcmd_set.o ../../libxview/xshared/fmcmd_set.o + rm -f ../../libxview/xshared/fmcmd_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmcmd_get.o ../../libxview/xshared/fmcmd_get.o + rm -f ../../libxview/xshared/fmcmd_dsty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmcmd_dsty.o ../../libxview/xshared/fmcmd_dsty.o + rm -f ../../libxview/xshared/frame_help.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/frame_help.o ../../libxview/xshared/frame_help.o + rm -f ../../libxview/xshared/fmhlp_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmhlp_set.o ../../libxview/xshared/fmhlp_set.o + rm -f ../../libxview/xshared/fmhlp_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmhlp_get.o ../../libxview/xshared/fmhlp_get.o + rm -f ../../libxview/xshared/fmhlp_dsty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fmhlp_dsty.o ../../libxview/xshared/fmhlp_dsty.o + rm -f ../../libxview/xshared/fm_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_data.o ../../libxview/xshared/fm_data.o + rm -f ../../libxview/xshared/fm_rodata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame/shared/fm_rodata.o ../../libxview/xshared/fm_rodata.o ar ruv ../../libxview/libxview.a frame.o frame_init.o fm_get.o fm_set.o fm_destroy.o fm_layout.o fm_cmdline.o fm_display.o fm_win.o fm_geom.o fm_input.o fm_bdry.o frame_sw.o fm_rescale.o frame_base.o fmbs_set.o fmbs_get.o fmbs_dsty.o frame_cmd.o fmcmd_set.o fmcmd_get.o fmcmd_dsty.o frame_help.o fmhlp_set.o fmhlp_get.o fmhlp_dsty.o fm_data.o fm_rodata.o a - frame.o a - frame_init.o a - fm_get.o a - fm_set.o a - fm_destroy.o a - fm_layout.o a - fm_cmdline.o a - fm_display.o a - fm_win.o a - fm_geom.o a - fm_input.o a - fm_bdry.o a - frame_sw.o a - fm_rescale.o a - frame_base.o a - fmbs_set.o a - fmbs_get.o a - fmbs_dsty.o a - frame_cmd.o a - fmcmd_set.o a - fmcmd_get.o a - fmcmd_dsty.o a - frame_help.o a - fmhlp_set.o a - fmhlp_get.o a - fmhlp_dsty.o a - fm_data.o a - fm_rodata.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/frame' making all in lib/libxview/fullscreen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' rm -f fs.o shared/fs.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs.c -o shared/fs.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fs.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs.c: In function 'fullscreen_init_internal': fs.c:159:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fs.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs.c:173:5: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->cached_im, ^~~~~~~~~~~~~~~~ win_get_damage fs.c:205:16: warning: implicit declaration of function 'xv_win_grab'; did you mean 'xv_main_loop'? [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^~~~~~~~~~~ xv_main_loop fs.c:245:19: warning: implicit declaration of function 'xv_set_embedding_data' [-Wimplicit-function-declaration] *offset_ptr = xv_set_embedding_data((Xv_opaque)myfullscreenstruct, ^~~~~~~~~~~~~~~~~~~~~ fs.c:248:5: warning: implicit declaration of function 'server_set_fullscreen' [-Wimplicit-function-declaration] server_set_fullscreen(xv_get(xv_get(fullscreen->root_window, ^~~~~~~~~~~~~~~~~~~~~ fs.c: In function 'fullscreen_destroy_internal': fs.c:266:16: warning: implicit declaration of function 'xv_win_ungrab' [-Wimplicit-function-declaration] (void) xv_win_ungrab(fullscreen->input_window, ^~~~~~~~~~~~~ fs.c: In function 'fullscreen_update_globals': fs.c:320:32: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] fullscreendebug = (int)defaults_get_boolean("fullscreen.debug", ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs.c -o fs.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from fs.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs.c: In function 'fullscreen_init_internal': fs.c:159:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from fs.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs.c:173:5: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->cached_im, ^~~~~~~~~~~~~~~~ win_get_damage fs.c:205:16: warning: implicit declaration of function 'xv_win_grab'; did you mean 'xv_main_loop'? [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^~~~~~~~~~~ xv_main_loop fs.c:245:19: warning: implicit declaration of function 'xv_set_embedding_data' [-Wimplicit-function-declaration] *offset_ptr = xv_set_embedding_data((Xv_opaque)myfullscreenstruct, ^~~~~~~~~~~~~~~~~~~~~ fs.c:248:5: warning: implicit declaration of function 'server_set_fullscreen' [-Wimplicit-function-declaration] server_set_fullscreen(xv_get(xv_get(fullscreen->root_window, ^~~~~~~~~~~~~~~~~~~~~ fs.c: In function 'fullscreen_destroy_internal': fs.c:266:16: warning: implicit declaration of function 'xv_win_ungrab' [-Wimplicit-function-declaration] (void) xv_win_ungrab(fullscreen->input_window, ^~~~~~~~~~~~~ fs.c: In function 'fullscreen_update_globals': fs.c:320:32: warning: implicit declaration of function 'defaults_get_boolean' [-Wimplicit-function-declaration] fullscreendebug = (int)defaults_get_boolean("fullscreen.debug", ^~~~~~~~~~~~~~~~~~~~ rm -f fs_set.o shared/fs_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_set.c -o shared/fs_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_set.c: In function 'fullscreen_set_avlist': fs_set.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(fullscreen->input_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs_set.c:137:2: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->inputmask, ^~~~~~~~~~~~~~~~ win_get_damage fs_set.c:168:2: warning: implicit declaration of function 'win_set_grabio_params' [-Wimplicit-function-declaration] win_set_grabio_params(fullscreen->input_window, ^~~~~~~~~~~~~~~~~~~~~ fs_set.c:191:16: warning: implicit declaration of function 'xv_win_grab'; did you mean 'xv_main_loop'? [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^~~~~~~~~~~ xv_main_loop fs_set.c:278:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs_set.c:269:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (allow_sync_event) ^ fs_set.c:293:5: warning: 'allow_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] XAllowEvents(display, event_mode, CurrentTime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_set.c:36:45: note: 'allow_mode' was declared here int saw_allow_events_attr = FALSE, allow_mode; ^~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_set.c -o fs_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_set.c: In function 'fullscreen_set_avlist': fs_set.c:46:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(fullscreen->input_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs_set.c:137:2: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->inputmask, ^~~~~~~~~~~~~~~~ win_get_damage fs_set.c:168:2: warning: implicit declaration of function 'win_set_grabio_params' [-Wimplicit-function-declaration] win_set_grabio_params(fullscreen->input_window, ^~~~~~~~~~~~~~~~~~~~~ fs_set.c:191:16: warning: implicit declaration of function 'xv_win_grab'; did you mean 'xv_main_loop'? [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^~~~~~~~~~~ xv_main_loop fs_set.c:278:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from fs_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ fs_set.c:269:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (allow_sync_event) ^ fs_set.c:293:5: warning: 'allow_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] XAllowEvents(display, event_mode, CurrentTime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_set.c:36:45: note: 'allow_mode' was declared here int saw_allow_events_attr = FALSE, allow_mode; ^~~~~~~~~~ rm -f fs_get.o shared/fs_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_get.c -o shared/fs_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from fs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_get.c: In function 'fullscreen_get_attr': fs_get.c:76:6: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, ^~~~~~~~~~~~~~~~ win_get_damage fs_get.c:71:7: warning: case value '1226836673' not in enumerated type 'Fullscreen_attr' {aka 'enum '} [-Wswitch] case WIN_CURSOR: ^~~~ fs_get.c:74:7: warning: case value '1230244353' not in enumerated type 'Fullscreen_attr' {aka 'enum '} [-Wswitch] case WIN_INPUT_MASK: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_get.c -o fs_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from fs_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_get.c: In function 'fullscreen_get_attr': fs_get.c:76:6: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, ^~~~~~~~~~~~~~~~ win_get_damage fs_get.c:71:7: warning: case value '1226836673' not in enumerated type 'Fullscreen_attr' {aka 'enum '} [-Wswitch] case WIN_CURSOR: ^~~~ fs_get.c:74:7: warning: case value '1230244353' not in enumerated type 'Fullscreen_attr' {aka 'enum '} [-Wswitch] case WIN_INPUT_MASK: ^~~~ rm -f fs_compat.o shared/fs_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_compat.c -o shared/fs_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from ../../../build/include/xview/fullscreen.h:12, from fs_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_compat.c: In function 'fullscreen_set_cursor': fs_compat.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c: In function 'fullscreen_set_inputmask': fs_compat.c:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c: In function 'fullscreen_destroy': fs_compat.c:59:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_compat.c -o fs_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from ../../../build/include/xview/fullscreen.h:12, from fs_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fs_compat.c: In function 'fullscreen_set_cursor': fs_compat.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c: In function 'fullscreen_set_inputmask': fs_compat.c:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c: In function 'fullscreen_destroy': fs_compat.c:59:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f fs_data.o shared/fs_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_data.c -o shared/fs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/fs_impl.h:16, from fs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c fs_data.c -o fs_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/fs_impl.h:16, from fs_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/fs.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen/shared/fs.o ../../libxview/xshared/fs.o + rm -f ../../libxview/xshared/fs_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen/shared/fs_set.o ../../libxview/xshared/fs_set.o + rm -f ../../libxview/xshared/fs_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen/shared/fs_get.o ../../libxview/xshared/fs_get.o + rm -f ../../libxview/xshared/fs_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen/shared/fs_compat.o ../../libxview/xshared/fs_compat.o + rm -f ../../libxview/xshared/fs_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen/shared/fs_data.o ../../libxview/xshared/fs_data.o ar ruv ../../libxview/libxview.a fs.o fs_set.o fs_get.o fs_compat.o fs_data.o a - fs.o a - fs_set.o a - fs_get.o a - fs_compat.o a - fs_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/fullscreen' making all in lib/libxview/help... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' rm -f help.o shared/help.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c help.c -o shared/help.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ help.c: In function 'help_frame_destroy_proc': help.c:206:25: warning: assignment to 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_image = NULL; ^ help.c:208:28: warning: assignment to 'Frame' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_frame = NULL; ^ help.c: In function 'xv_help_save_image': help.c:230:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:247:24: warning: assignment to 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_image = NULL; ^ help.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:287:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c: In function 'xv_help_render': help.c:347:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:397:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] SPRINTF(client_name,"%s: Help",client_name); ^~~~~~~~~~~ ~~~~~~~~~~~ help.c:508:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(mglass_panel, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:509:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_stencil_image, stencil_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:510:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_image, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:527:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:397:28: warning: ': Help' directive writing 6 bytes into a region of size between 1 and 80 [-Wformat-overflow=] SPRINTF(client_name,"%s: Help",client_name); ^~~~~~ In file included from /usr/include/stdio.h:862, from help.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 80 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/xview_xvin.h:41, from ../../../build/include/xview/xview.h:18, from help.c:16: ../../../build/include/xview/pkg_public.h:87:20: warning: 'mglass_panel' may be used uninitialized in this function [-Wmaybe-uninitialized] _object = (((Xv_base *)_passed_object)->seal == XV_OBJECT_SEAL) ? _passed_object : xv_object_to_standard(_passed_object, _caller);\ ^ help.c:312:15: note: 'mglass_panel' was declared here Panel mglass_panel; /* magnifying glass Panel */ ^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c help.c -o help.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ help.c: In function 'help_frame_destroy_proc': help.c:206:25: warning: assignment to 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_image = NULL; ^ help.c:208:28: warning: assignment to 'Frame' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_frame = NULL; ^ help.c: In function 'xv_help_save_image': help.c:230:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:247:24: warning: assignment to 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_info->help_image = NULL; ^ help.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:287:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c: In function 'xv_help_render': help.c:347:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:397:13: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] SPRINTF(client_name,"%s: Help",client_name); ^~~~~~~~~~~ ~~~~~~~~~~~ help.c:508:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(mglass_panel, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:509:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_stencil_image, stencil_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:510:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_image, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:527:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from help.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ help.c:397:28: warning: ': Help' directive writing 6 bytes into a region of size between 1 and 80 [-Wformat-overflow=] SPRINTF(client_name,"%s: Help",client_name); ^~~~~~ In file included from /usr/include/stdio.h:862, from help.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 86 bytes into a destination of size 80 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/xview_xvin.h:41, from ../../../build/include/xview/xview.h:18, from help.c:16: ../../../build/include/xview/pkg_public.h:87:20: warning: 'mglass_panel' may be used uninitialized in this function [-Wmaybe-uninitialized] _object = (((Xv_base *)_passed_object)->seal == XV_OBJECT_SEAL) ? _passed_object : xv_object_to_standard(_passed_object, _caller);\ ^ help.c:312:15: note: 'mglass_panel' was declared here Panel mglass_panel; /* magnifying glass Panel */ ^~~~~~~~~~~~ rm -f help_file.o shared/help_file.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c help_file.c -o shared/help_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help_file.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ help_file.c: In function 'help_search_file': help_file.c:48:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = fgets(help_buffer, sizeof(help_buffer), help_file)) ^~~~~ help_file.c: In function 'xv_help_find_file': help_file.c:120:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (helpdir=xv_strtok(NULL, ":")); ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c help_file.c -o help_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from help_file.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ help_file.c: In function 'help_search_file': help_file.c:48:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = fgets(help_buffer, sizeof(help_buffer), help_file)) ^~~~~ help_file.c: In function 'xv_help_find_file': help_file.c:120:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (helpdir=xv_strtok(NULL, ":")); ^~~~~~~ rm -f hlp_rodata.o shared/hlp_rodata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hlp_rodata.c -o shared/hlp_rodata.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from hlp_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hlp_rodata.c -o hlp_rodata.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from hlp_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/help.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help/shared/help.o ../../libxview/xshared/help.o + rm -f ../../libxview/xshared/help_file.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help/shared/help_file.o ../../libxview/xshared/help_file.o + rm -f ../../libxview/xshared/hlp_rodata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help/shared/hlp_rodata.o ../../libxview/xshared/hlp_rodata.o ar ruv ../../libxview/libxview.a help.o help_file.o hlp_rodata.o a - help.o a - help_file.o a - hlp_rodata.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/help' making all in lib/libxview/icon... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' rm -f icon.o shared/icon.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon.c -o shared/icon.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon.c: In function 'icon_display': icon.c:53:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:46:33: warning: unused variable 'frame_bkgrd' [-Wunused-variable] extern Pixrect *frame_bkgrd; ^~~~~~~~~~~ icon.c: In function 'DrawString': icon.c:235:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'FillRect': icon.c:267:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'DrawTransparentIcon': icon.c:296:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:301:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'DrawNonRectIcon': icon.c:334:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mask, mask_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:351:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:363:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:374:7: warning: implicit declaration of function 'xv_rop_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] if ( xv_rop_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^~~~~~~~~~~~~~~ icon_get_internal icon.c:378:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_STRING, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:383:6: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] if (xv_rop_mpr_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^~~~~~~~~~~~~~~~~~~ icon_get_internal gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon.c -o icon.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon.c: In function 'icon_display': icon.c:53:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:46:33: warning: unused variable 'frame_bkgrd' [-Wunused-variable] extern Pixrect *frame_bkgrd; ^~~~~~~~~~~ icon.c: In function 'DrawString': icon.c:235:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'FillRect': icon.c:267:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'DrawTransparentIcon': icon.c:296:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:301:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c: In function 'DrawNonRectIcon': icon.c:334:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mask, mask_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:351:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:363:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:374:7: warning: implicit declaration of function 'xv_rop_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] if ( xv_rop_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^~~~~~~~~~~~~~~ icon_get_internal icon.c:378:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_STRING, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon.c:383:6: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] if (xv_rop_mpr_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^~~~~~~~~~~~~~~~~~~ icon_get_internal rm -f icon_obj.o shared/icon_obj.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_obj.c -o shared/icon_obj.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_obj.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon_obj.c: In function 'icon_create': icon_obj.c:67:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ icon_obj.c:69:36: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] return (Icon) xv_create_avlist(NULL, ICON, avlist); ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c: At top level: icon_obj.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] icon_destroy(icon_public) ^~~~~~~~~~~~ icon_obj.c: In function 'icon_set_internal': icon_obj.c:337:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon->frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c: In function 'icon_set_wrk_space_color': icon_obj.c:454:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( icon_public, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:466:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:471:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:459:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( strlen( color_name ) ) ^ icon_obj.c: In function 'icon_destroy': icon_obj.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_obj.c -o icon_obj.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_obj.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon_obj.c: In function 'icon_create': icon_obj.c:67:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ icon_obj.c:69:36: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] return (Icon) xv_create_avlist(NULL, ICON, avlist); ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c: At top level: icon_obj.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] icon_destroy(icon_public) ^~~~~~~~~~~~ icon_obj.c: In function 'icon_set_internal': icon_obj.c:337:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon->frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c: In function 'icon_set_wrk_space_color': icon_obj.c:454:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO( icon_public, info ); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:466:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:471:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_obj.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_obj.c:459:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( strlen( color_name ) ) ^ icon_obj.c: In function 'icon_destroy': icon_obj.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f icon_load.o shared/icon_load.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_load.c -o shared/icon_load.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_load.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon_load.c: In function 'icon_open_header': icon_load.c:48:19: warning: comparison with string literal results in unspecified behavior [-Waddress] if (from_file == "" || ^~ icon_load.c: In function 'icon_read_pr': icon_load.c:199:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_load.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_load.c:208:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ icon_load.c: In function 'icon_load_svrim': icon_load.c:253:9: warning: returning 'void *' from a function with return type 'Server_image' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ icon_load.c:275:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(result, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_load.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_load.c:280:5: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] xv_rop_mpr_internal(display, xv_xid(info), gc, ^~~~~~~~~~~~~~~~~~~ icon_get_internal icon_load.c: In function 'icon_init_from_pr': icon_load.c:311:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ icon_load.c: In function 'icon_load_svrim': icon_load.c:286:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return (result); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_load.c -o icon_load.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_load.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ icon_load.c: In function 'icon_open_header': icon_load.c:48:19: warning: comparison with string literal results in unspecified behavior [-Waddress] if (from_file == "" || ^~ icon_load.c: In function 'icon_read_pr': icon_load.c:199:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_load.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_load.c:208:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ icon_load.c: In function 'icon_load_svrim': icon_load.c:253:9: warning: returning 'void *' from a function with return type 'Server_image' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ icon_load.c:275:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(result, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from icon_load.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ icon_load.c:280:5: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'icon_get_internal'? [-Wimplicit-function-declaration] xv_rop_mpr_internal(display, xv_xid(info), gc, ^~~~~~~~~~~~~~~~~~~ icon_get_internal icon_load.c: In function 'icon_init_from_pr': icon_load.c:311:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ icon_load.c: In function 'icon_load_svrim': icon_load.c:286:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return (result); ^ rm -f icon_input.o shared/icon_input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_input.c -o shared/icon_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_input.c -o icon_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from icon_input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f icon_data.o shared/icon_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_data.c -o shared/icon_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/icon.h:18, from ../../../build/include/xview_private/icon_impl.h:15, from icon_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c icon_data.c -o icon_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/icon.h:18, from ../../../build/include/xview_private/icon_impl.h:15, from icon_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/icon.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon/shared/icon.o ../../libxview/xshared/icon.o + rm -f ../../libxview/xshared/icon_obj.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon/shared/icon_obj.o ../../libxview/xshared/icon_obj.o + rm -f ../../libxview/xshared/icon_load.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon/shared/icon_load.o ../../libxview/xshared/icon_load.o + rm -f ../../libxview/xshared/icon_input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon/shared/icon_input.o ../../libxview/xshared/icon_input.o + rm -f ../../libxview/xshared/icon_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon/shared/icon_data.o ../../libxview/xshared/icon_data.o ar ruv ../../libxview/libxview.a icon.o icon_obj.o icon_load.o icon_input.o icon_data.o a - icon.o a - icon_obj.o a - icon_load.o a - icon_input.o a - icon_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/icon' making all in lib/libxview/io_stream... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' rm -f input.o shared/input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c input.c -o shared/input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c input.c -o input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from input.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f output.o shared/output.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c output.c -o shared/output.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from output.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ output.c: In function 'stream_putc': output.c:37:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ output.c: In function 'stream_putstring': output.c:65:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ output.c: In function 'stream_flush': output.c:84:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c output.c -o output.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from output.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ output.c: In function 'stream_putc': output.c:37:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ output.c: In function 'stream_putstring': output.c:65:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ output.c: In function 'stream_flush': output.c:84:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from output.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f io.o shared/io.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c io.c -o shared/io.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from io.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c io.c -o io.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from io.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f str_strms.o shared/str_strms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c str_strms.c -o shared/str_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ str_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ str_strms.c: In function 'string_input_stream': str_strms.c:122:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c:133:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c: At top level: str_strms.c:154:1: warning: useless storage class specifier in empty declaration }; ^ str_strms.c: In function 'string_output_stream': str_strms.c:216:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c:227:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c str_strms.c -o str_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ str_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ str_strms.c: In function 'string_input_stream': str_strms.c:122:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c:133:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c: At top level: str_strms.c:154:1: warning: useless storage class specifier in empty declaration }; ^ str_strms.c: In function 'string_output_stream': str_strms.c:216:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ str_strms.c:227:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from str_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f file_strms.o shared/file_strms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_strms.c -o shared/file_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ file_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ file_strms.c: In function 'xv_file_input_stream': file_strms.c:133:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c:144:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c: At top level: file_strms.c:162:1: warning: useless storage class specifier in empty declaration }; ^ file_strms.c: In function 'xv_file_output_stream': file_strms.c:240:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c:251:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c file_strms.c -o file_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ file_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ file_strms.c: In function 'xv_file_input_stream': file_strms.c:133:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c:144:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c: At top level: file_strms.c:162:1: warning: useless storage class specifier in empty declaration }; ^ file_strms.c: In function 'xv_file_output_stream': file_strms.c:240:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ file_strms.c:251:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/xv_error.h:18, from file_strms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f othr_strms.o shared/othr_strms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c othr_strms.c -o shared/othr_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from othr_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ othr_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c othr_strms.c -o othr_strms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/xv_error.h:18, from othr_strms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ othr_strms.c:23:1: warning: useless storage class specifier in empty declaration }; ^ + rm -f ../../libxview/xshared/input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/input.o ../../libxview/xshared/input.o + rm -f ../../libxview/xshared/output.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/output.o ../../libxview/xshared/output.o + rm -f ../../libxview/xshared/io.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/io.o ../../libxview/xshared/io.o + rm -f ../../libxview/xshared/str_strms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/str_strms.o ../../libxview/xshared/str_strms.o + rm -f ../../libxview/xshared/file_strms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/file_strms.o ../../libxview/xshared/file_strms.o + rm -f ../../libxview/xshared/othr_strms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream/shared/othr_strms.o ../../libxview/xshared/othr_strms.o ar ruv ../../libxview/libxview.a input.o output.o io.o str_strms.o file_strms.o othr_strms.o a - input.o a - output.o a - io.o a - str_strms.o a - file_strms.o a - othr_strms.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/io_stream' making all in lib/libxview/menu... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' rm -f omi.o shared/omi.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c omi.c -o shared/omi.o In file included from /usr/include/sys/types.h:25, from omi.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ omi.c: In function 'menu_image_compute_size': omi.c:90:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from omi.c:33: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ omi.c:55:42: warning: variable 'right_margin' set but not used [-Wunused-but-set-variable] int margin, left_margin, right_margin; ^~~~~~~~~~~~ omi.c:55:29: warning: variable 'left_margin' set but not used [-Wunused-but-set-variable] int margin, left_margin, right_margin; ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c omi.c -o omi.o In file included from /usr/include/sys/types.h:25, from omi.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ omi.c: In function 'menu_image_compute_size': omi.c:90:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from omi.c:33: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ omi.c:55:42: warning: variable 'right_margin' set but not used [-Wunused-but-set-variable] int margin, left_margin, right_margin; ^~~~~~~~~~~~ omi.c:55:29: warning: variable 'left_margin' set but not used [-Wunused-but-set-variable] int margin, left_margin, right_margin; ^~~~~~~~~~~ rm -f om_public.o shared/om_public.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_public.c -o shared/om_public.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from om_public.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_public.c: In function 'menu_show': om_public.c:208:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_done': om_public.c:359:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->group_info->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_create_internal': om_public.c:448:35: warning: assignment to 'Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m_cache->default_image.bold_font = NULL; ^ om_public.c:449:30: warning: assignment to 'Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m_cache->default_image.font = NULL; ^ om_public.c: In function 'menu_return_result': om_public.c:614:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m_gen_proc = menu->gen_proc) { ^~~~~~~~~~ om_public.c:679:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mi_gen_proc = mi->gen_proc) { ^~~~~~~~~~~ om_public.c: In function 'menu_pullright_return_result': om_public.c:720:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:723:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:729:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) { ^~~~~~~~ om_public.c: In function 'menu_pkg_find': om_public.c:863:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:872:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = m_base->gen_proc) { ^~~~~~~~ om_public.c:880:13: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:889:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_item_proc = mi->gen_proc) { ^~~~~~~~~~~~~ om_public.c:913:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] correct = !mi->no_feedback == (unsigned) attrs[1]; ^~ om_public.c:913:13: note: add parentheses around left hand side expression to silence this warning correct = !mi->no_feedback == (unsigned) attrs[1]; ^~~~~~~~~~~~~~~~ ( ) om_public.c:991:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mi->pullright) ^ om_public.c:1020:38: warning: pointer/integer type mismatch in conditional expression return mi ? MENU_ITEM_PUBLIC(mi) : NULL; ^ om_public.c:1020:38: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return mi ? MENU_ITEM_PUBLIC(mi) : NULL; ^ om_public.c: In function 'menu_create_pin_panel_items': om_public.c:1227:34: warning: initialization of 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Panel_item choice_item = NULL; /* choice or toggle item */ ^~~~ om_public.c:1368:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_create_pin_window': om_public.c:1471:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(menu->group_info->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_accelerator_notify_proc': om_public.c:1733:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mi_gen_proc = menu_item_private->gen_proc) { ^~~~~~~~~~~ om_public.c:1779:6: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] menu_private->done_proc(menu, result); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_public.c -o om_public.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from om_public.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_public.c: In function 'menu_show': om_public.c:208:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_done': om_public.c:359:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->group_info->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_create_internal': om_public.c:448:35: warning: assignment to 'Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m_cache->default_image.bold_font = NULL; ^ om_public.c:449:30: warning: assignment to 'Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m_cache->default_image.font = NULL; ^ om_public.c: In function 'menu_return_result': om_public.c:614:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m_gen_proc = menu->gen_proc) { ^~~~~~~~~~ om_public.c:679:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mi_gen_proc = mi->gen_proc) { ^~~~~~~~~~~ om_public.c: In function 'menu_pullright_return_result': om_public.c:720:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:723:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:729:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) { ^~~~~~~~ om_public.c: In function 'menu_pkg_find': om_public.c:863:9: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:872:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = m_base->gen_proc) { ^~~~~~~~ om_public.c:880:13: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ om_public.c:889:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_item_proc = mi->gen_proc) { ^~~~~~~~~~~~~ om_public.c:913:30: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] correct = !mi->no_feedback == (unsigned) attrs[1]; ^~ om_public.c:913:13: note: add parentheses around left hand side expression to silence this warning correct = !mi->no_feedback == (unsigned) attrs[1]; ^~~~~~~~~~~~~~~~ ( ) om_public.c:991:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mi->pullright) ^ om_public.c:1020:38: warning: pointer/integer type mismatch in conditional expression return mi ? MENU_ITEM_PUBLIC(mi) : NULL; ^ om_public.c:1020:38: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return mi ? MENU_ITEM_PUBLIC(mi) : NULL; ^ om_public.c: In function 'menu_create_pin_panel_items': om_public.c:1227:34: warning: initialization of 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Panel_item choice_item = NULL; /* choice or toggle item */ ^~~~ om_public.c:1368:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_create_pin_window': om_public.c:1471:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(menu->group_info->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from om_public.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_public.c: In function 'menu_accelerator_notify_proc': om_public.c:1733:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mi_gen_proc = menu_item_private->gen_proc) { ^~~~~~~~~~~ om_public.c:1779:6: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] menu_private->done_proc(menu, result); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f om_render.o shared/om_render.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_render.c -o shared/om_render.o In file included from /usr/include/sys/types.h:25, from om_render.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_render.c: In function 'menu_render': om_render.c:185:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, root_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:199:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = menu->gen_proc) { ^~~~~~~~ om_render.c:201:15: warning: comparison between pointer and integer if (gen_menu == NULL) { ^~ om_render.c:238:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(group->client_window, client_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:291:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, menu_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:362:5: warning: enumeration value 'MENU_COMMAND' not handled in switch [-Wswitch] switch (m->class) { ^~~~~~ om_render.c:498:9: warning: implicit declaration of function 'window_set_tree_flag'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_tree_flag(m->window, NULL, FALSE, TRUE); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect om_render.c: In function 'process_event': om_render.c:832:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (match_char >= 'A' && match_char <= 'Z' || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ om_render.c:873:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:935:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1026:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m->item_list[newitem - 1]->toggle_on = ^ om_render.c:1173:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'cleanup': om_render.c:1229:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1240:16: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->window = NULL; ^ om_render.c:1246:23: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->shadow_window = NULL; ^ om_render.c: In function 'compute_item_size': om_render.c:1328:8: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^~~ om_render.c: In function 'render_pullright': om_render.c:1796:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) { ^~~~~~~~ om_render.c: In function 'submenu_done': om_render.c:1853:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) ^~~~~~~~ om_render.c:1864:5: warning: enumeration value 'MENU_STATUS_BUSY' not handled in switch [-Wswitch] switch (m->status) { ^~~~~~ om_render.c: In function 'paint_menu_item': om_render.c:1934:19: warning: comparison between pointer and integer if (m->window == NULL) ^~ om_render.c:1937:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1931:15: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^~~ om_render.c: In function 'menu_window_paint': om_render.c:2360:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'menu_shadow_paint': om_render.c:2498:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:2516:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'menu_client_window_event_proc': om_render.c:2677:13: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_item = NULL; /* inside the menu, but not no menu items */ ^ om_render.c:2713:6: warning: implicit declaration of function 'xv_help_save_image'; did you mean 'xv_set_image'? [-Wimplicit-function-declaration] xv_help_save_image(m->window, client_width, client_height, ^~~~~~~~~~~~~~~~~~ xv_set_image om_render.c:2719:9: warning: implicit declaration of function 'xv_help_render'; did you mean 'menu_render'? [-Wimplicit-function-declaration] xv_help_render(client_window, help_data, event); ^~~~~~~~~~~~~~ menu_render om_render.c:2759:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (event_action(event) >= 'A' && event_action(event) <= 'Z' || om_render.c: In function 'paint_menu_item': om_render.c:2100:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(m->ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_render.c: In function 'menu_window_event_proc': om_render.c:2468:21: warning: 'on' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!mi->inactive && on) { ~~~~~~~~~~~~~~^~~~~ om_render.c:2333:15: note: 'on' was declared here int on; ^~ om_render.c:2474:10: warning: 'default_item' may be used uninitialized in this function [-Wmaybe-uninitialized] if (default_item) ^ om_render.c:2318:15: note: 'default_item' was declared here int default_item; ^~~~~~~~~~~~ om_render.c: In function 'compute_item_size': om_render.c:1290:21: warning: 'margin' may be used uninitialized in this function [-Wmaybe-uninitialized] int margin; ^~~~~~ om_render.c:1437:14: warning: 'im' may be used uninitialized in this function [-Wmaybe-uninitialized] im->height += 6; ~~~~~~~~~~~^~~~ om_render.c: In function 'process_event': om_render.c:845:18: warning: 'newitem' may be used uninitialized in this function [-Wmaybe-uninitialized] (keyboard_event && newitem)) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_render.c -o om_render.o In file included from /usr/include/sys/types.h:25, from om_render.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_render.c: In function 'menu_render': om_render.c:185:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, root_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:199:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = menu->gen_proc) { ^~~~~~~~ om_render.c:201:15: warning: comparison between pointer and integer if (gen_menu == NULL) { ^~ om_render.c:238:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(group->client_window, client_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:291:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, menu_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:362:5: warning: enumeration value 'MENU_COMMAND' not handled in switch [-Wswitch] switch (m->class) { ^~~~~~ om_render.c:498:9: warning: implicit declaration of function 'window_set_tree_flag'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_tree_flag(m->window, NULL, FALSE, TRUE); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect om_render.c: In function 'process_event': om_render.c:832:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (match_char >= 'A' && match_char <= 'Z' || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ om_render.c:873:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:935:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1026:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m->item_list[newitem - 1]->toggle_on = ^ om_render.c:1173:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'cleanup': om_render.c:1229:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1240:16: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->window = NULL; ^ om_render.c:1246:23: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->shadow_window = NULL; ^ om_render.c: In function 'compute_item_size': om_render.c:1328:8: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^~~ om_render.c: In function 'render_pullright': om_render.c:1796:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) { ^~~~~~~~ om_render.c: In function 'submenu_done': om_render.c:1853:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = mi->gen_pullright) ^~~~~~~~ om_render.c:1864:5: warning: enumeration value 'MENU_STATUS_BUSY' not handled in switch [-Wswitch] switch (m->status) { ^~~~~~ om_render.c: In function 'paint_menu_item': om_render.c:1934:19: warning: comparison between pointer and integer if (m->window == NULL) ^~ om_render.c:1937:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:1931:15: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^~~ om_render.c: In function 'menu_window_paint': om_render.c:2360:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'menu_shadow_paint': om_render.c:2498:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c:2516:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/rect.h:17, from om_render.c:28: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_render.c: In function 'menu_client_window_event_proc': om_render.c:2677:13: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] help_item = NULL; /* inside the menu, but not no menu items */ ^ om_render.c:2713:6: warning: implicit declaration of function 'xv_help_save_image'; did you mean 'xv_set_image'? [-Wimplicit-function-declaration] xv_help_save_image(m->window, client_width, client_height, ^~~~~~~~~~~~~~~~~~ xv_set_image om_render.c:2719:9: warning: implicit declaration of function 'xv_help_render'; did you mean 'menu_render'? [-Wimplicit-function-declaration] xv_help_render(client_window, help_data, event); ^~~~~~~~~~~~~~ menu_render om_render.c:2759:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (event_action(event) >= 'A' && event_action(event) <= 'Z' || om_render.c: In function 'paint_menu_item': om_render.c:2100:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(m->ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_render.c: In function 'menu_window_event_proc': om_render.c:2468:21: warning: 'on' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!mi->inactive && on) { ~~~~~~~~~~~~~~^~~~~ om_render.c:2333:15: note: 'on' was declared here int on; ^~ om_render.c:2474:10: warning: 'default_item' may be used uninitialized in this function [-Wmaybe-uninitialized] if (default_item) ^ om_render.c:2318:15: note: 'default_item' was declared here int default_item; ^~~~~~~~~~~~ om_render.c: In function 'compute_item_size': om_render.c:1290:21: warning: 'margin' may be used uninitialized in this function [-Wmaybe-uninitialized] int margin; ^~~~~~ om_render.c:1437:14: warning: 'im' may be used uninitialized in this function [-Wmaybe-uninitialized] im->height += 6; ~~~~~~~~~~~^~~~ om_render.c: In function 'process_event': om_render.c:845:18: warning: 'newitem' may be used uninitialized in this function [-Wmaybe-uninitialized] (keyboard_event && newitem)) { ^~ rm -f om_set.o shared/om_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_set.c -o shared/om_set.o In file included from /usr/include/sys/types.h:25, from om_set.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_set.c: In function 'menu_sets': om_set.c:119:31: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems++] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:131:45: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems++] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:312:30: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:359:29: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE(xv_create_avlist( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:442:10: warning: implicit declaration of function 'compute_item_size' [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^~~~~~~~~~~~~~~~~ om_set.c:549:30: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:567:51: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: om_set.c:572:58: warning: operation on 'a' may be undefined [-Wsequence-point] *a++, *a++, 0)); ~^~ ../../../build/include/xview/pkg.h:54:37: note: in definition of macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^~~ om_set.c:567:51: note: in expansion of macro 'MENU_ITEM_PRIVATE' m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ om_set.c:572:58: warning: operation on 'a' may be undefined [-Wsequence-point] *a++, *a++, 0)); ~^~ ../../../build/include/xview/pkg.h:54:37: note: in definition of macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^~~ om_set.c:567:51: note: in expansion of macro 'MENU_ITEM_PRIVATE' m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ om_set.c:634:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:643:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_item_sets': om_set.c:1173:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1188:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1227:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1313:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_destroys': om_set.c:1390:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1395:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->shadow_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_set_pin_window': om_set.c:1469:13: warning: implicit declaration of function 'window_set_tree_flag'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_tree_flag(m->pin_window, NULL, FALSE, TRUE); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect om_set.c: In function 'lookup': om_set.c:1563:1: warning: type of 'len' defaults to 'int' [-Wimplicit-int] lookup(il, len, mi) ^~~~~~ om_set.c: In function 'menu_create_title': om_set.c:1589:24: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_item = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'destroy_panel_item_handles': om_set.c:1626:41: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->item_list[i]->panel_item_handle = NULL; ^ om_set.c: In function 'menu_set_acc_on_frame': om_set.c:1720:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1720:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1780:53: warning: variable 'mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *dup_mi, *mi; ^~ om_set.c:1780:44: warning: variable 'dup_mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *dup_mi, *mi; ^~~~~~ om_set.c:1820:34: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ERROR_STRING, i18n_str, NULL); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1853:30: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ERROR_STRING, i18n_str, 0); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1861:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1861:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1878:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] menu_set_key_qual(menu, item, FALSE, (KeySym)NULL, (unsigned int)NULL, ^ om_set.c:1879:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (char *)NULL); ^ om_set.c:1653:28: warning: variable 'mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *mi; ^~ om_set.c:1652:9: warning: unused variable 'key_alloc' [-Wunused-variable] char *key_alloc; ^~~~~~~~~ om_set.c:1651:8: warning: unused variable 'key_str' [-Wunused-variable] char key_str[20]; ^~~~~~~ om_set.c: In function 'menu_set_key_qual': om_set.c:1906:13: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] if (isascii((int)keysym)) { ^~~~~~~ om_set.c:1912:17: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] if (isalpha((int)keysym)) { ^~~~~~~ om_set.c:1913:40: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] sprintf(key_str, "%c", islower((int)keysym) ? ^~~~~~~ om_set.c:1914:17: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] toupper((char)(keysym)) : (char)(keysym)); ^~~~~~~ om_set.c:1947:13: warning: the address of 'key_str' will always evaluate as 'true' [-Waddress] if (key_str && strlen(key_str)) { ^~~~~~~ om_set.c:1897:24: warning: unused variable 'mi' [-Wunused-variable] Xv_menu_item_info *mi; ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_set.c -o om_set.o In file included from /usr/include/sys/types.h:25, from om_set.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_set.c: In function 'menu_sets': om_set.c:119:31: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems++] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:131:45: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems++] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:312:30: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:359:29: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE(xv_create_avlist( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:442:10: warning: implicit declaration of function 'compute_item_size' [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^~~~~~~~~~~~~~~~~ om_set.c:549:30: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:567:51: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: om_set.c:572:58: warning: operation on 'a' may be undefined [-Wsequence-point] *a++, *a++, 0)); ~^~ ../../../build/include/xview/pkg.h:54:37: note: in definition of macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^~~ om_set.c:567:51: note: in expansion of macro 'MENU_ITEM_PRIVATE' m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ om_set.c:572:58: warning: operation on 'a' may be undefined [-Wsequence-point] *a++, *a++, 0)); ~^~ ../../../build/include/xview/pkg.h:54:37: note: in definition of macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^~~ om_set.c:567:51: note: in expansion of macro 'MENU_ITEM_PRIVATE' m->item_list[m->nitems] = MENU_ITEM_PRIVATE( ^~~~~~~~~~~~~~~~~ om_set.c:634:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:643:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_item_sets': om_set.c:1173:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1188:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1227:32: warning: comparison between pointer and integer mi->pullright = mi->value != NULL; ^~ om_set.c:1313:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_destroys': om_set.c:1390:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1395:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(m->shadow_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'menu_set_pin_window': om_set.c:1469:13: warning: implicit declaration of function 'window_set_tree_flag'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_tree_flag(m->pin_window, NULL, FALSE, TRUE); ^~~~~~~~~~~~~~~~~~~~ window_set_cache_rect om_set.c: In function 'lookup': om_set.c:1563:1: warning: type of 'len' defaults to 'int' [-Wimplicit-int] lookup(il, len, mi) ^~~~~~ om_set.c: In function 'menu_create_title': om_set.c:1589:24: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_item = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c: In function 'destroy_panel_item_handles': om_set.c:1626:41: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] m->item_list[i]->panel_item_handle = NULL; ^ om_set.c: In function 'menu_set_acc_on_frame': om_set.c:1720:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1720:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1780:53: warning: variable 'mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *dup_mi, *mi; ^~ om_set.c:1780:44: warning: variable 'dup_mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *dup_mi, *mi; ^~~~~~ om_set.c:1820:34: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ERROR_STRING, i18n_str, NULL); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1853:30: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ERROR_STRING, i18n_str, 0); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_set.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_set.c:1861:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1861:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (unsigned int)NULL, ^ om_set.c:1878:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] menu_set_key_qual(menu, item, FALSE, (KeySym)NULL, (unsigned int)NULL, ^ om_set.c:1879:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)NULL, (char *)NULL); ^ om_set.c:1653:28: warning: variable 'mi' set but not used [-Wunused-but-set-variable] Xv_menu_item_info *mi; ^~ om_set.c:1652:9: warning: unused variable 'key_alloc' [-Wunused-variable] char *key_alloc; ^~~~~~~~~ om_set.c:1651:8: warning: unused variable 'key_str' [-Wunused-variable] char key_str[20]; ^~~~~~~ om_set.c: In function 'menu_set_key_qual': om_set.c:1906:13: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] if (isascii((int)keysym)) { ^~~~~~~ om_set.c:1912:17: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] if (isalpha((int)keysym)) { ^~~~~~~ om_set.c:1913:40: warning: implicit declaration of function 'islower' [-Wimplicit-function-declaration] sprintf(key_str, "%c", islower((int)keysym) ? ^~~~~~~ om_set.c:1914:17: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] toupper((char)(keysym)) : (char)(keysym)); ^~~~~~~ om_set.c:1947:13: warning: the address of 'key_str' will always evaluate as 'true' [-Waddress] if (key_str && strlen(key_str)) { ^~~~~~~ om_set.c:1897:24: warning: unused variable 'mi' [-Wunused-variable] Xv_menu_item_info *mi; ^~ rm -f om_get.o shared/om_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_get.c -o shared/om_get.o In file included from /usr/include/sys/types.h:25, from om_get.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_get.c: In function 'menu_gets': om_get.c:42:25: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque v = NULL; ^~~~ om_get.c:71:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = NULL; ^ om_get.c:112:63: warning: pointer/integer type mismatch in conditional expression v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ om_get.c:112:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ om_get.c:116:62: warning: pointer/integer type mismatch in conditional expression v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ om_get.c:116:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ om_get.c: In function 'menu_item_gets': om_get.c:201:25: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque v = NULL; ^~~~ om_get.c:215:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = NULL; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_get.c -o om_get.o In file included from /usr/include/sys/types.h:25, from om_get.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_get.c: In function 'menu_gets': om_get.c:42:25: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque v = NULL; ^~~~ om_get.c:71:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = NULL; ^ om_get.c:112:63: warning: pointer/integer type mismatch in conditional expression v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ om_get.c:112:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ om_get.c:116:62: warning: pointer/integer type mismatch in conditional expression v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ om_get.c:116:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ om_get.c: In function 'menu_item_gets': om_get.c:201:25: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque v = NULL; ^~~~ om_get.c:215:4: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] v = NULL; ^ rm -f om_compat.o shared/om_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_compat.c -o shared/om_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_compat.c: In function 'menu_create': om_compat.c:45:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ om_compat.c:47:36: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] menu = (Menu) xv_create_avlist(NULL, MENU, avlist); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_compat.c: In function 'menu_create_item': om_compat.c:70:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ om_compat.c:72:41: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] return (Menu_item) xv_create_avlist(NULL, MENUITEM, avlist); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_compat.c -o om_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ om_compat.c: In function 'menu_create': om_compat.c:45:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ om_compat.c:47:36: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] menu = (Menu) xv_create_avlist(NULL, MENU, avlist); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ om_compat.c: In function 'menu_create_item': om_compat.c:70:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ om_compat.c:72:41: warning: passing argument 1 of 'xv_create_avlist' makes integer from pointer without a cast [-Wint-conversion] return (Menu_item) xv_create_avlist(NULL, MENUITEM, avlist); ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from ../../../build/include/xview_private/om_impl.h:12, from om_compat.c:19: ../../../build/include/xview/pkg.h:95:57: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f om_data.o shared/om_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_data.c -o shared/om_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from om_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c om_data.c -o om_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/openmenu.h:17, from om_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/omi.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/omi.o ../../libxview/xshared/omi.o + rm -f ../../libxview/xshared/om_public.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_public.o ../../libxview/xshared/om_public.o + rm -f ../../libxview/xshared/om_render.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_render.o ../../libxview/xshared/om_render.o + rm -f ../../libxview/xshared/om_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_set.o ../../libxview/xshared/om_set.o + rm -f ../../libxview/xshared/om_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_get.o ../../libxview/xshared/om_get.o + rm -f ../../libxview/xshared/om_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_compat.o ../../libxview/xshared/om_compat.o + rm -f ../../libxview/xshared/om_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu/shared/om_data.o ../../libxview/xshared/om_data.o ar ruv ../../libxview/libxview.a omi.o om_public.o om_render.o om_set.o om_get.o om_compat.o om_data.o a - omi.o a - om_public.o a - om_render.o a - om_set.o a - om_get.o a - om_compat.o a - om_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/menu' making all in lib/libxview/misc... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' rm -f demorandom.o shared/demorandom.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c demorandom.c -o shared/demorandom.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from demorandom.c:8: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ demorandom.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] demo_random() ^~~~~~~~~~~ demorandom.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_initrandom(r) ^~~~~~~~~~~~~ demorandom.c: In function 'xv_initrandom': demorandom.c:51:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] demorandom.c:53:21: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ demorandom.c: At top level: demorandom.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_random(i, j) ^~~~~~~~~ demorandom.c: In function 'xv_random': demorandom.c:58:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int] demorandom.c:58:1: warning: type of 'j' defaults to 'int' [-Wimplicit-int] demorandom.c: At top level: demorandom.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_sqroot(a) ^~~~~~~~~ demorandom.c: In function 'xv_sqroot': demorandom.c:68:21: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] register a; ^ demorandom.c:70:21: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] register x, y; ^ demorandom.c:70:24: warning: type defaults to 'int' in declaration of 'y' [-Wimplicit-int] register x, y; ^ demorandom.c: In function 'xv_initrandom': demorandom.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c demorandom.c -o demorandom.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from demorandom.c:8: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ demorandom.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] demo_random() ^~~~~~~~~~~ demorandom.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_initrandom(r) ^~~~~~~~~~~~~ demorandom.c: In function 'xv_initrandom': demorandom.c:51:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] demorandom.c:53:21: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ demorandom.c: At top level: demorandom.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_random(i, j) ^~~~~~~~~ demorandom.c: In function 'xv_random': demorandom.c:58:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int] demorandom.c:58:1: warning: type of 'j' defaults to 'int' [-Wimplicit-int] demorandom.c: At top level: demorandom.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_sqroot(a) ^~~~~~~~~ demorandom.c: In function 'xv_sqroot': demorandom.c:68:21: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] register a; ^ demorandom.c:70:21: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] register x, y; ^ demorandom.c:70:24: warning: type defaults to 'int' in declaration of 'y' [-Wimplicit-int] register x, y; ^ demorandom.c: In function 'xv_initrandom': demorandom.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f getlogindr.o shared/getlogindr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c getlogindr.c -o shared/getlogindr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from getlogindr.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ getlogindr.c: In function 'xv_getlogindir': getlogindr.c:38:23: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] passwdent = getpwuid(getuid()); ^~~~~~ getpwuid getlogindr.c:42:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from getlogindr.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ getlogindr.c:49:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from getlogindr.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c getlogindr.c -o getlogindr.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from getlogindr.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ getlogindr.c: In function 'xv_getlogindir': getlogindr.c:38:23: warning: implicit declaration of function 'getuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] passwdent = getpwuid(getuid()); ^~~~~~ getpwuid getlogindr.c:42:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from getlogindr.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ getlogindr.c:49:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from getlogindr.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f expandname.o shared/expandname.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c expandname.c -o shared/expandname.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from expandname.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ expandname.c: In function 'xv_expand_name': expandname.c:85:10: warning: implicit declaration of function 'xv_anyof'; did you mean 'xv_alloc'? [-Wimplicit-function-declaration] if (!xv_anyof(name, "~{[*?$`'\"\\")) ^~~~~~~~ xv_alloc expandname.c:103:2: warning: missing sentinel in function call [-Wformat=] execl(Shell, Shell, "-c", cmdbuf, 0); ^~~~~ expandname.c:132:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c:146:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: At top level: expandname.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_anyof(s1, s2) ^~~~~~~~ expandname.c: In function 'xv_anyof': expandname.c:167:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s2++) ^ expandname.c:169:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s1++) ^ expandname.c: In function 'xv_mk_0list': expandname.c:191:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'xv_mk_1list': expandname.c:213:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'makelist': expandname.c:250:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'xv_expand_name': expandname.c:100:9: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pivec[1]); ^~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c expandname.c -o expandname.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from expandname.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ expandname.c: In function 'xv_expand_name': expandname.c:85:10: warning: implicit declaration of function 'xv_anyof'; did you mean 'xv_alloc'? [-Wimplicit-function-declaration] if (!xv_anyof(name, "~{[*?$`'\"\\")) ^~~~~~~~ xv_alloc expandname.c:103:2: warning: missing sentinel in function call [-Wformat=] execl(Shell, Shell, "-c", cmdbuf, 0); ^~~~~ expandname.c:132:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c:146:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: At top level: expandname.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_anyof(s1, s2) ^~~~~~~~ expandname.c: In function 'xv_anyof': expandname.c:167:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s2++) ^ expandname.c:169:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s1++) ^ expandname.c: In function 'xv_mk_0list': expandname.c:191:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'xv_mk_1list': expandname.c:213:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'makelist': expandname.c:250:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from expandname.c:39: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ expandname.c: In function 'xv_expand_name': expandname.c:100:9: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup(pivec[1]); ^~~~~~~~~~~~~ rm -f expandpath.o shared/expandpath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c expandpath.c -o shared/expandpath.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from expandpath.c:32: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ expandpath.c: In function 'expand_path': expandpath.c:65:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s) { ^ expandpath.c:67:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*(d - 1) = *++s) { ^ expandpath.c:74:22: warning: type defaults to 'int' in declaration of 'braces' [-Wimplicit-int] register braces = *s == '{'; ^~~~~~ expandpath.c:76:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s) ^ expandpath.c:84:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (d = start - 1; *d++ = *value++;); ^ expandpath.c:97:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = getenv("HOME")) { ^ expandpath.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s++); ^ expandpath.c:123:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s++); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c expandpath.c -o expandpath.o In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from expandpath.c:32: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ expandpath.c: In function 'expand_path': expandpath.c:65:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s) { ^ expandpath.c:67:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*(d - 1) = *++s) { ^ expandpath.c:74:22: warning: type defaults to 'int' in declaration of 'braces' [-Wimplicit-int] register braces = *s == '{'; ^~~~~~ expandpath.c:76:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s) ^ expandpath.c:84:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (d = start - 1; *d++ = *value++;); ^ expandpath.c:97:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = getenv("HOME")) { ^ expandpath.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s++); ^ expandpath.c:123:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*d++ = *s++); ^ rm -f bitmask.o shared/bitmask.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c bitmask.c -o shared/bitmask.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from bitmask.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c bitmask.c -o bitmask.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from bitmask.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f hashfn.o shared/hashfn.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hashfn.c -o shared/hashfn.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/hashfn.h:16, from hashfn.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hashfn.c: In function 'hashfn_new_table': hashfn.c:36:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] h = (HashTable *) malloc(sizeof(HashTable)); ^~~~~~ hashfn.c:36:23: warning: incompatible implicit declaration of built-in function 'malloc' hashfn.c:36:23: note: include '' or provide a declaration of 'malloc' hashfn.c:20:1: +#include hashfn.c:36:23: h = (HashTable *) malloc(sizeof(HashTable)); ^~~~~~ hashfn.c: In function 'hashfn_dispose_table': hashfn.c:62:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(e->he_key); ^~~~ hashfn.c:62:6: warning: incompatible implicit declaration of built-in function 'free' hashfn.c:62:6: note: include '' or provide a declaration of 'free' hashfn.c:67:5: warning: incompatible implicit declaration of built-in function 'free' free(h->ht_table); ^~~~ hashfn.c:67:5: note: include '' or provide a declaration of 'free' hashfn.c: In function 'hashfn_install': hashfn.c:112:20: warning: incompatible implicit declaration of built-in function 'malloc' e = (HashEntry *) malloc(sizeof(HashEntry)); ^~~~~~ hashfn.c:112:20: note: include '' or provide a declaration of 'malloc' hashfn.c: In function 'hashfn_delete': hashfn.c:147:2: warning: incompatible implicit declaration of built-in function 'free' free(entry->he_key); /* note key pointer is freed */ ^~~~ hashfn.c:147:2: note: include '' or provide a declaration of 'free' gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c hashfn.c -o hashfn.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/hashfn.h:16, from hashfn.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ hashfn.c: In function 'hashfn_new_table': hashfn.c:36:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] h = (HashTable *) malloc(sizeof(HashTable)); ^~~~~~ hashfn.c:36:23: warning: incompatible implicit declaration of built-in function 'malloc' hashfn.c:36:23: note: include '' or provide a declaration of 'malloc' hashfn.c:20:1: +#include hashfn.c:36:23: h = (HashTable *) malloc(sizeof(HashTable)); ^~~~~~ hashfn.c: In function 'hashfn_dispose_table': hashfn.c:62:6: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(e->he_key); ^~~~ hashfn.c:62:6: warning: incompatible implicit declaration of built-in function 'free' hashfn.c:62:6: note: include '' or provide a declaration of 'free' hashfn.c:67:5: warning: incompatible implicit declaration of built-in function 'free' free(h->ht_table); ^~~~ hashfn.c:67:5: note: include '' or provide a declaration of 'free' hashfn.c: In function 'hashfn_install': hashfn.c:112:20: warning: incompatible implicit declaration of built-in function 'malloc' e = (HashEntry *) malloc(sizeof(HashEntry)); ^~~~~~ hashfn.c:112:20: note: include '' or provide a declaration of 'malloc' hashfn.c: In function 'hashfn_delete': hashfn.c:147:2: warning: incompatible implicit declaration of built-in function 'free' free(entry->he_key); /* note key pointer is freed */ ^~~~ hashfn.c:147:2: note: include '' or provide a declaration of 'free' rm -f db_conv.o shared/db_conv.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c db_conv.c -o shared/db_conv.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from db_conv.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ db_conv.c: In function 'db_cvt_string_to_bool': db_conv.c:95:11: warning: comparison between pointer and integer if (chr1 == NULL) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c db_conv.c -o db_conv.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from db_conv.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ db_conv.c: In function 'db_cvt_string_to_bool': db_conv.c:95:11: warning: comparison between pointer and integer if (chr1 == NULL) { ^~ rm -f gettext.o shared/gettext.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c gettext.c -o shared/gettext.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gettext.c:10: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gettext.c: In function 'lookupdefbind': gettext.c:84:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (chartmp = *bindptr++) { ^~~~~~~ gettext.c: In function 'bindtextdomain': gettext.c:145:9: warning: unused variable 'newlen' [-Wunused-variable] int newlen; ^~~~~~ gettext.c:143:11: warning: unused variable 'lastpath' [-Wunused-variable] char *lastpath; ^~~~~~~~ gettext.c: In function 'findtextdomain': gettext.c:225:11: warning: unused variable 'tmptr' [-Wunused-variable] char *tmptr; ^~~~~ gettext.c: In function 'gettext': gettext.c:280:7: warning: argument 'msg_id' doesn't match built-in prototype char *msg_id; ^~~~~~ gettext.c: In function 'dgettext': gettext.c:307:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] shunt = (int)getenv("SHUNT_GETTEXT"); ^ gettext.c:334:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (current_binding = findtextdomain(current_domain)) { ^~~~~~~~~~~~~~~ gettext.c:401:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose gettext.c:296:20: warning: unused variable 'openwinhome' [-Wunused-variable] char *msgptr, *openwinhome = NULL; ^~~~~~~~~~~ gettext.c:296:11: warning: unused variable 'msgptr' [-Wunused-variable] char *msgptr, *openwinhome = NULL; ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c gettext.c -o gettext.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from gettext.c:10: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gettext.c: In function 'lookupdefbind': gettext.c:84:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (chartmp = *bindptr++) { ^~~~~~~ gettext.c: In function 'bindtextdomain': gettext.c:145:9: warning: unused variable 'newlen' [-Wunused-variable] int newlen; ^~~~~~ gettext.c:143:11: warning: unused variable 'lastpath' [-Wunused-variable] char *lastpath; ^~~~~~~~ gettext.c: In function 'findtextdomain': gettext.c:225:11: warning: unused variable 'tmptr' [-Wunused-variable] char *tmptr; ^~~~~ gettext.c: In function 'gettext': gettext.c:280:7: warning: argument 'msg_id' doesn't match built-in prototype char *msg_id; ^~~~~~ gettext.c: In function 'dgettext': gettext.c:307:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] shunt = (int)getenv("SHUNT_GETTEXT"); ^ gettext.c:334:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (current_binding = findtextdomain(current_domain)) { ^~~~~~~~~~~~~~~ gettext.c:401:2: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose gettext.c:296:20: warning: unused variable 'openwinhome' [-Wunused-variable] char *msgptr, *openwinhome = NULL; ^~~~~~~~~~~ gettext.c:296:11: warning: unused variable 'msgptr' [-Wunused-variable] char *msgptr, *openwinhome = NULL; ^~~~~~ rm -f quark.o shared/quark.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c quark.c -o shared/quark.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from quark.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ quark.c: In function 'db_name_from_qlist': quark.c:31:8: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return(NULL); ^ quark.c: In function 'resource_type_conv': quark.c:142:11: warning: implicit declaration of function 'db_cvt_string_to_long' [-Wimplicit-function-declaration] db_cvt_string_to_long(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ quark.c:148:11: warning: implicit declaration of function 'db_cvt_string_to_int' [-Wimplicit-function-declaration] db_cvt_string_to_int(str, &to_val); ^~~~~~~~~~~~~~~~~~~~ quark.c:152:11: warning: implicit declaration of function 'db_cvt_string_to_bool' [-Wimplicit-function-declaration] db_cvt_string_to_bool(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ quark.c:156:11: warning: implicit declaration of function 'db_cvt_string_to_char' [-Wimplicit-function-declaration] db_cvt_string_to_char(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c quark.c -o quark.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from quark.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ quark.c: In function 'db_name_from_qlist': quark.c:31:8: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return(NULL); ^ quark.c: In function 'resource_type_conv': quark.c:142:11: warning: implicit declaration of function 'db_cvt_string_to_long' [-Wimplicit-function-declaration] db_cvt_string_to_long(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ quark.c:148:11: warning: implicit declaration of function 'db_cvt_string_to_int' [-Wimplicit-function-declaration] db_cvt_string_to_int(str, &to_val); ^~~~~~~~~~~~~~~~~~~~ quark.c:152:11: warning: implicit declaration of function 'db_cvt_string_to_bool' [-Wimplicit-function-declaration] db_cvt_string_to_bool(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ quark.c:156:11: warning: implicit declaration of function 'db_cvt_string_to_char' [-Wimplicit-function-declaration] db_cvt_string_to_char(str, &to_val); ^~~~~~~~~~~~~~~~~~~~~ rm -f setlocale.o shared/setlocale.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c setlocale.c -o shared/setlocale.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from setlocale.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ setlocale.c:11:14: warning: 'default_locale' defined but not used [-Wunused-variable] static char *default_locale = "C"; ^~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c setlocale.c -o setlocale.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from setlocale.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ setlocale.c:11:14: warning: 'default_locale' defined but not used [-Wunused-variable] static char *default_locale = "C"; ^~~~~~~~~~~~~~ rm -f windowloop.o shared/windowloop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowloop.c -o shared/windowloop.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowloop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowloop.c: In function '_xv_block_loop': windowloop.c:40:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(&im); ^~~~~~~~~~~~ rect_isnull windowloop.c:67:12: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] (void) win_lockdata(frame); ^~~~~~~~~~~~ windowloop.c:79:12: warning: implicit declaration of function 'win_post_id' [-Wimplicit-function-declaration] (void) win_post_id(first_window, WIN_RESIZE, NOTIFY_IMMEDIATE); ^~~~~~~~~~~ windowloop.c:107:9: warning: implicit declaration of function 'win_unlockdata'; did you mean 'pw_unlock'? [-Wimplicit-function-declaration] (void) win_unlockdata(frame); ^~~~~~~~~~~~~~ pw_unlock windowloop.c:116:12: warning: implicit declaration of function 'win_grabio' [-Wimplicit-function-declaration] (void) win_grabio(first_window); ^~~~~~~~~~ windowloop.c:146:9: warning: implicit declaration of function 'input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] (void) input_readevent(first_window, &event); ^~~~~~~~~~~~~~~ xv_input_readevent windowloop.c:167:13: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] (void) win_post_event(first_window, &event, NOTIFY_IMMEDIATE); ^~~~~~~~~~~~~~ notify_post_event windowloop.c:180:12: warning: implicit declaration of function 'win_releaseio' [-Wimplicit-function-declaration] (void) win_releaseio(first_window); ^~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowloop.c -o windowloop.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowloop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowloop.c: In function '_xv_block_loop': windowloop.c:40:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(&im); ^~~~~~~~~~~~ rect_isnull windowloop.c:67:12: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] (void) win_lockdata(frame); ^~~~~~~~~~~~ windowloop.c:79:12: warning: implicit declaration of function 'win_post_id' [-Wimplicit-function-declaration] (void) win_post_id(first_window, WIN_RESIZE, NOTIFY_IMMEDIATE); ^~~~~~~~~~~ windowloop.c:107:9: warning: implicit declaration of function 'win_unlockdata'; did you mean 'pw_unlock'? [-Wimplicit-function-declaration] (void) win_unlockdata(frame); ^~~~~~~~~~~~~~ pw_unlock windowloop.c:116:12: warning: implicit declaration of function 'win_grabio' [-Wimplicit-function-declaration] (void) win_grabio(first_window); ^~~~~~~~~~ windowloop.c:146:9: warning: implicit declaration of function 'input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] (void) input_readevent(first_window, &event); ^~~~~~~~~~~~~~~ xv_input_readevent windowloop.c:167:13: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] (void) win_post_event(first_window, &event, NOTIFY_IMMEDIATE); ^~~~~~~~~~~~~~ notify_post_event windowloop.c:180:12: warning: implicit declaration of function 'win_releaseio' [-Wimplicit-function-declaration] (void) win_releaseio(first_window); ^~~~~~~~~~~~~ rm -f xv_deaf.o shared/xv_deaf.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_deaf.c -o shared/xv_deaf.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_deaf.c:32: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_deaf.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_deaf(parent, on) ^~~~~~~ xv_deaf.c: In function 'xv_deaf': xv_deaf.c:54:30: warning: initialization of 'Xv_cursor' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_cursor busyPointer = NULL; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_deaf.c -o xv_deaf.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_deaf.c:32: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_deaf.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_deaf(parent, on) ^~~~~~~ xv_deaf.c: In function 'xv_deaf': xv_deaf.c:54:30: warning: initialization of 'Xv_cursor' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_cursor busyPointer = NULL; ^~~~ rm -f xv_util.o shared/xv_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_util.c -o shared/xv_util.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_util.c: In function 'xv_get_hostname': xv_util.c:68:12: warning: implicit declaration of function 'gethostname'; did you mean 'xv_get_hostname'? [-Wimplicit-function-declaration] (void) gethostname (buf, maxlen); ^~~~~~~~~~~ xv_get_hostname gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_util.c -o xv_util.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_util.c: In function 'xv_get_hostname': xv_util.c:68:12: warning: implicit declaration of function 'gethostname'; did you mean 'xv_get_hostname'? [-Wimplicit-function-declaration] (void) gethostname (buf, maxlen); ^~~~~~~~~~~ xv_get_hostname rm -f xv_version.o shared/xv_version.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_version.c -o shared/xv_version.o gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_version.c -o xv_version.o rm -f xv_win_lp.o shared/xv_win_lp.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_win_lp.c -o shared/xv_win_lp.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xv_win_lp.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_win_lp.c:24: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ xv_win_lp.c: In function 'xv_window_loop': xv_win_lp.c:51:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_win_lp.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_win_lp.c:103:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_win_lp.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_win_lp.c:142:5: warning: implicit declaration of function 'ndis_set_special_client' [-Wimplicit-function-declaration] ndis_set_special_client((Notify_client)display); ^~~~~~~~~~~~~~~~~~~~~~~ xv_win_lp.c:158:9: warning: implicit declaration of function 'xv_input_pending'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] xv_input_pending(display, 0); ^~~~~~~~~~~~~~~~ xv_input_readevent xv_win_lp.c:170:5: warning: implicit declaration of function 'ndis_unset_special_client' [-Wimplicit-function-declaration] ndis_unset_special_client(); ^~~~~~~~~~~~~~~~~~~~~~~~~ xv_win_lp.c:182:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (--count) ^~ xv_win_lp.c:194:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' xv_set(frame, XV_SHOW, FALSE, NULL); ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_win_lp.c -o xv_win_lp.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xv_win_lp.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_win_lp.c:24: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ xv_win_lp.c: In function 'xv_window_loop': xv_win_lp.c:51:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_win_lp.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_win_lp.c:103:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from xv_win_lp.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_win_lp.c:142:5: warning: implicit declaration of function 'ndis_set_special_client' [-Wimplicit-function-declaration] ndis_set_special_client((Notify_client)display); ^~~~~~~~~~~~~~~~~~~~~~~ xv_win_lp.c:158:9: warning: implicit declaration of function 'xv_input_pending'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] xv_input_pending(display, 0); ^~~~~~~~~~~~~~~~ xv_input_readevent xv_win_lp.c:170:5: warning: implicit declaration of function 'ndis_unset_special_client' [-Wimplicit-function-declaration] ndis_unset_special_client(); ^~~~~~~~~~~~~~~~~~~~~~~~~ xv_win_lp.c:182:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (--count) ^~ xv_win_lp.c:194:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' xv_set(frame, XV_SHOW, FALSE, NULL); ^~~~~~ rm -f drop.o shared/drop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c drop.c -o shared/drop.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from drop.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ drop.c: In function 'xv_decode_drop': drop.c:45:19: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] if ((window = win_data(cM->display, cM->window)) == NULL) ^~~~~~~~ drop.c:45:54: warning: comparison between pointer and integer if ((window = win_data(cM->display, cM->window)) == NULL) ^~ drop.c: In function 'HandleNewDrop': drop.c:115:19: warning: unused variable 'ds' [-Wunused-variable] Xv_drop_site ds; ^~ drop.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c drop.c -o drop.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from drop.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ drop.c: In function 'xv_decode_drop': drop.c:45:19: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] if ((window = win_data(cM->display, cM->window)) == NULL) ^~~~~~~~ drop.c:45:54: warning: comparison between pointer and integer if ((window = win_data(cM->display, cM->window)) == NULL) ^~ drop.c: In function 'HandleNewDrop': drop.c:115:19: warning: unused variable 'ds' [-Wunused-variable] Xv_drop_site ds; ^~ drop.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xv_casecmp.o shared/xv_casecmp.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_casecmp.c -o shared/xv_casecmp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_casecmp.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_casecmp.c -o xv_casecmp.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xv_casecmp.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/demorandom.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/demorandom.o ../../libxview/xshared/demorandom.o + rm -f ../../libxview/xshared/getlogindr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/getlogindr.o ../../libxview/xshared/getlogindr.o + rm -f ../../libxview/xshared/expandname.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/expandname.o ../../libxview/xshared/expandname.o + rm -f ../../libxview/xshared/expandpath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/expandpath.o ../../libxview/xshared/expandpath.o + rm -f ../../libxview/xshared/bitmask.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/bitmask.o ../../libxview/xshared/bitmask.o + rm -f ../../libxview/xshared/hashfn.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/hashfn.o ../../libxview/xshared/hashfn.o + rm -f ../../libxview/xshared/db_conv.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/db_conv.o ../../libxview/xshared/db_conv.o + rm -f ../../libxview/xshared/gettext.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/gettext.o ../../libxview/xshared/gettext.o + rm -f ../../libxview/xshared/quark.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/quark.o ../../libxview/xshared/quark.o + rm -f ../../libxview/xshared/setlocale.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/setlocale.o ../../libxview/xshared/setlocale.o + rm -f ../../libxview/xshared/windowloop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/windowloop.o ../../libxview/xshared/windowloop.o + rm -f ../../libxview/xshared/xv_deaf.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/xv_deaf.o ../../libxview/xshared/xv_deaf.o + rm -f ../../libxview/xshared/xv_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/xv_util.o ../../libxview/xshared/xv_util.o + rm -f ../../libxview/xshared/xv_version.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/xv_version.o ../../libxview/xshared/xv_version.o + rm -f ../../libxview/xshared/xv_win_lp.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/xv_win_lp.o ../../libxview/xshared/xv_win_lp.o + rm -f ../../libxview/xshared/drop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/drop.o ../../libxview/xshared/drop.o + rm -f ../../libxview/xshared/xv_casecmp.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc/shared/xv_casecmp.o ../../libxview/xshared/xv_casecmp.o ar ruv ../../libxview/libxview.a demorandom.o getlogindr.o expandname.o expandpath.o bitmask.o hashfn.o db_conv.o gettext.o quark.o setlocale.o windowloop.o xv_deaf.o xv_util.o xv_version.o xv_win_lp.o drop.o xv_casecmp.o a - demorandom.o a - getlogindr.o a - expandname.o a - expandpath.o a - bitmask.o a - hashfn.o a - db_conv.o a - gettext.o a - quark.o a - setlocale.o a - windowloop.o a - xv_deaf.o a - xv_util.o a - xv_version.o a - xv_win_lp.o a - drop.o a - xv_casecmp.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/misc' making all in lib/libxview/notice... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' rm -f notice.o shared/notice.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice.c -o shared/notice.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice.c:58:31: warning: missing braces around initializer [-Wmissing-braces] Defaults_pairs bell_types[] = { ^ notice.c: In function 'notice_init_internal': notice.c:87:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c:104:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_create_button_struct': notice.c:267:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_create_msg_struct': notice.c:289:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_do_bell': notice.c:357:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_update_xy': notice.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice.c -o notice.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice.c:58:31: warning: missing braces around initializer [-Wmissing-braces] Defaults_pairs bell_types[] = { ^ notice.c: In function 'notice_init_internal': notice.c:87:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c:104:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_create_button_struct': notice.c:267:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_create_msg_struct': notice.c:289:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_do_bell': notice.c:357:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice.c: In function 'notice_update_xy': notice.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f notice_dstry.o shared/notice_dstry.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_dstry.c -o shared/notice_dstry.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_dstry.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_dstry.c -o notice_dstry.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_dstry.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f notice_get.o shared/notice_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_get.c -o shared/notice_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_get.c: In function 'notice_get_attr': notice_get.c:59:5: warning: case value '1079052545' not in enumerated type 'Notice_attribute' {aka 'enum '} [-Wswitch] case XV_SHOW: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_get.c -o notice_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_get.c: In function 'notice_get_attr': notice_get.c:59:5: warning: case value '1079052545' not in enumerated type 'Notice_attribute' {aka 'enum '} [-Wswitch] case XV_SHOW: ^~~~ rm -f notice_itm.o shared/notice_itm.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_itm.c -o shared/notice_itm.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_itm.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview/panel.h:18, from ../../../build/include/xview_private/noticeimpl.h:22, from notice_itm.c:16: notice_itm.c: In function 'subframe_destroy_proc': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ notice_itm.c:211:6: note: in expansion of macro 'event_init' event_init((&event)); ^~~~~~~~~~ notice_itm.c: In function 'notice_create_base': notice_itm.c:312:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->sub_frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_itm.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_itm.c:313:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->owner_window, client_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_itm.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_itm.c:330:8: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void)wmgr_set_win_attr(notice->sub_frame, &win_attr); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_itm.c -o notice_itm.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_itm.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview/panel.h:18, from ../../../build/include/xview_private/noticeimpl.h:22, from notice_itm.c:16: notice_itm.c: In function 'subframe_destroy_proc': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ notice_itm.c:211:6: note: in expansion of macro 'event_init' event_init((&event)); ^~~~~~~~~~ notice_itm.c: In function 'notice_create_base': notice_itm.c:312:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->sub_frame, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_itm.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_itm.c:313:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice->owner_window, client_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_itm.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_itm.c:330:8: warning: implicit declaration of function 'wmgr_set_win_attr' [-Wimplicit-function-declaration] (void)wmgr_set_win_attr(notice->sub_frame, &win_attr); ^~~~~~~~~~~~~~~~~ rm -f notice_ol.o shared/notice_ol.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_ol.c -o shared/notice_ol.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_ol.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_ol.c:62:37: warning: missing braces around initializer [-Wmissing-braces] Notice_config Notice_dimensions[] = { ^ notice_ol.c:64:5: 332, 30, 16, 36, 32, 10, 2, 2, 3, 3, 8, { } notice_ol.c:67:5: 390, 36, 20, 42, 36, 12, 2, 2, 3, 3, 10, { } notice_ol.c:70:5: 448, 42, 24, 50, 40, 14, 2, 2, 3, 3, 12, { } notice_ol.c:73:5: 596, 54, 32, 64, 48, 19, 2, 2, 3, 3, 16, { }; } notice_ol.c: In function 'notice_subframe_layout': notice_ol.c:92:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ notice_ol.c:86:1: note: declared here notice_subframe_layout(notice, do_msg, do_butt) ^~~~~~~~~~~~~~~~~~~~~~ notice_ol.c:98:5: warning: implicit declaration of function 'notice_create_base'; did you mean 'notice_center'? [-Wimplicit-function-declaration] notice_create_base(notice); ^~~~~~~~~~~~~~~~~~ notice_center notice_ol.c: In function 'notice_position_items': notice_ol.c:407:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ notice_ol.c: In function 'notice_center': notice_ol.c:475:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent, p_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_layout': notice_ol.c:698:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c:737:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (len = STRLEN(str)) { ^~~ notice_ol.c: In function 'notice_drawbox': notice_ol.c:876:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_determine_font': notice_ol.c:1115:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_draw_borders': notice_ol.c:1168:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_offset_from_baseline': notice_ol.c:1335:14: warning: comparison between pointer and integer if (font == NULL) ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_ol.c -o notice_ol.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_ol.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_ol.c:62:37: warning: missing braces around initializer [-Wmissing-braces] Notice_config Notice_dimensions[] = { ^ notice_ol.c:64:5: 332, 30, 16, 36, 32, 10, 2, 2, 3, 3, 8, { } notice_ol.c:67:5: 390, 36, 20, 42, 36, 12, 2, 2, 3, 3, 10, { } notice_ol.c:70:5: 448, 42, 24, 50, 40, 14, 2, 2, 3, 3, 12, { } notice_ol.c:73:5: 596, 54, 32, 64, 48, 19, 2, 2, 3, 3, 16, { }; } notice_ol.c: In function 'notice_subframe_layout': notice_ol.c:92:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ notice_ol.c:86:1: note: declared here notice_subframe_layout(notice, do_msg, do_butt) ^~~~~~~~~~~~~~~~~~~~~~ notice_ol.c:98:5: warning: implicit declaration of function 'notice_create_base'; did you mean 'notice_center'? [-Wimplicit-function-declaration] notice_create_base(notice); ^~~~~~~~~~~~~~~~~~ notice_center notice_ol.c: In function 'notice_position_items': notice_ol.c:407:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ notice_ol.c: In function 'notice_center': notice_ol.c:475:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent, p_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_layout': notice_ol.c:698:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c:737:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (len = STRLEN(str)) { ^~~ notice_ol.c: In function 'notice_drawbox': notice_ol.c:876:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_determine_font': notice_ol.c:1115:19: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_draw_borders': notice_ol.c:1168:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_ol.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_ol.c: In function 'notice_offset_from_baseline': notice_ol.c:1335:14: warning: comparison between pointer and integer if (font == NULL) ^~ rm -f notice_pt.o shared/notice_pt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_pt.c -o shared/notice_pt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_pt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_pt.c: In function 'notice_prompt': notice_pt.c:107:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:118:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:152:54: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] notice->owner_window = notice->fullscreen_window = NULL; ^ notice_pt.c:169:14: warning: implicit declaration of function 'notice_block_popup'; did you mean 'notice_layout'? [-Wimplicit-function-declaration] result = notice_block_popup(notice); ^~~~~~~~~~~~~~~~~~ notice_layout notice_pt.c: In function 'notice_block_popup': notice_pt.c:197:18: warning: initialization of 'Cms' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Cms cms = NULL; ^~~~ notice_pt.c:226:38: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window focus_window = NULL; ^~~~ notice_pt.c:241:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:243:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(&im); ^~~~~~~~~~~~ rect_isnull notice_pt.c:260:12: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(root_window, ¬ice_screen_rect); ^~~~~~~~~~~ frame_get_rect notice_pt.c:262:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:556:10: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:669:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:685:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_paint_button': notice_pt.c:1042:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_button_for_event': notice_pt.c:1061:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] notice_button_for_event(notice, x, y) ^~~~~~~~~~~~~~~~~~~~~~~ notice_pt.c:1061:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] notice_pt.c: In function 'notice_show_focus_win': notice_pt.c:1168:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(focus_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:1179:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(fs_win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:1187:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(image, image_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_block_popup': notice_pt.c:562:6: warning: 'repaint_time' may be used uninitialized in this function [-Wmaybe-uninitialized] if (server_time > repaint_time) { ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_pt.c -o notice_pt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_pt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_pt.c: In function 'notice_prompt': notice_pt.c:107:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:118:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:152:54: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] notice->owner_window = notice->fullscreen_window = NULL; ^ notice_pt.c:169:14: warning: implicit declaration of function 'notice_block_popup'; did you mean 'notice_layout'? [-Wimplicit-function-declaration] result = notice_block_popup(notice); ^~~~~~~~~~~~~~~~~~ notice_layout notice_pt.c: In function 'notice_block_popup': notice_pt.c:197:18: warning: initialization of 'Cms' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Cms cms = NULL; ^~~~ notice_pt.c:226:38: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window focus_window = NULL; ^~~~ notice_pt.c:241:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:243:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(&im); ^~~~~~~~~~~~ rect_isnull notice_pt.c:260:12: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(root_window, ¬ice_screen_rect); ^~~~~~~~~~~ frame_get_rect notice_pt.c:262:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:556:10: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:669:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:685:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(notice_window, notice_window_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_paint_button': notice_pt.c:1042:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_button_for_event': notice_pt.c:1061:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] notice_button_for_event(notice, x, y) ^~~~~~~~~~~~~~~~~~~~~~~ notice_pt.c:1061:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] notice_pt.c: In function 'notice_show_focus_win': notice_pt.c:1168:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(focus_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:1179:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(fs_win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c:1187:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(image, image_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_pt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_pt.c: In function 'notice_block_popup': notice_pt.c:562:6: warning: 'repaint_time' may be used uninitialized in this function [-Wmaybe-uninitialized] if (server_time > repaint_time) { ^ rm -f notice_set.o shared/notice_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_set.c -o shared/notice_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_set.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_set.c: In function 'notice_generic_set': notice_set.c:74:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->lock_screen = ((Bool)value != FALSE); ^ notice_set.c:78:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->block_thread = ((Bool)value != FALSE); ^ notice_set.c:282:33: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] (void) xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice_set.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_set.c:337:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice_set.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_set.c:407:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) value) { ^ notice_set.c:432:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->default_input_code = (int) value; ^ notice_set.c:490:22: warning: assignment to 'Frame' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] busy_frames[count] = NULL; ^ notice_set.c:506:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( ((Bool)value && notice->show) || ^ notice_set.c:507:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (!(Bool)value && !(notice->show)) ) { ^ notice_set.c:514:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->show = ((Bool)value != FALSE); ^ notice_set.c:845:2: warning: implicit declaration of function 'notice_do_show'; did you mean 'notice_do_bell'? [-Wimplicit-function-declaration] notice_do_show(notice); ^~~~~~~~~~~~~~ notice_do_bell notice_set.c: In function 'notice_do_show': notice_set.c:876:22: warning: implicit declaration of function 'notice_block_popup'; did you mean 'notice_layout'? [-Wimplicit-function-declaration] result = notice_block_popup(notice); ^~~~~~~~~~~~~~~~~~ notice_layout gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_set.c -o notice_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from notice_set.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ notice_set.c: In function 'notice_generic_set': notice_set.c:74:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->lock_screen = ((Bool)value != FALSE); ^ notice_set.c:78:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->block_thread = ((Bool)value != FALSE); ^ notice_set.c:282:33: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] (void) xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice_set.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_set.c:337:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from notice_set.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ notice_set.c:407:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) value) { ^ notice_set.c:432:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->default_input_code = (int) value; ^ notice_set.c:490:22: warning: assignment to 'Frame' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] busy_frames[count] = NULL; ^ notice_set.c:506:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ( ((Bool)value && notice->show) || ^ notice_set.c:507:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (!(Bool)value && !(notice->show)) ) { ^ notice_set.c:514:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] notice->show = ((Bool)value != FALSE); ^ notice_set.c:845:2: warning: implicit declaration of function 'notice_do_show'; did you mean 'notice_do_bell'? [-Wimplicit-function-declaration] notice_do_show(notice); ^~~~~~~~~~~~~~ notice_do_bell notice_set.c: In function 'notice_do_show': notice_set.c:876:22: warning: implicit declaration of function 'notice_block_popup'; did you mean 'notice_layout'? [-Wimplicit-function-declaration] result = notice_block_popup(notice); ^~~~~~~~~~~~~~~~~~ notice_layout rm -f notice_data.o shared/notice_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_data.c -o shared/notice_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notice_data.c -o notice_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/noticeimpl.h:17, from notice_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/notice.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice.o ../../libxview/xshared/notice.o + rm -f ../../libxview/xshared/notice_dstry.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_dstry.o ../../libxview/xshared/notice_dstry.o + rm -f ../../libxview/xshared/notice_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_get.o ../../libxview/xshared/notice_get.o + rm -f ../../libxview/xshared/notice_itm.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_itm.o ../../libxview/xshared/notice_itm.o + rm -f ../../libxview/xshared/notice_ol.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_ol.o ../../libxview/xshared/notice_ol.o + rm -f ../../libxview/xshared/notice_pt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_pt.o ../../libxview/xshared/notice_pt.o + rm -f ../../libxview/xshared/notice_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_set.o ../../libxview/xshared/notice_set.o + rm -f ../../libxview/xshared/notice_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice/shared/notice_data.o ../../libxview/xshared/notice_data.o ar ruv ../../libxview/libxview.a notice.o notice_dstry.o notice_get.o notice_itm.o notice_ol.o notice_pt.o notice_set.o notice_data.o a - notice.o a - notice_dstry.o a - notice_get.o a - notice_itm.o a - notice_ol.o a - notice_pt.o a - notice_set.o a - notice_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notice' making all in lib/libxview/notify... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' rm -f ndet_auto.o shared/ndet_auto.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_auto.c -o shared/ndet_auto.o In file included from /usr/include/sys/types.h:25, from ndet_auto.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_auto.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_auto.c: In function 'ndet_auto_sig_send': ndet_auto.c:97:10: warning: implicit declaration of function 'notify_select'; did you mean 'notify_event'? [-Wimplicit-function-declaration] nfds = notify_select(FD_SETSIZE, ^~~~~~~~~~~~~ notify_event gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_auto.c -o ndet_auto.o In file included from /usr/include/sys/types.h:25, from ndet_auto.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_auto.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_auto.c: In function 'ndet_auto_sig_send': ndet_auto.c:97:10: warning: implicit declaration of function 'notify_select'; did you mean 'notify_event'? [-Wimplicit-function-declaration] nfds = notify_select(FD_SETSIZE, ^~~~~~~~~~~~~ notify_event rm -f ndet_death.o shared/ndet_death.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_death.c -o shared/ndet_death.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_death.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_death.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_death.c -o ndet_death.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_death.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_death.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_die.o shared/ndet_die.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_die.c -o shared/ndet_die.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_die.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_die.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_die.c:21:17: warning: type defaults to 'int' in declaration of 'ntfy_errno_no_print' [-Wimplicit-int] extern ntfy_errno_no_print; ^~~~~~~~~~~~~~~~~~~ ndet_die.c: In function 'notify_die': ndet_die.c:31:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_die.c -o ndet_die.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_die.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_die.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_die.c:21:17: warning: type defaults to 'int' in declaration of 'ntfy_errno_no_print' [-Wimplicit-int] extern ntfy_errno_no_print; ^~~~~~~~~~~~~~~~~~~ ndet_die.c: In function 'notify_die': ndet_die.c:31:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig rm -f ndet_dodis.o shared/ndet_dodis.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_dodis.c -o shared/ndet_dodis.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_dodis.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_dodis.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_dodis.c -o ndet_dodis.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_dodis.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_dodis.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_event.o shared/ndet_event.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_event.c -o shared/ndet_event.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_event.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_event.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_event.c -o ndet_event.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_event.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_event.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_fcntl.o shared/ndet_fcntl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_fcntl.c -o shared/ndet_fcntl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_fcntl.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_fcntl.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_fcntl.c: In function 'fcntl': ndet_fcntl.c:57:16: warning: implicit declaration of function 'notify_fcntl'; did you mean 'notify_wait3'? [-Wimplicit-function-declaration] if ((res = notify_fcntl(fd, cmd, arg)) == -1) ^~~~~~~~~~~~ notify_wait3 gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_fcntl.c -o ndet_fcntl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_fcntl.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_fcntl.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_fcntl.c: In function 'fcntl': ndet_fcntl.c:57:16: warning: implicit declaration of function 'notify_fcntl'; did you mean 'notify_wait3'? [-Wimplicit-function-declaration] if ((res = notify_fcntl(fd, cmd, arg)) == -1) ^~~~~~~~~~~~ notify_wait3 rm -f ndet_fd.o shared/ndet_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_fd.c -o shared/ndet_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_fd.c: In function 'ndet_check_fd': ndet_fd.c:29:29: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] #define GETDTABLESIZE_MAX() getdtablesize() ^~~~~~~~~~~~~ ndet_fd.c:33:25: note: in expansion of macro 'GETDTABLESIZE_MAX' (dtablesize_cache = (GETDTABLESIZE_MAX() >= FD_SETSIZE \ ^~~~~~~~~~~~~~~~~ ndet_fd.c:44:23: note: in expansion of macro 'GETDTABLESIZE' ndet_fd_table_size = GETDTABLESIZE(); ^~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_fd.c -o ndet_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_fd.c: In function 'ndet_check_fd': ndet_fd.c:29:29: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] #define GETDTABLESIZE_MAX() getdtablesize() ^~~~~~~~~~~~~ ndet_fd.c:33:25: note: in expansion of macro 'GETDTABLESIZE_MAX' (dtablesize_cache = (GETDTABLESIZE_MAX() >= FD_SETSIZE \ ^~~~~~~~~~~~~~~~~ ndet_fd.c:44:23: note: in expansion of macro 'GETDTABLESIZE' ndet_fd_table_size = GETDTABLESIZE(); ^~~~~~~~~~~~~ rm -f ndet_g_fd.o shared/ndet_g_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_fd.c -o shared/ndet_g_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_g_fd.c: In function 'ndet_get_fd_func': ndet_g_fd.c:30:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (ndet_get_func(nclient, type, (NTFY_DATA) fd, NTFY_USE_DATA)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_fd.c -o ndet_g_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_g_fd.c: In function 'ndet_get_fd_func': ndet_g_fd.c:30:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (ndet_get_func(nclient, type, (NTFY_DATA) fd, NTFY_USE_DATA)); ^ rm -f ndet_g_in.o shared/ndet_g_in.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_in.c -o shared/ndet_g_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_in.c -o ndet_g_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_g_out.o shared/ndet_g_out.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_out.c -o shared/ndet_g_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_out.c -o ndet_g_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_g_pri.o shared/ndet_g_pri.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_pri.c -o shared/ndet_g_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_pri.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_pri.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_pri.c -o ndet_g_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_pri.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_pri.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_g_sig.o shared/ndet_g_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_sig.c -o shared/ndet_g_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_g_sig.c: In function 'notify_get_signal_func': ndet_g_sig.c:33:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (ndet_get_func(nclient, type, (NTFY_DATA) signal, NTFY_USE_DATA)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_g_sig.c -o ndet_g_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_g_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_g_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_g_sig.c: In function 'notify_get_signal_func': ndet_g_sig.c:33:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (ndet_get_func(nclient, type, (NTFY_DATA) signal, NTFY_USE_DATA)); ^ rm -f ndet_loop.o shared/ndet_loop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_loop.c -o shared/ndet_loop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndet_loop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_loop.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_loop.c:92:36: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] {ndet_signal_catcher,0,SA_RESTART,NULL}; /* handler,mask,flags,restorer */ ^~~~ ndet_loop.c:92:36: note: (near initialization for 'ndet_sigvec.sa_mask.__val[2]') ndet_loop.c:92:2: warning: missing braces around initializer [-Wmissing-braces] {ndet_signal_catcher,0,SA_RESTART,NULL}; /* handler,mask,flags,restorer */ ^ { }{{ }} ndet_loop.c:123:8: warning: type defaults to 'int' in declaration of 'do_rpc' [-Wimplicit-int] static do_rpc = 0; ^~~~~~ ndet_loop.c: In function 'notify_start': ndet_loop.c:318:10: warning: implicit declaration of function 'ntfy_new_enum_conditions'; did you mean 'ntfy_enum_conditions'? [-Wimplicit-function-declaration] if (ntfy_new_enum_conditions(ntfy_cndtbl[(int) NTFY_INPUT], ^~~~~~~~~~~~~~~~~~~~~~~~ ntfy_enum_conditions ndet_loop.c:344:10: warning: implicit declaration of function 'ntfy_new_paranoid_enum_conditions'; did you mean 'ntfy_paranoid_enum_conditions'? [-Wimplicit-function-declaration] if (ntfy_new_paranoid_enum_conditions( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_paranoid_enum_conditions ndet_loop.c: In function 'ndet_itimer_change': ndet_loop.c:636:7: warning: implicit declaration of function 'ndet_itimer_expired'; did you mean 'ndet_itimer_change'? [-Wimplicit-function-declaration] if (ndet_itimer_expired(client, condition)) ^~~~~~~~~~~~~~~~~~~ ndet_itimer_change ndet_loop.c: In function 'ndet_fig_sig_change': ndet_loop.c:707:25: warning: unused variable 'sigs_dif' [-Wunused-variable] sigset_t sigs_tmp, sigs_dif; ^~~~~~~~ ndet_loop.c: In function 'ndet_signal_catcher': ndet_loop.c:810:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stdout, "SIG caught when CRITICAL %ld\n", sig); ~~^ ~~~ %d ndet_loop.c:848:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stdout, "SIG caught %ld\n", sig); ~~^ ~~~ %d ndet_loop.c:844:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( pipefds[1], "a", 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ndet_loop.c: In function 'notify_start': ndet_loop.c:728:57: warning: 'tmp2' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((( tmp1 = sigismember( &ndet_sigs_managing, sig )) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ( tmp2 = sigismember( &sigs_tmp, sig ))) && !( tmp1 && tmp2 )) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ndet_loop.c:709:30: note: 'tmp2' was declared here int n, tmp1, tmp2; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_loop.c -o ndet_loop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndet_loop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_loop.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_loop.c:92:36: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] {ndet_signal_catcher,0,SA_RESTART,NULL}; /* handler,mask,flags,restorer */ ^~~~ ndet_loop.c:92:36: note: (near initialization for 'ndet_sigvec.sa_mask.__val[2]') ndet_loop.c:92:2: warning: missing braces around initializer [-Wmissing-braces] {ndet_signal_catcher,0,SA_RESTART,NULL}; /* handler,mask,flags,restorer */ ^ { }{{ }} ndet_loop.c:123:8: warning: type defaults to 'int' in declaration of 'do_rpc' [-Wimplicit-int] static do_rpc = 0; ^~~~~~ ndet_loop.c: In function 'notify_start': ndet_loop.c:318:10: warning: implicit declaration of function 'ntfy_new_enum_conditions'; did you mean 'ntfy_enum_conditions'? [-Wimplicit-function-declaration] if (ntfy_new_enum_conditions(ntfy_cndtbl[(int) NTFY_INPUT], ^~~~~~~~~~~~~~~~~~~~~~~~ ntfy_enum_conditions ndet_loop.c:344:10: warning: implicit declaration of function 'ntfy_new_paranoid_enum_conditions'; did you mean 'ntfy_paranoid_enum_conditions'? [-Wimplicit-function-declaration] if (ntfy_new_paranoid_enum_conditions( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_paranoid_enum_conditions ndet_loop.c: In function 'ndet_itimer_change': ndet_loop.c:636:7: warning: implicit declaration of function 'ndet_itimer_expired'; did you mean 'ndet_itimer_change'? [-Wimplicit-function-declaration] if (ndet_itimer_expired(client, condition)) ^~~~~~~~~~~~~~~~~~~ ndet_itimer_change ndet_loop.c: In function 'ndet_fig_sig_change': ndet_loop.c:707:25: warning: unused variable 'sigs_dif' [-Wunused-variable] sigset_t sigs_tmp, sigs_dif; ^~~~~~~~ ndet_loop.c: In function 'ndet_signal_catcher': ndet_loop.c:810:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stdout, "SIG caught when CRITICAL %ld\n", sig); ~~^ ~~~ %d ndet_loop.c:848:39: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stdout, "SIG caught %ld\n", sig); ~~^ ~~~ %d ndet_loop.c:844:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( pipefds[1], "a", 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ndet_loop.c: In function 'notify_start': ndet_loop.c:728:57: warning: 'tmp2' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((( tmp1 = sigismember( &ndet_sigs_managing, sig )) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || ( tmp2 = sigismember( &sigs_tmp, sig ))) && !( tmp1 && tmp2 )) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ndet_loop.c:709:30: note: 'tmp2' was declared here int n, tmp1, tmp2; ^~~~ rm -f ndet_nodis.o shared/ndet_nodis.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_nodis.c -o shared/ndet_nodis.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_nodis.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_nodis.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_nodis.c -o ndet_nodis.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_nodis.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_nodis.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_read.o shared/ndet_read.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_read.c -o shared/ndet_read.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_read.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_read.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_read.c: In function 'read': ndet_read.c:53:10: warning: implicit declaration of function 'notify_read'; did you mean 'notify_dump'? [-Wimplicit-function-declaration] return (notify_read(fd, buf, nbytes)); ^~~~~~~~~~~ notify_dump ndet_read.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ndelay = FD_ISSET(fd, &ndet_fndelay_mask)) ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_read.c -o ndet_read.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_read.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_read.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_read.c: In function 'read': ndet_read.c:53:10: warning: implicit declaration of function 'notify_read'; did you mean 'notify_dump'? [-Wimplicit-function-declaration] return (notify_read(fd, buf, nbytes)); ^~~~~~~~~~~ notify_dump ndet_read.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ndelay = FD_ISSET(fd, &ndet_fndelay_mask)) ^~~~~~ rm -f ndet_s_fd.o shared/ndet_s_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_fd.c -o shared/ndet_s_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_s_fd.c: In function 'ndet_set_fd_func': ndet_s_fd.c:44:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) fd, NTFY_USE_DATA)) == ^ ndet_s_fd.c:47:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ ndet_s_fd.c:53:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) fd, NTFY_USE_DATA); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_fd.c -o ndet_s_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_fd.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_fd.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_s_fd.c: In function 'ndet_set_fd_func': ndet_s_fd.c:44:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) fd, NTFY_USE_DATA)) == ^ ndet_s_fd.c:47:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ ndet_s_fd.c:53:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) fd, NTFY_USE_DATA); ^ rm -f ndet_s_in.o shared/ndet_s_in.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_in.c -o shared/ndet_s_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_in.c -o ndet_s_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_s_out.o shared/ndet_s_out.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_out.c -o shared/ndet_s_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_out.c -o ndet_s_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_s_pri.o shared/ndet_s_pri.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_pri.c -o shared/ndet_s_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_pri.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_pri.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_pri.c -o ndet_s_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_pri.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_pri.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_s_sig.o shared/ndet_s_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_sig.c -o shared/ndet_s_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_s_sig.c: In function 'notify_set_signal_func': ndet_s_sig.c:48:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) sig, NTFY_USE_DATA)) == ^ ndet_s_sig.c:51:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ ndet_s_sig.c:57:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) sig, NTFY_USE_DATA); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_s_sig.c -o ndet_s_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_s_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_s_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndet_s_sig.c: In function 'notify_set_signal_func': ndet_s_sig.c:48:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) sig, NTFY_USE_DATA)) == ^ ndet_s_sig.c:51:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ ndet_s_sig.c:57:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) sig, NTFY_USE_DATA); ^ rm -f ndet_sig.o shared/ndet_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_sig.c -o shared/ndet_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_sig.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_sig.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_sig.c -o ndet_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_sig.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_sig.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_value.o shared/ndet_value.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_value.c -o shared/ndet_value.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_value.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_value.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_value.c -o ndet_value.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_value.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_value.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_veto.o shared/ndet_veto.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_veto.c -o shared/ndet_veto.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_veto.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_veto.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_veto.c -o ndet_veto.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_veto.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_veto.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndet_wait.o shared/ndet_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_wait.c -o shared/ndet_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndet_wait.c -o ndet_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndet_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndet_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetg_wait.o shared/ndetg_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetg_wait.c -o shared/ndetg_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetg_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetg_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetg_wait.c: In function 'notify_get_wait3_func': ndetg_wait.c:26:9: warning: implicit declaration of function 'ndet_check_pid'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_pid(pid)) ^~~~~~~~~~~~~~ ndet_check_sig ndetg_wait.c:29:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetg_wait.c -o ndetg_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetg_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetg_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetg_wait.c: In function 'notify_get_wait3_func': ndetg_wait.c:26:9: warning: implicit declaration of function 'ndet_check_pid'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_pid(pid)) ^~~~~~~~~~~~~~ ndet_check_sig ndetg_wait.c:29:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ rm -f ndetgdeath.o shared/ndetgdeath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgdeath.c -o shared/ndetgdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgdeath.c -o ndetgdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetgetfnc.o shared/ndetgetfnc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgetfnc.c -o shared/ndetgetfnc.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgetfnc.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgetfnc.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgetfnc.c -o ndetgetfnc.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgetfnc.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgetfnc.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetgevent.o shared/ndetgevent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgevent.c -o shared/ndetgevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgevent.c:23: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgevent.c:24: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetgevent.c: In function 'notify_get_event_func': ndetgevent.c:34:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgevent.c -o ndetgevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgevent.c:23: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgevent.c:24: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetgevent.c: In function 'notify_get_event_func': ndetgevent.c:34:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f ndetgexcep.o shared/ndetgexcep.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgexcep.c -o shared/ndetgexcep.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgexcep.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgexcep.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgexcep.c -o ndetgexcep.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgexcep.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgexcep.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetgitimr.o shared/ndetgitimr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgitimr.c -o shared/ndetgitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetgitimr.c -o ndetgitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetgitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetgitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetitimer.o shared/ndetitimer.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetitimer.c -o shared/ndetitimer.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndetitimer.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetitimer.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetitimer.c -o ndetitimer.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndetitimer.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetitimer.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetpdeath.o shared/ndetpdeath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetpdeath.c -o shared/ndetpdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetpdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetpdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetpdeath.c: In function 'notify_post_destroy': ndetpdeath.c:34:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetpdeath.c -o ndetpdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetpdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetpdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetpdeath.c: In function 'notify_post_destroy': ndetpdeath.c:34:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig rm -f ndetpevent.o shared/ndetpevent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetpevent.c -o shared/ndetpevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetpevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetpevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetpevent.c: In function 'notify_post_event_and_arg': ndetpevent.c:66:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when_hint, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetpevent.c -o ndetpevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetpevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetpevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetpevent.c: In function 'notify_post_event_and_arg': ndetpevent.c:66:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when_hint, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f ndetremove.o shared/ndetremove.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetremove.c -o shared/ndetremove.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetremove.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetremove.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetremove.c -o ndetremove.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetremove.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetremove.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndets_wait.o shared/ndets_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndets_wait.c -o shared/ndets_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndets_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndets_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndets_wait.c: In function 'notify_set_wait3_func': ndets_wait.c:44:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) pid, NTFY_USE_DATA)) == ^ ndets_wait.c:47:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, NTFY_WAIT3); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndets_wait.c -o ndets_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndets_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndets_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndets_wait.c: In function 'notify_set_wait3_func': ndets_wait.c:44:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] &(client->condition_latest), (NTFY_DATA) pid, NTFY_USE_DATA)) == ^ ndets_wait.c:47:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, NTFY_WAIT3); ^~~~~~~~~~~~~~~~~ rm -f ndetsdeath.o shared/ndetsdeath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsdeath.c -o shared/ndetsdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsdeath.c -o ndetsdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetselect.o shared/ndetselect.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetselect.c -o shared/ndetselect.o In file included from /usr/include/sys/types.h:25, from ndetselect.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetselect.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetselect.c: In function 'select': ndetselect.c:56:10: warning: implicit declaration of function 'notify_select'; did you mean 'notify_event'? [-Wimplicit-function-declaration] return (notify_select(nfds, readfds, writefds, exceptfds, ^~~~~~~~~~~~~ notify_event gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetselect.c -o ndetselect.o In file included from /usr/include/sys/types.h:25, from ndetselect.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetselect.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetselect.c: In function 'select': ndetselect.c:56:10: warning: implicit declaration of function 'notify_select'; did you mean 'notify_event'? [-Wimplicit-function-declaration] return (notify_select(nfds, readfds, writefds, exceptfds, ^~~~~~~~~~~~~ notify_event rm -f ndetsevent.o shared/ndetsevent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsevent.c -o shared/ndetsevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetsevent.c: In function 'notify_set_event_func': ndetsevent.c:35:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsevent.c -o ndetsevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetsevent.c: In function 'notify_set_event_func': ndetsevent.c:35:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f ndetsexcep.o shared/ndetsexcep.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsexcep.c -o shared/ndetsexcep.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsexcep.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsexcep.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsexcep.c -o ndetsexcep.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsexcep.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsexcep.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetsingle.o shared/ndetsingle.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsingle.c -o shared/ndetsingle.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsingle.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsingle.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsingle.c -o ndetsingle.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsingle.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsingle.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ndetsitimr.o shared/ndetsitimr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsitimr.c -o shared/ndetsitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetsitimr.c: In function 'notify_set_itimer_func': ndetsitimr.c:43:6: warning: implicit declaration of function 'ndet_check_tv'; did you mean 'ndet_check_fd'? [-Wimplicit-function-declaration] if (ndet_check_tv(&(value->it_value)) || ^~~~~~~~~~~~~ ndet_check_fd ndetsitimr.c:55:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndetsitimr.c -o ndetsitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndetsitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndetsitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndetsitimr.c: In function 'notify_set_itimer_func': ndetsitimr.c:43:6: warning: implicit declaration of function 'ndet_check_tv'; did you mean 'ndet_check_fd'? [-Wimplicit-function-declaration] if (ndet_check_tv(&(value->it_value)) || ^~~~~~~~~~~~~ ndet_check_fd ndetsitimr.c:55:5: warning: implicit declaration of function 'ntfy_add_to_table' [-Wimplicit-function-declaration] ntfy_add_to_table(client, condition, type); ^~~~~~~~~~~~~~~~~ rm -f ndis_d_pri.o shared/ndis_d_pri.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndis_d_pri.c -o shared/ndis_d_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndis_d_pri.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndis_d_pri.c:16: ndis_d_pri.c: In function 'ndis_default_prioritizer': ../../../build/include/xview_private/ntfy.h:207:23: warning: implicit declaration of function 'sigisemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] #define sigisempty(s) sigisemptyset(s) ^~~~~~~~~~~~~ ndis_d_pri.c:44:10: note: in expansion of macro 'sigisempty' if (!sigisempty( auto_sigbits_ptr )) { ^~~~~~~~~~ ndis_d_pri.c: In function 'ndis_send_ascending_fd': ndis_d_pri.c:116:21: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd, i, byteNum; ^~ ndis_d_pri.c:116:25: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register fd, i, byteNum; ^ ndis_d_pri.c:116:28: warning: type defaults to 'int' in declaration of 'byteNum' [-Wimplicit-int] register fd, i, byteNum; ^~~~~~~ ndis_d_pri.c: In function 'ndis_send_ascending_sig': ndis_d_pri.c:143:21: warning: type defaults to 'int' in declaration of 'sig' [-Wimplicit-int] register sig; ^~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndis_d_pri.c -o ndis_d_pri.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndis_d_pri.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndis_d_pri.c:16: ndis_d_pri.c: In function 'ndis_default_prioritizer': ../../../build/include/xview_private/ntfy.h:207:23: warning: implicit declaration of function 'sigisemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] #define sigisempty(s) sigisemptyset(s) ^~~~~~~~~~~~~ ndis_d_pri.c:44:10: note: in expansion of macro 'sigisempty' if (!sigisempty( auto_sigbits_ptr )) { ^~~~~~~~~~ ndis_d_pri.c: In function 'ndis_send_ascending_fd': ndis_d_pri.c:116:21: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd, i, byteNum; ^~ ndis_d_pri.c:116:25: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register fd, i, byteNum; ^ ndis_d_pri.c:116:28: warning: type defaults to 'int' in declaration of 'byteNum' [-Wimplicit-int] register fd, i, byteNum; ^~~~~~~ ndis_d_pri.c: In function 'ndis_send_ascending_sig': ndis_d_pri.c:143:21: warning: type defaults to 'int' in declaration of 'sig' [-Wimplicit-int] register sig; ^~~ rm -f ndisd_wait.o shared/ndisd_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisd_wait.c -o shared/ndisd_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisd_wait.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisd_wait.c -o ndisd_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisd_wait.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f ndisdispch.o shared/ndisdispch.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisdispch.c -o shared/ndisdispch.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndisdispch.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndisdispch.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndisdispch.c: In function 'notify_client': ndisdispch.c:32:29: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] #define GETDTABLESIZE_MAX() getdtablesize() ^~~~~~~~~~~~~ ndisdispch.c:36:25: note: in expansion of macro 'GETDTABLESIZE_MAX' (dtablesize_cache = (GETDTABLESIZE_MAX() >= FD_SETSIZE \ ^~~~~~~~~~~~~~~~~ ndisdispch.c:227:30: note: in expansion of macro 'GETDTABLESIZE' int maxfds = GETDTABLESIZE(); ^~~~~~~~~~~~~ ndisdispch.c: In function 'notify_fd': ndisdispch.c:353:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ndis_send_func(nclient, type, (NTFY_DATA) fd, NTFY_USE_DATA, ^ ndisdispch.c: In function 'notify_signal': ndisdispch.c:439:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ndis_send_func(nclient, NTFY_SYNC_SIGNAL, (NTFY_DATA) sig, ^ ndisdispch.c: In function 'notify_destroy': ndisdispch.c:457:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status) || ^~~~~~~~~~~~~~~~~ ndet_check_sig ndisdispch.c: In function 'ndis_send_func': ndisdispch.c:558:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *data_ptr = (NTFY_DATA) condition->data.an_u_int; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisdispch.c -o ndisdispch.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ndisdispch.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ndisdispch.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ndisdispch.c: In function 'notify_client': ndisdispch.c:32:29: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] #define GETDTABLESIZE_MAX() getdtablesize() ^~~~~~~~~~~~~ ndisdispch.c:36:25: note: in expansion of macro 'GETDTABLESIZE_MAX' (dtablesize_cache = (GETDTABLESIZE_MAX() >= FD_SETSIZE \ ^~~~~~~~~~~~~~~~~ ndisdispch.c:227:30: note: in expansion of macro 'GETDTABLESIZE' int maxfds = GETDTABLESIZE(); ^~~~~~~~~~~~~ ndisdispch.c: In function 'notify_fd': ndisdispch.c:353:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ndis_send_func(nclient, type, (NTFY_DATA) fd, NTFY_USE_DATA, ^ ndisdispch.c: In function 'notify_signal': ndisdispch.c:439:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ndis_send_func(nclient, NTFY_SYNC_SIGNAL, (NTFY_DATA) sig, ^ ndisdispch.c: In function 'notify_destroy': ndisdispch.c:457:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status) || ^~~~~~~~~~~~~~~~~ ndet_check_sig ndisdispch.c: In function 'ndis_send_func': ndisdispch.c:558:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *data_ptr = (NTFY_DATA) condition->data.an_u_int; ^ rm -f ndisdsched.o shared/ndisdsched.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisdsched.c -o shared/ndisdsched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisdsched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ndisdsched.c:22:21: warning: 'save_sched_func' declared 'static' but never defined [-Wunused-function] static Notify_value save_sched_func(); ^~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisdsched.c -o ndisdsched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisdsched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ndisdsched.c:22:21: warning: 'save_sched_func' declared 'static' but never defined [-Wunused-function] static Notify_value save_sched_func(); ^~~~~~~~~~~~~~~ rm -f ndisgsched.o shared/ndisgsched.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisgsched.c -o shared/ndisgsched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisgsched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisgsched.c -o ndisgsched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisgsched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f ndisssched.o shared/ndisssched.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisssched.c -o shared/ndisssched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisssched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ndisssched.c -o ndisssched.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ndisssched.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nint_copy.o shared/nint_copy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_copy.c -o shared/nint_copy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_copy.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_copy.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_copy.c -o nint_copy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_copy.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_copy.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_get.o shared/nint_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_get.c -o shared/nint_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_get.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_get.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_get.c -o nint_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_get.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_get.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_i_fd.o shared/nint_i_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_fd.c -o shared/nint_i_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_i_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_i_fd.c: In function 'nint_interpose_fd_func': nint_i_fd.c:31:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_interpose_func(nclient, func, type, (NTFY_DATA) fd, ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_fd.c -o nint_i_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_i_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_i_fd.c: In function 'nint_interpose_fd_func': nint_i_fd.c:31:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_interpose_func(nclient, func, type, (NTFY_DATA) fd, ^ rm -f nint_i_in.o shared/nint_i_in.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_in.c -o shared/nint_i_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_in.c -o nint_i_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nint_i_out.o shared/nint_i_out.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_out.c -o shared/nint_i_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_out.c -o nint_i_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nint_i_sig.o shared/nint_i_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_sig.c -o shared/nint_i_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_i_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_i_sig.c: In function 'notify_interpose_signal_func': nint_i_sig.c:37:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_interpose_func(nclient, func, type, (NTFY_DATA) signal, ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_i_sig.c -o nint_i_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_i_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_i_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_i_sig.c: In function 'notify_interpose_signal_func': nint_i_sig.c:37:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_interpose_func(nclient, func, type, (NTFY_DATA) signal, ^ rm -f nint_inter.o shared/nint_inter.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_inter.c -o shared/nint_inter.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_inter.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_inter.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_inter.c -o nint_inter.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_inter.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_inter.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_n_fd.o shared/nint_n_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_fd.c -o shared/nint_n_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_fd.c -o nint_n_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_n_in.o shared/nint_n_in.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_in.c -o shared/nint_n_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_in.c -o nint_n_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_in.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_n_out.o shared/nint_n_out.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_out.c -o shared/nint_n_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_out.c -o nint_n_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_out.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_n_sig.o shared/nint_n_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_sig.c -o shared/nint_n_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_n_sig.c -o nint_n_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_n_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_n_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_next.o shared/nint_next.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_next.c -o shared/nint_next.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_next.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_next.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_next.c: In function 'nint_next_callout': nint_next.c:52:41: warning: array subscript has type 'char' [-Wchar-subscripts] func = stack_cond->callout.functions[stack_cond->func_next]; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_next.c -o nint_next.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_next.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_next.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_next.c: In function 'nint_next_callout': nint_next.c:52:41: warning: array subscript has type 'char' [-Wchar-subscripts] func = stack_cond->callout.functions[stack_cond->func_next]; ^ rm -f nint_r_fd.o shared/nint_r_fd.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_fd.c -o shared/nint_r_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_r_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_r_fd.c: In function 'nint_remove_fd_func': nint_r_fd.c:31:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_remove_func(nclient, func, type, (NTFY_DATA) fd, ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_fd.c -o nint_r_fd.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_fd.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_r_fd.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_r_fd.c: In function 'nint_remove_fd_func': nint_r_fd.c:31:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_remove_func(nclient, func, type, (NTFY_DATA) fd, ^ rm -f nint_r_in.o shared/nint_r_in.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_in.c -o shared/nint_r_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_in.c -o nint_r_in.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_in.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nint_r_out.o shared/nint_r_out.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_out.c -o shared/nint_r_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_out.c -o nint_r_out.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_out.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nint_r_sig.o shared/nint_r_sig.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_sig.c -o shared/nint_r_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_r_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_r_sig.c: In function 'notify_remove_signal_func': nint_r_sig.c:35:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_remove_func(nclient, func, type, (NTFY_DATA) signal, ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_r_sig.c -o nint_r_sig.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_r_sig.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_r_sig.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_r_sig.c: In function 'notify_remove_signal_func': nint_r_sig.c:35:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (nint_remove_func(nclient, func, type, (NTFY_DATA) signal, ^ rm -f nint_set.o shared/nint_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_set.c -o shared/nint_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_set.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_set.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_set.c -o nint_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_set.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_set.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nint_stack.o shared/nint_stack.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_stack.c -o shared/nint_stack.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_stack.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_stack.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_stack.c: In function 'nint_push_callout': nint_stack.c:57:32: warning: 'functions' may be used uninitialized in this function [-Wmaybe-uninitialized] stack_cond->callout.functions = functions; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nint_stack.c -o nint_stack.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nint_stack.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nint_stack.c:19: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nint_stack.c: In function 'nint_push_callout': nint_stack.c:57:32: warning: 'functions' may be used uninitialized in this function [-Wmaybe-uninitialized] stack_cond->callout.functions = functions; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ rm -f ninti_wait.o shared/ninti_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ninti_wait.c -o shared/ninti_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ninti_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ninti_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ninti_wait.c: In function 'notify_interpose_wait3_func': ninti_wait.c:28:9: warning: implicit declaration of function 'ndet_check_pid'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_pid(pid)) ^~~~~~~~~~~~~~ ndet_check_sig ninti_wait.c:31:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ninti_wait.c -o ninti_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ninti_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ninti_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ninti_wait.c: In function 'notify_interpose_wait3_func': ninti_wait.c:28:9: warning: implicit declaration of function 'ndet_check_pid'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_pid(pid)) ^~~~~~~~~~~~~~ ndet_check_sig ninti_wait.c:31:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ rm -f nintideath.o shared/nintideath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintideath.c -o shared/nintideath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintideath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintideath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintideath.c -o nintideath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintideath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintideath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintievent.o shared/nintievent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintievent.c -o shared/nintievent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintievent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintievent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintievent.c: In function 'notify_interpose_event_func': nintievent.c:30:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintievent.c -o nintievent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintievent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintievent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintievent.c: In function 'notify_interpose_event_func': nintievent.c:30:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f nintiexcpt.o shared/nintiexcpt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintiexcpt.c -o shared/nintiexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintiexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintiexcpt.c -o nintiexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintiexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nintiitimr.o shared/nintiitimr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintiitimr.c -o shared/nintiitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintiitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintiitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintiitimr.c -o nintiitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintiitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintiitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintn_wait.o shared/nintn_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintn_wait.c -o shared/nintn_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintn_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintn_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintn_wait.c -o nintn_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintn_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintn_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintndeath.o shared/nintndeath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintndeath.c -o shared/nintndeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintndeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintndeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintndeath.c: In function 'notify_next_destroy_func': nintndeath.c:29:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintndeath.c -o nintndeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintndeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintndeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintndeath.c: In function 'notify_next_destroy_func': nintndeath.c:29:9: warning: implicit declaration of function 'ndet_check_status'; did you mean 'ndet_check_sig'? [-Wimplicit-function-declaration] if (ndet_check_status(status)) ^~~~~~~~~~~~~~~~~ ndet_check_sig rm -f nintnevent.o shared/nintnevent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnevent.c -o shared/nintnevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintnevent.c: In function 'notify_next_event_func': nintnevent.c:32:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnevent.c -o nintnevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintnevent.c: In function 'notify_next_event_func': nintnevent.c:32:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f nintnexcpt.o shared/nintnexcpt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnexcpt.c -o shared/nintnexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnexcpt.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnexcpt.c -o nintnexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnexcpt.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintnitimr.o shared/nintnitimr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnitimr.c -o shared/nintnitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintnitimr.c -o nintnitimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintnitimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintnitimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintr_wait.o shared/nintr_wait.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintr_wait.c -o shared/nintr_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintr_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintr_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintr_wait.c: In function 'notify_remove_wait3_func': nintr_wait.c:29:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintr_wait.c -o nintr_wait.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintr_wait.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintr_wait.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintr_wait.c: In function 'notify_remove_wait3_func': nintr_wait.c:29:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) pid, NTFY_USE_DATA)); ^ rm -f nintrdeath.o shared/nintrdeath.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrdeath.c -o shared/nintrdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintrdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrdeath.c -o nintrdeath.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrdeath.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintrdeath.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f nintremove.o shared/nintremove.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintremove.c -o shared/nintremove.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintremove.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintremove.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintremove.c: In function 'nint_remove_func': nintremove.c:61:29: warning: array subscript has type 'char' [-Wchar-subscripts] cond->callout.functions[--cond->func_count] = ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintremove.c -o nintremove.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintremove.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintremove.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintremove.c: In function 'nint_remove_func': nintremove.c:61:29: warning: array subscript has type 'char' [-Wchar-subscripts] cond->callout.functions[--cond->func_count] = ^ rm -f nintrevent.o shared/nintrevent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrevent.c -o shared/nintrevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintrevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintrevent.c: In function 'notify_remove_event_func': nintrevent.c:30:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrevent.c -o nintrevent.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrevent.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintrevent.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ nintrevent.c: In function 'notify_remove_event_func': nintrevent.c:30:9: warning: implicit declaration of function 'ndet_check_when'; did you mean 'ndet_check_which'? [-Wimplicit-function-declaration] if (ndet_check_when(when, &type)) ^~~~~~~~~~~~~~~ ndet_check_which rm -f nintrexcpt.o shared/nintrexcpt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrexcpt.c -o shared/nintrexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintrexcpt.c -o nintrexcpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintrexcpt.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f nintritimr.o shared/nintritimr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintritimr.c -o shared/nintritimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintritimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintritimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c nintritimr.c -o nintritimr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from nintritimr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from nintritimr.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ntfy_cond.o shared/ntfy_cond.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_cond.c -o shared/ntfy_cond.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_cond.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_cond.c:25:17: warning: type defaults to 'int' in declaration of 'ntfy_paranoid_count' [-Wimplicit-int] static ntfy_paranoid_count; ^~~~~~~~~~~~~~~~~~~ ntfy_cond.c: In function 'ntfy_find_condition': ntfy_cond.c:49:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) (*condition_latest)->data.an_u_int == data) ^ ntfy_cond.c:57:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) condition->data.an_u_int == data) { ^ ntfy_cond.c: In function 'ntfy_new_condition': ntfy_cond.c:88:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] condition->data.an_u_int = (u_int) ((use_data) ? data : 0); ^ ntfy_cond.c: In function 'ntfy_remove_condition': ntfy_cond.c:128:5: warning: implicit declaration of function 'ntfy_remove_from_table'; did you mean 'ntfy_remove_node'? [-Wimplicit-function-declaration] ntfy_remove_from_table(client, condition); ^~~~~~~~~~~~~~~~~~~~~~ ntfy_remove_node ntfy_cond.c:137:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_NODE *) condition->data.an_u_int); ^ ntfy_cond.c:142:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) condition->data.an_u_int); ^ ntfy_cond.c:132:2: warning: enumeration value 'NTFY_UNKNOWN' not handled in switch [-Wswitch] switch (condition->type) { ^~~~~~ ntfy_cond.c:132:2: warning: enumeration value 'NTFY_INPUT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_OUTPUT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_EXCEPTION' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_SYNC_SIGNAL' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_ASYNC_SIGNAL' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_SAFE_EVENT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_IMMEDIATE_EVENT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_DESTROY' not handled in switch [-Wswitch] gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_cond.c -o ntfy_cond.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_cond.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_cond.c:25:17: warning: type defaults to 'int' in declaration of 'ntfy_paranoid_count' [-Wimplicit-int] static ntfy_paranoid_count; ^~~~~~~~~~~~~~~~~~~ ntfy_cond.c: In function 'ntfy_find_condition': ntfy_cond.c:49:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) (*condition_latest)->data.an_u_int == data) ^ ntfy_cond.c:57:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) condition->data.an_u_int == data) { ^ ntfy_cond.c: In function 'ntfy_new_condition': ntfy_cond.c:88:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] condition->data.an_u_int = (u_int) ((use_data) ? data : 0); ^ ntfy_cond.c: In function 'ntfy_remove_condition': ntfy_cond.c:128:5: warning: implicit declaration of function 'ntfy_remove_from_table'; did you mean 'ntfy_remove_node'? [-Wimplicit-function-declaration] ntfy_remove_from_table(client, condition); ^~~~~~~~~~~~~~~~~~~~~~ ntfy_remove_node ntfy_cond.c:137:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_NODE *) condition->data.an_u_int); ^ ntfy_cond.c:142:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (NTFY_DATA) condition->data.an_u_int); ^ ntfy_cond.c:132:2: warning: enumeration value 'NTFY_UNKNOWN' not handled in switch [-Wswitch] switch (condition->type) { ^~~~~~ ntfy_cond.c:132:2: warning: enumeration value 'NTFY_INPUT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_OUTPUT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_EXCEPTION' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_SYNC_SIGNAL' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_ASYNC_SIGNAL' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_SAFE_EVENT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_IMMEDIATE_EVENT' not handled in switch [-Wswitch] ntfy_cond.c:132:2: warning: enumeration value 'NTFY_DESTROY' not handled in switch [-Wswitch] rm -f ntfy_ctbl.o shared/ntfy_ctbl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_ctbl.c -o shared/ntfy_ctbl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_ctbl.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_ctbl.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c: In function 'ntfy_add_to_table': ntfy_ctbl.c:44:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c:54:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c:65:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c: At top level: ntfy_ctbl.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c: In function 'ntfy_remove_from_table': ntfy_ctbl.c:80:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:73:1: note: declared here ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c:96:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:73:1: note: declared here ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c: At top level: ntfy_ctbl.c:177:17: warning: type defaults to 'int' in declaration of 'ntfy_paranoid_count' [-Wimplicit-int] static ntfy_paranoid_count; ^~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_ctbl.c -o ntfy_ctbl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_ctbl.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_ctbl.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c: In function 'ntfy_add_to_table': ntfy_ctbl.c:44:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c:54:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c:65:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:18:1: note: declared here ntfy_add_to_table(client, condition, type) ^~~~~~~~~~~~~~~~~ ntfy_ctbl.c: At top level: ntfy_ctbl.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c: In function 'ntfy_remove_from_table': ntfy_ctbl.c:80:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:73:1: note: declared here ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c:96:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ntfy_ctbl.c:73:1: note: declared here ntfy_remove_from_table(client, condition) ^~~~~~~~~~~~~~~~~~~~~~ ntfy_ctbl.c: At top level: ntfy_ctbl.c:177:17: warning: type defaults to 'int' in declaration of 'ntfy_paranoid_count' [-Wimplicit-int] static ntfy_paranoid_count; ^~~~~~~~~~~~~~~~~~~ rm -f ntfy_debug.o shared/ntfy_debug.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_debug.c -o shared/ntfy_debug.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ntfy_debug.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_debug.c: In function 'ntfy_assert_debug': ntfy_debug.c:65:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfy_debug.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ntfy_debug.c: In function 'ntfy_fatal_error': ntfy_debug.c:81:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfy_debug.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_debug.c -o ntfy_debug.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ntfy_debug.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfy_debug.c: In function 'ntfy_assert_debug': ntfy_debug.c:65:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfy_debug.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ntfy_debug.c: In function 'ntfy_fatal_error': ntfy_debug.c:81:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfy_debug.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f ntfy_dump.o shared/ntfy_dump.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_dump.c -o shared/ntfy_dump.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_dump.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfy_dump.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ntfy_dump.c: In function 'ntfy_dump': ntfy_dump.c:75:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_value (*)()' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "Client handle %lx, prioritizer %lx", ~~^ client->nclient, client->prioritizer); ~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:89:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "input pending on fd %ld", cond->data.fd); ~~^ ~~~~~~~~~~~~~ %d ntfy_dump.c:92:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "output completed on fd %ld", ~~^ %d cond->data.fd); ~~~~~~~~~~~~~ ntfy_dump.c:96:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "exception occured on fd %ld", ~~^ %d cond->data.fd); ~~~~~~~~~~~~~ ntfy_dump.c:100:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "signal (synchronous) %ld", ~~^ %d cond->data.signal); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:104:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "signal (asynchronous) %ld", ~~^ %d cond->data.signal); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:110:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'struct ntfy_itimer *' [-Wformat=] (void) fprintf(data->file, "waiting (%lx)", ~~^ cond->data.ntfy_itimer); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:118:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'struct ntfy_itimer *' [-Wformat=] (void) fprintf(data->file, "waiting (%lx)", ~~^ cond->data.ntfy_itimer); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:125:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "wait3 pid %ld", ~~^ %d cond->data.pid); ~~~~~~~~~~~~~~ ntfy_dump.c:128:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "wait3 pid %ld", ~~^ %d cond->data.wait3->pid); ~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:139:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] (void) fprintf(data->file, "destroy status %lx", ~~^ %x cond->data.status); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:143:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u_int' {aka 'unsigned int'} [-Wformat=] (void) fprintf(data->file, "UNKNOWN %lx", cond->data.an_u_int); ~~^ ~~~~~~~~~~~~~~~~~~~ %x ntfy_dump.c:148:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ cond->callout.functions[0], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:150:10: cond->callout.functions[1], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:151:10: cond->callout.functions[2], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:152:10: cond->callout.functions[3], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:29: warning: too many arguments for format [-Wformat-extra-args] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:155:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "\n\t\tfunc count %ld, func next %ld\n", ~~^ %d cond->func_count, cond->func_next); ~~~~~~~~~~~~~~~~ ntfy_dump.c:155:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] "\n\t\tfunc count %ld, func next %ld\n", ~~^ %d cond->func_count, cond->func_next); ~~~~~~~~~~~~~~~ ntfy_dump.c:158:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, ", func: %lx\n", ~~^ cond->callout.function); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:163:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_release' {aka 'void (*)()'} [-Wformat=] "\targ: %lx, release func: %lx\n", ~~^ cond->arg, cond->release); ~~~~~~~~~~~~~ ntfy_dump.c:168:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_release' {aka 'void (*)()'} [-Wformat=] (void) fprintf(data->file, "\trelease func: %lx\n", ~~^ cond->release); ~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_dump.c -o ntfy_dump.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_dump.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfy_dump.c:18: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ntfy_dump.c: In function 'ntfy_dump': ntfy_dump.c:75:63: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_value (*)()' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "Client handle %lx, prioritizer %lx", ~~^ client->nclient, client->prioritizer); ~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:89:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "input pending on fd %ld", cond->data.fd); ~~^ ~~~~~~~~~~~~~ %d ntfy_dump.c:92:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "output completed on fd %ld", ~~^ %d cond->data.fd); ~~~~~~~~~~~~~ ntfy_dump.c:96:56: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "exception occured on fd %ld", ~~^ %d cond->data.fd); ~~~~~~~~~~~~~ ntfy_dump.c:100:53: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "signal (synchronous) %ld", ~~^ %d cond->data.signal); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:104:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "signal (asynchronous) %ld", ~~^ %d cond->data.signal); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:110:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'struct ntfy_itimer *' [-Wformat=] (void) fprintf(data->file, "waiting (%lx)", ~~^ cond->data.ntfy_itimer); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:118:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'struct ntfy_itimer *' [-Wformat=] (void) fprintf(data->file, "waiting (%lx)", ~~^ cond->data.ntfy_itimer); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:125:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "wait3 pid %ld", ~~^ %d cond->data.pid); ~~~~~~~~~~~~~~ ntfy_dump.c:128:46: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(data->file, "wait3 pid %ld", ~~^ %d cond->data.wait3->pid); ~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:139:47: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] (void) fprintf(data->file, "destroy status %lx", ~~^ %x cond->data.status); ~~~~~~~~~~~~~~~~~ ntfy_dump.c:143:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'u_int' {aka 'unsigned int'} [-Wformat=] (void) fprintf(data->file, "UNKNOWN %lx", cond->data.an_u_int); ~~^ ~~~~~~~~~~~~~~~~~~~ %x ntfy_dump.c:148:49: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ cond->callout.functions[0], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:53: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:150:10: cond->callout.functions[1], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:151:10: cond->callout.functions[2], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:61: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ~~^ ntfy_dump.c:152:10: cond->callout.functions[3], ~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:148:29: warning: too many arguments for format [-Wformat-extra-args] (void) fprintf(data->file, "\n\t\tfunctions: %lx %lx %lx %lx", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:155:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] "\n\t\tfunc count %ld, func next %ld\n", ~~^ %d cond->func_count, cond->func_next); ~~~~~~~~~~~~~~~~ ntfy_dump.c:155:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] "\n\t\tfunc count %ld, func next %ld\n", ~~^ %d cond->func_count, cond->func_next); ~~~~~~~~~~~~~~~ ntfy_dump.c:158:40: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_func' {aka 'enum notify_value (*)()'} [-Wformat=] (void) fprintf(data->file, ", func: %lx\n", ~~^ cond->callout.function); ~~~~~~~~~~~~~~~~~~~~~~ ntfy_dump.c:163:36: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'Notify_release' {aka 'void (*)()'} [-Wformat=] "\targ: %lx, release func: %lx\n", ~~^ cond->arg, cond->release); ~~~~~~~~~~~~~ ntfy_dump.c:168:52: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'Notify_release' {aka 'void (*)()'} [-Wformat=] (void) fprintf(data->file, "\trelease func: %lx\n", ~~^ cond->release); ~~~~~~~~~~~~~ rm -f ntfy_fd_op.o shared/ntfy_fd_op.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_fd_op.c -o shared/ntfy_fd_op.o In file included from /usr/include/sys/time.h:21, from ntfy_fd_op.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_fd_op.c -o ntfy_fd_op.o In file included from /usr/include/sys/time.h:21, from ntfy_fd_op.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f ntfy_list.o shared/ntfy_list.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_list.c -o shared/ntfy_list.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ntfy_list.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfy_list.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_list.c -o ntfy_list.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ntfy_list.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfy_list.c:21: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ rm -f ntfy_node.o shared/ntfy_node.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_node.c -o shared/ntfy_node.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_node.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfy_node.c -o ntfy_node.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfy_node.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f ntfyclient.o shared/ntfyclient.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyclient.c -o shared/ntfyclient.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfyclient.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfyclient.c:30: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ntfyclient.c: In function 'ntfy_find_nclient': ntfyclient.c:96:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( client = (NTFY_CLIENT *)tfind( &dummy_client, ndet_root, ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyclient.c -o ntfyclient.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfyclient.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfyclient.c:30: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ ntfyclient.c: In function 'ntfy_find_nclient': ntfyclient.c:96:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( client = (NTFY_CLIENT *)tfind( &dummy_client, ndet_root, ^~~~~~ rm -f ntfyperror.o shared/ntfyperror.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyperror.c -o shared/ntfyperror.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ntfyperror.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfyperror.c: In function 'notify_perror': ntfyperror.c:73:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfyperror.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyperror.c -o ntfyperror.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ntfyperror.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ntfyperror.c: In function 'notify_perror': ntfyperror.c:73:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ntfyperror.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f ntfyprotec.o shared/ntfyprotec.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyprotec.c -o shared/ntfyprotec.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfyprotec.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfyprotec.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ In file included from ntfyprotec.c:19: ntfyprotec.c: In function 'ntfy_end_critical': ../../../build/include/xview_private/ntfy.h:207:23: warning: implicit declaration of function 'sigisemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] #define sigisempty(s) sigisemptyset(s) ^~~~~~~~~~~~~ ntfyprotec.c:50:36: note: in expansion of macro 'sigisempty' if (ntfy_sigs_blocked == 0 && !sigisempty( &ntfy_sigs_delayed )) ^~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ntfyprotec.c -o ntfyprotec.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from ntfyprotec.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ntfyprotec.c:20: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ In file included from ntfyprotec.c:19: ntfyprotec.c: In function 'ntfy_end_critical': ../../../build/include/xview_private/ntfy.h:207:23: warning: implicit declaration of function 'sigisemptyset'; did you mean 'sigemptyset'? [-Wimplicit-function-declaration] #define sigisempty(s) sigisemptyset(s) ^~~~~~~~~~~~~ ntfyprotec.c:50:36: note: in expansion of macro 'sigisempty' if (ntfy_sigs_blocked == 0 && !sigisempty( &ntfy_sigs_delayed )) ^~~~~~~~~~ rm -f sys_fcntl.o shared/sys_fcntl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_fcntl.c -o shared/sys_fcntl.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_fcntl.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sys_fcntl.c: In function 'notify_fcntl': sys_fcntl.c:36:13: warning: implicit declaration of function '__fcntl'; did you mean 'fcntl'? [-Wimplicit-function-declaration] return (__fcntl(fd, cmd, arg)); ^~~~~~~ fcntl gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_fcntl.c -o sys_fcntl.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_fcntl.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sys_fcntl.c: In function 'notify_fcntl': sys_fcntl.c:36:13: warning: implicit declaration of function '__fcntl'; did you mean 'fcntl'? [-Wimplicit-function-declaration] return (__fcntl(fd, cmd, arg)); ^~~~~~~ fcntl rm -f sys_read.o shared/sys_read.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_read.c -o shared/sys_read.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_read.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sys_read.c: In function 'notify_read': sys_read.c:38:13: warning: implicit declaration of function '__read'; did you mean 'fread'? [-Wimplicit-function-declaration] return (__read(fd, buf, (off_t)nbytes)); ^~~~~~ fread gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_read.c -o sys_read.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_read.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sys_read.c: In function 'notify_read': sys_read.c:38:13: warning: implicit declaration of function '__read'; did you mean 'fread'? [-Wimplicit-function-declaration] return (__read(fd, buf, (off_t)nbytes)); ^~~~~~ fread rm -f sys_select.o shared/sys_select.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_select.c -o shared/sys_select.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_select.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sys_select.c -o sys_select.o In file included from /usr/include/unistd.h:25, from linux_select.h:8, from sys_select.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f linux_select.o shared/linux_select.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c linux_select.c -o shared/linux_select.o In file included from /usr/include/sys/time.h:21, from linux_select.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ linux_select.c: In function 'linux_select': linux_select.c:43:10: warning: implicit declaration of function '__select'; did you mean 'pselect'? [-Wimplicit-function-declaration] return __select(width, readfds, writefds, exceptfds, timeout ? &tout_copy : NULL); ^~~~~~~~ pselect gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c linux_select.c -o linux_select.o In file included from /usr/include/sys/time.h:21, from linux_select.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ linux_select.c: In function 'linux_select': linux_select.c:43:10: warning: implicit declaration of function '__select'; did you mean 'pselect'? [-Wimplicit-function-declaration] return __select(width, readfds, writefds, exceptfds, timeout ? &tout_copy : NULL); ^~~~~~~~ pselect rm -f notifydata.o shared/notifydata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notifydata.c -o shared/notifydata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from notifydata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c notifydata.c -o notifydata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/ntfy.h:31, from notifydata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/ndet_auto.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_auto.o ../../libxview/xshared/ndet_auto.o + rm -f ../../libxview/xshared/ndet_death.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_death.o ../../libxview/xshared/ndet_death.o + rm -f ../../libxview/xshared/ndet_die.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_die.o ../../libxview/xshared/ndet_die.o + rm -f ../../libxview/xshared/ndet_dodis.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_dodis.o ../../libxview/xshared/ndet_dodis.o + rm -f ../../libxview/xshared/ndet_event.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_event.o ../../libxview/xshared/ndet_event.o + rm -f ../../libxview/xshared/ndet_fcntl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_fcntl.o ../../libxview/xshared/ndet_fcntl.o + rm -f ../../libxview/xshared/ndet_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_fd.o ../../libxview/xshared/ndet_fd.o + rm -f ../../libxview/xshared/ndet_g_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_g_fd.o ../../libxview/xshared/ndet_g_fd.o + rm -f ../../libxview/xshared/ndet_g_in.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_g_in.o ../../libxview/xshared/ndet_g_in.o + rm -f ../../libxview/xshared/ndet_g_out.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_g_out.o ../../libxview/xshared/ndet_g_out.o + rm -f ../../libxview/xshared/ndet_g_pri.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_g_pri.o ../../libxview/xshared/ndet_g_pri.o + rm -f ../../libxview/xshared/ndet_g_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_g_sig.o ../../libxview/xshared/ndet_g_sig.o + rm -f ../../libxview/xshared/ndet_loop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_loop.o ../../libxview/xshared/ndet_loop.o + rm -f ../../libxview/xshared/ndet_nodis.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_nodis.o ../../libxview/xshared/ndet_nodis.o + rm -f ../../libxview/xshared/ndet_read.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_read.o ../../libxview/xshared/ndet_read.o + rm -f ../../libxview/xshared/ndet_s_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_s_fd.o ../../libxview/xshared/ndet_s_fd.o + rm -f ../../libxview/xshared/ndet_s_in.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_s_in.o ../../libxview/xshared/ndet_s_in.o + rm -f ../../libxview/xshared/ndet_s_out.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_s_out.o ../../libxview/xshared/ndet_s_out.o + rm -f ../../libxview/xshared/ndet_s_pri.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_s_pri.o ../../libxview/xshared/ndet_s_pri.o + rm -f ../../libxview/xshared/ndet_s_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_s_sig.o ../../libxview/xshared/ndet_s_sig.o + rm -f ../../libxview/xshared/ndet_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_sig.o ../../libxview/xshared/ndet_sig.o + rm -f ../../libxview/xshared/ndet_value.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_value.o ../../libxview/xshared/ndet_value.o + rm -f ../../libxview/xshared/ndet_veto.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_veto.o ../../libxview/xshared/ndet_veto.o + rm -f ../../libxview/xshared/ndet_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndet_wait.o ../../libxview/xshared/ndet_wait.o + rm -f ../../libxview/xshared/ndetg_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetg_wait.o ../../libxview/xshared/ndetg_wait.o + rm -f ../../libxview/xshared/ndetgdeath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetgdeath.o ../../libxview/xshared/ndetgdeath.o + rm -f ../../libxview/xshared/ndetgetfnc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetgetfnc.o ../../libxview/xshared/ndetgetfnc.o + rm -f ../../libxview/xshared/ndetgevent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetgevent.o ../../libxview/xshared/ndetgevent.o + rm -f ../../libxview/xshared/ndetgexcep.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetgexcep.o ../../libxview/xshared/ndetgexcep.o + rm -f ../../libxview/xshared/ndetgitimr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetgitimr.o ../../libxview/xshared/ndetgitimr.o + rm -f ../../libxview/xshared/ndetitimer.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetitimer.o ../../libxview/xshared/ndetitimer.o + rm -f ../../libxview/xshared/ndetpdeath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetpdeath.o ../../libxview/xshared/ndetpdeath.o + rm -f ../../libxview/xshared/ndetpevent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetpevent.o ../../libxview/xshared/ndetpevent.o + rm -f ../../libxview/xshared/ndetremove.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetremove.o ../../libxview/xshared/ndetremove.o + rm -f ../../libxview/xshared/ndets_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndets_wait.o ../../libxview/xshared/ndets_wait.o + rm -f ../../libxview/xshared/ndetsdeath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetsdeath.o ../../libxview/xshared/ndetsdeath.o + rm -f ../../libxview/xshared/ndetselect.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetselect.o ../../libxview/xshared/ndetselect.o + rm -f ../../libxview/xshared/ndetsevent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetsevent.o ../../libxview/xshared/ndetsevent.o + rm -f ../../libxview/xshared/ndetsexcep.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetsexcep.o ../../libxview/xshared/ndetsexcep.o + rm -f ../../libxview/xshared/ndetsingle.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetsingle.o ../../libxview/xshared/ndetsingle.o + rm -f ../../libxview/xshared/ndetsitimr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndetsitimr.o ../../libxview/xshared/ndetsitimr.o + rm -f ../../libxview/xshared/ndis_d_pri.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndis_d_pri.o ../../libxview/xshared/ndis_d_pri.o + rm -f ../../libxview/xshared/ndisd_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndisd_wait.o ../../libxview/xshared/ndisd_wait.o + rm -f ../../libxview/xshared/ndisdispch.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndisdispch.o ../../libxview/xshared/ndisdispch.o + rm -f ../../libxview/xshared/ndisdsched.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndisdsched.o ../../libxview/xshared/ndisdsched.o + rm -f ../../libxview/xshared/ndisgsched.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndisgsched.o ../../libxview/xshared/ndisgsched.o + rm -f ../../libxview/xshared/ndisssched.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ndisssched.o ../../libxview/xshared/ndisssched.o + rm -f ../../libxview/xshared/nint_copy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_copy.o ../../libxview/xshared/nint_copy.o + rm -f ../../libxview/xshared/nint_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_get.o ../../libxview/xshared/nint_get.o + rm -f ../../libxview/xshared/nint_i_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_i_fd.o ../../libxview/xshared/nint_i_fd.o + rm -f ../../libxview/xshared/nint_i_in.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_i_in.o ../../libxview/xshared/nint_i_in.o + rm -f ../../libxview/xshared/nint_i_out.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_i_out.o ../../libxview/xshared/nint_i_out.o + rm -f ../../libxview/xshared/nint_i_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_i_sig.o ../../libxview/xshared/nint_i_sig.o + rm -f ../../libxview/xshared/nint_inter.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_inter.o ../../libxview/xshared/nint_inter.o + rm -f ../../libxview/xshared/nint_n_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_n_fd.o ../../libxview/xshared/nint_n_fd.o + rm -f ../../libxview/xshared/nint_n_in.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_n_in.o ../../libxview/xshared/nint_n_in.o + rm -f ../../libxview/xshared/nint_n_out.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_n_out.o ../../libxview/xshared/nint_n_out.o + rm -f ../../libxview/xshared/nint_n_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_n_sig.o ../../libxview/xshared/nint_n_sig.o + rm -f ../../libxview/xshared/nint_next.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_next.o ../../libxview/xshared/nint_next.o + rm -f ../../libxview/xshared/nint_r_fd.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_r_fd.o ../../libxview/xshared/nint_r_fd.o + rm -f ../../libxview/xshared/nint_r_in.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_r_in.o ../../libxview/xshared/nint_r_in.o + rm -f ../../libxview/xshared/nint_r_out.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_r_out.o ../../libxview/xshared/nint_r_out.o + rm -f ../../libxview/xshared/nint_r_sig.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_r_sig.o ../../libxview/xshared/nint_r_sig.o + rm -f ../../libxview/xshared/nint_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_set.o ../../libxview/xshared/nint_set.o + rm -f ../../libxview/xshared/nint_stack.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nint_stack.o ../../libxview/xshared/nint_stack.o + rm -f ../../libxview/xshared/ninti_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ninti_wait.o ../../libxview/xshared/ninti_wait.o + rm -f ../../libxview/xshared/nintideath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintideath.o ../../libxview/xshared/nintideath.o + rm -f ../../libxview/xshared/nintievent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintievent.o ../../libxview/xshared/nintievent.o + rm -f ../../libxview/xshared/nintiexcpt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintiexcpt.o ../../libxview/xshared/nintiexcpt.o + rm -f ../../libxview/xshared/nintiitimr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintiitimr.o ../../libxview/xshared/nintiitimr.o + rm -f ../../libxview/xshared/nintn_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintn_wait.o ../../libxview/xshared/nintn_wait.o + rm -f ../../libxview/xshared/nintndeath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintndeath.o ../../libxview/xshared/nintndeath.o + rm -f ../../libxview/xshared/nintnevent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintnevent.o ../../libxview/xshared/nintnevent.o + rm -f ../../libxview/xshared/nintnexcpt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintnexcpt.o ../../libxview/xshared/nintnexcpt.o + rm -f ../../libxview/xshared/nintnitimr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintnitimr.o ../../libxview/xshared/nintnitimr.o + rm -f ../../libxview/xshared/nintr_wait.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintr_wait.o ../../libxview/xshared/nintr_wait.o + rm -f ../../libxview/xshared/nintrdeath.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintrdeath.o ../../libxview/xshared/nintrdeath.o + rm -f ../../libxview/xshared/nintremove.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintremove.o ../../libxview/xshared/nintremove.o + rm -f ../../libxview/xshared/nintrevent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintrevent.o ../../libxview/xshared/nintrevent.o + rm -f ../../libxview/xshared/nintrexcpt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintrexcpt.o ../../libxview/xshared/nintrexcpt.o + rm -f ../../libxview/xshared/nintritimr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/nintritimr.o ../../libxview/xshared/nintritimr.o + rm -f ../../libxview/xshared/ntfy_cond.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_cond.o ../../libxview/xshared/ntfy_cond.o + rm -f ../../libxview/xshared/ntfy_ctbl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_ctbl.o ../../libxview/xshared/ntfy_ctbl.o + rm -f ../../libxview/xshared/ntfy_debug.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_debug.o ../../libxview/xshared/ntfy_debug.o + rm -f ../../libxview/xshared/ntfy_dump.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_dump.o ../../libxview/xshared/ntfy_dump.o + rm -f ../../libxview/xshared/ntfy_fd_op.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_fd_op.o ../../libxview/xshared/ntfy_fd_op.o + rm -f ../../libxview/xshared/ntfy_list.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_list.o ../../libxview/xshared/ntfy_list.o + rm -f ../../libxview/xshared/ntfy_node.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfy_node.o ../../libxview/xshared/ntfy_node.o + rm -f ../../libxview/xshared/ntfyclient.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfyclient.o ../../libxview/xshared/ntfyclient.o + rm -f ../../libxview/xshared/ntfyperror.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfyperror.o ../../libxview/xshared/ntfyperror.o + rm -f ../../libxview/xshared/ntfyprotec.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/ntfyprotec.o ../../libxview/xshared/ntfyprotec.o + rm -f ../../libxview/xshared/sys_fcntl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/sys_fcntl.o ../../libxview/xshared/sys_fcntl.o + rm -f ../../libxview/xshared/sys_read.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/sys_read.o ../../libxview/xshared/sys_read.o + rm -f ../../libxview/xshared/sys_select.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/sys_select.o ../../libxview/xshared/sys_select.o + rm -f ../../libxview/xshared/linux_select.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/linux_select.o ../../libxview/xshared/linux_select.o + rm -f ../../libxview/xshared/notifydata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify/shared/notifydata.o ../../libxview/xshared/notifydata.o ar ruv ../../libxview/libxview.a ndet_auto.o ndet_death.o ndet_die.o ndet_dodis.o ndet_event.o ndet_fcntl.o ndet_fd.o ndet_g_fd.o ndet_g_in.o ndet_g_out.o ndet_g_pri.o ndet_g_sig.o ndet_loop.o ndet_nodis.o ndet_read.o ndet_s_fd.o ndet_s_in.o ndet_s_out.o ndet_s_pri.o ndet_s_sig.o ndet_sig.o ndet_value.o ndet_veto.o ndet_wait.o ndetg_wait.o ndetgdeath.o ndetgetfnc.o ndetgevent.o ndetgexcep.o ndetgitimr.o ndetitimer.o ndetpdeath.o ndetpevent.o ndetremove.o ndets_wait.o ndetsdeath.o ndetselect.o ndetsevent.o ndetsexcep.o ndetsingle.o ndetsitimr.o ndis_d_pri.o ndisd_wait.o ndisdispch.o ndisdsched.o ndisgsched.o ndisssched.o nint_copy.o nint_get.o nint_i_fd.o nint_i_in.o nint_i_out.o nint_i_sig.o nint_inter.o nint_n_fd.o nint_n_in.o nint_n_out.o nint_n_sig.o nint_next.o nint_r_fd.o nint_r_in.o nint_r_out.o nint_r_sig.o nint_set.o nint_stack.o ninti_wait.o nintideath.o nintievent.o nintiexcpt.o nintiitimr.o nintn_wait.o nintndeath.o nintnevent.o nintnexcpt.o nintnitimr.o nintr_wait.o nintrdeath.o nintremove.o nintrevent.o nintrexcpt.o nintritimr.o ntfy_cond.o ntfy_ctbl.o ntfy_debug.o ntfy_dump.o ntfy_fd_op.o ntfy_list.o ntfy_node.o ntfyclient.o ntfyperror.o ntfyprotec.o sys_fcntl.o sys_read.o sys_select.o linux_select.o notifydata.o a - ndet_auto.o a - ndet_death.o a - ndet_die.o a - ndet_dodis.o a - ndet_event.o a - ndet_fcntl.o a - ndet_fd.o a - ndet_g_fd.o a - ndet_g_in.o a - ndet_g_out.o a - ndet_g_pri.o a - ndet_g_sig.o a - ndet_loop.o a - ndet_nodis.o a - ndet_read.o a - ndet_s_fd.o a - ndet_s_in.o a - ndet_s_out.o a - ndet_s_pri.o a - ndet_s_sig.o a - ndet_sig.o a - ndet_value.o a - ndet_veto.o a - ndet_wait.o a - ndetg_wait.o a - ndetgdeath.o a - ndetgetfnc.o a - ndetgevent.o a - ndetgexcep.o a - ndetgitimr.o a - ndetitimer.o a - ndetpdeath.o a - ndetpevent.o a - ndetremove.o a - ndets_wait.o a - ndetsdeath.o a - ndetselect.o a - ndetsevent.o a - ndetsexcep.o a - ndetsingle.o a - ndetsitimr.o a - ndis_d_pri.o a - ndisd_wait.o a - ndisdispch.o a - ndisdsched.o a - ndisgsched.o a - ndisssched.o a - nint_copy.o a - nint_get.o a - nint_i_fd.o a - nint_i_in.o a - nint_i_out.o a - nint_i_sig.o a - nint_inter.o a - nint_n_fd.o a - nint_n_in.o a - nint_n_out.o a - nint_n_sig.o a - nint_next.o a - nint_r_fd.o a - nint_r_in.o a - nint_r_out.o a - nint_r_sig.o a - nint_set.o a - nint_stack.o a - ninti_wait.o a - nintideath.o a - nintievent.o a - nintiexcpt.o a - nintiitimr.o a - nintn_wait.o a - nintndeath.o a - nintnevent.o a - nintnexcpt.o a - nintnitimr.o a - nintr_wait.o a - nintrdeath.o a - nintremove.o a - nintrevent.o a - nintrexcpt.o a - nintritimr.o a - ntfy_cond.o a - ntfy_ctbl.o a - ntfy_debug.o a - ntfy_dump.o a - ntfy_fd_op.o a - ntfy_list.o a - ntfy_node.o a - ntfyclient.o a - ntfyperror.o a - ntfyprotec.o a - sys_fcntl.o a - sys_read.o a - sys_select.o a - linux_select.o a - notifydata.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/notify' making all in lib/libxview/openwin... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' rm -f openwin.o shared/openwin.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c openwin.c -o shared/openwin.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from openwin.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ openwin.c:47:1: warning: missing braces around initializer [-Wmissing-braces] { ^ openwin.c: In function 'openwin_init': openwin.c:101:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owin_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from openwin.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ openwin.c: In function 'openwin_layout': openwin.c:207:6: warning: implicit declaration of function 'openwin_remove_split'; did you mean 'openwin_event'? [-Wimplicit-function-declaration] openwin_remove_split(owin, view); ^~~~~~~~~~~~~~~~~~~~ openwin_event openwin.c:216:10: warning: implicit declaration of function 'openwin_viewdata_for_sb'; did you mean 'openwin_viewdata_for_view'? [-Wimplicit-function-declaration] if (openwin_viewdata_for_sb(owin, child, &view, &direction, &last) == XV_OK) { ^~~~~~~~~~~~~~~~~~~~~~~ openwin_viewdata_for_view In file included from openwin.c:24: ../../../build/include/xview_private/ow_impl.h:53:36: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin_sb((view), (direction)) = sb ^ openwin.c:217:3: note: in expansion of macro 'openwin_set_sb' openwin_set_sb(view, direction, NULL); ^~~~~~~~~~~~~~ openwin.c: In function 'openwin_set_bg_color': openwin.c:250:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owin_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from openwin.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c openwin.c -o openwin.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from openwin.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ openwin.c:47:1: warning: missing braces around initializer [-Wmissing-braces] { ^ openwin.c: In function 'openwin_init': openwin.c:101:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owin_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from openwin.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ openwin.c: In function 'openwin_layout': openwin.c:207:6: warning: implicit declaration of function 'openwin_remove_split'; did you mean 'openwin_event'? [-Wimplicit-function-declaration] openwin_remove_split(owin, view); ^~~~~~~~~~~~~~~~~~~~ openwin_event openwin.c:216:10: warning: implicit declaration of function 'openwin_viewdata_for_sb'; did you mean 'openwin_viewdata_for_view'? [-Wimplicit-function-declaration] if (openwin_viewdata_for_sb(owin, child, &view, &direction, &last) == XV_OK) { ^~~~~~~~~~~~~~~~~~~~~~~ openwin_viewdata_for_view In file included from openwin.c:24: ../../../build/include/xview_private/ow_impl.h:53:36: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin_sb((view), (direction)) = sb ^ openwin.c:217:3: note: in expansion of macro 'openwin_set_sb' openwin_set_sb(view, direction, NULL); ^~~~~~~~~~~~~~ openwin.c: In function 'openwin_set_bg_color': openwin.c:250:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(owin_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from openwin.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f ow_evt.o shared/ow_evt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_evt.c -o shared/ow_evt.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_evt.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_evt.c: In function 'openwin_event': ow_evt.c:54:3: warning: implicit declaration of function 'openwin_rescale'; did you mean 'openwin_destroy'? [-Wimplicit-function-declaration] openwin_rescale(owin_public, (int) arg); ^~~~~~~~~~~~~~~ openwin_destroy gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_evt.c -o ow_evt.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_evt.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_evt.c: In function 'openwin_event': ow_evt.c:54:3: warning: implicit declaration of function 'openwin_rescale'; did you mean 'openwin_destroy'? [-Wimplicit-function-declaration] openwin_rescale(owin_public, (int) arg); ^~~~~~~~~~~~~~~ openwin_destroy rm -f ow_get.o shared/ow_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_get.c -o shared/ow_get.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_get.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_get.c: In function 'openwin_get': ow_get.c:88:7: warning: case value '1229457921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_HORIZONTAL_SCROLLBAR: ^~~~ ow_get.c:59:7: warning: case value '1233914369' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_get.c -o ow_get.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_get.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_get.c: In function 'openwin_get': ow_get.c:88:7: warning: case value '1229457921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_HORIZONTAL_SCROLLBAR: ^~~~ ow_get.c:59:7: warning: case value '1233914369' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ rm -f ow_paint.o shared/ow_paint.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_paint.c -o shared/ow_paint.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_paint.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_paint.c: In function 'openwin_clear_damage': ow_paint.c:61:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_paint.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_paint.c -o ow_paint.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_paint.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_paint.c: In function 'openwin_clear_damage': ow_paint.c:61:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_paint.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f ow_resize.o shared/ow_resize.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_resize.c -o shared/ow_resize.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_resize.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_resize.c: In function 'openwin_adjust_view': ow_resize.c:107:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_resize.c:113:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_resize.c: In function 'openwin_place_scrollbar': ow_resize.c:142:12: warning: comparison between pointer and integer if (sb == NULL) ^~ ow_resize.c: In function 'openwin_adjust_view_rect': ow_resize.c:226:13: warning: comparison between pointer and integer if (vsb != NULL) { ^~ ow_resize.c:232:13: warning: comparison between pointer and integer if (hsb != NULL) { ^~ ow_resize.c: In function 'openwin_adjust_view_by_margins': ow_resize.c:297:40: warning: comparison between pointer and integer (openwin_sb(view, SCROLLBAR_VERTICAL) != NULL) || ^~ ow_resize.c:301:42: warning: comparison between pointer and integer (openwin_sb(view, SCROLLBAR_HORIZONTAL) != NULL) || ^~ ow_resize.c: In function 'openwin_adjust_views': ow_resize.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_resize.c -o ow_resize.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_resize.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_resize.c: In function 'openwin_adjust_view': ow_resize.c:107:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_resize.c:113:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_resize.c: In function 'openwin_place_scrollbar': ow_resize.c:142:12: warning: comparison between pointer and integer if (sb == NULL) ^~ ow_resize.c: In function 'openwin_adjust_view_rect': ow_resize.c:226:13: warning: comparison between pointer and integer if (vsb != NULL) { ^~ ow_resize.c:232:13: warning: comparison between pointer and integer if (hsb != NULL) { ^~ ow_resize.c: In function 'openwin_adjust_view_by_margins': ow_resize.c:297:40: warning: comparison between pointer and integer (openwin_sb(view, SCROLLBAR_VERTICAL) != NULL) || ^~ ow_resize.c:301:42: warning: comparison between pointer and integer (openwin_sb(view, SCROLLBAR_HORIZONTAL) != NULL) || ^~ ow_resize.c: In function 'openwin_adjust_views': ow_resize.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f ow_set.o shared/ow_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_set.c -o shared/ow_set.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_set.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_set.c:26:12: warning: type defaults to 'int' in declaration of 'scrollbar_minimum_size' [-Wimplicit-int] Xv_private scrollbar_minimum_size(); ^~~~~~~~~~~~~~~~~~~~~~ ow_set.c: In function 'openwin_set': ow_set.c:92:32: warning: comparison between pointer and integer if ((Scrollbar) avlist[1] != NULL) { ^~ ow_set.c:104:32: warning: comparison between pointer and integer if ((Scrollbar) avlist[1] != NULL) { ^~ In file included from ../../../build/include/xview_private/ow_impl.h:26, from ow_set.c:22: ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ ow_set.c:185:3: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(OPENWIN_PUBLIC(owin), view) ^~~~~~~~~~~~~~~~~ ow_set.c:216:7: warning: implicit declaration of function 'openwin_set_bg_color'; did you mean 'openwin_set_sb'? [-Wimplicit-function-declaration] openwin_set_bg_color(OPENWIN_PUBLIC(owin)); ^~~~~~~~~~~~~~~~~~~~ openwin_set_sb ow_set.c:222:4: warning: case value '1078725152' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case XV_END_CREATE: ^~~~ ow_set.c:65:4: warning: case value '1225525249' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_COLUMNS: ^~~~ ow_set.c:103:4: warning: case value '1229457921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_HORIZONTAL_SCROLLBAR: ^~~~ ow_set.c:78:4: warning: case value '1232603137' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_ROWS: ^~~~ ow_set.c:91:4: warning: case value '1233914369' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ ow_set.c:200:4: warning: case value '1239878145' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS: ^~~~ ow_set.c:202:4: warning: case value '1240140289' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS_DATA: ^~~~ ow_set.c:201:4: warning: case value '1240205665' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS_NAME: ^~~~ ow_set.c:203:4: warning: case value '1240401921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_FOREGROUND_COLOR: ^~~~ ow_set.c:204:4: warning: case value '1240467457' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_BACKGROUND_COLOR: ^~~~ ow_set.c:205:4: warning: case value '1240599041' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_COLOR_INFO: ^~~~ ow_set.c: In function 'ow_parse_split_attrs': ow_set.c:277:34: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window split_view = NULL; ^~~~ ow_set.c:316:20: warning: comparison between pointer and integer if (split_view == NULL || openwin_viewdata_for_view(split_view, &view) != XV_OK) { ^~ ow_set.c: In function 'ow_set_scrollbar': ow_set.c:377:12: warning: comparison between pointer and integer if (sb != NULL) { ^~ ow_set.c:380:38: warning: comparison between pointer and integer if (openwin_sb(view, direction) != NULL) { ^~ ow_set.c:418:23: warning: comparison between pointer and integer if (sb_notify_client == NULL || ^~ In file included from ow_set.c:22: ../../../build/include/xview_private/ow_impl.h:53:36: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin_sb((view), (direction)) = sb ^ ow_set.c:439:6: note: in expansion of macro 'openwin_set_sb' openwin_set_sb(view, direction, NULL); ^~~~~~~~~~~~~~ ow_set.c:440:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ ow_set.c: In function 'ow_append_view_attrs': ow_set.c:464:43: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] owin->view_end_avlist = (Attr_avlist) attr_copy_avlist(owin->view_end_avlist, argv); ^~~~~~~~~~~~~~~~ attr_create_list ow_set.c:464:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] owin->view_end_avlist = (Attr_avlist) attr_copy_avlist(owin->view_end_avlist, argv); ^ ow_set.c: In function 'ow_set_width': ow_set.c:493:6: warning: implicit declaration of function 'openwin_border_width'; did you mean 'openwin_count_views'? [-Wimplicit-function-declaration] 2 * openwin_border_width(owin_public, owin->views->view); ^~~~~~~~~~~~~~~~~~~~ openwin_count_views gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_set.c -o ow_set.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_set.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_set.c:26:12: warning: type defaults to 'int' in declaration of 'scrollbar_minimum_size' [-Wimplicit-int] Xv_private scrollbar_minimum_size(); ^~~~~~~~~~~~~~~~~~~~~~ ow_set.c: In function 'openwin_set': ow_set.c:92:32: warning: comparison between pointer and integer if ((Scrollbar) avlist[1] != NULL) { ^~ ow_set.c:104:32: warning: comparison between pointer and integer if ((Scrollbar) avlist[1] != NULL) { ^~ In file included from ../../../build/include/xview_private/ow_impl.h:26, from ow_set.c:22: ../../../build/include/xview/openwin.h:56:83: warning: comparison between pointer and integer while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ^~ ow_set.c:185:3: note: in expansion of macro 'OPENWIN_EACH_VIEW' OPENWIN_EACH_VIEW(OPENWIN_PUBLIC(owin), view) ^~~~~~~~~~~~~~~~~ ow_set.c:216:7: warning: implicit declaration of function 'openwin_set_bg_color'; did you mean 'openwin_set_sb'? [-Wimplicit-function-declaration] openwin_set_bg_color(OPENWIN_PUBLIC(owin)); ^~~~~~~~~~~~~~~~~~~~ openwin_set_sb ow_set.c:222:4: warning: case value '1078725152' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case XV_END_CREATE: ^~~~ ow_set.c:65:4: warning: case value '1225525249' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_COLUMNS: ^~~~ ow_set.c:103:4: warning: case value '1229457921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_HORIZONTAL_SCROLLBAR: ^~~~ ow_set.c:78:4: warning: case value '1232603137' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_ROWS: ^~~~ ow_set.c:91:4: warning: case value '1233914369' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ ow_set.c:200:4: warning: case value '1239878145' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS: ^~~~ ow_set.c:202:4: warning: case value '1240140289' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS_DATA: ^~~~ ow_set.c:201:4: warning: case value '1240205665' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_CMS_NAME: ^~~~ ow_set.c:203:4: warning: case value '1240401921' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_FOREGROUND_COLOR: ^~~~ ow_set.c:204:4: warning: case value '1240467457' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_BACKGROUND_COLOR: ^~~~ ow_set.c:205:4: warning: case value '1240599041' not in enumerated type 'Openwin_attribute' {aka 'enum '} [-Wswitch] case WIN_COLOR_INFO: ^~~~ ow_set.c: In function 'ow_parse_split_attrs': ow_set.c:277:34: warning: initialization of 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_Window split_view = NULL; ^~~~ ow_set.c:316:20: warning: comparison between pointer and integer if (split_view == NULL || openwin_viewdata_for_view(split_view, &view) != XV_OK) { ^~ ow_set.c: In function 'ow_set_scrollbar': ow_set.c:377:12: warning: comparison between pointer and integer if (sb != NULL) { ^~ ow_set.c:380:38: warning: comparison between pointer and integer if (openwin_sb(view, direction) != NULL) { ^~ ow_set.c:418:23: warning: comparison between pointer and integer if (sb_notify_client == NULL || ^~ In file included from ow_set.c:22: ../../../build/include/xview_private/ow_impl.h:53:36: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin_sb((view), (direction)) = sb ^ ow_set.c:439:6: note: in expansion of macro 'openwin_set_sb' openwin_set_sb(view, direction, NULL); ^~~~~~~~~~~~~~ ow_set.c:440:13: warning: comparison between pointer and integer if (sb != NULL) { ^~ ow_set.c: In function 'ow_append_view_attrs': ow_set.c:464:43: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] owin->view_end_avlist = (Attr_avlist) attr_copy_avlist(owin->view_end_avlist, argv); ^~~~~~~~~~~~~~~~ attr_create_list ow_set.c:464:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] owin->view_end_avlist = (Attr_avlist) attr_copy_avlist(owin->view_end_avlist, argv); ^ ow_set.c: In function 'ow_set_width': ow_set.c:493:6: warning: implicit declaration of function 'openwin_border_width'; did you mean 'openwin_count_views'? [-Wimplicit-function-declaration] 2 * openwin_border_width(owin_public, owin->views->view); ^~~~~~~~~~~~~~~~~~~~ openwin_count_views rm -f ow_view.o shared/ow_view.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_view.c -o shared/ow_view.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ow_view.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_view.c:48:17: warning: type defaults to 'int' in declaration of 'openwin_init_view' [-Wimplicit-int] static openwin_init_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:49:17: warning: type defaults to 'int' in declaration of 'openwin_free_view' [-Wimplicit-int] static openwin_free_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:50:17: warning: type defaults to 'int' in declaration of 'openwin_remove_scrollbars' [-Wimplicit-int] static openwin_remove_scrollbars(); ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:51:17: warning: type defaults to 'int' in declaration of 'openwin_create_viewwindow' [-Wimplicit-int] static openwin_create_viewwindow(); ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:52:17: warning: type defaults to 'int' in declaration of 'openwin_test_for_sb' [-Wimplicit-int] static openwin_test_for_sb(); ^~~~~~~~~~~~~~~~~~~ ow_view.c:53:17: warning: type defaults to 'int' in declaration of 'openwin_link_view' [-Wimplicit-int] static openwin_link_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:55:17: warning: type defaults to 'int' in declaration of 'openwin_locate_right_viewers' [-Wimplicit-int] static openwin_locate_right_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:56:17: warning: type defaults to 'int' in declaration of 'openwin_locate_left_viewers' [-Wimplicit-int] static openwin_locate_left_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:57:17: warning: type defaults to 'int' in declaration of 'openwin_locate_bottom_viewers' [-Wimplicit-int] static openwin_locate_bottom_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:58:17: warning: type defaults to 'int' in declaration of 'openwin_locate_top_viewers' [-Wimplicit-int] static openwin_locate_top_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:59:17: warning: type defaults to 'int' in declaration of 'openwin_expand_viewers' [-Wimplicit-int] static openwin_expand_viewers(); ^~~~~~~~~~~~~~~~~~~~~~ ow_view.c:60:17: warning: type defaults to 'int' in declaration of 'openwin_register_initial_sb' [-Wimplicit-int] static openwin_register_initial_sb(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_create_initial_view': ow_view.c:81:22: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] owin->vsb_on_create = NULL; ^ ow_view.c:85:22: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] owin->hsb_on_create = NULL; ^ ow_view.c: In function 'openwin_nth_view': ow_view.c:143:1: warning: type of 'place' defaults to 'int' [-Wimplicit-int] openwin_nth_view(owin, place) ^~~~~~~~~~~~~~~~ ow_view.c: At top level: ow_view.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_test_for_sb(owin, sb, sb_direction, view, last_sb) ^~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_test_for_sb': ow_view.c:214:21: warning: comparison between pointer and integer } else if (test_sb != NULL) { ^~ ow_view.c: In function 'openwin_split_view': ow_view.c:260:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_view.c:268:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_view.c: At top level: ow_view.c:368:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_init_view(owin, twin, direction, r, new_view) ^~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_init_view': ow_view.c:407:5: warning: implicit declaration of function 'openwin_view_rect_from_avail_rect'; did you mean 'openwin_viewdata_for_view'? [-Wimplicit-function-declaration] openwin_view_rect_from_avail_rect(owin, view, r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openwin_viewdata_for_view ow_view.c: At top level: ow_view.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_free_view(view) ^~~~~~~~~~~~~~~~~ ow_view.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_remove_scrollbars(view) ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_remove_scrollbars': ow_view.c:436:13: warning: comparison between pointer and integer if (vsb != NULL) { ^~ ow_view.c:439:13: warning: comparison between pointer and integer if (hsb != NULL) { ^~ ow_view.c: At top level: ow_view.c:445:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_create_viewwindow(owin, from_view, view, r) ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:519:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_link_view(owin, view) ^~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_check_view': ow_view.c:565:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_view.c:570:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_view.c: At top level: ow_view.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_expand_viewers(owin, old_view, viewers, r, direction) ^~~~~~~~~~~~~~~~~~~~~~ ow_view.c:776:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_register_initial_sb(owin, view, sb, direction) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_init_view': ow_view.c:414:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_create_viewwindow': ow_view.c:516:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_link_view': ow_view.c:531:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_register_initial_sb': ow_view.c:806:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_free_view': ow_view.c:425:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_remove_scrollbars': ow_view.c:442:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_expand_viewers': ow_view.c:773:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_view.c -o ow_view.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ow_view.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_view.c:48:17: warning: type defaults to 'int' in declaration of 'openwin_init_view' [-Wimplicit-int] static openwin_init_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:49:17: warning: type defaults to 'int' in declaration of 'openwin_free_view' [-Wimplicit-int] static openwin_free_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:50:17: warning: type defaults to 'int' in declaration of 'openwin_remove_scrollbars' [-Wimplicit-int] static openwin_remove_scrollbars(); ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:51:17: warning: type defaults to 'int' in declaration of 'openwin_create_viewwindow' [-Wimplicit-int] static openwin_create_viewwindow(); ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:52:17: warning: type defaults to 'int' in declaration of 'openwin_test_for_sb' [-Wimplicit-int] static openwin_test_for_sb(); ^~~~~~~~~~~~~~~~~~~ ow_view.c:53:17: warning: type defaults to 'int' in declaration of 'openwin_link_view' [-Wimplicit-int] static openwin_link_view(); ^~~~~~~~~~~~~~~~~ ow_view.c:55:17: warning: type defaults to 'int' in declaration of 'openwin_locate_right_viewers' [-Wimplicit-int] static openwin_locate_right_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:56:17: warning: type defaults to 'int' in declaration of 'openwin_locate_left_viewers' [-Wimplicit-int] static openwin_locate_left_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:57:17: warning: type defaults to 'int' in declaration of 'openwin_locate_bottom_viewers' [-Wimplicit-int] static openwin_locate_bottom_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:58:17: warning: type defaults to 'int' in declaration of 'openwin_locate_top_viewers' [-Wimplicit-int] static openwin_locate_top_viewers(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:59:17: warning: type defaults to 'int' in declaration of 'openwin_expand_viewers' [-Wimplicit-int] static openwin_expand_viewers(); ^~~~~~~~~~~~~~~~~~~~~~ ow_view.c:60:17: warning: type defaults to 'int' in declaration of 'openwin_register_initial_sb' [-Wimplicit-int] static openwin_register_initial_sb(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_create_initial_view': ow_view.c:81:22: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] owin->vsb_on_create = NULL; ^ ow_view.c:85:22: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] owin->hsb_on_create = NULL; ^ ow_view.c: In function 'openwin_nth_view': ow_view.c:143:1: warning: type of 'place' defaults to 'int' [-Wimplicit-int] openwin_nth_view(owin, place) ^~~~~~~~~~~~~~~~ ow_view.c: At top level: ow_view.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_test_for_sb(owin, sb, sb_direction, view, last_sb) ^~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_test_for_sb': ow_view.c:214:21: warning: comparison between pointer and integer } else if (test_sb != NULL) { ^~ ow_view.c: In function 'openwin_split_view': ow_view.c:260:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_view.c:268:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_view.c: At top level: ow_view.c:368:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_init_view(owin, twin, direction, r, new_view) ^~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_init_view': ow_view.c:407:5: warning: implicit declaration of function 'openwin_view_rect_from_avail_rect'; did you mean 'openwin_viewdata_for_view'? [-Wimplicit-function-declaration] openwin_view_rect_from_avail_rect(owin, view, r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openwin_viewdata_for_view ow_view.c: At top level: ow_view.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_free_view(view) ^~~~~~~~~~~~~~~~~ ow_view.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_remove_scrollbars(view) ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_remove_scrollbars': ow_view.c:436:13: warning: comparison between pointer and integer if (vsb != NULL) { ^~ ow_view.c:439:13: warning: comparison between pointer and integer if (hsb != NULL) { ^~ ow_view.c: At top level: ow_view.c:445:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_create_viewwindow(owin, from_view, view, r) ^~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c:519:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_link_view(owin, view) ^~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_check_view': ow_view.c:565:53: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_VERTICAL)) != NULL) { ^~ ow_view.c:570:55: warning: comparison between pointer and integer if ((sb = openwin_sb(view, SCROLLBAR_HORIZONTAL)) != NULL) { ^~ ow_view.c: At top level: ow_view.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_expand_viewers(owin, old_view, viewers, r, direction) ^~~~~~~~~~~~~~~~~~~~~~ ow_view.c:776:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_register_initial_sb(owin, view, sb, direction) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ow_view.c: In function 'openwin_init_view': ow_view.c:414:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_create_viewwindow': ow_view.c:516:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_link_view': ow_view.c:531:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_register_initial_sb': ow_view.c:806:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_free_view': ow_view.c:425:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_remove_scrollbars': ow_view.c:442:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ow_view.c: In function 'openwin_expand_viewers': ow_view.c:773:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f ow_rescale.o shared/ow_rescale.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_rescale.c -o shared/ow_rescale.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_rescale.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_rescale.c:27:17: warning: type defaults to 'int' in declaration of 'openwin_rescale' [-Wimplicit-int] Pkg_private openwin_rescale(); ^~~~~~~~~~~~~~~ ow_rescale.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_rescale(owin_public, scale) ^~~~~~~~~~~~~~~ ow_rescale.c: In function 'openwin_rescale': ow_rescale.c:62:2: warning: implicit declaration of function 'window_set_rescale_state'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_rescale_state(view->view, scale); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect ow_rescale.c:63:2: warning: implicit declaration of function 'window_start_rescaling'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] window_start_rescaling(view->view); ^~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list ow_rescale.c:68:5: warning: implicit declaration of function 'window_adjust_rects'; did you mean 'window_destroy'? [-Wimplicit-function-declaration] window_adjust_rects(rect_obj_list, num_views, parent_width, parent_height); ^~~~~~~~~~~~~~~~~~~ window_destroy ow_rescale.c:73:2: warning: implicit declaration of function 'window_end_rescaling'; did you mean 'window_read_event'? [-Wimplicit-function-declaration] window_end_rescaling(view->view); ^~~~~~~~~~~~~~~~~~~~ window_read_event ow_rescale.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_rescale.c -o ow_rescale.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_rescale.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ow_rescale.c:27:17: warning: type defaults to 'int' in declaration of 'openwin_rescale' [-Wimplicit-int] Pkg_private openwin_rescale(); ^~~~~~~~~~~~~~~ ow_rescale.c:35:1: warning: return type defaults to 'int' [-Wimplicit-int] openwin_rescale(owin_public, scale) ^~~~~~~~~~~~~~~ ow_rescale.c: In function 'openwin_rescale': ow_rescale.c:62:2: warning: implicit declaration of function 'window_set_rescale_state'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_rescale_state(view->view, scale); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect ow_rescale.c:63:2: warning: implicit declaration of function 'window_start_rescaling'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] window_start_rescaling(view->view); ^~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list ow_rescale.c:68:5: warning: implicit declaration of function 'window_adjust_rects'; did you mean 'window_destroy'? [-Wimplicit-function-declaration] window_adjust_rects(rect_obj_list, num_views, parent_width, parent_height); ^~~~~~~~~~~~~~~~~~~ window_destroy ow_rescale.c:73:2: warning: implicit declaration of function 'window_end_rescaling'; did you mean 'window_read_event'? [-Wimplicit-function-declaration] window_end_rescaling(view->view); ^~~~~~~~~~~~~~~~~~~~ window_read_event ow_rescale.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f ow_data.o shared/ow_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_data.c -o shared/ow_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_data.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ow_data.c -o ow_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from ../../../build/include/xview_private/ow_impl.h:25, from ow_data.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/openwin.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/openwin.o ../../libxview/xshared/openwin.o + rm -f ../../libxview/xshared/ow_evt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_evt.o ../../libxview/xshared/ow_evt.o + rm -f ../../libxview/xshared/ow_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_get.o ../../libxview/xshared/ow_get.o + rm -f ../../libxview/xshared/ow_paint.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_paint.o ../../libxview/xshared/ow_paint.o + rm -f ../../libxview/xshared/ow_resize.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_resize.o ../../libxview/xshared/ow_resize.o + rm -f ../../libxview/xshared/ow_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_set.o ../../libxview/xshared/ow_set.o + rm -f ../../libxview/xshared/ow_view.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_view.o ../../libxview/xshared/ow_view.o + rm -f ../../libxview/xshared/ow_rescale.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_rescale.o ../../libxview/xshared/ow_rescale.o + rm -f ../../libxview/xshared/ow_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin/shared/ow_data.o ../../libxview/xshared/ow_data.o ar ruv ../../libxview/libxview.a openwin.o ow_evt.o ow_get.o ow_paint.o ow_resize.o ow_set.o ow_view.o ow_rescale.o ow_data.o a - openwin.o a - ow_evt.o a - ow_get.o a - ow_paint.o a - ow_resize.o a - ow_set.o a - ow_view.o a - ow_rescale.o a - ow_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/openwin' making all in lib/libxview/panel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' rm -f p_utl.o shared/p_utl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_utl.c -o shared/p_utl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from p_utl.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_utl.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_col_to_x(font, col) ^~~~~~~~~~~~~~ p_utl.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_row_to_y(font, line) ^~~~~~~~~~~~~~ p_utl.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_x_to_col(font, x) ^~~~~~~~~~~~~~ p_utl.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_y_to_row(font, y) ^~~~~~~~~~~~~~ p_utl.c: In function 'panel_unlink': p_utl.c:327:22: warning: assignment to 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->default_item = NULL; ^ p_utl.c: In function 'panel_paint_image': p_utl.c:617:3: warning: implicit declaration of function 'xv_draw_rectangle'; did you mean 'XDrawRectangle'? [-Wimplicit-function-declaration] xv_draw_rectangle(pw, rect->r_left, rect->r_top, ^~~~~~~~~~~~~~~~~ XDrawRectangle p_utl.c:621:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:636:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_pw_invert': p_utl.c:677:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: At top level: p_utl.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_nullproc() ^~~~~~~~~~~~~~ p_utl.c:791:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_free_choices(choices, first, last) ^~~~~~~~~~~~~~~~~~ p_utl.c: In function 'panel_free_choices': p_utl.c:798:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_utl.c:791:1: note: declared here panel_free_choices(choices, first, last) ^~~~~~~~~~~~~~~~~~ p_utl.c: In function 'panel_paint_text': p_utl.c:852:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_paint_svrim': p_utl.c:908:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, pw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:921:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pr, svrim_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:936:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque)mask_pr, mask_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:953:2: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, xid, gc_list[SCREEN_NONSTD_GC], ^~~~~~~~~~~~~~~ p_utl.c: In function 'panel_set_kbd_focus': p_utl.c:969:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ p_utl.c: In function 'panel_advance_caret': p_utl.c:985:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_utl.c: In function 'panel_backup_caret': p_utl.c:1000:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_utl.c: In function 'panel_clear_pw_rect': p_utl.c:1104:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_set_cursor': p_utl.c:1223:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_user_error': p_utl.c:1280:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(confine_window, confine_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:1281:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(event_window(event), grab_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_round': p_utl.c:1388:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (2 * rem >= y) ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_utl.c -o p_utl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from p_utl.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_utl.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_col_to_x(font, col) ^~~~~~~~~~~~~~ p_utl.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_row_to_y(font, line) ^~~~~~~~~~~~~~ p_utl.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_x_to_col(font, x) ^~~~~~~~~~~~~~ p_utl.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_y_to_row(font, y) ^~~~~~~~~~~~~~ p_utl.c: In function 'panel_unlink': p_utl.c:327:22: warning: assignment to 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->default_item = NULL; ^ p_utl.c: In function 'panel_paint_image': p_utl.c:617:3: warning: implicit declaration of function 'xv_draw_rectangle'; did you mean 'XDrawRectangle'? [-Wimplicit-function-declaration] xv_draw_rectangle(pw, rect->r_left, rect->r_top, ^~~~~~~~~~~~~~~~~ XDrawRectangle p_utl.c:621:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:636:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_pw_invert': p_utl.c:677:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: At top level: p_utl.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_nullproc() ^~~~~~~~~~~~~~ p_utl.c:791:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_free_choices(choices, first, last) ^~~~~~~~~~~~~~~~~~ p_utl.c: In function 'panel_free_choices': p_utl.c:798:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_utl.c:791:1: note: declared here panel_free_choices(choices, first, last) ^~~~~~~~~~~~~~~~~~ p_utl.c: In function 'panel_paint_text': p_utl.c:852:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_paint_svrim': p_utl.c:908:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, pw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:921:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pr, svrim_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:936:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque)mask_pr, mask_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:953:2: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, xid, gc_list[SCREEN_NONSTD_GC], ^~~~~~~~~~~~~~~ p_utl.c: In function 'panel_set_kbd_focus': p_utl.c:969:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ p_utl.c: In function 'panel_advance_caret': p_utl.c:985:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_utl.c: In function 'panel_backup_caret': p_utl.c:1000:9: warning: returning 'void *' from a function with return type 'Panel_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_utl.c: In function 'panel_clear_pw_rect': p_utl.c:1104:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_set_cursor': p_utl.c:1223:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_user_error': p_utl.c:1280:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(confine_window, confine_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c:1281:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(event_window(event), grab_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from p_utl.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_utl.c: In function 'panel_round': p_utl.c:1388:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (2 * rem >= y) ^ rm -f panel.o shared/panel.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c panel.c -o shared/panel.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from panel.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ panel.c:38:39: warning: missing braces around initializer [-Wmissing-braces] static struct itimerval PANEL_TIMER = {0, 500000, 0, 500000}; ^ { } { } panel.c:40:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs shiftmasks[] = { ^ panel.c:50:8: warning: type defaults to 'int' in declaration of 'panel_unregister_view' [-Wimplicit-int] static panel_unregister_view(Panel_info *panel, Xv_Window view); ^~~~~~~~~~~~~~~~~~~~~ panel.c: In function 'panel_init': panel.c:67:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from panel.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ panel.c:94:18: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->caret = NULL; ^ panel.c: At top level: panel.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_layout(panel_public, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~ panel.c:356:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_unregister_view(panel, view) ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c panel.c -o panel.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from panel.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ panel.c:38:39: warning: missing braces around initializer [-Wmissing-braces] static struct itimerval PANEL_TIMER = {0, 500000, 0, 500000}; ^ { } { } panel.c:40:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs shiftmasks[] = { ^ panel.c:50:8: warning: type defaults to 'int' in declaration of 'panel_unregister_view' [-Wimplicit-int] static panel_unregister_view(Panel_info *panel, Xv_Window view); ^~~~~~~~~~~~~~~~~~~~~ panel.c: In function 'panel_init': panel.c:67:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from panel.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ panel.c:94:18: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->caret = NULL; ^ panel.c: At top level: panel.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_layout(panel_public, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~ panel.c:356:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_unregister_view(panel, view) ^~~~~~~~~~~~~~~~~~~~~ rm -f p_set.o shared/p_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_set.c -o shared/p_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_set.c: In function 'panel_set_avlist': p_set.c:69:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:78:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:193:27: warning: assignment to 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->default_item = NULL; ^ p_set.c:200:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (panel->default_item = (Panel_item) avlist[1]) { ^~~~~ p_set.c:220:19: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->caret = NULL; ^ p_set.c:261:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:266:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'win_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(pw, xv_xid(info)); ^~~~~~~~~~~~~~~~~ win_set_no_focus p_set.c:362:25: warning: comparison between pointer and integer if (new_v_scrollbar != NULL && ^~ p_set.c:368:25: warning: comparison between pointer and integer if (new_h_scrollbar != NULL && ^~ p_set.c:378:2: warning: implicit declaration of function 'panel_update_scrolling_size'; did you mean 'panel_update_scrollbars'? [-Wimplicit-function-declaration] panel_update_scrolling_size(panel_public); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ panel_update_scrollbars p_set.c: In function 'panel_set_fonts': p_set.c:410:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:440:22: warning: assignment to 'Xv_Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->bold_font = NULL; ^ p_set.c:442:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (save_bold_name = bold_name = xv_font_bold()) ^~~~~~~~~~~~~~ p_set.c:474:30: warning: comparison between pointer and integer if (panel->bold_font == NULL) ^~ p_set.c:475:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:484:26: warning: comparison between pointer and integer if (panel->bold_font == NULL) { ^~ p_set.c:496:26: warning: comparison between pointer and integer if (panel->bold_font == NULL) { ^~ p_set.c:497:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_set.c -o p_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_set.c: In function 'panel_set_avlist': p_set.c:69:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:78:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:193:27: warning: assignment to 'Panel_item' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->default_item = NULL; ^ p_set.c:200:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (panel->default_item = (Panel_item) avlist[1]) { ^~~~~ p_set.c:220:19: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->caret = NULL; ^ p_set.c:261:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:266:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'win_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(pw, xv_xid(info)); ^~~~~~~~~~~~~~~~~ win_set_no_focus p_set.c:362:25: warning: comparison between pointer and integer if (new_v_scrollbar != NULL && ^~ p_set.c:368:25: warning: comparison between pointer and integer if (new_h_scrollbar != NULL && ^~ p_set.c:378:2: warning: implicit declaration of function 'panel_update_scrolling_size'; did you mean 'panel_update_scrollbars'? [-Wimplicit-function-declaration] panel_update_scrolling_size(panel_public); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ panel_update_scrollbars p_set.c: In function 'panel_set_fonts': p_set.c:410:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:440:22: warning: assignment to 'Xv_Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] panel->bold_font = NULL; ^ p_set.c:442:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (save_bold_name = bold_name = xv_font_bold()) ^~~~~~~~~~~~~~ p_set.c:474:30: warning: comparison between pointer and integer if (panel->bold_font == NULL) ^~ p_set.c:475:22: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_set.c:484:26: warning: comparison between pointer and integer if (panel->bold_font == NULL) { ^~ p_set.c:496:26: warning: comparison between pointer and integer if (panel->bold_font == NULL) { ^~ p_set.c:497:18: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f p_get.o shared/p_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_get.c -o shared/p_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_get.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_get.c:23:8: warning: type defaults to 'int' in declaration of 'panel_shrink_margin' [-Wimplicit-int] static panel_shrink_margin(Panel_info *panel); ^~~~~~~~~~~~~~~~~~~ p_get.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_shrink_margin(panel) ^~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_get.c -o p_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_get.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_get.c:23:8: warning: type defaults to 'int' in declaration of 'panel_shrink_margin' [-Wimplicit-int] static panel_shrink_margin(Panel_info *panel); ^~~~~~~~~~~~~~~~~~~ p_get.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_shrink_margin(panel) ^~~~~~~~~~~~~~~~~~~ rm -f p_event.o shared/p_event.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_event.c -o shared/p_event.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_event.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_event.c: In function 'panel_notify_event': p_event.c:62:6: warning: implicit declaration of function 'rl_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] rl_copy(win_damage, &damage); ^~~~~~~ pw_copy p_event.c:64:6: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damage); ^~~~~~~ xv_free gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_event.c -o p_event.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_event.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_event.c: In function 'panel_notify_event': p_event.c:62:6: warning: implicit declaration of function 'rl_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] rl_copy(win_damage, &damage); ^~~~~~~ pw_copy p_event.c:64:6: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damage); ^~~~~~~ xv_free rm -f p_scroll.o shared/p_scroll.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_scroll.c -o shared/p_scroll.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_scroll.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_scroll.c:18:17: warning: type defaults to 'int' in declaration of 'top_pair' [-Wimplicit-int] static top_pair(), left_pair(); ^~~~~~~~ p_scroll.c:18:29: warning: type defaults to 'int' in declaration of 'left_pair' [-Wimplicit-int] static top_pair(), left_pair(); ^~~~~~~~~ p_scroll.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_normalize_scroll(sb, offset, motion, vs) ^~~~~~~~~~~~~~~~~~~~~~ p_scroll.c: In function 'panel_normalize_scroll': p_scroll.c:54:5: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ p_scroll.c:54:5: warning: enumeration value 'SCROLLBAR_NONE' not handled in switch [-Wswitch] p_scroll.c: At top level: p_scroll.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] top_pair(panel, target, low_ip, high_ip) ^~~~~~~~ p_scroll.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] left_pair(panel, target, low_ip, high_ip) ^~~~~~~~~ p_scroll.c:368:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_update_scrolling_size(client_panel) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ p_scroll.c: In function 'panel_update_scrolling_size': p_scroll.c:391:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ p_scroll.c: In function 'panel_normalize_scroll': p_scroll.c:333:21: warning: 'intersects' may be used uninitialized in this function [-Wmaybe-uninitialized] int intersects; ^~~~~~~~~~ p_scroll.c:37:35: warning: 'scrolling_up' may be used uninitialized in this function [-Wmaybe-uninitialized] int align_to_max, scrolling_up, vertical; ^~~~~~~~~~~~ p_scroll.c:103:5: warning: 'align_to_max' may be used uninitialized in this function [-Wmaybe-uninitialized] if (align_to_max) ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_scroll.c -o p_scroll.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_scroll.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_scroll.c:18:17: warning: type defaults to 'int' in declaration of 'top_pair' [-Wimplicit-int] static top_pair(), left_pair(); ^~~~~~~~ p_scroll.c:18:29: warning: type defaults to 'int' in declaration of 'left_pair' [-Wimplicit-int] static top_pair(), left_pair(); ^~~~~~~~~ p_scroll.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_normalize_scroll(sb, offset, motion, vs) ^~~~~~~~~~~~~~~~~~~~~~ p_scroll.c: In function 'panel_normalize_scroll': p_scroll.c:54:5: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ p_scroll.c:54:5: warning: enumeration value 'SCROLLBAR_NONE' not handled in switch [-Wswitch] p_scroll.c: At top level: p_scroll.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] top_pair(panel, target, low_ip, high_ip) ^~~~~~~~ p_scroll.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] left_pair(panel, target, low_ip, high_ip) ^~~~~~~~~ p_scroll.c:368:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_update_scrolling_size(client_panel) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ p_scroll.c: In function 'panel_update_scrolling_size': p_scroll.c:391:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ p_scroll.c: In function 'panel_normalize_scroll': p_scroll.c:333:21: warning: 'intersects' may be used uninitialized in this function [-Wmaybe-uninitialized] int intersects; ^~~~~~~~~~ p_scroll.c:37:35: warning: 'scrolling_up' may be used uninitialized in this function [-Wmaybe-uninitialized] int align_to_max, scrolling_up, vertical; ^~~~~~~~~~~~ p_scroll.c:103:5: warning: 'align_to_max' may be used uninitialized in this function [-Wmaybe-uninitialized] if (align_to_max) ^ rm -f p_select.o shared/p_select.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_select.c -o shared/p_select.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from p_select.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_select.c: In function 'panel_default_event': p_select.c:148:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(p_public, "panel_default_event", panel_public); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_select.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_select.c:338:3: warning: implicit declaration of function 'xv_help_show'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_help_show(paint_window, panel_help, event); ^~~~~~~~~~~~ xv_replrop p_select.c: At top level: p_select.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_handle_event(client_object, event) ^~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_handle_event': p_select.c:368:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:361:1: note: declared here panel_handle_event(client_object, event) ^~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_begin_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_begin_preview': p_select.c:386:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:379:1: note: declared here panel_begin_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:394:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_update_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_update_preview': p_select.c:401:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:394:1: note: declared here panel_update_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:409:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_preview': p_select.c:417:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:409:1: note: declared here panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c:424:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:409:1: note: declared here panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:438:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_cancel_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_cancel_preview': p_select.c:446:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:438:1: note: declared here panel_cancel_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_menu(client_object, event) ^~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_menu': p_select.c:468:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:460:1: note: declared here panel_accept_menu(client_object, event) ^~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_key(client_object, event) ^~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_key': p_select.c:491:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:484:1: note: declared here panel_accept_key(client_object, event) ^~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_cancel(client_object, event) ^~~~~~~~~~~~ p_select.c: In function 'panel_cancel': p_select.c:506:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:499:1: note: declared here panel_cancel(client_object, event) ^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_select.c -o p_select.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from p_select.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_select.c: In function 'panel_default_event': p_select.c:148:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(p_public, "panel_default_event", panel_public); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_select.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_select.c:338:3: warning: implicit declaration of function 'xv_help_show'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_help_show(paint_window, panel_help, event); ^~~~~~~~~~~~ xv_replrop p_select.c: At top level: p_select.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_handle_event(client_object, event) ^~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_handle_event': p_select.c:368:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:361:1: note: declared here panel_handle_event(client_object, event) ^~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_begin_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_begin_preview': p_select.c:386:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:379:1: note: declared here panel_begin_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:394:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_update_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_update_preview': p_select.c:401:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:394:1: note: declared here panel_update_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:409:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_preview': p_select.c:417:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:409:1: note: declared here panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c:424:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:409:1: note: declared here panel_accept_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:438:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_cancel_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_cancel_preview': p_select.c:446:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:438:1: note: declared here panel_cancel_preview(client_object, event) ^~~~~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_menu(client_object, event) ^~~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_menu': p_select.c:468:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:460:1: note: declared here panel_accept_menu(client_object, event) ^~~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_accept_key(client_object, event) ^~~~~~~~~~~~~~~~ p_select.c: In function 'panel_accept_key': p_select.c:491:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:484:1: note: declared here panel_accept_key(client_object, event) ^~~~~~~~~~~~~~~~ p_select.c: At top level: p_select.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_cancel(client_object, event) ^~~~~~~~~~~~ p_select.c: In function 'panel_cancel': p_select.c:506:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_select.c:499:1: note: declared here panel_cancel(client_object, event) ^~~~~~~~~~~~ rm -f p_paint.o shared/p_paint.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_paint.c -o shared/p_paint.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_paint.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_paint.c: In function 'panel_redisplay': p_paint.c:37:54: warning: comparison between pointer and integer if (xv_get(panel_public, WIN_VERTICAL_SCROLLBAR) == NULL && ^~ p_paint.c:38:49: warning: comparison between pointer and integer xv_get(panel_public, WIN_HORIZONTAL_SCROLLBAR) == NULL && ^~ p_paint.c:40:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_paint.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_paint.c: At top level: p_paint.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_paint(client_object, flag) ^~~~~~~~~~~ p_paint.c: In function 'panel_paint': p_paint.c:126:9: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ p_paint.c: In function 'panel_repaint_background': p_paint.c:242:2: warning: implicit declaration of function 'rl_initwithrect' [-Wimplicit-function-declaration] rl_initwithrect(&clip_rect, &rl); ^~~~~~~~~~~~~~~ p_paint.c:247:2: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_im_slot'? [-Wimplicit-function-declaration] win_set_clip(pw, &rl); ^~~~~~~~~~~~ win_im_slot p_paint.c:252:2: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&rl); ^~~~~~~ xv_free p_paint.c: In function 'panel_paint_border': p_paint.c:282:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_paint.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_paint.c -o p_paint.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_paint.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_paint.c: In function 'panel_redisplay': p_paint.c:37:54: warning: comparison between pointer and integer if (xv_get(panel_public, WIN_VERTICAL_SCROLLBAR) == NULL && ^~ p_paint.c:38:49: warning: comparison between pointer and integer xv_get(panel_public, WIN_HORIZONTAL_SCROLLBAR) == NULL && ^~ p_paint.c:40:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_paint.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_paint.c: At top level: p_paint.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_paint(client_object, flag) ^~~~~~~~~~~ p_paint.c: In function 'panel_paint': p_paint.c:126:9: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ p_paint.c: In function 'panel_repaint_background': p_paint.c:242:2: warning: implicit declaration of function 'rl_initwithrect' [-Wimplicit-function-declaration] rl_initwithrect(&clip_rect, &rl); ^~~~~~~~~~~~~~~ p_paint.c:247:2: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_im_slot'? [-Wimplicit-function-declaration] win_set_clip(pw, &rl); ^~~~~~~~~~~~ win_im_slot p_paint.c:252:2: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&rl); ^~~~~~~ xv_free p_paint.c: In function 'panel_paint_border': p_paint.c:282:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_paint.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f p_image.o shared/p_image.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_image.c -o shared/p_image.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_image.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_image.c -o p_image.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_image.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_public.o shared/p_public.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_public.c -o shared/p_public.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_public.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_public.c -o p_public.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_public.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_compat.o shared/p_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_compat.c -o shared/p_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from p_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_compat.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_set(Panel client_object, ...) ^~~~~~~~~ p_compat.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_destroy_item(client_item) ^~~~~~~~~~~~~~~~~~ p_compat.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_free(client_object) ^~~~~~~~~~ p_compat.c: In function 'panel_destroy_item': p_compat.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ p_compat.c: In function 'panel_free': p_compat.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_compat.c -o p_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from p_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_compat.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_set(Panel client_object, ...) ^~~~~~~~~ p_compat.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_destroy_item(client_item) ^~~~~~~~~~~~~~~~~~ p_compat.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_free(client_object) ^~~~~~~~~~ p_compat.c: In function 'panel_destroy_item': p_compat.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ p_compat.c: In function 'panel_free': p_compat.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f p_view.o shared/p_view.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_view.c -o shared/p_view.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_view.c: In function 'panel_view_init': p_view.c:37:12: warning: comparison between pointer and integer if (pw != NULL) { ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_view.c -o p_view.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_view.c: In function 'panel_view_init': p_view.c:37:12: warning: comparison between pointer and integer if (pw != NULL) { ^~ rm -f item.o shared/item.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item.c -o shared/item.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item.c -o item.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f item_set.o shared/item_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_set.c -o shared/item_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_set.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ item_set.c:28:8: warning: type defaults to 'int' in declaration of 'fix_positions' [-Wimplicit-int] static fix_positions(Item_info *ip); ^~~~~~~~~~~~~ item_set.c: In function 'item_set_avlist': item_set.c:352:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ip->menu = (Xv_opaque) attrs[1]) ^~ item_set.c:403:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel->paint_window->pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from item_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ item_set.c: At top level: item_set.c:689:1: warning: return type defaults to 'int' [-Wimplicit-int] fix_positions(ip) ^~~~~~~~~~~~~ item_set.c: In function 'fix_positions': item_set.c:700:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ item_set.c:700:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] item_set.c:726:5: warning: implicit declaration of function 'panel_fix_label_position'; did you mean 'panel_erase_action'? [-Wimplicit-function-declaration] panel_fix_label_position(ip); ^~~~~~~~~~~~~~~~~~~~~~~~ panel_erase_action item_set.c: At top level: item_set.c:731:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_fix_label_position(ip) ^~~~~~~~~~~~~~~~~~~~~~~~ item_set.c: In function 'panel_fix_label_position': item_set.c:735:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ item_set.c:731:1: note: declared here panel_fix_label_position(ip) ^~~~~~~~~~~~~~~~~~~~~~~~ item_set.c:738:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ item_set.c:738:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] item_set.c: At top level: item_set.c:787:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_item_parent(item, parent) ^~~~~~~~~~~~~~~~~ item_set.c: In function 'panel_item_parent': item_set.c:795:16: warning: comparison between pointer and integer if (parent != NULL) { ^~ item_set.c: In function 'fix_positions': item_set.c:727:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ item_set.c: In function 'panel_item_parent': item_set.c:821:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ item_set.c: In function 'item_set_avlist': item_set.c:622:29: warning: 'value_y' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_top = value_y - ip->value_rect.r_top; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ item_set.c:540:28: warning: 'item_y' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_top = item_y - ip->rect.r_top; ~~~~~~~^~~~~~~~~~~~~~~~ item_set.c:538:29: warning: 'item_x' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_left = item_x - ip->rect.r_left; ~~~~~~~^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_set.c -o item_set.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_set.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ item_set.c:28:8: warning: type defaults to 'int' in declaration of 'fix_positions' [-Wimplicit-int] static fix_positions(Item_info *ip); ^~~~~~~~~~~~~ item_set.c: In function 'item_set_avlist': item_set.c:352:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ip->menu = (Xv_opaque) attrs[1]) ^~ item_set.c:403:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel->paint_window->pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from item_set.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ item_set.c: At top level: item_set.c:689:1: warning: return type defaults to 'int' [-Wimplicit-int] fix_positions(ip) ^~~~~~~~~~~~~ item_set.c: In function 'fix_positions': item_set.c:700:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ item_set.c:700:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] item_set.c:700:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] item_set.c:726:5: warning: implicit declaration of function 'panel_fix_label_position'; did you mean 'panel_erase_action'? [-Wimplicit-function-declaration] panel_fix_label_position(ip); ^~~~~~~~~~~~~~~~~~~~~~~~ panel_erase_action item_set.c: At top level: item_set.c:731:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_fix_label_position(ip) ^~~~~~~~~~~~~~~~~~~~~~~~ item_set.c: In function 'panel_fix_label_position': item_set.c:735:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ item_set.c:731:1: note: declared here panel_fix_label_position(ip) ^~~~~~~~~~~~~~~~~~~~~~~~ item_set.c:738:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ item_set.c:738:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] item_set.c:738:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] item_set.c: At top level: item_set.c:787:1: warning: return type defaults to 'int' [-Wimplicit-int] panel_item_parent(item, parent) ^~~~~~~~~~~~~~~~~ item_set.c: In function 'panel_item_parent': item_set.c:795:16: warning: comparison between pointer and integer if (parent != NULL) { ^~ item_set.c: In function 'fix_positions': item_set.c:727:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ item_set.c: In function 'panel_item_parent': item_set.c:821:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ item_set.c: In function 'item_set_avlist': item_set.c:622:29: warning: 'value_y' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_top = value_y - ip->value_rect.r_top; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ item_set.c:540:28: warning: 'item_y' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_top = item_y - ip->rect.r_top; ~~~~~~~^~~~~~~~~~~~~~~~ item_set.c:538:29: warning: 'item_x' may be used uninitialized in this function [-Wmaybe-uninitialized] deltas.r_left = item_x - ip->rect.r_left; ~~~~~~~^~~~~~~~~~~~~~~~~ rm -f item_get.o shared/item_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_get.c -o shared/item_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ item_get.c: In function 'item_get_attr': item_get.c:199:68: warning: pointer/integer type mismatch in conditional expression return ((Xv_opaque) (ip->panel != NULL) ? PANEL_PUBLIC(ip->panel) : ^ item_get.c:199:68: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return ((Xv_opaque) (ip->panel != NULL) ? PANEL_PUBLIC(ip->panel) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ NULL); ~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_get.c -o item_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ item_get.c: In function 'item_get_attr': item_get.c:199:68: warning: pointer/integer type mismatch in conditional expression return ((Xv_opaque) (ip->panel != NULL) ? PANEL_PUBLIC(ip->panel) : ^ item_get.c:199:68: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return ((Xv_opaque) (ip->panel != NULL) ? PANEL_PUBLIC(ip->panel) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ NULL); ~~~~~ rm -f p_txt.o shared/p_txt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_txt.c -o shared/p_txt.o In file included from /usr/include/malloc.h:22, from p_txt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_txt.c: In function 'text_init': p_txt.c:273:32: warning: comparison between pointer and integer if (panel->caret_bg_pixmap == NULL) { ^~ p_txt.c:274:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:296:17: warning: array subscript has type 'char' [-Wchar-subscripts] delim_table[*delims] = TRUE; ^ p_txt.c: In function 'text_set_avlist': p_txt.c:500:27: warning: implicit declaration of function 'panel_x_to_col'; did you mean 'panel_row_to_y'? [-Wimplicit-function-declaration] dp->display_length = panel_x_to_col(ip->value_font, ^~~~~~~~~~~~~~ panel_row_to_y p_txt.c: In function 'text_handle_event': p_txt.c:970:3: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'panel_set_kbd_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(PANEL_PUBLIC(panel), ^~~~~~~~~~~~~~~~~ panel_set_kbd_focus p_txt.c: In function 'text_accept_key': p_txt.c:1854:9: warning: implicit declaration of function 'panel_event_is_xview_semantic'; did you mean 'panel_notify_view_event'? [-Wimplicit-function-declaration] if (panel_event_is_xview_semantic(event)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panel_notify_view_event p_txt.c:1883:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->notify_level) { ^~~~~~ p_txt.c:1883:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_txt.c: In function 'draw_scroll_btn': p_txt.c:2264:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c: In function 'paint_caret': p_txt.c:2366:15: warning: comparison between pointer and integer panel->caret == NULL) ^~ p_txt.c:2385:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2404:10: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] str[1] = NULL; ^ p_txt.c: In function 'paint_value': p_txt.c:2481:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2537:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0, i = dp->first_char; i <= dp->last_char; i++, j++) ^~~ p_txt.c:2541:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' buf[j] = dp->mask; buf[length - 1] = '\0'; ^~~ p_txt.c:2581:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2605:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c: In function 'text_alarm': p_txt.c:3087:5: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] win_bell( PANEL_PUBLIC(ip->panel), wait, 0 ); ^~~~~~~~ window_bell p_txt.c:3083:23: warning: unused variable 'info' [-Wunused-variable] Xv_Drawable_info *info; ^~~~ p_txt.c: In function 'text_convert_proc': p_txt.c:3333:11: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ p_txt.c: In function 'text_seln_dehighlight': p_txt.c:3466:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_txt.c:18: p_txt.c: In function 'text_seln_delete': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_txt.c:3655:2: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ p_txt.c: In function 'text_seln_highlight': p_txt.c:3773:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/panel_impl.h:20, from p_txt.c:18: p_txt.c: In function 'update_value': p_txt.c:4589:27: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'Xv_opaque' {aka 'long unsigned int'} [-Wformat=] sprintf(buf, XV_MSG("Unable to get contents of %s selection"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ p_txt.c:4591:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:4783:2: warning: enumeration value 'INVALID' not handled in switch [-Wswitch] switch (dp->undo_direction) { ^~~~~~ p_txt.c:5260:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/drawable.h:23, from ../../../build/include/xview_private/draw_impl.h:17, from p_txt.c:17: p_txt.c: In function 'paint_value': ../../../build/include/xview/pkg_public.h:87:20: warning: 'pw' may be used uninitialized in this function [-Wmaybe-uninitialized] _object = (((Xv_base *)_passed_object)->seal == XV_OBJECT_SEAL) ? _passed_object : xv_object_to_standard(_passed_object, _caller);\ ^ p_txt.c:2465:21: note: 'pw' was declared here Xv_Window pw; ^~ p_txt.c: In function 'text_begin_preview': p_txt.c:3023:38: warning: 'diff_last' may be used uninitialized in this function [-Wmaybe-uninitialized] size = xv_pf_textwidth(diff_last - diff_first + 1, ~~~~~~~~~~^~~~~~~~~~~~ p_txt.c:2975:14: note: 'diff_last' was declared here int diff_last; /* index of last character to invert */ ^~~~~~~~~ p_txt.c:3011:9: warning: 'diff_first' may be used uninitialized in this function [-Wmaybe-uninitialized] size = xv_pf_textwidth((diff_first - dp->first_char), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ip->value_font, &dp->value[dp->first_char]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_txt.c:2974:21: note: 'diff_first' was declared here int diff_first; /* index of first character to invert */ ^~~~~~~~~~ p_txt.c:1456:16: warning: 'error_msg' may be used uninitialized in this function [-Wmaybe-uninitialized] notice = xv_create(frame, NOTICE, ^~~~~~~~~~~~~~~~~~~~~~~~ NOTICE_MESSAGE_STRINGS, ~~~~~~~~~~~~~~~~~~~~~~~ XV_MSG("Drag and Drop failed:"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error_msg, ~~~~~~~~~~ 0, ~~ XV_SHOW, TRUE, ~~~~~~~~~~~~~~ 0); ~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_txt.c -o p_txt.o In file included from /usr/include/malloc.h:22, from p_txt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_txt.c: In function 'text_init': p_txt.c:273:32: warning: comparison between pointer and integer if (panel->caret_bg_pixmap == NULL) { ^~ p_txt.c:274:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:296:17: warning: array subscript has type 'char' [-Wchar-subscripts] delim_table[*delims] = TRUE; ^ p_txt.c: In function 'text_set_avlist': p_txt.c:500:27: warning: implicit declaration of function 'panel_x_to_col'; did you mean 'panel_row_to_y'? [-Wimplicit-function-declaration] dp->display_length = panel_x_to_col(ip->value_font, ^~~~~~~~~~~~~~ panel_row_to_y p_txt.c: In function 'text_handle_event': p_txt.c:970:3: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'panel_set_kbd_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(PANEL_PUBLIC(panel), ^~~~~~~~~~~~~~~~~ panel_set_kbd_focus p_txt.c: In function 'text_accept_key': p_txt.c:1854:9: warning: implicit declaration of function 'panel_event_is_xview_semantic'; did you mean 'panel_notify_view_event'? [-Wimplicit-function-declaration] if (panel_event_is_xview_semantic(event)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ panel_notify_view_event p_txt.c:1883:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->notify_level) { ^~~~~~ p_txt.c:1883:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_txt.c:1883:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_txt.c: In function 'draw_scroll_btn': p_txt.c:2264:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c: In function 'paint_caret': p_txt.c:2366:15: warning: comparison between pointer and integer panel->caret == NULL) ^~ p_txt.c:2385:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2404:10: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] str[1] = NULL; ^ p_txt.c: In function 'paint_value': p_txt.c:2481:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2537:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0, i = dp->first_char; i <= dp->last_char; i++, j++) ^~~ p_txt.c:2541:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' buf[j] = dp->mask; buf[length - 1] = '\0'; ^~~ p_txt.c:2581:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:2605:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c: In function 'text_alarm': p_txt.c:3087:5: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] win_bell( PANEL_PUBLIC(ip->panel), wait, 0 ); ^~~~~~~~ window_bell p_txt.c:3083:23: warning: unused variable 'info' [-Wunused-variable] Xv_Drawable_info *info; ^~~~ p_txt.c: In function 'text_convert_proc': p_txt.c:3333:11: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ p_txt.c: In function 'text_seln_dehighlight': p_txt.c:3466:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_txt.c:18: p_txt.c: In function 'text_seln_delete': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_txt.c:3655:2: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ p_txt.c: In function 'text_seln_highlight': p_txt.c:3773:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/panel_impl.h:20, from p_txt.c:18: p_txt.c: In function 'update_value': p_txt.c:4589:27: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'Xv_opaque' {aka 'long unsigned int'} [-Wformat=] sprintf(buf, XV_MSG("Unable to get contents of %s selection"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ p_txt.c:4591:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_txt.c:4783:2: warning: enumeration value 'INVALID' not handled in switch [-Wswitch] switch (dp->undo_direction) { ^~~~~~ p_txt.c:5260:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_txt.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/drawable.h:23, from ../../../build/include/xview_private/draw_impl.h:17, from p_txt.c:17: p_txt.c: In function 'paint_value': ../../../build/include/xview/pkg_public.h:87:20: warning: 'pw' may be used uninitialized in this function [-Wmaybe-uninitialized] _object = (((Xv_base *)_passed_object)->seal == XV_OBJECT_SEAL) ? _passed_object : xv_object_to_standard(_passed_object, _caller);\ ^ p_txt.c:2465:21: note: 'pw' was declared here Xv_Window pw; ^~ p_txt.c: In function 'text_begin_preview': p_txt.c:3023:38: warning: 'diff_last' may be used uninitialized in this function [-Wmaybe-uninitialized] size = xv_pf_textwidth(diff_last - diff_first + 1, ~~~~~~~~~~^~~~~~~~~~~~ p_txt.c:2975:14: note: 'diff_last' was declared here int diff_last; /* index of last character to invert */ ^~~~~~~~~ p_txt.c:3011:9: warning: 'diff_first' may be used uninitialized in this function [-Wmaybe-uninitialized] size = xv_pf_textwidth((diff_first - dp->first_char), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ip->value_font, &dp->value[dp->first_char]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_txt.c:2974:21: note: 'diff_first' was declared here int diff_first; /* index of first character to invert */ ^~~~~~~~~~ p_txt.c:1456:16: warning: 'error_msg' may be used uninitialized in this function [-Wmaybe-uninitialized] notice = xv_create(frame, NOTICE, ^~~~~~~~~~~~~~~~~~~~~~~~ NOTICE_MESSAGE_STRINGS, ~~~~~~~~~~~~~~~~~~~~~~~ XV_MSG("Drag and Drop failed:"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error_msg, ~~~~~~~~~~ 0, ~~ XV_SHOW, TRUE, ~~~~~~~~~~~~~~ 0); ~~ rm -f p_choice.o shared/p_choice.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_choice.c -o shared/p_choice.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_choice.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_choice.c: In function 'choice_set_avlist': p_choice.c:309:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c:524:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c:531:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_destroy': p_choice.c:809:12: warning: implicit declaration of function 'panel_free_choices'; did you mean 'panel_free_image'? [-Wimplicit-function-declaration] (void) panel_free_choices(dp->choices, 0, (int) dp->last); ^~~~~~~~~~~~~~~~~~ panel_free_image p_choice.c: In function 'choice_accept_menu': p_choice.c:942:18: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_choice.c:942:42: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_choice.c:946:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_paint': p_choice.c:1127:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->display_level) { ^~~~~~ p_choice.c:1127:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c: In function 'choice_accept_kbd_focus': p_choice.c:1188:21: warning: unused variable 'dp' [-Wunused-variable] Choice_info *dp = CHOICE_PRIVATE(item_public); ^~ p_choice.c: In function 'choice_images_to_menu_items': p_choice.c:1316:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mitems[i] = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:1328:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mitems[i] = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_menu_busy_proc': p_choice.c:1352:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_menu_done_proc': p_choice.c:1389:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'image_size': p_choice.c:1604:1: warning: type of 'max_width' defaults to 'int' [-Wimplicit-int] image_size(image, above_baseline, max_width) ^~~~~~~~~~ p_choice.c: In function 'layout_choices': p_choice.c:1743:5: warning: implicit declaration of function 'panel_fix_label_position'; did you mean 'panel_erase_action'? [-Wimplicit-function-declaration] panel_fix_label_position(ip); ^~~~~~~~~~~~~~~~~~~~~~~~ panel_erase_action p_choice.c: In function 'move_specified': p_choice.c:1957:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c: In function 'paint_choice': p_choice.c:2075:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2094:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2128:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2166:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'update_display': p_choice.c:2385:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2433:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2418:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->feedback) { ^~~~~~ p_choice.c:2418:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c:2474:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2458:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->feedback) { ^~~~~~ p_choice.c:2458:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c: In function 'paint_choice.isra.2': p_choice.c:2175:6: warning: 'label' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_draw_choice_item(ip->value_ginfo, xv_xid(info), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rect->r_left, rect->r_top, rect->r_width, rect->r_height, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ label, state); ~~~~~~~~~~~~~ p_choice.c:2200:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->value_ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_choice.c: In function 'update_display': p_choice.c:2488:3: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->value_ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ In file included from ../../../build/include/xview/window.h:23, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_choice.c:13: p_choice.c: In function 'choice_set_avlist': ../../../build/include/xview/rect.h:49:50: warning: 'rect' may be used uninitialized in this function [-Wmaybe-uninitialized] #define rect_right(rect) ((rect)->r_left+(rect)->r_width-1) ^~ p_choice.c:1694:21: note: 'rect' was declared here Rect *rect; /* each choice rect */ ^~~~ p_choice.c:2323:9: warning: 'choices' may be used uninitialized in this function [-Wmaybe-uninitialized] size = panel_make_image(ip->value_font, &dp->choices[i], type, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ choices[i], choice_is_bold, FALSE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_choice.c:267:21: note: 'choices' was declared here Xv_opaque *choices; /* choices array */ ^~~~~~~ p_choice.c:1918:18: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] dp->choice_rects[i].r_width = ^ p_choice.c:1844:34: note: 'i' was declared here register int num_choices, i, old_slot; /* counters */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_choice.c -o p_choice.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_choice.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_choice.c: In function 'choice_set_avlist': p_choice.c:309:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c:524:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c:531:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(panel_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_destroy': p_choice.c:809:12: warning: implicit declaration of function 'panel_free_choices'; did you mean 'panel_free_image'? [-Wimplicit-function-declaration] (void) panel_free_choices(dp->choices, 0, (int) dp->last); ^~~~~~~~~~~~~~~~~~ panel_free_image p_choice.c: In function 'choice_accept_menu': p_choice.c:942:18: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_choice.c:942:42: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_choice.c:946:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_paint': p_choice.c:1127:5: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->display_level) { ^~~~~~ p_choice.c:1127:5: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:1127:5: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c: In function 'choice_accept_kbd_focus': p_choice.c:1188:21: warning: unused variable 'dp' [-Wunused-variable] Choice_info *dp = CHOICE_PRIVATE(item_public); ^~ p_choice.c: In function 'choice_images_to_menu_items': p_choice.c:1316:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mitems[i] = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:1328:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mitems[i] = xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_menu_busy_proc': p_choice.c:1352:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'choice_menu_done_proc': p_choice.c:1389:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'image_size': p_choice.c:1604:1: warning: type of 'max_width' defaults to 'int' [-Wimplicit-int] image_size(image, above_baseline, max_width) ^~~~~~~~~~ p_choice.c: In function 'layout_choices': p_choice.c:1743:5: warning: implicit declaration of function 'panel_fix_label_position'; did you mean 'panel_erase_action'? [-Wimplicit-function-declaration] panel_fix_label_position(ip); ^~~~~~~~~~~~~~~~~~~~~~~~ panel_erase_action p_choice.c: In function 'move_specified': p_choice.c:1957:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_choice.c: In function 'paint_choice': p_choice.c:2075:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2094:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2128:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2166:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c: In function 'update_display': p_choice.c:2385:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2433:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2418:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->feedback) { ^~~~~~ p_choice.c:2418:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:2418:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c:2474:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_choice.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_choice.c:2458:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->feedback) { ^~~~~~ p_choice.c:2458:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_choice.c:2458:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_choice.c: In function 'paint_choice.isra.2': p_choice.c:2175:6: warning: 'label' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_draw_choice_item(ip->value_ginfo, xv_xid(info), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rect->r_left, rect->r_top, rect->r_width, rect->r_height, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ label, state); ~~~~~~~~~~~~~ p_choice.c:2200:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->value_ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_choice.c: In function 'update_display': p_choice.c:2488:3: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->value_ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ In file included from ../../../build/include/xview/window.h:23, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_choice.c:13: p_choice.c: In function 'choice_set_avlist': ../../../build/include/xview/rect.h:49:50: warning: 'rect' may be used uninitialized in this function [-Wmaybe-uninitialized] #define rect_right(rect) ((rect)->r_left+(rect)->r_width-1) ^~ p_choice.c:1694:21: note: 'rect' was declared here Rect *rect; /* each choice rect */ ^~~~ p_choice.c:2323:9: warning: 'choices' may be used uninitialized in this function [-Wmaybe-uninitialized] size = panel_make_image(ip->value_font, &dp->choices[i], type, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ choices[i], choice_is_bold, FALSE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_choice.c:267:21: note: 'choices' was declared here Xv_opaque *choices; /* choices array */ ^~~~~~~ p_choice.c:1918:18: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] dp->choice_rects[i].r_width = ^ p_choice.c:1844:34: note: 'i' was declared here register int num_choices, i, old_slot; /* counters */ ^ rm -f p_btn.o shared/p_btn.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_btn.c -o shared/p_btn.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_btn.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_btn.c: In function 'btn_begin_preview': p_btn.c:159:46: warning: comparison between pointer and integer if ((default_menu = generate_menu(submenu)) == NULL) ^~ p_btn.c:208:12: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] label = (char *)""; ^ p_btn.c:253:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c:272:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c: In function 'btn_cancel_preview': p_btn.c:309:47: warning: comparison between pointer and integer if ((default_menu = generate_menu(ip->menu)) == NULL) ^~ p_btn.c: In function 'btn_accept_preview': p_btn.c:356:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(PANEL_PUBLIC(ip->panel), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c: In function 'btn_accept_menu': p_btn.c:387:18: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_btn.c:387:42: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_btn.c: In function 'generate_menu': p_btn.c:587:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = (Menu(*) ()) xv_get(menu, MENU_GEN_PROC)) { ^~~~~~~~ p_btn.c:589:15: warning: comparison between pointer and integer if (gen_menu == NULL) { ^~ p_btn.c:595:13: warning: returning 'void *' from a function with return type 'Menu' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_btn.c: In function 'panel_paint_button_image': p_btn.c:726:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c:738:6: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_btn.c -o p_btn.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_btn.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_btn.c: In function 'btn_begin_preview': p_btn.c:159:46: warning: comparison between pointer and integer if ((default_menu = generate_menu(submenu)) == NULL) ^~ p_btn.c:208:12: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion] label = (char *)""; ^ p_btn.c:253:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c:272:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c: In function 'btn_cancel_preview': p_btn.c:309:47: warning: comparison between pointer and integer if ((default_menu = generate_menu(ip->menu)) == NULL) ^~ p_btn.c: In function 'btn_accept_preview': p_btn.c:356:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(PANEL_PUBLIC(ip->panel), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c: In function 'btn_accept_menu': p_btn.c:387:18: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_btn.c:387:42: warning: comparison between pointer and integer if (ip->menu == NULL || paint_window == NULL) ^~ p_btn.c: In function 'generate_menu': p_btn.c:587:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gen_proc = (Menu(*) ()) xv_get(menu, MENU_GEN_PROC)) { ^~~~~~~~ p_btn.c:589:15: warning: comparison between pointer and integer if (gen_menu == NULL) { ^~ p_btn.c:595:13: warning: returning 'void *' from a function with return type 'Menu' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return (NULL); ^ p_btn.c: In function 'panel_paint_button_image': p_btn.c:726:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_btn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_btn.c:738:6: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ rm -f p_msg.o shared/p_msg.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_msg.c -o shared/p_msg.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_msg.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_msg.c -o p_msg.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_msg.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_slider.o shared/p_slider.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_slider.c -o shared/p_slider.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from p_slider.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_slider.c: In function 'slider_set_avlist': p_slider.c:244:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_slider.c: In function 'slider_update_preview': p_slider.c:840:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:854:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'slider_paint': p_slider.c:1124:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1126:3: warning: implicit declaration of function 'screen_adjust_gc_color'; did you mean 'action_adjust_is_down'? [-Wimplicit-function-declaration] screen_adjust_gc_color(pw, SCREEN_INACTIVE_GC); ^~~~~~~~~~~~~~~~~~~~~~ action_adjust_is_down p_slider.c:1150:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'check_endbox_entered': p_slider.c:1355:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1367:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'paint_slider': p_slider.c:1511:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1543:34: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_height; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ p_slider.c:1553:34: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_width; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ p_slider.c:1638:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->panel->ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_slider.c: In function 'slider_set_avlist': p_slider.c:217:21: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] int value; ^~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_slider.c -o p_slider.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from p_slider.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_slider.c: In function 'slider_set_avlist': p_slider.c:244:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_slider.c: In function 'slider_update_preview': p_slider.c:840:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:854:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'slider_paint': p_slider.c:1124:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1126:3: warning: implicit declaration of function 'screen_adjust_gc_color'; did you mean 'action_adjust_is_down'? [-Wimplicit-function-declaration] screen_adjust_gc_color(pw, SCREEN_INACTIVE_GC); ^~~~~~~~~~~~~~~~~~~~~~ action_adjust_is_down p_slider.c:1150:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'check_endbox_entered': p_slider.c:1355:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1367:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c: In function 'paint_slider': p_slider.c:1511:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_slider.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_slider.c:1543:34: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_height; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ p_slider.c:1553:34: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_width; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ p_slider.c:1638:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->panel->ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_slider.c: In function 'slider_set_avlist': p_slider.c:217:21: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] int value; ^~~~~ rm -f p_list.o shared/p_list.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_list.c -o shared/p_list.o In file included from /usr/include/ctype.h:25, from p_list.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_list.c:135:46: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs sb_placement_pairs[] = { ^ p_list.c: In function 'panel_list_set_avlist': p_list.c:1069:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ p_list.c:1069:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_list.c:1132:18: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c:1142:18: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'panel_list_get_attr': p_list.c:1300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node=node->next) { ^~~~ p_list.c: In function 'panel_list_handle_event': p_list.c:1613:2: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] win_bell(event_window(event), wait, 0); ^~~~~~~~ window_bell In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_list.c:16: p_list.c: In function 'enter_read_mode': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_list.c:2408:7: note: in expansion of macro 'event_init' event_init(&null_event); ^~~~~~~~~~ p_list.c: In function 'paint_list_box': p_list.c:3028:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_list_box_border': p_list.c:3064:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_row': p_list.c:3141:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c:3156:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_title_box': p_list.c:3321:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'set_row_font': p_list.c:3671:12: warning: assignment to 'Xv_Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] row->font = NULL; ^ p_list.c: In function 'paint_row': p_list.c:3177:3: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->panel->ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_list.c:3267:3: warning: 'fg_pixval' may be used uninitialized in this function [-Wmaybe-uninitialized] XSetForeground(display, gc, fg_pixval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_list.c: In function 'panel_list_set_avlist': p_list.c:847:18: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] next->prev = prev; ~~~~~~~~~~~^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_list.c -o p_list.o In file included from /usr/include/ctype.h:25, from p_list.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_list.c:135:46: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs sb_placement_pairs[] = { ^ p_list.c: In function 'panel_list_set_avlist': p_list.c:1069:2: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (ip->layout) { ^~~~~~ p_list.c:1069:2: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_list.c:1069:2: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_list.c:1132:18: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c:1142:18: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, MENUITEM, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'panel_list_get_attr': p_list.c:1300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node=node->next) { ^~~~ p_list.c: In function 'panel_list_handle_event': p_list.c:1613:2: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] win_bell(event_window(event), wait, 0); ^~~~~~~~ window_bell In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_list.c:16: p_list.c: In function 'enter_read_mode': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_list.c:2408:7: note: in expansion of macro 'event_init' event_init(&null_event); ^~~~~~~~~~ p_list.c: In function 'paint_list_box': p_list.c:3028:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_list_box_border': p_list.c:3064:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_row': p_list.c:3141:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c:3156:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'paint_title_box': p_list.c:3321:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_list.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_list.c: In function 'set_row_font': p_list.c:3671:12: warning: assignment to 'Xv_Font' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] row->font = NULL; ^ p_list.c: In function 'paint_row': p_list.c:3177:3: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ip->panel->ginfo, OLGX_BLACK, save_black, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OLGX_SPECIAL); ~~~~~~~~~~~~~ p_list.c:3267:3: warning: 'fg_pixval' may be used uninitialized in this function [-Wmaybe-uninitialized] XSetForeground(display, gc, fg_pixval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_list.c: In function 'panel_list_set_avlist': p_list.c:847:18: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] next->prev = prev; ~~~~~~~~~~~^~~~~~ rm -f p_num_txt.o shared/p_num_txt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_num_txt.c -o shared/p_num_txt.o In file included from /usr/include/ctype.h:25, from p_num_txt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_num_txt.c: In function 'num_textitem_scroll_itimer_func': p_num_txt.c:701:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_num_txt.c:691:1: note: declared here num_textitem_scroll_itimer_func( item, which ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_num_txt.c:17: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_num_txt.c:708:2: note: in expansion of macro 'event_init' event_init( &event ); /* send empty, bogus event */ ^~~~~~~~~~ ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_num_txt.c:730:2: note: in expansion of macro 'event_init' event_init( &event ); /* send empty, bogus event */ ^~~~~~~~~~ p_num_txt.c:695:25: warning: unused variable 'val' [-Wunused-variable] int val; ^~~ p_num_txt.c: In function 'num_txt_paint_btn': p_num_txt.c:881:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_num_txt.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_num_txt.c: In function 'num_txt_paint_btn.isra.2': p_num_txt.c:893:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_num_txt.c: In function 'panel_num_text_set_avlist': p_num_txt.c:376:9: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) set_value(dp, new_value); ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_num_txt.c -o p_num_txt.o In file included from /usr/include/ctype.h:25, from p_num_txt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_num_txt.c: In function 'num_textitem_scroll_itimer_func': p_num_txt.c:701:9: warning: 'return' with no value, in function returning non-void return; ^~~~~~ p_num_txt.c:691:1: note: declared here num_textitem_scroll_itimer_func( item, which ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview_private/panel_impl.h:29, from p_num_txt.c:17: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_num_txt.c:708:2: note: in expansion of macro 'event_init' event_init( &event ); /* send empty, bogus event */ ^~~~~~~~~~ ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ p_num_txt.c:730:2: note: in expansion of macro 'event_init' event_init( &event ); /* send empty, bogus event */ ^~~~~~~~~~ p_num_txt.c:695:25: warning: unused variable 'val' [-Wunused-variable] int val; ^~~ p_num_txt.c: In function 'num_txt_paint_btn': p_num_txt.c:881:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_num_txt.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_num_txt.c: In function 'num_txt_paint_btn.isra.2': p_num_txt.c:893:2: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_num_txt.c: In function 'panel_num_text_set_avlist': p_num_txt.c:376:9: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) set_value(dp, new_value); ^~~~~~~~~~~~~~~~~~~~~~~~ rm -f p_gauge.o shared/p_gauge.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_gauge.c -o shared/p_gauge.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from p_gauge.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_gauge.c: In function 'gauge_set_avlist': p_gauge.c:166:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_gauge.c: In function 'gauge_paint': p_gauge.c:471:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c:473:3: warning: implicit declaration of function 'screen_adjust_gc_color'; did you mean 'action_adjust_is_down'? [-Wimplicit-function-declaration] screen_adjust_gc_color(pw, SCREEN_INACTIVE_GC); ^~~~~~~~~~~~~~~~~~~~~~ action_adjust_is_down p_gauge.c:497:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c: In function 'paint_gauge': p_gauge.c:583:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c:600:30: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_height; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c:608:30: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_width; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c: In function 'gauge_paint': p_gauge.c:643:9: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c:568:14: note: 'save_black' was declared here int save_black; ^~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_gauge.c -o p_gauge.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from p_gauge.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_gauge.c: In function 'gauge_set_avlist': p_gauge.c:166:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *avlist++) { ^~~~ p_gauge.c: In function 'gauge_paint': p_gauge.c:471:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c:473:3: warning: implicit declaration of function 'screen_adjust_gc_color'; did you mean 'action_adjust_is_down'? [-Wimplicit-function-declaration] screen_adjust_gc_color(pw, SCREEN_INACTIVE_GC); ^~~~~~~~~~~~~~~~~~~~~~ action_adjust_is_down p_gauge.c:497:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c: In function 'paint_gauge': p_gauge.c:583:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/sun.h:12, from p_gauge.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_gauge.c:600:30: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_height; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c:608:30: warning: statement with no effect [-Wunused-value] tick_gap == dp->tickrect.r_width; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c: In function 'gauge_paint': p_gauge.c:643:9: warning: 'save_black' may be used uninitialized in this function [-Wmaybe-uninitialized] olgx_set_single_color(ginfo, OLGX_BLACK, save_black, OLGX_SPECIAL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_gauge.c:568:14: note: 'save_black' was declared here int save_black; ^~~~~~~~~~ rm -f p_ambtn.o shared/p_ambtn.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_ambtn.c -o shared/p_ambtn.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_ambtn.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_ambtn.c: In function 'ambtn_paint_value': p_ambtn.c:413:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_ambtn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_ambtn.c -o p_ambtn.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_ambtn.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_ambtn.c: In function 'ambtn_paint_value': p_ambtn.c:413:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/panel_impl.h:20, from p_ambtn.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f p_drop.o shared/p_drop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_drop.c -o shared/p_drop.o In file included from /usr/include/malloc.h:22, from p_drop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_drop.c: In function 'drop_paint_value': p_drop.c:593:29: warning: initialization of 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Server_image glyph = NULL; ^~~~ p_drop.c:603:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_drop.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_drop.c: In function 'panel_drop_set_avlist': p_drop.c:294:5: warning: 'full_value' may be used uninitialized in this function [-Wmaybe-uninitialized] if (full_value && dp->dnd) ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_drop.c -o p_drop.o In file included from /usr/include/malloc.h:22, from p_drop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_drop.c: In function 'drop_paint_value': p_drop.c:593:29: warning: initialization of 'Server_image' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Server_image glyph = NULL; ^~~~ p_drop.c:603:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from p_drop.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ p_drop.c: In function 'panel_drop_set_avlist': p_drop.c:294:5: warning: 'full_value' may be used uninitialized in this function [-Wmaybe-uninitialized] if (full_value && dp->dnd) ^ rm -f p_mlinetxt.o shared/p_mlinetxt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_mlinetxt.c -o shared/p_mlinetxt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from p_mlinetxt.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_mlinetxt.c:72:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ p_mlinetxt.c: In function 'panel_mltxt_set_avlist': p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->line_break_action) { ^~~~~~ p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_mlinetxt.c: In function 'mltxt_accept_kbd_focus': p_mlinetxt.c:689:5: warning: implicit declaration of function 'win_grab_quick_sel_keys'; did you mean 'win_ungrab_quick_sel_keys'? [-Wimplicit-function-declaration] win_grab_quick_sel_keys( dp->view ); ^~~~~~~~~~~~~~~~~~~~~~~ win_ungrab_quick_sel_keys p_mlinetxt.c: In function 'mltxt_yield_kbd_focus': p_mlinetxt.c:706:19: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] dp->focus_pw = NULL; ^ p_mlinetxt.c: In function 'mltxt_notify_proc': p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (notify_rtn_code) { ^~~~~~ p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_mlinetxt.c: At top level: p_mlinetxt.c:51:13: warning: 'set_textsw_xy' declared 'static' but never defined [-Wunused-function] static void set_textsw_xy(); ^~~~~~~~~~~~~ p_mlinetxt.c: In function 'panel_mltxt_set_avlist': p_mlinetxt.c:268:6: warning: 'textsw_line_break_action' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_set(dp->textsw, ^~~~~~~~~~~~~~~~~~ TEXTSW_LINE_BREAK_ACTION, textsw_line_break_action, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0); ~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_mlinetxt.c -o p_mlinetxt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from p_mlinetxt.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ p_mlinetxt.c:72:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ p_mlinetxt.c: In function 'panel_mltxt_set_avlist': p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (dp->line_break_action) { ^~~~~~ p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NEXT' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_PREVIOUS' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_mlinetxt.c:260:6: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_mlinetxt.c: In function 'mltxt_accept_kbd_focus': p_mlinetxt.c:689:5: warning: implicit declaration of function 'win_grab_quick_sel_keys'; did you mean 'win_ungrab_quick_sel_keys'? [-Wimplicit-function-declaration] win_grab_quick_sel_keys( dp->view ); ^~~~~~~~~~~~~~~~~~~~~~~ win_ungrab_quick_sel_keys p_mlinetxt.c: In function 'mltxt_yield_kbd_focus': p_mlinetxt.c:706:19: warning: assignment to 'Xv_Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] dp->focus_pw = NULL; ^ p_mlinetxt.c: In function 'mltxt_notify_proc': p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CLEAR' not handled in switch [-Wswitch] switch (notify_rtn_code) { ^~~~~~ p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NO_CLEAR' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NONE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_ALL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NON_PRINTABLE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_SPECIFIED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CURRENT' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_DONE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_MARKED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_VERTICAL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_HORIZONTAL' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_INVERTED' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_INSERT' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_NONE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_LEFT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_MIDDLE_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_RIGHT_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_CHORD_DOWN' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_FORWARD' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_REVERSE' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_WRAP_AT_CHAR' not handled in switch [-Wswitch] p_mlinetxt.c:868:6: warning: enumeration value 'PANEL_WRAP_AT_WORD' not handled in switch [-Wswitch] p_mlinetxt.c: At top level: p_mlinetxt.c:51:13: warning: 'set_textsw_xy' declared 'static' but never defined [-Wunused-function] static void set_textsw_xy(); ^~~~~~~~~~~~~ p_mlinetxt.c: In function 'panel_mltxt_set_avlist': p_mlinetxt.c:268:6: warning: 'textsw_line_break_action' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_set(dp->textsw, ^~~~~~~~~~~~~~~~~~ TEXTSW_LINE_BREAK_ACTION, textsw_line_break_action, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0); ~~ rm -f p_list2.o shared/p_list2.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_list2.c -o shared/p_list2.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview/panel.h:18, from p_list2.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_list2.c -o p_list2.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/openwin.h:36, from ../../../build/include/xview/canvas.h:17, from ../../../build/include/xview/panel.h:18, from p_list2.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_utl_data.o shared/p_utl_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_utl_data.c -o shared/p_utl_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_utl_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_utl_data.c -o p_utl_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_utl_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f panel_data.o shared/panel_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c panel_data.c -o shared/panel_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from panel_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c panel_data.c -o panel_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from panel_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f item_data.o shared/item_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_data.c -o shared/item_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c item_data.c -o item_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from item_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_btn_data.o shared/p_btn_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_btn_data.c -o shared/p_btn_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_btn_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_btn_data.c -o p_btn_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_btn_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_chcedata.o shared/p_chcedata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_chcedata.c -o shared/p_chcedata.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_chcedata.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_chcedata.c -o p_chcedata.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_chcedata.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_txt_data.o shared/p_txt_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_txt_data.c -o shared/p_txt_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_txt_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_txt_data.c -o p_txt_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_txt_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_msg_data.o shared/p_msg_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_msg_data.c -o shared/p_msg_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_msg_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_msg_data.c -o p_msg_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_msg_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_lst_data.o shared/p_lst_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_lst_data.c -o shared/p_lst_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_lst_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_lst_data.c -o p_lst_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_lst_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_ntx_data.o shared/p_ntx_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_ntx_data.c -o shared/p_ntx_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_ntx_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_ntx_data.c -o p_ntx_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_ntx_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_amb_data.o shared/p_amb_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_amb_data.c -o shared/p_amb_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from p_amb_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_amb_data.c -o p_amb_data.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from p_amb_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_drp_data.o shared/p_drp_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_drp_data.c -o shared/p_drp_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_drp_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_drp_data.c -o p_drp_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_drp_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f p_mltxdata.o shared/p_mltxdata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_mltxdata.c -o shared/p_mltxdata.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_mltxdata.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c p_mltxdata.c -o p_mltxdata.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../../build/include/xview_private/panel_impl.h:16, from p_mltxdata.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/p_utl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_utl.o ../../libxview/xshared/p_utl.o + rm -f ../../libxview/xshared/panel.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/panel.o ../../libxview/xshared/panel.o + rm -f ../../libxview/xshared/p_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_set.o ../../libxview/xshared/p_set.o + rm -f ../../libxview/xshared/p_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_get.o ../../libxview/xshared/p_get.o + rm -f ../../libxview/xshared/p_event.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_event.o ../../libxview/xshared/p_event.o + rm -f ../../libxview/xshared/p_scroll.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_scroll.o ../../libxview/xshared/p_scroll.o + rm -f ../../libxview/xshared/p_select.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_select.o ../../libxview/xshared/p_select.o + rm -f ../../libxview/xshared/p_paint.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_paint.o ../../libxview/xshared/p_paint.o + rm -f ../../libxview/xshared/p_image.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_image.o ../../libxview/xshared/p_image.o + rm -f ../../libxview/xshared/p_public.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_public.o ../../libxview/xshared/p_public.o + rm -f ../../libxview/xshared/p_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_compat.o ../../libxview/xshared/p_compat.o + rm -f ../../libxview/xshared/p_view.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_view.o ../../libxview/xshared/p_view.o + rm -f ../../libxview/xshared/item.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/item.o ../../libxview/xshared/item.o + rm -f ../../libxview/xshared/item_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/item_set.o ../../libxview/xshared/item_set.o + rm -f ../../libxview/xshared/item_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/item_get.o ../../libxview/xshared/item_get.o + rm -f ../../libxview/xshared/p_txt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_txt.o ../../libxview/xshared/p_txt.o + rm -f ../../libxview/xshared/p_choice.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_choice.o ../../libxview/xshared/p_choice.o + rm -f ../../libxview/xshared/p_btn.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_btn.o ../../libxview/xshared/p_btn.o + rm -f ../../libxview/xshared/p_msg.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_msg.o ../../libxview/xshared/p_msg.o + rm -f ../../libxview/xshared/p_slider.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_slider.o ../../libxview/xshared/p_slider.o + rm -f ../../libxview/xshared/p_list.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_list.o ../../libxview/xshared/p_list.o + rm -f ../../libxview/xshared/p_num_txt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_num_txt.o ../../libxview/xshared/p_num_txt.o + rm -f ../../libxview/xshared/p_gauge.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_gauge.o ../../libxview/xshared/p_gauge.o + rm -f ../../libxview/xshared/p_ambtn.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_ambtn.o ../../libxview/xshared/p_ambtn.o + rm -f ../../libxview/xshared/p_drop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_drop.o ../../libxview/xshared/p_drop.o + rm -f ../../libxview/xshared/p_mlinetxt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_mlinetxt.o ../../libxview/xshared/p_mlinetxt.o + rm -f ../../libxview/xshared/p_list2.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_list2.o ../../libxview/xshared/p_list2.o + rm -f ../../libxview/xshared/p_utl_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_utl_data.o ../../libxview/xshared/p_utl_data.o + rm -f ../../libxview/xshared/panel_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/panel_data.o ../../libxview/xshared/panel_data.o + rm -f ../../libxview/xshared/item_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/item_data.o ../../libxview/xshared/item_data.o + rm -f ../../libxview/xshared/p_btn_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_btn_data.o ../../libxview/xshared/p_btn_data.o + rm -f ../../libxview/xshared/p_chcedata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_chcedata.o ../../libxview/xshared/p_chcedata.o + rm -f ../../libxview/xshared/p_txt_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_txt_data.o ../../libxview/xshared/p_txt_data.o + rm -f ../../libxview/xshared/p_msg_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_msg_data.o ../../libxview/xshared/p_msg_data.o + rm -f ../../libxview/xshared/p_lst_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_lst_data.o ../../libxview/xshared/p_lst_data.o + rm -f ../../libxview/xshared/p_ntx_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_ntx_data.o ../../libxview/xshared/p_ntx_data.o + rm -f ../../libxview/xshared/p_amb_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_amb_data.o ../../libxview/xshared/p_amb_data.o + rm -f ../../libxview/xshared/p_drp_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_drp_data.o ../../libxview/xshared/p_drp_data.o + rm -f ../../libxview/xshared/p_mltxdata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel/shared/p_mltxdata.o ../../libxview/xshared/p_mltxdata.o ar ruv ../../libxview/libxview.a p_utl.o panel.o p_set.o p_get.o p_event.o p_scroll.o p_select.o p_paint.o p_image.o p_public.o p_compat.o p_view.o item.o item_set.o item_get.o p_txt.o p_choice.o p_btn.o p_msg.o p_slider.o p_list.o p_num_txt.o p_gauge.o p_ambtn.o p_drop.o p_mlinetxt.o p_list2.o p_utl_data.o panel_data.o item_data.o p_btn_data.o p_chcedata.o p_txt_data.o p_msg_data.o p_lst_data.o p_ntx_data.o p_amb_data.o p_drp_data.o p_mltxdata.o a - p_utl.o a - panel.o a - p_set.o a - p_get.o a - p_event.o a - p_scroll.o a - p_select.o a - p_paint.o a - p_image.o a - p_public.o a - p_compat.o a - p_view.o a - item.o a - item_set.o a - item_get.o a - p_txt.o a - p_choice.o a - p_btn.o a - p_msg.o a - p_slider.o a - p_list.o a - p_num_txt.o a - p_gauge.o a - p_ambtn.o a - p_drop.o a - p_mlinetxt.o a - p_list2.o a - p_utl_data.o a - panel_data.o a - item_data.o a - p_btn_data.o a - p_chcedata.o a - p_txt_data.o a - p_msg_data.o a - p_lst_data.o a - p_ntx_data.o a - p_amb_data.o a - p_drp_data.o a - p_mltxdata.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/panel' making all in lib/libxview/pw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' rm -f pw_btchrop.o shared/pw_btchrop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_btchrop.c -o shared/pw_btchrop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_btchrop.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_btchrop.c: In function 'pw_batchrop': pw_btchrop.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_btchrop.c -o pw_btchrop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_btchrop.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_btchrop.c: In function 'pw_batchrop': pw_btchrop.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_cms.o shared/pw_cms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_cms.c -o shared/pw_cms.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pw_cms.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_cms.c: In function 'pw_getcmsname': pw_cms.c:31:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_name = (char *) xv_get(pw, XV_KEY_DATA, xv_cms_name_key)) { ^~~~~~~~~ pw_cms.c:34:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_putcolormap': pw_cms.c:55:5: warning: implicit declaration of function 'window_set_cms_data'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_cms_data(pw, &cms_data); ^~~~~~~~~~~~~~~~~~~ window_set_cache_rect pw_cms.c: In function 'pw_putattributes': pw_cms.c:81:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_getattributes': pw_cms.c:92:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_getcmsname': pw_cms.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_putcolormap': pw_cms.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_getcolormap': pw_cms.c:73:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_putattributes': pw_cms.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_getattributes': pw_cms.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_cms.c -o pw_cms.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pw_cms.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_cms.c: In function 'pw_getcmsname': pw_cms.c:31:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (temp_name = (char *) xv_get(pw, XV_KEY_DATA, xv_cms_name_key)) { ^~~~~~~~~ pw_cms.c:34:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_putcolormap': pw_cms.c:55:5: warning: implicit declaration of function 'window_set_cms_data'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_set_cms_data(pw, &cms_data); ^~~~~~~~~~~~~~~~~~~ window_set_cache_rect pw_cms.c: In function 'pw_putattributes': pw_cms.c:81:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_getattributes': pw_cms.c:92:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from pw_cms.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_cms.c: In function 'pw_getcmsname': pw_cms.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_putcolormap': pw_cms.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_getcolormap': pw_cms.c:73:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_putattributes': pw_cms.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_cms.c: In function 'pw_getattributes': pw_cms.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_get.o shared/pw_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_get.c -o shared/pw_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_get.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_get.c: In function 'pw_get': pw_get.c:38:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(drawable, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_get.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_get.c -o pw_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_get.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_get.c: In function 'pw_get': pw_get.c:38:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(drawable, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_get.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f pw_line.o shared/pw_line.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_line.c -o shared/pw_line.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_line.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_line.c: In function 'pw_line': pw_line.c:37:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_line.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_line.c: In function 'xv_draw_rectangle': pw_line.c:118:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_line.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_line.c: In function 'pw_line': pw_line.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_line.c -o pw_line.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_line.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_line.c: In function 'pw_line': pw_line.c:37:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_line.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_line.c: In function 'xv_draw_rectangle': pw_line.c:118:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_line.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_line.c: In function 'pw_line': pw_line.c:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_plygon2.o shared/pw_plygon2.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plygon2.c -o shared/pw_plygon2.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plygon2.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plygon2.c: In function 'pw_polygon_2': pw_plygon2.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plygon2.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plygon2.c:135:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_plygon2.c:133:2: warning: 'tile' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_destroy(tile); ^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plygon2.c -o pw_plygon2.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plygon2.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plygon2.c: In function 'pw_polygon_2': pw_plygon2.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plygon2.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plygon2.c:135:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_plygon2.c:133:2: warning: 'tile' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_destroy(tile); ^~~~~~~~~~~~~~~~ rm -f pw_plyline.o shared/pw_plyline.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plyline.c -o shared/pw_plyline.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plyline.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plyline.c: In function 'pw_polyline': pw_plyline.c:50:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plyline.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plyline.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } /* pw_polyline */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plyline.c -o pw_plyline.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plyline.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plyline.c: In function 'pw_polyline': pw_plyline.c:50:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plyline.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plyline.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } /* pw_polyline */ ^ rm -f pw_plypt.o shared/pw_plypt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plypt.c -o shared/pw_plypt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plypt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plypt.c: In function 'pw_polypoint': pw_plypt.c:27:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plypt.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plypt.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] } /* pw_polypoint */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_plypt.c -o pw_plypt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_plypt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_plypt.c: In function 'pw_polypoint': pw_plypt.c:27:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_plypt.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_plypt.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] } /* pw_polypoint */ ^ rm -f pw_put.o shared/pw_put.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_put.c -o shared/pw_put.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_put.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_put.c: In function 'pw_put': pw_put.c:28:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_put.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_put.c:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_put.c -o pw_put.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_put.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_put.c: In function 'pw_put': pw_put.c:28:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_put.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_put.c:36:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_read.o shared/pw_read.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_read.c -o shared/pw_read.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from pw_read.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_read.c: In function 'xv_read': pw_read.c:37:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from pw_read.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_read.c:38:2: warning: implicit declaration of function 'xv_read_internal'; did you mean 'XK_dead_iota'? [-Wimplicit-function-declaration] xv_read_internal(pr, x, y, width, height, op, xv_display(info), ^~~~~~~~~~~~~~~~ XK_dead_iota pw_read.c:43:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from pw_read.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_read.c:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_read.c: In function 'xv_read_internal': pw_read.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_read.c -o pw_read.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from pw_read.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_read.c: In function 'xv_read': pw_read.c:37:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from pw_read.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_read.c:38:2: warning: implicit declaration of function 'xv_read_internal'; did you mean 'XK_dead_iota'? [-Wimplicit-function-declaration] xv_read_internal(pr, x, y, width, height, op, xv_display(info), ^~~~~~~~~~~~~~~~ XK_dead_iota pw_read.c:43:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from pw_read.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_read.c:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ pw_read.c: In function 'xv_read_internal': pw_read.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_traprop.o shared/pw_traprop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_traprop.c -o shared/pw_traprop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_traprop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_traprop.c: In function 'pw_traprop': pw_traprop.c:30:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_traprop.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_traprop.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_traprop.c -o pw_traprop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_traprop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_traprop.c: In function 'pw_traprop': pw_traprop.c:30:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_traprop.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_traprop.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f pw_vector.o shared/pw_vector.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_vector.c -o shared/pw_vector.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_vector.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_vector.c: In function 'xv_vector': pw_vector.c:31:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_vector.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_vector.c:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c pw_vector.c -o pw_vector.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from pw_vector.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ pw_vector.c: In function 'xv_vector': pw_vector.c:31:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from pw_vector.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ pw_vector.c:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xv_olgx.o shared/xv_olgx.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_olgx.c -o shared/xv_olgx.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/olgx/olgx.h:13, from xv_olgx.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_olgx.c:22: xv_olgx.c: In function 'xv_set_control_cms': ../../../build/include/xview/cms.h:49:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Visual *' {aka 'struct *'} [-Wformat=] sprintf(name, "xv_ctl_%x_%d%d%d", visual, \ ^~~~~~~~~~~~~~~~~~ xv_olgx.c:70:5: note: in expansion of macro 'CMS_CONTROL_CMS_NAME' CMS_CONTROL_CMS_NAME(cms_name, visual, color); ^~~~~~~~~~~~~~~~~~~~ xv_olgx.c: In function 'xv_init_olgx': xv_olgx.c:119:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/defaults.h:27, from xv_olgx.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_olgx.c -o xv_olgx.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/olgx/olgx.h:13, from xv_olgx.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from xv_olgx.c:22: xv_olgx.c: In function 'xv_set_control_cms': ../../../build/include/xview/cms.h:49:20: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Visual *' {aka 'struct *'} [-Wformat=] sprintf(name, "xv_ctl_%x_%d%d%d", visual, \ ^~~~~~~~~~~~~~~~~~ xv_olgx.c:70:5: note: in expansion of macro 'CMS_CONTROL_CMS_NAME' CMS_CONTROL_CMS_NAME(cms_name, visual, color); ^~~~~~~~~~~~~~~~~~~~ xv_olgx.c: In function 'xv_init_olgx': xv_olgx.c:119:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/defaults.h:27, from xv_olgx.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f xv_text.o shared/xv_text.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_text.c -o shared/xv_text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from xv_text.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_text.c:23:17: warning: type defaults to 'int' in declaration of 'xv_pf_ttext' [-Wimplicit-int] extern xv_pf_ttext(), xv_pf_text(); ^~~~~~~~~~~ xv_text.c:23:32: warning: type defaults to 'int' in declaration of 'xv_pf_text' [-Wimplicit-int] extern xv_pf_ttext(), xv_pf_text(); ^~~~~~~~~~ xv_text.c: In function 'pw_char': xv_text.c:36:12: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] str[1] = NULL; ^ xv_text.c: In function 'xv_ttext': xv_text.c:56:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xv_text.c:41:1: note: declared here xv_ttext(window, xbasew, ybasew, op, pixfont, str) ^~~~~~~~ xv_text.c:59:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c: In function 'xv_text': xv_text.c:94:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c:100:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xv_text.c:80:1: note: declared here xv_text(window, xbasew, ybasew, op, pixfont, str) ^~~~~~~ xv_text.c: In function 'xv_glyph_char': xv_text.c:151:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c:155:10: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] s[1] = NULL; ^ xv_text.c: In function 'pw_pfsysopen': xv_text.c:182:9: warning: implicit declaration of function 'xv_pf_open'; did you mean 'pf_open'? [-Wimplicit-function-declaration] (void) xv_pf_open((char *) 0); ^~~~~~~~~~ pf_open xv_text.c: In function 'pw_char': xv_text.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_text.c: In function 'xv_glyph_char': xv_text.c:172:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_text.c: In function 'pw_pfsysclose': xv_text.c:194:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_text.c -o xv_text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from xv_text.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_text.c:23:17: warning: type defaults to 'int' in declaration of 'xv_pf_ttext' [-Wimplicit-int] extern xv_pf_ttext(), xv_pf_text(); ^~~~~~~~~~~ xv_text.c:23:32: warning: type defaults to 'int' in declaration of 'xv_pf_text' [-Wimplicit-int] extern xv_pf_ttext(), xv_pf_text(); ^~~~~~~~~~ xv_text.c: In function 'pw_char': xv_text.c:36:12: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] str[1] = NULL; ^ xv_text.c: In function 'xv_ttext': xv_text.c:56:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xv_text.c:41:1: note: declared here xv_ttext(window, xbasew, ybasew, op, pixfont, str) ^~~~~~~~ xv_text.c:59:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c: In function 'xv_text': xv_text.c:94:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c:100:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xv_text.c:80:1: note: declared here xv_text(window, xbasew, ybasew, op, pixfont, str) ^~~~~~~ xv_text.c: In function 'xv_glyph_char': xv_text.c:151:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_text.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_text.c:155:10: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] s[1] = NULL; ^ xv_text.c: In function 'pw_pfsysopen': xv_text.c:182:9: warning: implicit declaration of function 'xv_pf_open'; did you mean 'pf_open'? [-Wimplicit-function-declaration] (void) xv_pf_open((char *) 0); ^~~~~~~~~~ pf_open xv_text.c: In function 'pw_char': xv_text.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_text.c: In function 'xv_glyph_char': xv_text.c:172:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_text.c: In function 'pw_pfsysclose': xv_text.c:194:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xv_stencil.o shared/xv_stencil.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_stencil.c -o shared/xv_stencil.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from xv_stencil.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_stencil.c: In function 'xv_stencil_internal': xv_stencil.c:83:6: warning: implicit declaration of function 'xv_rop_internal'; did you mean 'xv_stencil_internal'? [-Wimplicit-function-declaration] if (xv_rop_internal(display, temp_st, st_gc, 0, 0, ^~~~~~~~~~~~~~~ xv_stencil_internal xv_stencil.c:89:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(stpr, stpr_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c: In function 'xv_stencil': xv_stencil.c:127:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c:142:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c:147:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_stencil.c -o xv_stencil.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/pw_impl.h:12, from xv_stencil.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_stencil.c: In function 'xv_stencil_internal': xv_stencil.c:83:6: warning: implicit declaration of function 'xv_rop_internal'; did you mean 'xv_stencil_internal'? [-Wimplicit-function-declaration] if (xv_rop_internal(display, temp_st, st_gc, 0, 0, ^~~~~~~~~~~~~~~ xv_stencil_internal xv_stencil.c:89:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(stpr, stpr_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c: In function 'xv_stencil': xv_stencil.c:127:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c:142:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_stencil.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_stencil.c:147:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f xv_rop.o shared/xv_rop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_rop.c -o shared/xv_rop.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xv_rop.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_rop.c: In function 'xv_rop_internal': xv_rop.c:156:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:184:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:198:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:206:6: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'xv_rop_internal'? [-Wimplicit-function-declaration] if (xv_rop_mpr_internal(display, d, gc, x, y, width, height, src, ^~~~~~~~~~~~~~~~~~~ xv_rop_internal xv_rop.c: At top level: xv_rop.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_to_x_convert_image(ximage, val) ^~~~~~~~~~~~~~~~~~~~~ xv_rop.c: In function 'xv_find_proper_gc': xv_rop.c:385:40: warning: implicit declaration of function 'server_get_fullscreen' [-Wimplicit-function-declaration] short xv_in_fullscreen = server_get_fullscreen(xv_server(info)); ^~~~~~~~~~~~~~~~~~~~~ xv_rop.c: In function 'xv_rop': xv_rop.c:521:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:539:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_invert_polygon': xv_rop.c:563:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_replrop': xv_rop.c:632:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:641:6: warning: implicit declaration of function 'xv_replrop_internal'; did you mean 'xv_rop_internal'? [-Wimplicit-function-declaration] if (xv_replrop_internal(display, info, d, gc, xw, yw, width, ^~~~~~~~~~~~~~~~~~~ xv_rop_internal xv_rop.c:643:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_replrop_internal': xv_rop.c:655:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] xv_replrop_internal(display, info, d, gc, xw, yw, width, height, src, xr, yr, dest_info) ^~~~~~~~~~~~~~~~~~~ xv_rop.c:695:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'pw_save_pixels': xv_rop.c:782:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_to_x_convert_image': xv_rop.c:372:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_find_proper_gc': xv_rop.c:507:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_rop': xv_rop.c:545:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_replrop': xv_rop.c:651:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c xv_rop.c -o xv_rop.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from xv_rop.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xv_rop.c: In function 'xv_rop_internal': xv_rop.c:156:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:184:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:198:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:206:6: warning: implicit declaration of function 'xv_rop_mpr_internal'; did you mean 'xv_rop_internal'? [-Wimplicit-function-declaration] if (xv_rop_mpr_internal(display, d, gc, x, y, width, height, src, ^~~~~~~~~~~~~~~~~~~ xv_rop_internal xv_rop.c: At top level: xv_rop.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] xv_to_x_convert_image(ximage, val) ^~~~~~~~~~~~~~~~~~~~~ xv_rop.c: In function 'xv_find_proper_gc': xv_rop.c:385:40: warning: implicit declaration of function 'server_get_fullscreen' [-Wimplicit-function-declaration] short xv_in_fullscreen = server_get_fullscreen(xv_server(info)); ^~~~~~~~~~~~~~~~~~~~~ xv_rop.c: In function 'xv_rop': xv_rop.c:521:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:539:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_invert_polygon': xv_rop.c:563:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_replrop': xv_rop.c:632:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c:641:6: warning: implicit declaration of function 'xv_replrop_internal'; did you mean 'xv_rop_internal'? [-Wimplicit-function-declaration] if (xv_replrop_internal(display, info, d, gc, xw, yw, width, ^~~~~~~~~~~~~~~~~~~ xv_rop_internal xv_rop.c:643:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_replrop_internal': xv_rop.c:655:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] xv_replrop_internal(display, info, d, gc, xw, yw, width, height, src, xr, yr, dest_info) ^~~~~~~~~~~~~~~~~~~ xv_rop.c:695:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'pw_save_pixels': xv_rop.c:782:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/pw_impl.h:14, from xv_rop.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ xv_rop.c: In function 'xv_to_x_convert_image': xv_rop.c:372:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_find_proper_gc': xv_rop.c:507:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_rop': xv_rop.c:545:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xv_rop.c: In function 'xv_replrop': xv_rop.c:651:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f mem.o shared/mem.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c mem.c -o shared/mem.o In file included from /usr/include/sys/types.h:25, from mem.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ mem.c:36:17: warning: 'xv_pr_error' declared 'static' but never defined [-Wunused-function] static int xv_pr_error(); ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c mem.c -o mem.o In file included from /usr/include/sys/types.h:25, from mem.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ mem.c:36:17: warning: 'xv_pr_error' declared 'static' but never defined [-Wunused-function] static int xv_pr_error(); ^~~~~~~~~~~ rm -f mem_ops.o shared/mem_ops.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c mem_ops.c -o shared/mem_ops.o In file included from /usr/include/sys/types.h:25, from mem_ops.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ mem_ops.c: In function 'xv_pr_error': mem_ops.c:51:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c mem_ops.c -o mem_ops.o In file included from /usr/include/sys/types.h:25, from mem_ops.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ mem_ops.c: In function 'xv_pr_error': mem_ops.c:51:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ + rm -f ../../libxview/xshared/pw_btchrop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_btchrop.o ../../libxview/xshared/pw_btchrop.o + rm -f ../../libxview/xshared/pw_cms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_cms.o ../../libxview/xshared/pw_cms.o + rm -f ../../libxview/xshared/pw_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_get.o ../../libxview/xshared/pw_get.o + rm -f ../../libxview/xshared/pw_line.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_line.o ../../libxview/xshared/pw_line.o + rm -f ../../libxview/xshared/pw_plygon2.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_plygon2.o ../../libxview/xshared/pw_plygon2.o + rm -f ../../libxview/xshared/pw_plyline.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_plyline.o ../../libxview/xshared/pw_plyline.o + rm -f ../../libxview/xshared/pw_plypt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_plypt.o ../../libxview/xshared/pw_plypt.o + rm -f ../../libxview/xshared/pw_put.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_put.o ../../libxview/xshared/pw_put.o + rm -f ../../libxview/xshared/pw_read.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_read.o ../../libxview/xshared/pw_read.o + rm -f ../../libxview/xshared/pw_traprop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_traprop.o ../../libxview/xshared/pw_traprop.o + rm -f ../../libxview/xshared/pw_vector.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/pw_vector.o ../../libxview/xshared/pw_vector.o + rm -f ../../libxview/xshared/xv_olgx.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/xv_olgx.o ../../libxview/xshared/xv_olgx.o + rm -f ../../libxview/xshared/xv_text.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/xv_text.o ../../libxview/xshared/xv_text.o + rm -f ../../libxview/xshared/xv_stencil.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/xv_stencil.o ../../libxview/xshared/xv_stencil.o + rm -f ../../libxview/xshared/xv_rop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/xv_rop.o ../../libxview/xshared/xv_rop.o + rm -f ../../libxview/xshared/mem.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/mem.o ../../libxview/xshared/mem.o + rm -f ../../libxview/xshared/mem_ops.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw/shared/mem_ops.o ../../libxview/xshared/mem_ops.o ar ruv ../../libxview/libxview.a pw_btchrop.o pw_cms.o pw_get.o pw_line.o pw_plygon2.o pw_plyline.o pw_plypt.o pw_put.o pw_read.o pw_traprop.o pw_vector.o xv_olgx.o xv_text.o xv_stencil.o xv_rop.o mem.o mem_ops.o a - pw_btchrop.o a - pw_cms.o a - pw_get.o a - pw_line.o a - pw_plygon2.o a - pw_plyline.o a - pw_plypt.o a - pw_put.o a - pw_read.o a - pw_traprop.o a - pw_vector.o a - xv_olgx.o a - xv_text.o a - xv_stencil.o a - xv_rop.o a - mem.o a - mem_ops.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/pw' making all in lib/libxview/rect... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' rm -f rect.o shared/rect.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect.c -o shared/rect.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rect.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rect.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] rect_intersection(r1, r2, r) ^~~~~~~~~~~~~~~~~ rect.c: In function 'rect_intersection': rect.c:40:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rect.c:27:1: note: declared here rect_intersection(r1, r2, r) ^~~~~~~~~~~~~~~~~ rect.c: In function 'rect_order': rect.c:164:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from rect.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect.c -o rect.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rect.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rect.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] rect_intersection(r1, r2, r) ^~~~~~~~~~~~~~~~~ rect.c: In function 'rect_intersection': rect.c:40:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rect.c:27:1: note: declared here rect_intersection(r1, r2, r) ^~~~~~~~~~~~~~~~~ rect.c: In function 'rect_order': rect.c:164:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from rect.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f rectlist.o shared/rectlist.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rectlist.c -o shared/rectlist.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rectlist.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rectlist.c: In function 'rl_intersection': rectlist.c:80:13: warning: implicit declaration of function 'rl_rectintersection'; did you mean 'rl_rectintersects'? [-Wimplicit-function-declaration] (void) rl_rectintersection(&r, rl2, &rltemp); ^~~~~~~~~~~~~~~~~~~ rl_rectintersects rectlist.c:81:6: warning: implicit declaration of function '_rl_append' [-Wimplicit-function-declaration] _rl_append(&rlresult, &rltemp); ^~~~~~~~~~ rectlist.c:84:12: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] (void) rl_free(rl); ^~~~~~~ xv_free rectlist.c: At top level: rectlist.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_sort(rl1, rl, sortorder) ^~~~~~~ rectlist.c: In function 'rl_sort': rectlist.c:101:12: warning: implicit declaration of function 'rl_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] (void) rl_copy(rl1, &rlresult); /* Result same as input */ ^~~~~~~ va_copy rectlist.c: At top level: rectlist.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_union(rl1, rl2, rl) ^~~~~~~~ rectlist.c: In function 'rl_union': rectlist.c:137:2: warning: implicit declaration of function '_rl_union'; did you mean 'rl_union'? [-Wimplicit-function-declaration] _rl_union(rl, rl2); ^~~~~~~~~ rl_union rectlist.c: At top level: rectlist.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_difference(rl1, rl2, rl) ^~~~~~~~~~~~~ rectlist.c: In function 'rl_difference': rectlist.c:160:6: warning: implicit declaration of function '_rl_removerect'; did you mean '_rl_removerectnode'? [-Wimplicit-function-declaration] _rl_removerect(&r, rl); ^~~~~~~~~~~~~~ _rl_removerectnode rectlist.c:162:2: warning: implicit declaration of function '_rl_makebound' [-Wimplicit-function-declaration] _rl_makebound(rl); ^~~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectintersection(r, rl1, rl) ^~~~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_rectintersection': rectlist.c:261:13: warning: implicit declaration of function 'rect_intersection'; did you mean 'rl_intersection'? [-Wimplicit-function-declaration] (void) rect_intersection(r, &r1, &rtemp); ^~~~~~~~~~~~~~~~~ rl_intersection rectlist.c:262:6: warning: implicit declaration of function '_rl_appendrect'; did you mean 'rl_equalrect'? [-Wimplicit-function-declaration] _rl_appendrect(&rtemp, &rlresult); ^~~~~~~~~~~~~~ rl_equalrect rectlist.c: At top level: rectlist.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectunion(r, rl1, rl) ^~~~~~~~~~~~ rectlist.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectdifference(r, rl1, rl) ^~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_rectdifference': rectlist.c:297:14: warning: implicit declaration of function '_rl_equal'; did you mean 'rl_equal'? [-Wimplicit-function-declaration] else if (_rl_equal(rl1, &rl_null)) ^~~~~~~~~ rl_equal rectlist.c:307:3: warning: implicit declaration of function '_rl_difrects'; did you mean 'rl_difference'? [-Wimplicit-function-declaration] _rl_difrects(&rtemp, r, &rltemp); ^~~~~~~~~~~~ rl_difference rectlist.c: At top level: rectlist.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_initwithrect(r, rl) ^~~~~~~~~~~~~~~ rectlist.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_copy(rl1, rl) ^~~~~~~ rectlist.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_free(rl) ^~~~~~~ rectlist.c: In function 'rl_free': rectlist.c:353:2: warning: implicit declaration of function '_rl_freerectnode'; did you mean '_rl_getrectnode'? [-Wimplicit-function-declaration] _rl_freerectnode(rn); ^~~~~~~~~~~~~~~~ _rl_getrectnode rectlist.c: At top level: rectlist.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_coalesce(rl) ^~~~~~~~~~~ rectlist.c: In function 'rl_coalesce': rectlist.c:376:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:365:1: note: declared here rl_coalesce(rl) ^~~~~~~~~~~ rectlist.c: At top level: rectlist.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_normalize(rl) ^~~~~~~~~~~~ rectlist.c: In function 'rl_normalize': rectlist.c:399:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:393:1: note: declared here rl_normalize(rl) ^~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_print(rl, tag) ^~~~~~~~ rectlist.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_appendrect(r, rl) ^~~~~~~~~~~~~~ rectlist.c: In function '_rl_appendrect': rectlist.c:442:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:435:1: note: declared here _rl_appendrect(r, rl) ^~~~~~~~~~~~~~ rectlist.c:445:5: warning: implicit declaration of function '_rl_appendrectnode'; did you mean '_rl_appendrect'? [-Wimplicit-function-declaration] _rl_appendrectnode(rl, rn); ^~~~~~~~~~~~~~~~~~ _rl_appendrect rectlist.c: At top level: rectlist.c:448:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_append(rlBase, rlAdd) ^~~~~~~~~~ rectlist.c:493:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_appendrectnode(rl, rn) ^~~~~~~~~~~~~~~~~~ rectlist.c:510:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_makebound(rl) ^~~~~~~~~~~~~ rectlist.c:521:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_difrects(r1, r2, rl) ^~~~~~~~~~~~ rectlist.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_equal(rl1, rl2) ^~~~~~~~~ rectlist.c:574:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_freerectnode(rn) ^~~~~~~~~~~~~~~~ rectlist.c:582:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_removerect(r, rl) ^~~~~~~~~~~~~~ rectlist.c: In function '_rl_removerect': rectlist.c:591:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:582:1: note: declared here _rl_removerect(r, rl) ^~~~~~~~~~~~~~ rectlist.c:599:3: warning: implicit declaration of function '_rl_replacernbyrl' [-Wimplicit-function-declaration] _rl_replacernbyrl(rl, *rnPtr, &rltemp); ^~~~~~~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_union(rlBase, rlAdd) ^~~~~~~~~ rectlist.c:649:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_replacernbyrl(rlBase, rnAxe, rlAdd) ^~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_sort': rectlist.c:131:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_union': rectlist.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_difference': rectlist.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectintersection': rectlist.c:266:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectunion': rectlist.c:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectdifference': rectlist.c:313:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_initwithrect': rectlist.c:326:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_copy': rectlist.c:344:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_free': rectlist.c:363:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_print': rectlist.c:426:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_append': rectlist.c:462:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_appendrectnode': rectlist.c:508:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_makebound': rectlist.c:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_difrects': rectlist.c:560:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_freerectnode': rectlist.c:580:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_union': rectlist.c:620:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_replacernbyrl': rectlist.c:677:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rectlist.c -o rectlist.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rectlist.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rectlist.c: In function 'rl_intersection': rectlist.c:80:13: warning: implicit declaration of function 'rl_rectintersection'; did you mean 'rl_rectintersects'? [-Wimplicit-function-declaration] (void) rl_rectintersection(&r, rl2, &rltemp); ^~~~~~~~~~~~~~~~~~~ rl_rectintersects rectlist.c:81:6: warning: implicit declaration of function '_rl_append' [-Wimplicit-function-declaration] _rl_append(&rlresult, &rltemp); ^~~~~~~~~~ rectlist.c:84:12: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] (void) rl_free(rl); ^~~~~~~ xv_free rectlist.c: At top level: rectlist.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_sort(rl1, rl, sortorder) ^~~~~~~ rectlist.c: In function 'rl_sort': rectlist.c:101:12: warning: implicit declaration of function 'rl_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] (void) rl_copy(rl1, &rlresult); /* Result same as input */ ^~~~~~~ va_copy rectlist.c: At top level: rectlist.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_union(rl1, rl2, rl) ^~~~~~~~ rectlist.c: In function 'rl_union': rectlist.c:137:2: warning: implicit declaration of function '_rl_union'; did you mean 'rl_union'? [-Wimplicit-function-declaration] _rl_union(rl, rl2); ^~~~~~~~~ rl_union rectlist.c: At top level: rectlist.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_difference(rl1, rl2, rl) ^~~~~~~~~~~~~ rectlist.c: In function 'rl_difference': rectlist.c:160:6: warning: implicit declaration of function '_rl_removerect'; did you mean '_rl_removerectnode'? [-Wimplicit-function-declaration] _rl_removerect(&r, rl); ^~~~~~~~~~~~~~ _rl_removerectnode rectlist.c:162:2: warning: implicit declaration of function '_rl_makebound' [-Wimplicit-function-declaration] _rl_makebound(rl); ^~~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectintersection(r, rl1, rl) ^~~~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_rectintersection': rectlist.c:261:13: warning: implicit declaration of function 'rect_intersection'; did you mean 'rl_intersection'? [-Wimplicit-function-declaration] (void) rect_intersection(r, &r1, &rtemp); ^~~~~~~~~~~~~~~~~ rl_intersection rectlist.c:262:6: warning: implicit declaration of function '_rl_appendrect'; did you mean 'rl_equalrect'? [-Wimplicit-function-declaration] _rl_appendrect(&rtemp, &rlresult); ^~~~~~~~~~~~~~ rl_equalrect rectlist.c: At top level: rectlist.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectunion(r, rl1, rl) ^~~~~~~~~~~~ rectlist.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_rectdifference(r, rl1, rl) ^~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_rectdifference': rectlist.c:297:14: warning: implicit declaration of function '_rl_equal'; did you mean 'rl_equal'? [-Wimplicit-function-declaration] else if (_rl_equal(rl1, &rl_null)) ^~~~~~~~~ rl_equal rectlist.c:307:3: warning: implicit declaration of function '_rl_difrects'; did you mean 'rl_difference'? [-Wimplicit-function-declaration] _rl_difrects(&rtemp, r, &rltemp); ^~~~~~~~~~~~ rl_difference rectlist.c: At top level: rectlist.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_initwithrect(r, rl) ^~~~~~~~~~~~~~~ rectlist.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_copy(rl1, rl) ^~~~~~~ rectlist.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_free(rl) ^~~~~~~ rectlist.c: In function 'rl_free': rectlist.c:353:2: warning: implicit declaration of function '_rl_freerectnode'; did you mean '_rl_getrectnode'? [-Wimplicit-function-declaration] _rl_freerectnode(rn); ^~~~~~~~~~~~~~~~ _rl_getrectnode rectlist.c: At top level: rectlist.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_coalesce(rl) ^~~~~~~~~~~ rectlist.c: In function 'rl_coalesce': rectlist.c:376:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:365:1: note: declared here rl_coalesce(rl) ^~~~~~~~~~~ rectlist.c: At top level: rectlist.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_normalize(rl) ^~~~~~~~~~~~ rectlist.c: In function 'rl_normalize': rectlist.c:399:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:393:1: note: declared here rl_normalize(rl) ^~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] rl_print(rl, tag) ^~~~~~~~ rectlist.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_appendrect(r, rl) ^~~~~~~~~~~~~~ rectlist.c: In function '_rl_appendrect': rectlist.c:442:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:435:1: note: declared here _rl_appendrect(r, rl) ^~~~~~~~~~~~~~ rectlist.c:445:5: warning: implicit declaration of function '_rl_appendrectnode'; did you mean '_rl_appendrect'? [-Wimplicit-function-declaration] _rl_appendrectnode(rl, rn); ^~~~~~~~~~~~~~~~~~ _rl_appendrect rectlist.c: At top level: rectlist.c:448:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_append(rlBase, rlAdd) ^~~~~~~~~~ rectlist.c:493:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_appendrectnode(rl, rn) ^~~~~~~~~~~~~~~~~~ rectlist.c:510:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_makebound(rl) ^~~~~~~~~~~~~ rectlist.c:521:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_difrects(r1, r2, rl) ^~~~~~~~~~~~ rectlist.c:562:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_equal(rl1, rl2) ^~~~~~~~~ rectlist.c:574:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_freerectnode(rn) ^~~~~~~~~~~~~~~~ rectlist.c:582:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_removerect(r, rl) ^~~~~~~~~~~~~~ rectlist.c: In function '_rl_removerect': rectlist.c:591:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ rectlist.c:582:1: note: declared here _rl_removerect(r, rl) ^~~~~~~~~~~~~~ rectlist.c:599:3: warning: implicit declaration of function '_rl_replacernbyrl' [-Wimplicit-function-declaration] _rl_replacernbyrl(rl, *rnPtr, &rltemp); ^~~~~~~~~~~~~~~~~ rectlist.c: At top level: rectlist.c:610:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_union(rlBase, rlAdd) ^~~~~~~~~ rectlist.c:649:1: warning: return type defaults to 'int' [-Wimplicit-int] _rl_replacernbyrl(rlBase, rnAxe, rlAdd) ^~~~~~~~~~~~~~~~~ rectlist.c: In function 'rl_sort': rectlist.c:131:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_union': rectlist.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_difference': rectlist.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectintersection': rectlist.c:266:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectunion': rectlist.c:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_rectdifference': rectlist.c:313:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_initwithrect': rectlist.c:326:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_copy': rectlist.c:344:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_free': rectlist.c:363:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function 'rl_print': rectlist.c:426:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_append': rectlist.c:462:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_appendrectnode': rectlist.c:508:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_makebound': rectlist.c:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_difrects': rectlist.c:560:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_freerectnode': rectlist.c:580:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_union': rectlist.c:620:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rectlist.c: In function '_rl_replacernbyrl': rectlist.c:677:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f rect_util.o shared/rect_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect_util.c -o shared/rect_util.o gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect_util.c -o rect_util.o rm -f rect_data.o shared/rect_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect_data.c -o shared/rect_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from rect_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rect_data.c:25:27: warning: missing braces around initializer [-Wmissing-braces] struct rectlist rl_null = {0, 0, 0, 0, 0, 0, 0, 0}; ^ { } gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c rect_data.c -o rect_data.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from rect_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rect_data.c:25:27: warning: missing braces around initializer [-Wmissing-braces] struct rectlist rl_null = {0, 0, 0, 0, 0, 0, 0, 0}; ^ { } + rm -f ../../libxview/xshared/rect.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect/shared/rect.o ../../libxview/xshared/rect.o + rm -f ../../libxview/xshared/rectlist.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect/shared/rectlist.o ../../libxview/xshared/rectlist.o + rm -f ../../libxview/xshared/rect_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect/shared/rect_util.o ../../libxview/xshared/rect_util.o + rm -f ../../libxview/xshared/rect_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect/shared/rect_data.o ../../libxview/xshared/rect_data.o ar ruv ../../libxview/libxview.a rect.o rectlist.o rect_util.o rect_data.o a - rect.o a - rectlist.o a - rect_util.o a - rect_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/rect' making all in lib/libxview/screen... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' rm -f screen.o shared/screen.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c screen.c -o shared/screen.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from screen.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ screen.c:25:46: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs visual_class_pairs[] = { ^ screen.c: In function 'screen_init': screen.c:82:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ screen.c:110:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] sprintf(cms_name, "xv_default_cms_for_0x%x", ~^ %lx screen->screen_visuals->vinfo->visualid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:142:5: warning: implicit declaration of function 'xv_set_default_font'; did you mean 'xv_set_avlist'? [-Wimplicit-function-declaration] xv_set_default_font(xv_get(screen->server, XV_DISPLAY), ^~~~~~~~~~~~~~~~~~~ xv_set_avlist screen.c:62:5: warning: unused variable 'bytes_after' [-Wunused-variable] bytes_after; ^~~~~~~~~~~ screen.c:61:20: warning: unused variable 'nitems' [-Wunused-variable] unsigned long nitems, ^~~~~~ screen.c:60:9: warning: unused variable 'format' [-Wunused-variable] format; ^~~~~~ screen.c:58:12: warning: unused variable 'type' [-Wunused-variable] Atom type; ^~~~ screen.c: In function 'screen_default_visual_info': screen.c:215:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ screen.c: In function 'screen_set_cached_window_busy': screen.c:332:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c screen.c -o screen.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from screen.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ screen.c:25:46: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs visual_class_pairs[] = { ^ screen.c: In function 'screen_init': screen.c:82:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ screen.c:110:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] sprintf(cms_name, "xv_default_cms_for_0x%x", ~^ %lx screen->screen_visuals->vinfo->visualid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:142:5: warning: implicit declaration of function 'xv_set_default_font'; did you mean 'xv_set_avlist'? [-Wimplicit-function-declaration] xv_set_default_font(xv_get(screen->server, XV_DISPLAY), ^~~~~~~~~~~~~~~~~~~ xv_set_avlist screen.c:62:5: warning: unused variable 'bytes_after' [-Wunused-variable] bytes_after; ^~~~~~~~~~~ screen.c:61:20: warning: unused variable 'nitems' [-Wunused-variable] unsigned long nitems, ^~~~~~ screen.c:60:9: warning: unused variable 'format' [-Wunused-variable] format; ^~~~~~ screen.c:58:12: warning: unused variable 'type' [-Wunused-variable] Atom type; ^~~~ screen.c: In function 'screen_default_visual_info': screen.c:215:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ screen.c: In function 'screen_set_cached_window_busy': screen.c:332:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from screen.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f scrn_get.o shared/scrn_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_get.c -o shared/scrn_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from scrn_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ scrn_get.c: In function 'screen_get_cached_gc_list': scrn_get.c:286:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c:332:20: warning: comparison between pointer and integer if (bold_font == NULL) { ^~ scrn_get.c:333:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c: In function 'screen_adjust_gc_color': scrn_get.c:397:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c:390:20: warning: unused variable 'gc_values' [-Wunused-variable] XGCValues gc_values; ^~~~~~~~~ scrn_get.c:429:39: warning: 'new_bg' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((new_fg != gc_tmp.foreground )|| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (new_bg != gc_tmp.background) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scrn_get.c:429:8: warning: 'new_fg' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((new_fg != gc_tmp.foreground )|| ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_get.c -o scrn_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from scrn_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ scrn_get.c: In function 'screen_get_cached_gc_list': scrn_get.c:286:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c:332:20: warning: comparison between pointer and integer if (bold_font == NULL) { ^~ scrn_get.c:333:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c: In function 'screen_adjust_gc_color': scrn_get.c:397:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from scrn_get.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ scrn_get.c:390:20: warning: unused variable 'gc_values' [-Wunused-variable] XGCValues gc_values; ^~~~~~~~~ scrn_get.c:429:39: warning: 'new_bg' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((new_fg != gc_tmp.foreground )|| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (new_bg != gc_tmp.background) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scrn_get.c:429:8: warning: 'new_fg' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((new_fg != gc_tmp.foreground )|| ^ rm -f scrn_lyout.o shared/scrn_lyout.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_lyout.c -o shared/scrn_lyout.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from scrn_lyout.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ scrn_lyout.c: In function 'screen_layout': scrn_lyout.c:22:1: warning: type of 'd1' defaults to 'int' [-Wimplicit-int] screen_layout(root, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ scrn_lyout.c:22:1: warning: type of 'd2' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd3' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd4' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd5' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:41:14: warning: implicit declaration of function 'window_layout'; did you mean 'window_set'? [-Wimplicit-function-declaration] FALSE : window_layout(root, child, op, d1, d2, d3, d4, d5); ^~~~~~~~~~~~~ window_set scrn_lyout.c:73:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *)d1; ^ scrn_lyout.c:78:3: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getsize(child, &real_size); ^~~~~~~~~~~ win_get_damage gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_lyout.c -o scrn_lyout.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from scrn_lyout.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ scrn_lyout.c: In function 'screen_layout': scrn_lyout.c:22:1: warning: type of 'd1' defaults to 'int' [-Wimplicit-int] screen_layout(root, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ scrn_lyout.c:22:1: warning: type of 'd2' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd3' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd4' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:22:1: warning: type of 'd5' defaults to 'int' [-Wimplicit-int] scrn_lyout.c:41:14: warning: implicit declaration of function 'window_layout'; did you mean 'window_set'? [-Wimplicit-function-declaration] FALSE : window_layout(root, child, op, d1, d2, d3, d4, d5); ^~~~~~~~~~~~~ window_set scrn_lyout.c:73:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *)d1; ^ scrn_lyout.c:78:3: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_getsize(child, &real_size); ^~~~~~~~~~~ win_get_damage rm -f scrn_vis.o shared/scrn_vis.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_vis.c -o shared/scrn_vis.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/scrn_impl.h:14, from scrn_vis.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_vis.c -o scrn_vis.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/scrn_impl.h:14, from scrn_vis.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f scrn_data.o shared/scrn_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_data.c -o shared/scrn_data.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/scrn_impl.h:14, from scrn_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c scrn_data.c -o scrn_data.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from ../../../build/include/xview_private/scrn_impl.h:14, from scrn_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/screen.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen/shared/screen.o ../../libxview/xshared/screen.o + rm -f ../../libxview/xshared/scrn_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen/shared/scrn_get.o ../../libxview/xshared/scrn_get.o + rm -f ../../libxview/xshared/scrn_lyout.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen/shared/scrn_lyout.o ../../libxview/xshared/scrn_lyout.o + rm -f ../../libxview/xshared/scrn_vis.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen/shared/scrn_vis.o ../../libxview/xshared/scrn_vis.o + rm -f ../../libxview/xshared/scrn_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen/shared/scrn_data.o ../../libxview/xshared/scrn_data.o ar ruv ../../libxview/libxview.a screen.o scrn_get.o scrn_lyout.o scrn_vis.o scrn_data.o a - screen.o a - scrn_get.o a - scrn_lyout.o a - scrn_vis.o a - scrn_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/screen' making all in lib/libxview/scrollbar... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' rm -f sb_compat.o shared/sb_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_compat.c -o shared/sb_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_compat.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_compat.c: In function 'scrollbar_create': sb_compat.c:44:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_compat.c -o sb_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_compat.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_compat.c: In function 'scrollbar_create': sb_compat.c:44:19: warning: assignment to 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] avlist[0] = NULL; ^ rm -f sb_destroy.o shared/sb_destroy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_destroy.c -o shared/sb_destroy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_destroy.c:25: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_destroy.c -o sb_destroy.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_destroy.c:25: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sb_get.o shared/sb_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_get.c -o shared/sb_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_get.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_get.c -o sb_get.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_get.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sb_pos.o shared/sb_pos.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_pos.c -o shared/sb_pos.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_pos.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_pos.c -o sb_pos.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_pos.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sb_set.o shared/sb_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_set.c -o shared/sb_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_set.c:24: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_set.c: In function 'scrollbar_parse_attr': sb_set.c:60:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *argv++) { ^~~~ sb_set.c:219:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_set.c -o sb_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_set.c:24: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_set.c: In function 'scrollbar_parse_attr': sb_set.c:60:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (attr = *argv++) { ^~~~ sb_set.c:219:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ rm -f sb_event.o shared/sb_event.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_event.c -o shared/sb_event.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sb_event.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_event.c: In function 'scrollbar_handle_event': sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_POINT_TO_MIN' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_MIN_TO_POINT' not handled in switch [-Wswitch] sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] sb_event.c:180:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(sb_public, help_key, event); ^~~~~~~~~~~~ menu_show sb_event.c:229:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:236:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:305:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:312:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c: In function 'scrollbar_handle_timed_page_event': sb_event.c:836:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (new_y != y) ^ sb_event.c: In function 'scrollbar_position_mouse': sb_event.c:880:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mouse_rect->r_left >= 0 && ^ sb_event.c: In function 'scrollbar_translate_to_elevator_event': sb_event.c:1019:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sb_event.c: In function 'scrollbar_preview_split': sb_event.c:1054:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c:1224:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (update_feedback) ^ sb_event.c: In function 'scrollbar_invoke_split': sb_event.c:1279:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sb_event.c: In function 'scrollbar_destroy_split': sb_event.c:1290:39: warning: passing argument 4 of 'win_post_id_and_arg' makes integer from pointer without a cast [-Wint-conversion] ACTION_SPLIT_DESTROY, NOTIFY_SAFE, NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/win_notify.h:33:119: note: expected 'Notify_arg' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Notify_error win_post_id_and_arg, (Notify_client client, int id, Notify_event_type when, Notify_arg arg, Notify_copy copy_func, Notify_release release_func)); ~~~~~~~~~~~^~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c: In function 'scrollbar_left_mouse_up': sb_event.c:1368:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(sb_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c: In function 'scrollbar_find_view_nbr': sb_event.c:1389:4: warning: comparison between pointer and integer != NULL; ^~ sb_event.c: In function 'scrollbar_handle_event': sb_event.c:180:6: warning: 'help_key' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_help_show(sb_public, help_key, event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_event.c -o sb_event.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sb_event.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_event.c: In function 'scrollbar_handle_event': sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_POINT_TO_MIN' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_MIN_TO_POINT' not handled in switch [-Wswitch] sb_event.c:154:6: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] sb_event.c:180:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(sb_public, help_key, event); ^~~~~~~~~~~~ menu_show sb_event.c:229:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:236:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:305:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c:312:12: warning: assignment to 'Xv_window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] openwin = NULL; ^ sb_event.c: In function 'scrollbar_handle_timed_page_event': sb_event.c:836:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (new_y != y) ^ sb_event.c: In function 'scrollbar_position_mouse': sb_event.c:880:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mouse_rect->r_left >= 0 && ^ sb_event.c: In function 'scrollbar_translate_to_elevator_event': sb_event.c:1019:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sb_event.c: In function 'scrollbar_preview_split': sb_event.c:1054:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c:1224:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (update_feedback) ^ sb_event.c: In function 'scrollbar_invoke_split': sb_event.c:1279:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ sb_event.c: In function 'scrollbar_destroy_split': sb_event.c:1290:39: warning: passing argument 4 of 'win_post_id_and_arg' makes integer from pointer without a cast [-Wint-conversion] ACTION_SPLIT_DESTROY, NOTIFY_SAFE, NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/win_notify.h:33:119: note: expected 'Notify_arg' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Notify_error win_post_id_and_arg, (Notify_client client, int id, Notify_event_type when, Notify_arg arg, Notify_copy copy_func, Notify_release release_func)); ~~~~~~~~~~~^~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c: In function 'scrollbar_left_mouse_up': sb_event.c:1368:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(sb_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb_event.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sb_event.c: In function 'scrollbar_find_view_nbr': sb_event.c:1389:4: warning: comparison between pointer and integer != NULL; ^~ sb_event.c: In function 'scrollbar_handle_event': sb_event.c:180:6: warning: 'help_key' may be used uninitialized in this function [-Wmaybe-uninitialized] xv_help_show(sb_public, help_key, event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f sb_paint.o shared/sb_paint.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_paint.c -o shared/sb_paint.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_paint.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_paint.c: In function 'scrollbar_invert_region': sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_POINT_TO_MIN' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_FORWARD' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_MIN_TO_POINT' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_BACKWARD' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_NONE' not handled in switch [-Wswitch] sb_paint.c: In function 'scrollbar_proportional_indicator': sb_paint.c:218:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (*length < sb->elevator_rect.r_height) ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_paint.c -o sb_paint.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_paint.c:26: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb_paint.c: In function 'scrollbar_invert_region': sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_POINT_TO_MIN' not handled in switch [-Wswitch] switch (motion) { ^~~~~~ sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_FORWARD' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_MIN_TO_POINT' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_BACKWARD' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_PAGE_ALIGNED' not handled in switch [-Wswitch] sb_paint.c:141:5: warning: enumeration value 'SCROLLBAR_NONE' not handled in switch [-Wswitch] sb_paint.c: In function 'scrollbar_proportional_indicator': sb_paint.c:218:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (*length < sb->elevator_rect.r_height) ^ rm -f sb_scroll.o shared/sb_scroll.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_scroll.c -o shared/sb_scroll.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_scroll.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_scroll.c -o sb_scroll.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_scroll.c:27: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sb.o shared/sb.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb.c -o shared/sb.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb.c: In function 'scrollbar_create_internal': sb.c:73:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(sb_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb.c -o sb.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sb.c: In function 'scrollbar_create_internal': sb.c:73:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(sb_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/sb_impl.h:24, from sb.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f sb_data.o shared/sb_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_data.c -o shared/sb_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_data.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sb_data.c -o sb_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/sb_impl.h:24, from sb_data.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/sb_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_compat.o ../../libxview/xshared/sb_compat.o + rm -f ../../libxview/xshared/sb_destroy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_destroy.o ../../libxview/xshared/sb_destroy.o + rm -f ../../libxview/xshared/sb_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_get.o ../../libxview/xshared/sb_get.o + rm -f ../../libxview/xshared/sb_pos.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_pos.o ../../libxview/xshared/sb_pos.o + rm -f ../../libxview/xshared/sb_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_set.o ../../libxview/xshared/sb_set.o + rm -f ../../libxview/xshared/sb_event.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_event.o ../../libxview/xshared/sb_event.o + rm -f ../../libxview/xshared/sb_paint.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_paint.o ../../libxview/xshared/sb_paint.o + rm -f ../../libxview/xshared/sb_scroll.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_scroll.o ../../libxview/xshared/sb_scroll.o + rm -f ../../libxview/xshared/sb.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb.o ../../libxview/xshared/sb.o + rm -f ../../libxview/xshared/sb_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar/shared/sb_data.o ../../libxview/xshared/sb_data.o ar ruv ../../libxview/libxview.a sb_compat.o sb_destroy.o sb_get.o sb_pos.o sb_set.o sb_event.o sb_paint.o sb_scroll.o sb.o sb_data.o a - sb_compat.o a - sb_destroy.o a - sb_get.o a - sb_pos.o a - sb_set.o a - sb_event.o a - sb_paint.o a - sb_scroll.o a - sb.o a - sb_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/scrollbar' making all in lib/libxview/sel... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' rm -f seln.o shared/seln.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c seln.c -o shared/seln.o In file included from /usr/include/sys/types.h:25, from seln.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ seln.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_set(sel, sel_write, sel_clear, window) ^~~~~~~~~~~~~ seln.c: In function 'selection_set': seln.c:41:12: warning: implicit declaration of function 'win_lockdata'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_lockdata(window); ^~~~~~~~~~~~ win_get_damage seln.c:46:10: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(selection_filename()) == 0) ^~~~~~ unix seln.c:49:9: warning: implicit declaration of function 'win_unlockdata'; did you mean 'Xv_public_data'? [-Wimplicit-function-declaration] (void) win_unlockdata(window); ^~~~~~~~~~~~~~ Xv_public_data seln.c:56:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:32:1: note: declared here selection_set(sel, sel_write, sel_clear, window) ^~~~~~~~~~~~~ seln.c:59:12: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] (void) fchmod(fileno(file), 0666); ^~~~~~ seln.c:60:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~ seln.c:60:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:60:60: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~ seln.c:60:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %x seln.c:62:6: sel->sel_pubflags, sel->sel_privdata); ~~~~~~~~~~~~~~~~~ seln.c:60:88: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'caddr_t' {aka 'char *'} [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %s seln.c:62:25: sel->sel_pubflags, sel->sel_privdata); ~~~~~~~~~~~~~~~~~ seln.c: At top level: seln.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c: In function 'selection_get': seln.c:83:6: warning: 'return' with no value, in function returning non-void return; /* No selection available */ ^~~~~~ seln.c:68:1: note: declared here selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c:90:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:68:1: note: declared here selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c:97:11: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:97:22: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~~ seln.c:97:37: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~~ seln.c:97:51: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 6 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %x seln.c:99:7: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~~~~~~~~~~~~~~~~~ seln.c:97:65: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 7 has type 'char **' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ seln.c:99:27: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~~~~~~~~~~~~~~~~~ seln.c:97:67: warning: format '%c' expects argument of type 'char *', but argument 8 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~^ %lc seln.c:99:47: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~ seln.c:104:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~ seln.c:104:44: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:104:59: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~ seln.c:104:73: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %x seln.c:106:10: sel->sel_pubflags, sel->sel_privdata, c, n); ~~~~~~~~~~~~~~~~~ seln.c:104:87: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'caddr_t' {aka 'char *'} [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %s seln.c:106:29: sel->sel_pubflags, sel->sel_privdata, c, n); ~~~~~~~~~~~~~~~~~ seln.c:104:99: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d seln.c:106:51: sel->sel_pubflags, sel->sel_privdata, c, n); ~ seln.c: At top level: seln.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_clear(window) ^~~~~~~~~~~~~~~ seln.c: In function 'selection_clear': seln.c:129:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:115:1: note: declared here selection_clear(window) ^~~~~~~~~~~~~~~ seln.c: In function 'selection_filename': seln.c:150:44: warning: implicit declaration of function 'xv_getlogindir' [-Wimplicit-function-declaration] sprintf(homename, "%s/.winselection", xv_getlogindir()); ^~~~~~~~~~~~~~ seln.c:150:26: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf(homename, "%s/.winselection", xv_getlogindir()); ~^ ~~~~~~~~~~~~~~~~ %d seln.c:145:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((name = getenv("SELECTION_FILE")) == NULL) ^~ seln.c:152:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' name = homename; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c seln.c -o seln.o In file included from /usr/include/sys/types.h:25, from seln.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ seln.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_set(sel, sel_write, sel_clear, window) ^~~~~~~~~~~~~ seln.c: In function 'selection_set': seln.c:41:12: warning: implicit declaration of function 'win_lockdata'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_lockdata(window); ^~~~~~~~~~~~ win_get_damage seln.c:46:10: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (unlink(selection_filename()) == 0) ^~~~~~ unix seln.c:49:9: warning: implicit declaration of function 'win_unlockdata'; did you mean 'Xv_public_data'? [-Wimplicit-function-declaration] (void) win_unlockdata(window); ^~~~~~~~~~~~~~ Xv_public_data seln.c:56:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:32:1: note: declared here selection_set(sel, sel_write, sel_clear, window) ^~~~~~~~~~~~~ seln.c:59:12: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] (void) fchmod(fileno(file), 0666); ^~~~~~ seln.c:60:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~ seln.c:60:45: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:60:60: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~ seln.c:60:74: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %x seln.c:62:6: sel->sel_pubflags, sel->sel_privdata); ~~~~~~~~~~~~~~~~~ seln.c:60:88: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'caddr_t' {aka 'char *'} [-Wformat=] (void) fprintf(file, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx\n", ~~^ %s seln.c:62:25: sel->sel_pubflags, sel->sel_privdata); ~~~~~~~~~~~~~~~~~ seln.c: At top level: seln.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c: In function 'selection_get': seln.c:83:6: warning: 'return' with no value, in function returning non-void return; /* No selection available */ ^~~~~~ seln.c:68:1: note: declared here selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c:90:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:68:1: note: declared here selection_get(sel_read, window) ^~~~~~~~~~~~~ seln.c:97:11: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:97:22: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~~ seln.c:97:37: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %d &sel->sel_type, &sel->sel_items, &sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~~ seln.c:97:51: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 6 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ %x seln.c:99:7: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~~~~~~~~~~~~~~~~~ seln.c:97:65: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 7 has type 'char **' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~~^ seln.c:99:27: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~~~~~~~~~~~~~~~~~ seln.c:97:67: warning: format '%c' expects argument of type 'char *', but argument 8 has type 'int *' [-Wformat=] "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx%c", ~^ %lc seln.c:99:47: &sel->sel_pubflags, &sel->sel_privdata, &c)) != 6) { ~~ seln.c:104:33: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~ seln.c:104:44: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~ seln.c:104:59: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d sel->sel_type, sel->sel_items, sel->sel_itembytes, ~~~~~~~~~~~~~~~~~~ seln.c:104:73: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %x seln.c:106:10: sel->sel_pubflags, sel->sel_privdata, c, n); ~~~~~~~~~~~~~~~~~ seln.c:104:87: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'caddr_t' {aka 'char *'} [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %s seln.c:106:29: sel->sel_pubflags, sel->sel_privdata, c, n); ~~~~~~~~~~~~~~~~~ seln.c:104:99: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'int' [-Wformat=] (void) fprintf(stderr, "TYPE=%ld, ITEMS=%ld, ITEMBYTES=%ld, PUBFLAGS=%lx, PRIVDATA=%lx c=%c, n=%ld\n", ~~^ %d seln.c:106:51: sel->sel_pubflags, sel->sel_privdata, c, n); ~ seln.c: At top level: seln.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] selection_clear(window) ^~~~~~~~~~~~~~~ seln.c: In function 'selection_clear': seln.c:129:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ seln.c:115:1: note: declared here selection_clear(window) ^~~~~~~~~~~~~~~ seln.c: In function 'selection_filename': seln.c:150:44: warning: implicit declaration of function 'xv_getlogindir' [-Wimplicit-function-declaration] sprintf(homename, "%s/.winselection", xv_getlogindir()); ^~~~~~~~~~~~~~ seln.c:150:26: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf(homename, "%s/.winselection", xv_getlogindir()); ~^ ~~~~~~~~~~~~~~~~ %d seln.c:145:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((name = getenv("SELECTION_FILE")) == NULL) ^~ seln.c:152:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' name = homename; ^~~~ rm -f sel_appl.o shared/sel_appl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_appl.c -o shared/sel_appl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_appl.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_appl.c -o sel_appl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_appl.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sel_clnt.o shared/sel_clnt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_clnt.c -o shared/sel_clnt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_clnt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_clnt.c: In function 'selection_create': sel_clnt.c:98:26: warning: implicit declaration of function 'getpid'; did you mean 'waitpid'? [-Wimplicit-function-declaration] handle->access.pid = getpid(); ^~~~~~ waitpid sel_clnt.c: In function 'selection_acquire': sel_clnt.c:174:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(agent->held_file[ord(given)]); ^~~~~ pclose sel_clnt.c: In function 'selection_done': sel_clnt.c:219:2: warning: implicit declaration of function 'seln_equal_access'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] seln_equal_access(&my_descriptor.access, ^~~~~~~~~~~~~~~~~ seln_equal_agent sel_clnt.c: In function 'selection_yield_all': sel_clnt.c:252:7: warning: implicit declaration of function 'selection_equal_agent'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] !selection_equal_agent(server, holders.array[i])) { ^~~~~~~~~~~~~~~~~~~~~ seln_equal_agent In file included from ../../../build/include/xview_private/seln_impl.h:26, from sel_clnt.c:16: sel_clnt.c: In function 'selection_inquire': ../../../build/include/xview/sel_svc.h:55:10: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_get_seln_function_pending(server) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c:317:6: note: in expansion of macro 'selection_function_pending' if (selection_function_pending(server)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'selection_clear_functions': ../../../build/include/xview/sel_svc.h:57:10: warning: implicit declaration of function 'server_set_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_set_seln_function_pending(server, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c:404:5: note: in expansion of macro 'seln_function_clear' seln_function_clear(server); ^~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'seln_give_up_selection_without_telling_server': sel_clnt.c:514:6: warning: implicit declaration of function 'xv_sel_free_compat_data' [-Wimplicit-function-declaration] xv_sel_free_compat_data( display, selection ); ^~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'seln_seize': sel_clnt.c:559:5: warning: enumeration value 'SELN_FAILED' not handled in switch [-Wswitch] switch (result) { ^~~~~~ sel_clnt.c:559:5: warning: enumeration value 'SELN_NON_EXIST' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_DIDNT_HAVE' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_CONTINUED' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_CANCEL' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_UNRECOGNIZED' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_OVER' not handled in switch [-Wswitch] gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_clnt.c -o sel_clnt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_clnt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_clnt.c: In function 'selection_create': sel_clnt.c:98:26: warning: implicit declaration of function 'getpid'; did you mean 'waitpid'? [-Wimplicit-function-declaration] handle->access.pid = getpid(); ^~~~~~ waitpid sel_clnt.c: In function 'selection_acquire': sel_clnt.c:174:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(agent->held_file[ord(given)]); ^~~~~ pclose sel_clnt.c: In function 'selection_done': sel_clnt.c:219:2: warning: implicit declaration of function 'seln_equal_access'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] seln_equal_access(&my_descriptor.access, ^~~~~~~~~~~~~~~~~ seln_equal_agent sel_clnt.c: In function 'selection_yield_all': sel_clnt.c:252:7: warning: implicit declaration of function 'selection_equal_agent'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] !selection_equal_agent(server, holders.array[i])) { ^~~~~~~~~~~~~~~~~~~~~ seln_equal_agent In file included from ../../../build/include/xview_private/seln_impl.h:26, from sel_clnt.c:16: sel_clnt.c: In function 'selection_inquire': ../../../build/include/xview/sel_svc.h:55:10: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_get_seln_function_pending(server) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c:317:6: note: in expansion of macro 'selection_function_pending' if (selection_function_pending(server)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'selection_clear_functions': ../../../build/include/xview/sel_svc.h:57:10: warning: implicit declaration of function 'server_set_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_set_seln_function_pending(server, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c:404:5: note: in expansion of macro 'seln_function_clear' seln_function_clear(server); ^~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'seln_give_up_selection_without_telling_server': sel_clnt.c:514:6: warning: implicit declaration of function 'xv_sel_free_compat_data' [-Wimplicit-function-declaration] xv_sel_free_compat_data( display, selection ); ^~~~~~~~~~~~~~~~~~~~~~~ sel_clnt.c: In function 'seln_seize': sel_clnt.c:559:5: warning: enumeration value 'SELN_FAILED' not handled in switch [-Wswitch] switch (result) { ^~~~~~ sel_clnt.c:559:5: warning: enumeration value 'SELN_NON_EXIST' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_DIDNT_HAVE' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_CONTINUED' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_CANCEL' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_UNRECOGNIZED' not handled in switch [-Wswitch] sel_clnt.c:559:5: warning: enumeration value 'SELN_OVER' not handled in switch [-Wswitch] rm -f sel_common.o shared/sel_common.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_common.c -o shared/sel_common.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from sel_common.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_common.c: In function 'seln_same_holder': sel_common.c:79:6: warning: implicit declaration of function 'seln_equal_access'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] seln_equal_access(&h1->access, &h2->access)); ^~~~~~~~~~~~~~~~~ seln_equal_agent gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_common.c -o sel_common.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from sel_common.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_common.c: In function 'seln_same_holder': sel_common.c:79:6: warning: implicit declaration of function 'seln_equal_access'; did you mean 'seln_equal_agent'? [-Wimplicit-function-declaration] seln_equal_access(&h1->access, &h2->access)); ^~~~~~~~~~~~~~~~~ seln_equal_agent rm -f sel_policy.o shared/sel_policy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_policy.c -o shared/sel_policy.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from sel_policy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_policy.c -o sel_policy.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from sel_policy.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f sel_agent.o shared/sel_agent.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_agent.c -o shared/sel_agent.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from sel_agent.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_agent.c: In function 'selection_init_agent': sel_agent.c:119:22: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] agent->timeout = defaults_get_integer("selection.timeout", ^~~~~~~~~~~~~~~~~~~~ sel_agent.c:129:28: warning: comparison between pointer and integer XV_SHOW, FALSE, 0)) == NULL) { ^~ sel_agent.c: In function 'seln_do_request_from_file': sel_agent.c:334:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size = stat_buf.st_size - (int) context->context; ^ sel_agent.c:349:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((int) destp % 4 != 0) { ^ sel_agent.c: In function 'get_seln_int_request': sel_agent.c:588:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (caddr_t) value; ^ sel_agent.c: In function 'get_ascii_content': sel_agent.c:650:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((unsigned) temp % sizeof(*context->response_pointer)) ^ sel_agent.c: In function 'selection_agent_acquire': sel_agent.c:698:6: warning: implicit declaration of function 'xv_sel_send_old_owner_sel_clear' [-Wimplicit-function-declaration] xv_sel_send_old_owner_sel_clear( display, selection, agent->xid, time ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_agent.c:699:6: warning: implicit declaration of function 'xv_sel_set_compat_data' [-Wimplicit-function-declaration] xv_sel_set_compat_data( display, selection, agent->xid, OLD_SEL_CLIENT ); ^~~~~~~~~~~~~~~~~~~~~~ sel_agent.c: In function 'selection_agent_do_function': sel_agent.c:1224:10: warning: implicit declaration of function 'selection_equal_agent'; did you mean 'selection_init_agent'? [-Wimplicit-function-declaration] if (!selection_equal_agent(server, recipient_holder)) { ^~~~~~~~~~~~~~~~~~~~~ selection_init_agent sel_agent.c: In function 'seln_give_up_selection': sel_agent.c:1256:6: warning: implicit declaration of function 'xv_sel_free_compat_data' [-Wimplicit-function-declaration] xv_sel_free_compat_data( display, selection ); ^~~~~~~~~~~~~~~~~~~~~~~ sel_agent.c: In function 'ask_selection_owner': sel_agent.c:1445:37: warning: implicit declaration of function 'xv_sel_get_compat_data' [-Wimplicit-function-declaration] cmpatInfo = (Sel_cmpat_info *) xv_sel_get_compat_data( display ); ^~~~~~~~~~~~~~~~~~~~~~ sel_agent.c:1445:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmpatInfo = (Sel_cmpat_info *) xv_sel_get_compat_data( display ); ^ sel_agent.c:1446:6: warning: implicit declaration of function 'xv_seln_handle_req'; did you mean 'sa_handler'? [-Wimplicit-function-declaration] xv_seln_handle_req( cmpatInfo, display, selection, target, property, agent->xid, time); ^~~~~~~~~~~~~~~~~~ sa_handler sel_agent.c: In function 'get_atom': sel_agent.c:1781:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from sel_agent.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sel_agent.c: In function 'selection_init_agent': sel_agent.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_agent.c -o sel_agent.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from sel_agent.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_agent.c: In function 'selection_init_agent': sel_agent.c:119:22: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] agent->timeout = defaults_get_integer("selection.timeout", ^~~~~~~~~~~~~~~~~~~~ sel_agent.c:129:28: warning: comparison between pointer and integer XV_SHOW, FALSE, 0)) == NULL) { ^~ sel_agent.c: In function 'seln_do_request_from_file': sel_agent.c:334:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size = stat_buf.st_size - (int) context->context; ^ sel_agent.c:349:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((int) destp % 4 != 0) { ^ sel_agent.c: In function 'get_seln_int_request': sel_agent.c:588:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (caddr_t) value; ^ sel_agent.c: In function 'get_ascii_content': sel_agent.c:650:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((unsigned) temp % sizeof(*context->response_pointer)) ^ sel_agent.c: In function 'selection_agent_acquire': sel_agent.c:698:6: warning: implicit declaration of function 'xv_sel_send_old_owner_sel_clear' [-Wimplicit-function-declaration] xv_sel_send_old_owner_sel_clear( display, selection, agent->xid, time ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sel_agent.c:699:6: warning: implicit declaration of function 'xv_sel_set_compat_data' [-Wimplicit-function-declaration] xv_sel_set_compat_data( display, selection, agent->xid, OLD_SEL_CLIENT ); ^~~~~~~~~~~~~~~~~~~~~~ sel_agent.c: In function 'selection_agent_do_function': sel_agent.c:1224:10: warning: implicit declaration of function 'selection_equal_agent'; did you mean 'selection_init_agent'? [-Wimplicit-function-declaration] if (!selection_equal_agent(server, recipient_holder)) { ^~~~~~~~~~~~~~~~~~~~~ selection_init_agent sel_agent.c: In function 'seln_give_up_selection': sel_agent.c:1256:6: warning: implicit declaration of function 'xv_sel_free_compat_data' [-Wimplicit-function-declaration] xv_sel_free_compat_data( display, selection ); ^~~~~~~~~~~~~~~~~~~~~~~ sel_agent.c: In function 'ask_selection_owner': sel_agent.c:1445:37: warning: implicit declaration of function 'xv_sel_get_compat_data' [-Wimplicit-function-declaration] cmpatInfo = (Sel_cmpat_info *) xv_sel_get_compat_data( display ); ^~~~~~~~~~~~~~~~~~~~~~ sel_agent.c:1445:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cmpatInfo = (Sel_cmpat_info *) xv_sel_get_compat_data( display ); ^ sel_agent.c:1446:6: warning: implicit declaration of function 'xv_seln_handle_req'; did you mean 'sa_handler'? [-Wimplicit-function-declaration] xv_seln_handle_req( cmpatInfo, display, selection, target, property, agent->xid, time); ^~~~~~~~~~~~~~~~~~ sa_handler sel_agent.c: In function 'get_atom': sel_agent.c:1781:26: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/xview_xvin.h:40, from ../../../build/include/xview/xview.h:18, from sel_agent.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sel_agent.c: In function 'selection_init_agent': sel_agent.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f sel_compat.o shared/sel_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_compat.c -o shared/sel_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from sel_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_compat.c -o sel_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from sel_compat.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f seln_data.o shared/seln_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c seln_data.c -o shared/seln_data.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from seln_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ seln_data.c:22:37: warning: missing braces around initializer [-Wmissing-braces] Seln_request seln_null_request = { ^ 0, {0, 0}, 0, SELN_UNKNOWN, SELN_FAILED, 0, 0 { }; } gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c seln_data.c -o seln_data.o In file included from /usr/include/errno.h:25, from ../../../build/include/xview_private/seln_impl.h:12, from seln_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ seln_data.c:22:37: warning: missing braces around initializer [-Wmissing-braces] Seln_request seln_null_request = { ^ 0, {0, 0}, 0, SELN_UNKNOWN, SELN_FAILED, 0, 0 { }; } + rm -f ../../libxview/xshared/seln.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/seln.o ../../libxview/xshared/seln.o + rm -f ../../libxview/xshared/sel_appl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_appl.o ../../libxview/xshared/sel_appl.o + rm -f ../../libxview/xshared/sel_clnt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_clnt.o ../../libxview/xshared/sel_clnt.o + rm -f ../../libxview/xshared/sel_common.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_common.o ../../libxview/xshared/sel_common.o + rm -f ../../libxview/xshared/sel_policy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_policy.o ../../libxview/xshared/sel_policy.o + rm -f ../../libxview/xshared/sel_agent.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_agent.o ../../libxview/xshared/sel_agent.o + rm -f ../../libxview/xshared/sel_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/sel_compat.o ../../libxview/xshared/sel_compat.o + rm -f ../../libxview/xshared/seln_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel/shared/seln_data.o ../../libxview/xshared/seln_data.o ar ruv ../../libxview/libxview.a seln.o sel_appl.o sel_clnt.o sel_common.o sel_policy.o sel_agent.o sel_compat.o seln_data.o a - seln.o a - sel_appl.o a - sel_clnt.o a - sel_common.o a - sel_policy.o a - sel_agent.o a - sel_compat.o a - seln_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/sel' making all in lib/libxview/selection... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' rm -f sel_item.o shared/sel_item.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_item.c -o shared/sel_item.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from sel_item.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_item.c: In function 'sel_item_init': sel_item.c:30:22: warning: unused variable 'ip' [-Wunused-variable] Sel_item_info *ip; ^~ sel_item.c: In function 'sel_item_set_avlist': sel_item.c:71:26: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque data = NULL; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_item.c -o sel_item.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from sel_item.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_item.c: In function 'sel_item_init': sel_item.c:30:22: warning: unused variable 'ip' [-Wunused-variable] Sel_item_info *ip; ^~ sel_item.c: In function 'sel_item_set_avlist': sel_item.c:71:26: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque data = NULL; ^~~~ rm -f sel_own.o shared/sel_own.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_own.c -o shared/sel_own.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_own.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_own.c: In function 'sel_owner_get_attr': sel_own.c:165:13: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ sel_own.c: In function 'sel_owner_destroy': sel_own.c:186:21: warning: unused variable 'pList' [-Wunused-variable] Sel_prop_list *pList; ^~~~~ sel_own.c:185:21: warning: unused variable 'list' [-Wunused-variable] Sel_atom_list *list=NULL; ^~~~ sel_own.c: In function 'sel_set_ownership': sel_own.c:303:22: warning: comparison between pointer and integer if ( owner->time == NULL || owner->time < lastEventTime ) { ^~ sel_own.c: In function 'OwnerProcessIncr': sel_own.c:526:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( XFindContext( sel->dpy, sel->req->incrPropList[i], ^~ sel_own.c:530:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' req->incrPropList = sel->req->incrPropList; ^~~ sel_own.c: In function 'SetupPropInfo': sel_own.c:1039:20: warning: unused variable 'owner_public' [-Wunused-variable] Selection owner_public = SEL_OWNER_PUBLIC( sel); ^~~~~~~~~~~~ sel_own.c: In function 'RegisterSelClient': sel_own.c:1263:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flag != SEL_DELETE_CLIENT) ^~ sel_own.c:1265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return; ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_own.c -o sel_own.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from sel_own.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_own.c: In function 'sel_owner_get_attr': sel_own.c:165:13: warning: returning 'void *' from a function with return type 'Xv_opaque' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ sel_own.c: In function 'sel_owner_destroy': sel_own.c:186:21: warning: unused variable 'pList' [-Wunused-variable] Sel_prop_list *pList; ^~~~~ sel_own.c:185:21: warning: unused variable 'list' [-Wunused-variable] Sel_atom_list *list=NULL; ^~~~ sel_own.c: In function 'sel_set_ownership': sel_own.c:303:22: warning: comparison between pointer and integer if ( owner->time == NULL || owner->time < lastEventTime ) { ^~ sel_own.c: In function 'OwnerProcessIncr': sel_own.c:526:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( XFindContext( sel->dpy, sel->req->incrPropList[i], ^~ sel_own.c:530:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' req->incrPropList = sel->req->incrPropList; ^~~ sel_own.c: In function 'SetupPropInfo': sel_own.c:1039:20: warning: unused variable 'owner_public' [-Wunused-variable] Selection owner_public = SEL_OWNER_PUBLIC( sel); ^~~~~~~~~~~~ sel_own.c: In function 'RegisterSelClient': sel_own.c:1263:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flag != SEL_DELETE_CLIENT) ^~ sel_own.c:1265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return; ^~~~~~ rm -f sel_req.o shared/sel_req.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_req.c -o shared/sel_req.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from sel_req.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_req.c: In function 'sel_req_set_avlist': sel_req.c:210:21: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] propInfo->data = NULL; ^ sel_req.c: In function 'sel_req_destroy': sel_req.c:339:21: warning: variable 'sel_info' set but not used [-Wunused-but-set-variable] Sel_info *sel_info; ^~~~~~~~ sel_req.c: In function 'NewReplyInfo': sel_req.c:396:15: warning: comparison between pointer and integer if ( time == NULL ) ^~ sel_req.c:404:23: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] replyInfo->format = NULL; ^ sel_req.c: In function 'CheckSelectionNotify': sel_req.c:418:1: warning: type of 'blocking' defaults to 'int' [-Wimplicit-int] CheckSelectionNotify( selReq, replyInfo, ev, blocking ) ^~~~~~~~~~~~~~~~~~~~ sel_req.c:424:9: warning: implicit declaration of function 'xv_sel_handle_error'; did you mean 'xv_sel_handle_incr'? [-Wimplicit-function-declaration] xv_sel_handle_error( SEL_BAD_TIME, selReq, replyInfo, *replyInfo->target ); ^~~~~~~~~~~~~~~~~~~ xv_sel_handle_incr sel_req.c:441:6: warning: implicit declaration of function 'xv_sel_end_request'; did you mean 'seln_request'? [-Wimplicit-function-declaration] xv_sel_end_request( replyInfo ); ^~~~~~~~~~~~~~~~~~ seln_request sel_req.c: In function 'GetSelection': sel_req.c:1050:26: warning: unused variable 'arg' [-Wunused-variable] int arg; ^~~ sel_req.c: In function 'SelBlockReq': sel_req.c:1168:16: warning: comparison between pointer and integer if ( XTime == NULL ) { ^~ sel_req.c: In function 'sel_post_req': sel_req.c:1221:16: warning: comparison between pointer and integer if ( XTime == NULL ) { ^~ sel_req.c: In function 'OldPkgIsOwner': sel_req.c:1662:20: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] xvWin = win_data( dpy, xid ); ^~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_req.c -o sel_req.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from sel_req.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_req.c: In function 'sel_req_set_avlist': sel_req.c:210:21: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] propInfo->data = NULL; ^ sel_req.c: In function 'sel_req_destroy': sel_req.c:339:21: warning: variable 'sel_info' set but not used [-Wunused-but-set-variable] Sel_info *sel_info; ^~~~~~~~ sel_req.c: In function 'NewReplyInfo': sel_req.c:396:15: warning: comparison between pointer and integer if ( time == NULL ) ^~ sel_req.c:404:23: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] replyInfo->format = NULL; ^ sel_req.c: In function 'CheckSelectionNotify': sel_req.c:418:1: warning: type of 'blocking' defaults to 'int' [-Wimplicit-int] CheckSelectionNotify( selReq, replyInfo, ev, blocking ) ^~~~~~~~~~~~~~~~~~~~ sel_req.c:424:9: warning: implicit declaration of function 'xv_sel_handle_error'; did you mean 'xv_sel_handle_incr'? [-Wimplicit-function-declaration] xv_sel_handle_error( SEL_BAD_TIME, selReq, replyInfo, *replyInfo->target ); ^~~~~~~~~~~~~~~~~~~ xv_sel_handle_incr sel_req.c:441:6: warning: implicit declaration of function 'xv_sel_end_request'; did you mean 'seln_request'? [-Wimplicit-function-declaration] xv_sel_end_request( replyInfo ); ^~~~~~~~~~~~~~~~~~ seln_request sel_req.c: In function 'GetSelection': sel_req.c:1050:26: warning: unused variable 'arg' [-Wunused-variable] int arg; ^~~ sel_req.c: In function 'SelBlockReq': sel_req.c:1168:16: warning: comparison between pointer and integer if ( XTime == NULL ) { ^~ sel_req.c: In function 'sel_post_req': sel_req.c:1221:16: warning: comparison between pointer and integer if ( XTime == NULL ) { ^~ sel_req.c: In function 'OldPkgIsOwner': sel_req.c:1662:20: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] xvWin = win_data( dpy, xid ); ^~~~~~~~ rm -f sel_util.o shared/sel_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_util.c -o shared/sel_util.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_util.c: In function 'xv_sel_find_selection_data': sel_util.c:71:11: warning: assignment to 'XID' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] sel->xid = NULL; ^ sel_util.c: In function 'xv_sel_get_last_event_time': sel_util.c:119:11: warning: implicit declaration of function 'xv_sel_block_for_event'; did you mean 'xv_sel_check_property_event'? [-Wimplicit-function-declaration] if ( !xv_sel_block_for_event( dpy, &event, 3 , xv_sel_predicate, (char *) &arg ) ) { ^~~~~~~~~~~~~~~~~~~~~~ xv_sel_check_property_event sel_util.c:120:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/sel_pkg.h:27, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sel_util.c: In function 'xv_sel_find_atom_list': sel_util.c:181:10: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] xvWin = win_data( dpy, xid ); ^~~~~~~~ sel_util.c: In function 'xv_sel_predicate': sel_util.c:312:7: warning: implicit declaration of function 'xv_sel_handle_selection_request'; did you mean 'xv_sel_find_selection_data'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_request(reqEvent)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xv_sel_find_selection_data sel_util.c:326:6: warning: implicit declaration of function 'selection_agent_selectionrequest'; did you mean 'selection_agent_get_holder'? [-Wimplicit-function-declaration] selection_agent_selectionrequest( server, reqEvent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_agent_get_holder sel_util.c: In function 'xv_sel_set_reply': sel_util.c:606:7: warning: passing argument 4 of 'XSaveContext' from incompatible pointer type [-Wincompatible-pointer-types] (caddr_t *)reqTbl); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/X11/Xlib.h:47, from ../../../build/include/xview/sel_pkg.h:24, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: /usr/include/X11/Xutil.h:580:5: note: expected 'const char *' but argument is of type 'char **' _Xconst char* /* data */ ^ sel_util.c: In function 'xv_sel_handle_sel_timeout': sel_util.c:743:6: warning: implicit declaration of function 'xv_sel_end_request'; did you mean 'seln_request'? [-Wimplicit-function-declaration] xv_sel_end_request( reply ); ^~~~~~~~~~~~~~~~~~ seln_request sel_util.c: In function 'xv_sel_check_property_event': sel_util.c:884:2: warning: implicit declaration of function 'xv_sel_handle_selection_clear'; did you mean 'xv_sel_find_selection_data'? [-Wimplicit-function-declaration] xv_sel_handle_selection_clear( (XSelectionClearEvent * ) xevent ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xv_sel_find_selection_data sel_util.c: In function 'xv_sel_set_compat_data': sel_util.c:928:64: warning: comparison between pointer and integer if ( (infoPtr->selection == selection) || (infoPtr->selection == NULL) ) { ^~ sel_util.c: In function 'xv_sel_free_compat_data': sel_util.c:970:25: warning: assignment to 'Atom' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->selection = NULL; ^ sel_util.c:971:21: warning: assignment to 'Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->owner = NULL; ^ sel_util.c:972:26: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->clientType = NULL; ^ sel_util.c: In function 'xv_sel_send_old_pkg_sel_clear': sel_util.c:1020:6: warning: implicit declaration of function 'seln_give_up_selection'; did you mean 'seln_rank_to_selection'? [-Wimplicit-function-declaration] seln_give_up_selection( server, ^~~~~~~~~~~~~~~~~~~~~~ seln_rank_to_selection sel_util.c:1023:6: warning: implicit declaration of function 'selection_agent_clear'; did you mean 'seln_agent_client'? [-Wimplicit-function-declaration] selection_agent_clear( server, &clrEvent ); ^~~~~~~~~~~~~~~~~~~~~ seln_agent_client sel_util.c:1005:29: warning: variable 'response' set but not used [-Wunused-but-set-variable] Seln_request *response; ^~~~~~~~ sel_util.c: In function 'xv_sel_handle_error': sel_util.c:492:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_util.c -o sel_util.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ sel_util.c: In function 'xv_sel_find_selection_data': sel_util.c:71:11: warning: assignment to 'XID' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] sel->xid = NULL; ^ sel_util.c: In function 'xv_sel_get_last_event_time': sel_util.c:119:11: warning: implicit declaration of function 'xv_sel_block_for_event'; did you mean 'xv_sel_check_property_event'? [-Wimplicit-function-declaration] if ( !xv_sel_block_for_event( dpy, &event, 3 , xv_sel_predicate, (char *) &arg ) ) { ^~~~~~~~~~~~~~~~~~~~~~ xv_sel_check_property_event sel_util.c:120:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/sel_pkg.h:27, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ sel_util.c: In function 'xv_sel_find_atom_list': sel_util.c:181:10: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] xvWin = win_data( dpy, xid ); ^~~~~~~~ sel_util.c: In function 'xv_sel_predicate': sel_util.c:312:7: warning: implicit declaration of function 'xv_sel_handle_selection_request'; did you mean 'xv_sel_find_selection_data'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_request(reqEvent)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xv_sel_find_selection_data sel_util.c:326:6: warning: implicit declaration of function 'selection_agent_selectionrequest'; did you mean 'selection_agent_get_holder'? [-Wimplicit-function-declaration] selection_agent_selectionrequest( server, reqEvent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_agent_get_holder sel_util.c: In function 'xv_sel_set_reply': sel_util.c:606:7: warning: passing argument 4 of 'XSaveContext' from incompatible pointer type [-Wincompatible-pointer-types] (caddr_t *)reqTbl); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/X11/Xlib.h:47, from ../../../build/include/xview/sel_pkg.h:24, from ../../../build/include/xview_private/sel_impl.h:16, from sel_util.c:13: /usr/include/X11/Xutil.h:580:5: note: expected 'const char *' but argument is of type 'char **' _Xconst char* /* data */ ^ sel_util.c: In function 'xv_sel_handle_sel_timeout': sel_util.c:743:6: warning: implicit declaration of function 'xv_sel_end_request'; did you mean 'seln_request'? [-Wimplicit-function-declaration] xv_sel_end_request( reply ); ^~~~~~~~~~~~~~~~~~ seln_request sel_util.c: In function 'xv_sel_check_property_event': sel_util.c:884:2: warning: implicit declaration of function 'xv_sel_handle_selection_clear'; did you mean 'xv_sel_find_selection_data'? [-Wimplicit-function-declaration] xv_sel_handle_selection_clear( (XSelectionClearEvent * ) xevent ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xv_sel_find_selection_data sel_util.c: In function 'xv_sel_set_compat_data': sel_util.c:928:64: warning: comparison between pointer and integer if ( (infoPtr->selection == selection) || (infoPtr->selection == NULL) ) { ^~ sel_util.c: In function 'xv_sel_free_compat_data': sel_util.c:970:25: warning: assignment to 'Atom' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->selection = NULL; ^ sel_util.c:971:21: warning: assignment to 'Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->owner = NULL; ^ sel_util.c:972:26: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] infoPtr->clientType = NULL; ^ sel_util.c: In function 'xv_sel_send_old_pkg_sel_clear': sel_util.c:1020:6: warning: implicit declaration of function 'seln_give_up_selection'; did you mean 'seln_rank_to_selection'? [-Wimplicit-function-declaration] seln_give_up_selection( server, ^~~~~~~~~~~~~~~~~~~~~~ seln_rank_to_selection sel_util.c:1023:6: warning: implicit declaration of function 'selection_agent_clear'; did you mean 'seln_agent_client'? [-Wimplicit-function-declaration] selection_agent_clear( server, &clrEvent ); ^~~~~~~~~~~~~~~~~~~~~ seln_agent_client sel_util.c:1005:29: warning: variable 'response' set but not used [-Wunused-but-set-variable] Seln_request *response; ^~~~~~~~ sel_util.c: In function 'xv_sel_handle_error': sel_util.c:492:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f selection.o shared/selection.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c selection.c -o shared/selection.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from selection.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ selection.c: In function 'sel_init': selection.c:52:17: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] sel->timeout = defaults_get_integer("selection.timeout", ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c selection.c -o selection.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from ../../../build/include/xview_private/sel_impl.h:16, from selection.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ selection.c: In function 'sel_init': selection.c:52:17: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] sel->timeout = defaults_get_integer("selection.timeout", ^~~~~~~~~~~~~~~~~~~~ rm -f sel_data.o shared/sel_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_data.c -o shared/sel_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from sel_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c sel_data.c -o sel_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview/sel_pkg.h:22, from sel_data.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/sel_item.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/sel_item.o ../../libxview/xshared/sel_item.o + rm -f ../../libxview/xshared/sel_own.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/sel_own.o ../../libxview/xshared/sel_own.o + rm -f ../../libxview/xshared/sel_req.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/sel_req.o ../../libxview/xshared/sel_req.o + rm -f ../../libxview/xshared/sel_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/sel_util.o ../../libxview/xshared/sel_util.o + rm -f ../../libxview/xshared/selection.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/selection.o ../../libxview/xshared/selection.o + rm -f ../../libxview/xshared/sel_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection/shared/sel_data.o ../../libxview/xshared/sel_data.o ar ruv ../../libxview/libxview.a sel_item.o sel_own.o sel_req.o sel_util.o selection.o sel_data.o a - sel_item.o a - sel_own.o a - sel_req.o a - sel_util.o a - selection.o a - sel_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/selection' making all in lib/libxview/server... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' rm -f server.o shared/server.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c server.c -o shared/server.o In file included from /usr/include/sys/types.h:25, from server.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from server.c:23: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ In file included from server.c:36: ../../../build/include/xview_private/svr_kmdata.h:33:42: warning: missing braces around initializer [-Wmissing-braces] static Key_binding sunview1_kbd_cmds[] = { ^ ../../../build/include/xview_private/svr_kmdata.h:112:39: warning: missing braces around initializer [-Wmissing-braces] static Key_binding basic_kbd_cmds[] = { ^ ../../../build/include/xview_private/svr_kmdata.h:212:38: warning: missing braces around initializer [-Wmissing-braces] static Key_binding full_kbd_cmds[] = { ^ server.c:121:61: warning: missing braces around initializer [-Wmissing-braces] Xv_private_data Defaults_pairs xv_kbd_cmds_value_pairs[4] = { ^ server.c: In function 'server_yield_modifiers': server.c:274:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (modifier = xv_strtok(NULL, ", ")); ^~~~~~~~ server.c: In function 'server_init': server.c:472:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (home = getenv("HOME")) ^~~~ server.c:475:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ server.c:615:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (home = getenv("OPENWINHOME")) { ^~~~ server.c:621:6: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration] bindtextdomain(xv_domain, xv_message_dir); ^~~~~~~~~~~~~~ server.c:643:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_db = XrmGetFileDatabase(filename)) { ^~~~~~ server.c:653:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dirp = opendir(pathname)) { ^~~~ server.c:694:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_db = XrmGetFileDatabase(filename)) { ^~~~~~ server.c:849:5: warning: implicit declaration of function 'selection_init_agent'; did you mean 'selection_init_request'? [-Wimplicit-function-declaration] selection_init_agent(server_public, server->screens[default_screen_num]); ^~~~~~~~~~~~~~~~~~~~ selection_init_request server.c:372:13: warning: unused variable 'character_set' [-Wunused-variable] char *character_set; ^~~~~~~~~~~~~ server.c: In function 'server_get_locale_from_str': server.c:1228:2: warning: label 'defaults' defined but not used [-Wunused-label] defaults: ^~~~~~~~ server.c: In function 'server_setlocale_to_default': server.c:1299:10: warning: unused variable 'msg' [-Wunused-variable] char msg[256]; ^~~ server.c: In function 'server_destroy': server.c:1374:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_server = (Server_info *)(XV_SL_SAFE_NEXT(server))) { ^~~~~~~~~~ server.c: In function 'destroy_atoms': server.c:1491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(node = (Server_atom_list *) (XV_SL_SAFE_NEXT(head))) ^~~~ server.c: In function 'server_init_atoms': server.c:1566:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from server.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ server.c: In function 'server_warning': server.c:1857:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from server.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ At top level: server.c:1067:1: warning: 'server_effect_locale' defined but not used [-Wunused-function] server_effect_locale (server, character_set) ^~~~~~~~~~~~~~~~~~~~ server.c: In function 'server_init': server.c:687:36: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(filename, "%s/%s", pathname, dp->d_name); ^~ In file included from /usr/include/stdio.h:862, from server.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c server.c -o server.o In file included from /usr/include/sys/types.h:25, from server.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from server.c:23: ../../../build/include/xview_private/ndet.h:191:8: warning: type defaults to 'int' in declaration of 'ndet_check_fd' [-Wimplicit-int] extern ndet_check_fd(); /* Returns 0 if all OK else -1 and ^~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:195:8: warning: type defaults to 'int' in declaration of 'ndet_check_sig' [-Wimplicit-int] extern ndet_check_sig(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:198:8: warning: type defaults to 'int' in declaration of 'ndet_check_mode' [-Wimplicit-int] extern ndet_check_mode(); /* Returns 0 if all OK else -1 and sets ^~~~~~~~~~~~~~~ ../../../build/include/xview_private/ndet.h:204:8: warning: type defaults to 'int' in declaration of 'ndet_check_which' [-Wimplicit-int] extern ndet_check_which(); /* Turn itimer which into type. ^~~~~~~~~~~~~~~~ In file included from server.c:36: ../../../build/include/xview_private/svr_kmdata.h:33:42: warning: missing braces around initializer [-Wmissing-braces] static Key_binding sunview1_kbd_cmds[] = { ^ ../../../build/include/xview_private/svr_kmdata.h:112:39: warning: missing braces around initializer [-Wmissing-braces] static Key_binding basic_kbd_cmds[] = { ^ ../../../build/include/xview_private/svr_kmdata.h:212:38: warning: missing braces around initializer [-Wmissing-braces] static Key_binding full_kbd_cmds[] = { ^ server.c:121:61: warning: missing braces around initializer [-Wmissing-braces] Xv_private_data Defaults_pairs xv_kbd_cmds_value_pairs[4] = { ^ server.c: In function 'server_yield_modifiers': server.c:274:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (modifier = xv_strtok(NULL, ", ")); ^~~~~~~~ server.c: In function 'server_init': server.c:472:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (home = getenv("HOME")) ^~~~ server.c:475:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] filename[0] = NULL; ^ server.c:615:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (home = getenv("OPENWINHOME")) { ^~~~ server.c:621:6: warning: implicit declaration of function 'bindtextdomain' [-Wimplicit-function-declaration] bindtextdomain(xv_domain, xv_message_dir); ^~~~~~~~~~~~~~ server.c:643:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_db = XrmGetFileDatabase(filename)) { ^~~~~~ server.c:653:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dirp = opendir(pathname)) { ^~~~ server.c:694:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_db = XrmGetFileDatabase(filename)) { ^~~~~~ server.c:849:5: warning: implicit declaration of function 'selection_init_agent'; did you mean 'selection_init_request'? [-Wimplicit-function-declaration] selection_init_agent(server_public, server->screens[default_screen_num]); ^~~~~~~~~~~~~~~~~~~~ selection_init_request server.c:372:13: warning: unused variable 'character_set' [-Wunused-variable] char *character_set; ^~~~~~~~~~~~~ server.c: In function 'server_get_locale_from_str': server.c:1228:2: warning: label 'defaults' defined but not used [-Wunused-label] defaults: ^~~~~~~~ server.c: In function 'server_setlocale_to_default': server.c:1299:10: warning: unused variable 'msg' [-Wunused-variable] char msg[256]; ^~~ server.c: In function 'server_destroy': server.c:1374:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (new_server = (Server_info *)(XV_SL_SAFE_NEXT(server))) { ^~~~~~~~~~ server.c: In function 'destroy_atoms': server.c:1491:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(node = (Server_atom_list *) (XV_SL_SAFE_NEXT(head))) ^~~~ server.c: In function 'server_init_atoms': server.c:1566:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from server.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ server.c: In function 'server_warning': server.c:1857:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/win_input.h:25, from server.c:20: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ At top level: server.c:1067:1: warning: 'server_effect_locale' defined but not used [-Wunused-function] server_effect_locale (server, character_set) ^~~~~~~~~~~~~~~~~~~~ server.c: In function 'server_init': server.c:687:36: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(filename, "%s/%s", pathname, dp->d_name); ^~ In file included from /usr/include/stdio.h:862, from server.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f svr_x.o shared/svr_x.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_x.c -o shared/svr_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from svr_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_x.c: In function 'my_sync': svr_x.c:72:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ svr_x.c: In function 'server_refresh_modifiers': svr_x.c:265:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1);/* if busy, wait 1 sec and retry */ ^~~~~ svr_x.c:278:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from svr_x.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_x.c -o svr_x.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from svr_x.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_x.c: In function 'my_sync': svr_x.c:72:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ svr_x.c: In function 'server_refresh_modifiers': svr_x.c:265:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1);/* if busy, wait 1 sec and retry */ ^~~~~ svr_x.c:278:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from svr_x.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f svr_get.o shared/svr_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_get.c -o shared/svr_get.o In file included from /usr/include/sys/types.h:25, from svr_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_get.c: In function 'server_get_attr': svr_get.c:191:20: warning: implicit declaration of function 'server_get_atom_name'; did you mean 'server_get_attr_tier2'? [-Wimplicit-function-declaration] return((Xv_opaque)server_get_atom_name(server, atom)); ^~~~~~~~~~~~~~~~~~~~ server_get_attr_tier2 svr_get.c:228:7: warning: case value '1078462817' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_NAME: ^~~~ svr_get.c:61:7: warning: case value '1248725505' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ svr_get.c:234:7: warning: case value '1248856417' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_APP_NAME: ^~~~ svr_get.c:107:7: warning: case value '1251674465' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ svr_get.c:110:7: warning: case value '1252002145' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ svr_get.c:113:7: warning: case value '1252329825' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ svr_get.c:116:7: warning: case value '1252657505' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_NUMERIC: ^~~~ svr_get.c:119:7: warning: case value '1252985185' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ svr_get.c:225:7: warning: case value '1253312865' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LOCALE_DIR: ^~~~ svr_get.c:31:15: warning: unused variable 'result' [-Wunused-variable] Xv_opaque result = 0; ^~~~~~ svr_get.c: In function 'server_get_attr_tier2': svr_get.c:351:16: warning: implicit declaration of function 'server_get_atom_data'; did you mean 'server_get_attr'? [-Wimplicit-function-declaration] data = server_get_atom_data(server, atom, status); ^~~~~~~~~~~~~~~~~~~~ server_get_attr svr_get.c:360:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~~~ svr_get.c:360:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~ svr_get.c:362:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:366:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~~~ svr_get.c:366:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~ svr_get.c:368:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:372:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_masknode_from_xidid (server, ^~~~ svr_get.c:372:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_masknode_from_xidid (server, ^~ svr_get.c:376:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:380:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_masknode_from_xidid (server, ^~~~ svr_get.c:380:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_masknode_from_xidid (server, ^~ svr_get.c:384:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:263:5: warning: enumeration value 'SERVER_ATOM' not handled in switch [-Wswitch] switch (attr) { ^~~~~~ svr_get.c:263:5: warning: enumeration value 'SERVER_ATOM_NAME' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CHORDING_TIMEOUT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CHORD_MENU' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SYNC' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SYNC_AND_PROCESS_EVENTS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_KEYSTATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_TO_KEYCODE_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CUT_KEYSYM' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_FONT_WITH_NAME' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_JOURNAL_SYNC_EVENT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_JOURNALLING' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_KEY_EVENTS_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_NONASCII_KEYSTATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_PASTE_KEYSYM' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SEMANTIC_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_XV_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_COMPOSE_STATUS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CLEAR_MODIFIERS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ADD_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_REMOVE_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DISPLAY_CONTEXT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_RESCALE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_RESCALE_STATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_STATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_TAKE_FOCUS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WINDOW_MOVED' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WIN_ATTR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_ADD_DECOR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DELETE_DECOR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_CLOSE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_FOOTER' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_RESIZE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_HEADER' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WIN_BUSY' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WT_BASE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WT_CMD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_MENU_FULL' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_MENU_LIMITED' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PIN_IN' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PIN_OUT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DO_DRAG_MOVE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DO_DRAG_COPY' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DISMISS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_SAVE_YOURSELF' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PROTOCOLS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DELETE_WINDOW' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_COMMAND' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_MOUSE_BUTTONS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_BUTTON2_MOD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_BUTTON3_MOD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_META_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ALT_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_NUM_LOCK_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SEL_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:327:7: warning: case value '1078462817' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_NAME: ^~~~ svr_get.c:340:7: warning: case value '1248856417' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_APP_NAME: ^~~~ svr_get.c:318:7: warning: case value '1253312865' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LOCALE_DIR: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_get.c -o svr_get.o In file included from /usr/include/sys/types.h:25, from svr_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_get.c: In function 'server_get_attr': svr_get.c:191:20: warning: implicit declaration of function 'server_get_atom_name'; did you mean 'server_get_attr_tier2'? [-Wimplicit-function-declaration] return((Xv_opaque)server_get_atom_name(server, atom)); ^~~~~~~~~~~~~~~~~~~~ server_get_attr_tier2 svr_get.c:228:7: warning: case value '1078462817' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_NAME: ^~~~ svr_get.c:61:7: warning: case value '1248725505' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ svr_get.c:234:7: warning: case value '1248856417' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_APP_NAME: ^~~~ svr_get.c:107:7: warning: case value '1251674465' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ svr_get.c:110:7: warning: case value '1252002145' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ svr_get.c:113:7: warning: case value '1252329825' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ svr_get.c:116:7: warning: case value '1252657505' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_NUMERIC: ^~~~ svr_get.c:119:7: warning: case value '1252985185' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ svr_get.c:225:7: warning: case value '1253312865' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LOCALE_DIR: ^~~~ svr_get.c:31:15: warning: unused variable 'result' [-Wunused-variable] Xv_opaque result = 0; ^~~~~~ svr_get.c: In function 'server_get_attr_tier2': svr_get.c:351:16: warning: implicit declaration of function 'server_get_atom_data'; did you mean 'server_get_attr'? [-Wimplicit-function-declaration] data = server_get_atom_data(server, atom, status); ^~~~~~~~~~~~~~~~~~~~ server_get_attr svr_get.c:360:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~~~ svr_get.c:360:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~ svr_get.c:362:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:366:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~~~ svr_get.c:366:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_procnode_from_id(server, va_arg(valist,Xv_opaque))) ^~ svr_get.c:368:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:372:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_masknode_from_xidid (server, ^~~~ svr_get.c:372:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_masknode_from_xidid (server, ^~ svr_get.c:376:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:380:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (node = server_masknode_from_xidid (server, ^~~~ svr_get.c:380:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (node = server_masknode_from_xidid (server, ^~ svr_get.c:384:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return result; ^~~~~~ svr_get.c:263:5: warning: enumeration value 'SERVER_ATOM' not handled in switch [-Wswitch] switch (attr) { ^~~~~~ svr_get.c:263:5: warning: enumeration value 'SERVER_ATOM_NAME' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CHORDING_TIMEOUT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CHORD_MENU' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SYNC' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SYNC_AND_PROCESS_EVENTS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_KEYSTATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ASCII_TO_KEYCODE_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CUT_KEYSYM' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_FONT_WITH_NAME' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_JOURNAL_SYNC_EVENT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_JOURNALLING' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_KEY_EVENTS_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_NONASCII_KEYSTATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_PASTE_KEYSYM' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SEMANTIC_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_XV_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_COMPOSE_STATUS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_CLEAR_MODIFIERS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ADD_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_REMOVE_ACCELERATOR_MAP' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DISPLAY_CONTEXT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_RESCALE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_RESCALE_STATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_STATE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_TAKE_FOCUS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WINDOW_MOVED' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WIN_ATTR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_ADD_DECOR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DELETE_DECOR' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_CLOSE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_FOOTER' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_RESIZE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DECOR_HEADER' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WIN_BUSY' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WT_BASE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_WT_CMD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_MENU_FULL' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_MENU_LIMITED' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PIN_IN' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PIN_OUT' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DO_DRAG_MOVE' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_DO_DRAG_COPY' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DISMISS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_SAVE_YOURSELF' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_PROTOCOLS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_DELETE_WINDOW' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_WM_COMMAND' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_MOUSE_BUTTONS' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_BUTTON2_MOD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_BUTTON3_MOD' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_META_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_ALT_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_NUM_LOCK_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:263:5: warning: enumeration value 'SERVER_SEL_MOD_MASK' not handled in switch [-Wswitch] svr_get.c:327:7: warning: case value '1078462817' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_NAME: ^~~~ svr_get.c:340:7: warning: case value '1248856417' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_APP_NAME: ^~~~ svr_get.c:318:7: warning: case value '1253312865' not in enumerated type 'Server_attr' {aka 'enum '} [-Wswitch] case XV_LOCALE_DIR: ^~~~ rm -f svr_rodata.o shared/svr_rodata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_rodata.c -o shared/svr_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from svr_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_rodata.c:29:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:2: note: (near initialization for 'win_keymap[0]') svr_rodata.c:29:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:8: note: (near initialization for 'win_keymap[1]') svr_rodata.c:29:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:14: note: (near initialization for 'win_keymap[2]') svr_rodata.c:29:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:20: note: (near initialization for 'win_keymap[3]') svr_rodata.c:29:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:26: note: (near initialization for 'win_keymap[4]') svr_rodata.c:29:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:32: note: (near initialization for 'win_keymap[5]') svr_rodata.c:29:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:38: note: (near initialization for 'win_keymap[6]') svr_rodata.c:29:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:44: note: (near initialization for 'win_keymap[7]') svr_rodata.c:40:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:40:2: note: (near initialization for 'win_keymap[12]') svr_rodata.c:43:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, ^~~~ svr_rodata.c:43:2: note: (near initialization for 'win_keymap[14]') svr_rodata.c:43:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, ^~~~ svr_rodata.c:43:8: note: (near initialization for 'win_keymap[15]') svr_rodata.c:54:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:54:2: note: (near initialization for 'win_keymap[18]') svr_rodata.c:63:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:2: note: (near initialization for 'win_keymap[21]') svr_rodata.c:63:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:8: note: (near initialization for 'win_keymap[22]') svr_rodata.c:63:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:14: note: (near initialization for 'win_keymap[23]') svr_rodata.c:63:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:20: note: (near initialization for 'win_keymap[24]') svr_rodata.c:63:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:26: note: (near initialization for 'win_keymap[25]') svr_rodata.c:63:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:32: note: (near initialization for 'win_keymap[26]') svr_rodata.c:67:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:2: note: (near initialization for 'win_keymap[28]') svr_rodata.c:67:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:8: note: (near initialization for 'win_keymap[29]') svr_rodata.c:67:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:14: note: (near initialization for 'win_keymap[30]') svr_rodata.c:67:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:20: note: (near initialization for 'win_keymap[31]') svr_rodata.c:74:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:2: note: (near initialization for 'win_keymap[34]') svr_rodata.c:74:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:8: note: (near initialization for 'win_keymap[35]') svr_rodata.c:74:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:14: note: (near initialization for 'win_keymap[36]') svr_rodata.c:74:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:44: note: (near initialization for 'win_keymap[37]') svr_rodata.c:74:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:50: note: (near initialization for 'win_keymap[38]') svr_rodata.c:74:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:56: note: (near initialization for 'win_keymap[39]') svr_rodata.c:75:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:2: note: (near initialization for 'win_keymap[40]') svr_rodata.c:75:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:8: note: (near initialization for 'win_keymap[41]') svr_rodata.c:75:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:14: note: (near initialization for 'win_keymap[42]') svr_rodata.c:75:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:20: note: (near initialization for 'win_keymap[43]') svr_rodata.c:75:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:26: note: (near initialization for 'win_keymap[44]') svr_rodata.c:75:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:32: note: (near initialization for 'win_keymap[45]') svr_rodata.c:75:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:38: note: (near initialization for 'win_keymap[46]') svr_rodata.c:75:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:44: note: (near initialization for 'win_keymap[47]') svr_rodata.c:75:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:50: note: (near initialization for 'win_keymap[48]') svr_rodata.c:75:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:56: note: (near initialization for 'win_keymap[49]') svr_rodata.c:76:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:2: note: (near initialization for 'win_keymap[50]') svr_rodata.c:76:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:8: note: (near initialization for 'win_keymap[51]') svr_rodata.c:76:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:14: note: (near initialization for 'win_keymap[52]') svr_rodata.c:76:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:20: note: (near initialization for 'win_keymap[53]') svr_rodata.c:76:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:26: note: (near initialization for 'win_keymap[54]') svr_rodata.c:76:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:32: note: (near initialization for 'win_keymap[55]') svr_rodata.c:76:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:38: note: (near initialization for 'win_keymap[56]') svr_rodata.c:76:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:44: note: (near initialization for 'win_keymap[57]') svr_rodata.c:76:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:50: note: (near initialization for 'win_keymap[58]') svr_rodata.c:76:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:56: note: (near initialization for 'win_keymap[59]') svr_rodata.c:77:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:2: note: (near initialization for 'win_keymap[60]') svr_rodata.c:77:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:8: note: (near initialization for 'win_keymap[61]') svr_rodata.c:77:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:14: note: (near initialization for 'win_keymap[62]') svr_rodata.c:77:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:20: note: (near initialization for 'win_keymap[63]') svr_rodata.c:77:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:26: note: (near initialization for 'win_keymap[64]') svr_rodata.c:77:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:32: note: (near initialization for 'win_keymap[65]') svr_rodata.c:77:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:38: note: (near initialization for 'win_keymap[66]') svr_rodata.c:77:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:44: note: (near initialization for 'win_keymap[67]') svr_rodata.c:77:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:50: note: (near initialization for 'win_keymap[68]') svr_rodata.c:77:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:56: note: (near initialization for 'win_keymap[69]') svr_rodata.c:78:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:2: note: (near initialization for 'win_keymap[70]') svr_rodata.c:78:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:8: note: (near initialization for 'win_keymap[71]') svr_rodata.c:78:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:14: note: (near initialization for 'win_keymap[72]') svr_rodata.c:78:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:20: note: (near initialization for 'win_keymap[73]') svr_rodata.c:78:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:26: note: (near initialization for 'win_keymap[74]') svr_rodata.c:78:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:32: note: (near initialization for 'win_keymap[75]') svr_rodata.c:78:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:38: note: (near initialization for 'win_keymap[76]') svr_rodata.c:78:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:44: note: (near initialization for 'win_keymap[77]') svr_rodata.c:78:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:50: note: (near initialization for 'win_keymap[78]') svr_rodata.c:78:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:56: note: (near initialization for 'win_keymap[79]') svr_rodata.c:92:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:2: note: (near initialization for 'win_keymap[89]') svr_rodata.c:92:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:8: note: (near initialization for 'win_keymap[90]') svr_rodata.c:92:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:14: note: (near initialization for 'win_keymap[91]') svr_rodata.c:92:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:20: note: (near initialization for 'win_keymap[92]') svr_rodata.c:92:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:26: note: (near initialization for 'win_keymap[93]') svr_rodata.c:92:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:32: note: (near initialization for 'win_keymap[94]') svr_rodata.c:92:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:38: note: (near initialization for 'win_keymap[95]') svr_rodata.c:100:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:100:2: note: (near initialization for 'win_keymap[100]') svr_rodata.c:109:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:2: note: (near initialization for 'win_keymap[108]') svr_rodata.c:109:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:8: note: (near initialization for 'win_keymap[109]') svr_rodata.c:109:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:14: note: (near initialization for 'win_keymap[110]') svr_rodata.c:109:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:20: note: (near initialization for 'win_keymap[111]') svr_rodata.c:109:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:26: note: (near initialization for 'win_keymap[112]') svr_rodata.c:109:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:32: note: (near initialization for 'win_keymap[113]') svr_rodata.c:109:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:38: note: (near initialization for 'win_keymap[114]') svr_rodata.c:109:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:44: note: (near initialization for 'win_keymap[115]') svr_rodata.c:109:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:50: note: (near initialization for 'win_keymap[116]') svr_rodata.c:110:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:2: note: (near initialization for 'win_keymap[117]') svr_rodata.c:110:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:8: note: (near initialization for 'win_keymap[118]') svr_rodata.c:110:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:14: note: (near initialization for 'win_keymap[119]') svr_rodata.c:110:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:20: note: (near initialization for 'win_keymap[120]') svr_rodata.c:110:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:26: note: (near initialization for 'win_keymap[121]') svr_rodata.c:110:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:32: note: (near initialization for 'win_keymap[122]') svr_rodata.c:110:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:38: note: (near initialization for 'win_keymap[123]') svr_rodata.c:110:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:44: note: (near initialization for 'win_keymap[124]') svr_rodata.c:110:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:50: note: (near initialization for 'win_keymap[125]') svr_rodata.c:119:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:2: note: (near initialization for 'win_keymap[129]') svr_rodata.c:119:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:8: note: (near initialization for 'win_keymap[130]') svr_rodata.c:119:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:14: note: (near initialization for 'win_keymap[131]') svr_rodata.c:119:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:20: note: (near initialization for 'win_keymap[132]') svr_rodata.c:119:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:26: note: (near initialization for 'win_keymap[133]') svr_rodata.c:119:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:32: note: (near initialization for 'win_keymap[134]') svr_rodata.c:119:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:38: note: (near initialization for 'win_keymap[135]') svr_rodata.c:119:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:44: note: (near initialization for 'win_keymap[136]') svr_rodata.c:123:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:2: note: (near initialization for 'win_keymap[138]') svr_rodata.c:123:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:8: note: (near initialization for 'win_keymap[139]') svr_rodata.c:123:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:14: note: (near initialization for 'win_keymap[140]') svr_rodata.c:127:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:2: note: (near initialization for 'win_keymap[142]') svr_rodata.c:127:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:8: note: (near initialization for 'win_keymap[143]') svr_rodata.c:127:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:14: note: (near initialization for 'win_keymap[144]') svr_rodata.c:134:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:2: note: (near initialization for 'win_keymap[149]') svr_rodata.c:134:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:8: note: (near initialization for 'win_keymap[150]') svr_rodata.c:134:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:14: note: (near initialization for 'win_keymap[151]') svr_rodata.c:134:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:20: note: (near initialization for 'win_keymap[152]') svr_rodata.c:134:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:26: note: (near initialization for 'win_keymap[153]') svr_rodata.c:134:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:32: note: (near initialization for 'win_keymap[154]') svr_rodata.c:134:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:38: note: (near initialization for 'win_keymap[155]') svr_rodata.c:134:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:44: note: (near initialization for 'win_keymap[156]') svr_rodata.c:134:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:50: note: (near initialization for 'win_keymap[157]') svr_rodata.c:134:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:56: note: (near initialization for 'win_keymap[158]') svr_rodata.c:135:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:2: note: (near initialization for 'win_keymap[159]') svr_rodata.c:135:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:8: note: (near initialization for 'win_keymap[160]') svr_rodata.c:135:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:14: note: (near initialization for 'win_keymap[161]') svr_rodata.c:135:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:20: note: (near initialization for 'win_keymap[162]') svr_rodata.c:135:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:26: note: (near initialization for 'win_keymap[163]') svr_rodata.c:135:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:32: note: (near initialization for 'win_keymap[164]') svr_rodata.c:135:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:38: note: (near initialization for 'win_keymap[165]') svr_rodata.c:135:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:44: note: (near initialization for 'win_keymap[166]') svr_rodata.c:135:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:50: note: (near initialization for 'win_keymap[167]') svr_rodata.c:135:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:56: note: (near initialization for 'win_keymap[168]') svr_rodata.c:136:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:136:2: note: (near initialization for 'win_keymap[169]') svr_rodata.c:155:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:2: note: (near initialization for 'win_keymap[186]') svr_rodata.c:155:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:8: note: (near initialization for 'win_keymap[187]') svr_rodata.c:155:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:14: note: (near initialization for 'win_keymap[188]') svr_rodata.c:218:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:2: note: (near initialization for 'win_keymap[239]') svr_rodata.c:218:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:8: note: (near initialization for 'win_keymap[240]') svr_rodata.c:218:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:14: note: (near initialization for 'win_keymap[241]') svr_rodata.c:218:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:20: note: (near initialization for 'win_keymap[242]') svr_rodata.c:218:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:26: note: (near initialization for 'win_keymap[243]') svr_rodata.c:218:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:32: note: (near initialization for 'win_keymap[244]') svr_rodata.c:218:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:38: note: (near initialization for 'win_keymap[245]') svr_rodata.c:218:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:44: note: (near initialization for 'win_keymap[246]') svr_rodata.c:218:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:50: note: (near initialization for 'win_keymap[247]') svr_rodata.c:218:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:56: note: (near initialization for 'win_keymap[248]') svr_rodata.c:219:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:2: note: (near initialization for 'win_keymap[249]') svr_rodata.c:219:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:8: note: (near initialization for 'win_keymap[250]') svr_rodata.c:219:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:14: note: (near initialization for 'win_keymap[251]') svr_rodata.c:219:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:20: note: (near initialization for 'win_keymap[252]') svr_rodata.c:219:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:26: note: (near initialization for 'win_keymap[253]') svr_rodata.c:219:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:32: note: (near initialization for 'win_keymap[254]') gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_rodata.c -o svr_rodata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/win_input.h:22, from svr_rodata.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_rodata.c:29:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:2: note: (near initialization for 'win_keymap[0]') svr_rodata.c:29:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:8: note: (near initialization for 'win_keymap[1]') svr_rodata.c:29:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:14: note: (near initialization for 'win_keymap[2]') svr_rodata.c:29:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:20: note: (near initialization for 'win_keymap[3]') svr_rodata.c:29:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:26: note: (near initialization for 'win_keymap[4]') svr_rodata.c:29:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:32: note: (near initialization for 'win_keymap[5]') svr_rodata.c:29:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:38: note: (near initialization for 'win_keymap[6]') svr_rodata.c:29:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:29:44: note: (near initialization for 'win_keymap[7]') svr_rodata.c:40:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:40:2: note: (near initialization for 'win_keymap[12]') svr_rodata.c:43:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, ^~~~ svr_rodata.c:43:2: note: (near initialization for 'win_keymap[14]') svr_rodata.c:43:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, ^~~~ svr_rodata.c:43:8: note: (near initialization for 'win_keymap[15]') svr_rodata.c:54:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:54:2: note: (near initialization for 'win_keymap[18]') svr_rodata.c:63:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:2: note: (near initialization for 'win_keymap[21]') svr_rodata.c:63:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:8: note: (near initialization for 'win_keymap[22]') svr_rodata.c:63:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:14: note: (near initialization for 'win_keymap[23]') svr_rodata.c:63:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:20: note: (near initialization for 'win_keymap[24]') svr_rodata.c:63:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:26: note: (near initialization for 'win_keymap[25]') svr_rodata.c:63:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:63:32: note: (near initialization for 'win_keymap[26]') svr_rodata.c:67:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:2: note: (near initialization for 'win_keymap[28]') svr_rodata.c:67:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:8: note: (near initialization for 'win_keymap[29]') svr_rodata.c:67:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:14: note: (near initialization for 'win_keymap[30]') svr_rodata.c:67:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:67:20: note: (near initialization for 'win_keymap[31]') svr_rodata.c:74:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:2: note: (near initialization for 'win_keymap[34]') svr_rodata.c:74:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:8: note: (near initialization for 'win_keymap[35]') svr_rodata.c:74:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:14: note: (near initialization for 'win_keymap[36]') svr_rodata.c:74:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:44: note: (near initialization for 'win_keymap[37]') svr_rodata.c:74:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:50: note: (near initialization for 'win_keymap[38]') svr_rodata.c:74:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:74:56: note: (near initialization for 'win_keymap[39]') svr_rodata.c:75:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:2: note: (near initialization for 'win_keymap[40]') svr_rodata.c:75:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:8: note: (near initialization for 'win_keymap[41]') svr_rodata.c:75:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:14: note: (near initialization for 'win_keymap[42]') svr_rodata.c:75:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:20: note: (near initialization for 'win_keymap[43]') svr_rodata.c:75:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:26: note: (near initialization for 'win_keymap[44]') svr_rodata.c:75:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:32: note: (near initialization for 'win_keymap[45]') svr_rodata.c:75:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:38: note: (near initialization for 'win_keymap[46]') svr_rodata.c:75:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:44: note: (near initialization for 'win_keymap[47]') svr_rodata.c:75:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:50: note: (near initialization for 'win_keymap[48]') svr_rodata.c:75:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:75:56: note: (near initialization for 'win_keymap[49]') svr_rodata.c:76:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:2: note: (near initialization for 'win_keymap[50]') svr_rodata.c:76:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:8: note: (near initialization for 'win_keymap[51]') svr_rodata.c:76:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:14: note: (near initialization for 'win_keymap[52]') svr_rodata.c:76:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:20: note: (near initialization for 'win_keymap[53]') svr_rodata.c:76:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:26: note: (near initialization for 'win_keymap[54]') svr_rodata.c:76:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:32: note: (near initialization for 'win_keymap[55]') svr_rodata.c:76:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:38: note: (near initialization for 'win_keymap[56]') svr_rodata.c:76:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:44: note: (near initialization for 'win_keymap[57]') svr_rodata.c:76:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:50: note: (near initialization for 'win_keymap[58]') svr_rodata.c:76:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:76:56: note: (near initialization for 'win_keymap[59]') svr_rodata.c:77:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:2: note: (near initialization for 'win_keymap[60]') svr_rodata.c:77:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:8: note: (near initialization for 'win_keymap[61]') svr_rodata.c:77:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:14: note: (near initialization for 'win_keymap[62]') svr_rodata.c:77:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:20: note: (near initialization for 'win_keymap[63]') svr_rodata.c:77:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:26: note: (near initialization for 'win_keymap[64]') svr_rodata.c:77:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:32: note: (near initialization for 'win_keymap[65]') svr_rodata.c:77:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:38: note: (near initialization for 'win_keymap[66]') svr_rodata.c:77:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:44: note: (near initialization for 'win_keymap[67]') svr_rodata.c:77:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:50: note: (near initialization for 'win_keymap[68]') svr_rodata.c:77:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:77:56: note: (near initialization for 'win_keymap[69]') svr_rodata.c:78:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:2: note: (near initialization for 'win_keymap[70]') svr_rodata.c:78:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:8: note: (near initialization for 'win_keymap[71]') svr_rodata.c:78:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:14: note: (near initialization for 'win_keymap[72]') svr_rodata.c:78:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:20: note: (near initialization for 'win_keymap[73]') svr_rodata.c:78:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:26: note: (near initialization for 'win_keymap[74]') svr_rodata.c:78:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:32: note: (near initialization for 'win_keymap[75]') svr_rodata.c:78:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:38: note: (near initialization for 'win_keymap[76]') svr_rodata.c:78:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:44: note: (near initialization for 'win_keymap[77]') svr_rodata.c:78:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:50: note: (near initialization for 'win_keymap[78]') svr_rodata.c:78:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:78:56: note: (near initialization for 'win_keymap[79]') svr_rodata.c:92:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:2: note: (near initialization for 'win_keymap[89]') svr_rodata.c:92:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:8: note: (near initialization for 'win_keymap[90]') svr_rodata.c:92:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:14: note: (near initialization for 'win_keymap[91]') svr_rodata.c:92:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:20: note: (near initialization for 'win_keymap[92]') svr_rodata.c:92:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:26: note: (near initialization for 'win_keymap[93]') svr_rodata.c:92:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:32: note: (near initialization for 'win_keymap[94]') svr_rodata.c:92:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:92:38: note: (near initialization for 'win_keymap[95]') svr_rodata.c:100:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:100:2: note: (near initialization for 'win_keymap[100]') svr_rodata.c:109:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:2: note: (near initialization for 'win_keymap[108]') svr_rodata.c:109:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:8: note: (near initialization for 'win_keymap[109]') svr_rodata.c:109:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:14: note: (near initialization for 'win_keymap[110]') svr_rodata.c:109:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:20: note: (near initialization for 'win_keymap[111]') svr_rodata.c:109:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:26: note: (near initialization for 'win_keymap[112]') svr_rodata.c:109:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:32: note: (near initialization for 'win_keymap[113]') svr_rodata.c:109:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:38: note: (near initialization for 'win_keymap[114]') svr_rodata.c:109:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:44: note: (near initialization for 'win_keymap[115]') svr_rodata.c:109:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:109:50: note: (near initialization for 'win_keymap[116]') svr_rodata.c:110:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:2: note: (near initialization for 'win_keymap[117]') svr_rodata.c:110:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:8: note: (near initialization for 'win_keymap[118]') svr_rodata.c:110:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:14: note: (near initialization for 'win_keymap[119]') svr_rodata.c:110:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:20: note: (near initialization for 'win_keymap[120]') svr_rodata.c:110:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:26: note: (near initialization for 'win_keymap[121]') svr_rodata.c:110:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:32: note: (near initialization for 'win_keymap[122]') svr_rodata.c:110:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:38: note: (near initialization for 'win_keymap[123]') svr_rodata.c:110:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:44: note: (near initialization for 'win_keymap[124]') svr_rodata.c:110:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:110:50: note: (near initialization for 'win_keymap[125]') svr_rodata.c:119:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:2: note: (near initialization for 'win_keymap[129]') svr_rodata.c:119:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:8: note: (near initialization for 'win_keymap[130]') svr_rodata.c:119:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:14: note: (near initialization for 'win_keymap[131]') svr_rodata.c:119:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:20: note: (near initialization for 'win_keymap[132]') svr_rodata.c:119:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:26: note: (near initialization for 'win_keymap[133]') svr_rodata.c:119:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:32: note: (near initialization for 'win_keymap[134]') svr_rodata.c:119:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:38: note: (near initialization for 'win_keymap[135]') svr_rodata.c:119:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:119:44: note: (near initialization for 'win_keymap[136]') svr_rodata.c:123:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:2: note: (near initialization for 'win_keymap[138]') svr_rodata.c:123:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:8: note: (near initialization for 'win_keymap[139]') svr_rodata.c:123:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:123:14: note: (near initialization for 'win_keymap[140]') svr_rodata.c:127:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:2: note: (near initialization for 'win_keymap[142]') svr_rodata.c:127:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:8: note: (near initialization for 'win_keymap[143]') svr_rodata.c:127:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:127:14: note: (near initialization for 'win_keymap[144]') svr_rodata.c:134:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:2: note: (near initialization for 'win_keymap[149]') svr_rodata.c:134:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:8: note: (near initialization for 'win_keymap[150]') svr_rodata.c:134:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:14: note: (near initialization for 'win_keymap[151]') svr_rodata.c:134:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:20: note: (near initialization for 'win_keymap[152]') svr_rodata.c:134:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:26: note: (near initialization for 'win_keymap[153]') svr_rodata.c:134:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:32: note: (near initialization for 'win_keymap[154]') svr_rodata.c:134:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:38: note: (near initialization for 'win_keymap[155]') svr_rodata.c:134:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:44: note: (near initialization for 'win_keymap[156]') svr_rodata.c:134:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:50: note: (near initialization for 'win_keymap[157]') svr_rodata.c:134:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:134:56: note: (near initialization for 'win_keymap[158]') svr_rodata.c:135:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:2: note: (near initialization for 'win_keymap[159]') svr_rodata.c:135:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:8: note: (near initialization for 'win_keymap[160]') svr_rodata.c:135:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:14: note: (near initialization for 'win_keymap[161]') svr_rodata.c:135:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:20: note: (near initialization for 'win_keymap[162]') svr_rodata.c:135:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:26: note: (near initialization for 'win_keymap[163]') svr_rodata.c:135:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:32: note: (near initialization for 'win_keymap[164]') svr_rodata.c:135:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:38: note: (near initialization for 'win_keymap[165]') svr_rodata.c:135:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:44: note: (near initialization for 'win_keymap[166]') svr_rodata.c:135:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:50: note: (near initialization for 'win_keymap[167]') svr_rodata.c:135:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:135:56: note: (near initialization for 'win_keymap[168]') svr_rodata.c:136:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, ^~~~ svr_rodata.c:136:2: note: (near initialization for 'win_keymap[169]') svr_rodata.c:155:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:2: note: (near initialization for 'win_keymap[186]') svr_rodata.c:155:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:8: note: (near initialization for 'win_keymap[187]') svr_rodata.c:155:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, ^~~~ svr_rodata.c:155:14: note: (near initialization for 'win_keymap[188]') svr_rodata.c:218:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:2: note: (near initialization for 'win_keymap[239]') svr_rodata.c:218:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:8: note: (near initialization for 'win_keymap[240]') svr_rodata.c:218:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:14: note: (near initialization for 'win_keymap[241]') svr_rodata.c:218:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:20: note: (near initialization for 'win_keymap[242]') svr_rodata.c:218:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:26: note: (near initialization for 'win_keymap[243]') svr_rodata.c:218:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:32: note: (near initialization for 'win_keymap[244]') svr_rodata.c:218:38: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:38: note: (near initialization for 'win_keymap[245]') svr_rodata.c:218:44: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:44: note: (near initialization for 'win_keymap[246]') svr_rodata.c:218:50: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:50: note: (near initialization for 'win_keymap[247]') svr_rodata.c:218:56: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:218:56: note: (near initialization for 'win_keymap[248]') svr_rodata.c:219:2: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:2: note: (near initialization for 'win_keymap[249]') svr_rodata.c:219:8: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:8: note: (near initialization for 'win_keymap[250]') svr_rodata.c:219:14: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:14: note: (near initialization for 'win_keymap[251]') svr_rodata.c:219:20: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:20: note: (near initialization for 'win_keymap[252]') svr_rodata.c:219:26: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:26: note: (near initialization for 'win_keymap[253]') svr_rodata.c:219:32: warning: initialization of 'unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] NULL, NULL, NULL, NULL, NULL, NULL, ^~~~ svr_rodata.c:219:32: note: (near initialization for 'win_keymap[254]') rm -f svr_atom.o shared/svr_atom.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_atom.c -o shared/svr_atom.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from svr_atom.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_atom.c -o svr_atom.o In file included from /usr/include/signal.h:25, from ../../../build/include/xview/xview_xvin.h:18, from ../../../build/include/xview/xview.h:18, from svr_atom.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f svr_set.o shared/svr_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_set.c -o shared/svr_set.o In file included from /usr/include/sys/types.h:25, from svr_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_set.c: In function 'server_set_avlist': svr_set.c:111:14: warning: implicit declaration of function 'server_set_atom_data'; did you mean 'server_set_avlist'? [-Wimplicit-function-declaration] error = server_set_atom_data(server, (Atom)attrs[1], ^~~~~~~~~~~~~~~~~~~~ server_set_avlist svr_set.c: In function 'server_masknode_from_xidid': svr_set.c:326:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xid_node = server_xidnode_from_xid(server, xid)) ^~~~~~~~ svr_set.c: At top level: svr_set.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] server_add_xevent_mask (server, xid, mask, pkg_id, external) ^~~~~~~~~~~~~~~~~~~~~~ svr_set.c: In function 'server_add_xevent_mask': svr_set.c:391:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xid_node = server_xidnode_from_xid(server, xid)) ^~~~~~~~ svr_set.c:396:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!mask_node) ^~ svr_set.c:399:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (external) ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_set.c -o svr_set.o In file included from /usr/include/sys/types.h:25, from svr_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_set.c: In function 'server_set_avlist': svr_set.c:111:14: warning: implicit declaration of function 'server_set_atom_data'; did you mean 'server_set_avlist'? [-Wimplicit-function-declaration] error = server_set_atom_data(server, (Atom)attrs[1], ^~~~~~~~~~~~~~~~~~~~ server_set_avlist svr_set.c: In function 'server_masknode_from_xidid': svr_set.c:326:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xid_node = server_xidnode_from_xid(server, xid)) ^~~~~~~~ svr_set.c: At top level: svr_set.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] server_add_xevent_mask (server, xid, mask, pkg_id, external) ^~~~~~~~~~~~~~~~~~~~~~ svr_set.c: In function 'server_add_xevent_mask': svr_set.c:391:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xid_node = server_xidnode_from_xid(server, xid)) ^~~~~~~~ svr_set.c:396:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!mask_node) ^~ svr_set.c:399:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (external) ^~ rm -f svr_parse.o shared/svr_parse.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_parse.c -o shared/svr_parse.o In file included from /usr/include/ctype.h:25, from svr_parse.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_parse.c: In function 'server_parse_keystr': svr_parse.c:306:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] unmod_keysym = XKeycodeToKeysym(dpy, keycode, 0); ^~~~~~~~~~~~ In file included from svr_parse.c:14: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ svr_parse.c:307:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] shifted_ksym = XKeycodeToKeysym(dpy, keycode, 1); ^~~~~~~~~~~~ In file included from svr_parse.c:14: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ svr_parse.c: In function 'avGetXViewAcceleratorValue': svr_parse.c:602:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( avp->keysym || avp->some || avp->none ) ^ svr_parse.c: In function 'avAddModif': svr_parse.c:642:6: warning: enumeration value 'modifNone' not handled in switch [-Wswitch] switch( modif ) { ^~~~~~ svr_parse.c: In function 'avAddKey': svr_parse.c:677:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ svr_parse.c:665:1: note: declared here avAddKey(avp, pos) ^~~~~~~~ svr_parse.c:696:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( avp->keysym = XStringToKeysym( strbuf ) ) ^~~ svr_parse.c: In function 'getAcceleratorValue': svr_parse.c:453:49: warning: '%s' directive writing up to 99 bytes into a region of size 72 [-Wformat-overflow=] sprintf( resname, "OpenWindows.MenuAccelerator.%s", funcname ); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/malloc.h:24, from ../../../build/include/xview/base.h:12, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from svr_parse.c:17: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 128 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_parse.c -o svr_parse.o In file included from /usr/include/ctype.h:25, from svr_parse.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svr_parse.c: In function 'server_parse_keystr': svr_parse.c:306:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] unmod_keysym = XKeycodeToKeysym(dpy, keycode, 0); ^~~~~~~~~~~~ In file included from svr_parse.c:14: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ svr_parse.c:307:9: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] shifted_ksym = XKeycodeToKeysym(dpy, keycode, 1); ^~~~~~~~~~~~ In file included from svr_parse.c:14: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ svr_parse.c: In function 'avGetXViewAcceleratorValue': svr_parse.c:602:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( avp->keysym || avp->some || avp->none ) ^ svr_parse.c: In function 'avAddModif': svr_parse.c:642:6: warning: enumeration value 'modifNone' not handled in switch [-Wswitch] switch( modif ) { ^~~~~~ svr_parse.c: In function 'avAddKey': svr_parse.c:677:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ svr_parse.c:665:1: note: declared here avAddKey(avp, pos) ^~~~~~~~ svr_parse.c:696:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( avp->keysym = XStringToKeysym( strbuf ) ) ^~~ svr_parse.c: In function 'getAcceleratorValue': svr_parse.c:453:49: warning: '%s' directive writing up to 99 bytes into a region of size 72 [-Wformat-overflow=] sprintf( resname, "OpenWindows.MenuAccelerator.%s", funcname ); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/malloc.h:24, from ../../../build/include/xview/base.h:12, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from svr_parse.c:17: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 128 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f svr_data.o shared/svr_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_data.c -o shared/svr_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/svr_impl.h:12, from svr_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svr_data.c -o svr_data.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/svr_impl.h:12, from svr_data.c:12: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/server.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/server.o ../../libxview/xshared/server.o + rm -f ../../libxview/xshared/svr_x.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_x.o ../../libxview/xshared/svr_x.o + rm -f ../../libxview/xshared/svr_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_get.o ../../libxview/xshared/svr_get.o + rm -f ../../libxview/xshared/svr_rodata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_rodata.o ../../libxview/xshared/svr_rodata.o + rm -f ../../libxview/xshared/svr_atom.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_atom.o ../../libxview/xshared/svr_atom.o + rm -f ../../libxview/xshared/svr_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_set.o ../../libxview/xshared/svr_set.o + rm -f ../../libxview/xshared/svr_parse.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_parse.o ../../libxview/xshared/svr_parse.o + rm -f ../../libxview/xshared/svr_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server/shared/svr_data.o ../../libxview/xshared/svr_data.o ar ruv ../../libxview/libxview.a server.o svr_x.o svr_get.o svr_rodata.o svr_atom.o svr_set.o svr_parse.o svr_data.o a - server.o a - svr_x.o a - svr_get.o a - svr_rodata.o a - svr_atom.o a - svr_set.o a - svr_parse.o a - svr_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server' making all in lib/libxview/server_image... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' rm -f svrim_ops.o shared/svrim_ops.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_ops.c -o shared/svrim_ops.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from svrim_ops.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svrim_ops.c: In function 'server_image_rop': svrim_ops.c:40:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:41:6: warning: implicit declaration of function 'xv_read_internal'; did you mean 'XK_dead_iota'? [-Wimplicit-function-declaration] xv_read_internal(dest, dx, dy, dw, dh, op, xv_display(info), ^~~~~~~~~~~~~~~~ XK_dead_iota svrim_ops.c:44:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:59:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:68:3: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, xid, gc, ^~~~~~~~~~~~~~~ svrim_ops.c:83:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_stencil': svrim_ops.c:106:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:120:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:127:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:142:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:173:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:187:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, dest_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:189:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(dest, "server_image_stencil", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:196:6: warning: implicit declaration of function 'xv_stencil_internal'; did you mean 'xv_stencil'? [-Wimplicit-function-declaration] xv_stencil_internal(display, dest_info, xv_xid(dest_info), ^~~~~~~~~~~~~~~~~~~ xv_stencil svrim_ops.c:184:22: warning: variable 'dest_standard' set but not used [-Wunused-but-set-variable] Xv_opaque dest_standard; ^~~~~~~~~~~~~ svrim_ops.c:201:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_replrop': svrim_ops.c:236:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:253:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:269:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:272:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(dest, "server_image_replrop", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:280:3: warning: implicit declaration of function 'xv_replrop_internal'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_replrop_internal(display, info, xid, ^~~~~~~~~~~~~~~~~~~ xv_replrop svrim_ops.c:283:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:266:22: warning: variable 'dest_standard' set but not used [-Wunused-but-set-variable] Xv_opaque dest_standard; ^~~~~~~~~~~~~ svrim_ops.c:293:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_region': svrim_ops.c:340:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_colormap': svrim_ops.c:354:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_pf_text': svrim_ops.c:374:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) rpr.pr, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:384:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_ops.c -o svrim_ops.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from svrim_ops.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svrim_ops.c: In function 'server_image_rop': svrim_ops.c:40:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:41:6: warning: implicit declaration of function 'xv_read_internal'; did you mean 'XK_dead_iota'? [-Wimplicit-function-declaration] xv_read_internal(dest, dx, dy, dw, dh, op, xv_display(info), ^~~~~~~~~~~~~~~~ XK_dead_iota svrim_ops.c:44:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:59:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:68:3: warning: implicit declaration of function 'xv_rop_internal' [-Wimplicit-function-declaration] xv_rop_internal(display, xid, gc, ^~~~~~~~~~~~~~~ svrim_ops.c:83:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_stencil': svrim_ops.c:106:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:120:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:127:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:142:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:173:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:187:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, dest_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:189:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(dest, "server_image_stencil", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:196:6: warning: implicit declaration of function 'xv_stencil_internal'; did you mean 'xv_stencil'? [-Wimplicit-function-declaration] xv_stencil_internal(display, dest_info, xv_xid(dest_info), ^~~~~~~~~~~~~~~~~~~ xv_stencil svrim_ops.c:184:22: warning: variable 'dest_standard' set but not used [-Wunused-but-set-variable] Xv_opaque dest_standard; ^~~~~~~~~~~~~ svrim_ops.c:201:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_replrop': svrim_ops.c:236:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:253:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:269:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:272:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD(dest, "server_image_replrop", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:280:3: warning: implicit declaration of function 'xv_replrop_internal'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_replrop_internal(display, info, xid, ^~~~~~~~~~~~~~~~~~~ xv_replrop svrim_ops.c:283:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:266:22: warning: variable 'dest_standard' set but not used [-Wunused-but-set-variable] Xv_opaque dest_standard; ^~~~~~~~~~~~~ svrim_ops.c:293:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_region': svrim_ops.c:340:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_colormap': svrim_ops.c:354:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c: In function 'server_image_pf_text': svrim_ops.c:374:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO((Xv_opaque) rpr.pr, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_ops.c:15: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_ops.c:384:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f svrim_pblc.o shared/svrim_pblc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_pblc.c -o shared/svrim_pblc.o In file included from /usr/include/sys/types.h:25, from svrim_pblc.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svrim_pblc.c: In function 'server_image_create_internal': svrim_pblc.c:65:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:70:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:80:19: warning: implicit declaration of function 'xv_set_embedding_data' [-Wimplicit-function-declaration] *offset_ptr = xv_set_embedding_data(rpr, server_image_public); ^~~~~~~~~~~~~~~~~~~~~ svrim_pblc.c:131:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c: In function 'server_image_set_internal': svrim_pblc.c:183:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:222:20: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:275:17: warning: comparison between pointer and integer if (info->cms == NULL) { ^~ svrim_pblc.c:280:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:321:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:333:19: warning: comparison between pointer and integer if (xv_cms(info) == NULL) { ^~ svrim_pblc.c:345:19: warning: comparison between pointer and integer if (xv_cms(info) == NULL) { ^~ svrim_pblc.c:353:19: warning: implicit declaration of function 'xv_mem_point'; did you mean 'mem_point'? [-Wimplicit-function-declaration] pr = (Pixrect *) xv_mem_point(rpr->pr_width, rpr->pr_height, ^~~~~~~~~~~~ mem_point svrim_pblc.c:353:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pr = (Pixrect *) xv_mem_point(rpr->pr_width, rpr->pr_height, ^ svrim_pblc.c:362:2: warning: implicit declaration of function 'xv_rop_mpr_internal' [-Wimplicit-function-declaration] xv_rop_mpr_internal(xv_display(info), xv_xid(info), ^~~~~~~~~~~~~~~~~~~ svrim_pblc.c: In function 'server_image_get_internal': svrim_pblc.c:421:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:429:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:394:7: warning: case value '1246234689' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_WIDTH: ^~~~ svrim_pblc.c:398:7: warning: case value '1246300289' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_HEIGHT: ^~~~ svrim_pblc.c:390:7: warning: case value '1248725505' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ svrim_pblc.c: In function 'server_image_destroy_internal': svrim_pblc.c:457:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c: In function 'server_image_destroy': svrim_pblc.c:469:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD((Xv_opaque) pr, "server_image_destroy", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_pblc.c -o svrim_pblc.o In file included from /usr/include/sys/types.h:25, from svrim_pblc.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ svrim_pblc.c: In function 'server_image_create_internal': svrim_pblc.c:65:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:70:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:80:19: warning: implicit declaration of function 'xv_set_embedding_data' [-Wimplicit-function-declaration] *offset_ptr = xv_set_embedding_data(rpr, server_image_public); ^~~~~~~~~~~~~~~~~~~~~ svrim_pblc.c:131:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c: In function 'server_image_set_internal': svrim_pblc.c:183:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:222:20: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:275:17: warning: comparison between pointer and integer if (info->cms == NULL) { ^~ svrim_pblc.c:280:16: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:321:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:333:19: warning: comparison between pointer and integer if (xv_cms(info) == NULL) { ^~ svrim_pblc.c:345:19: warning: comparison between pointer and integer if (xv_cms(info) == NULL) { ^~ svrim_pblc.c:353:19: warning: implicit declaration of function 'xv_mem_point'; did you mean 'mem_point'? [-Wimplicit-function-declaration] pr = (Pixrect *) xv_mem_point(rpr->pr_width, rpr->pr_height, ^~~~~~~~~~~~ mem_point svrim_pblc.c:353:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pr = (Pixrect *) xv_mem_point(rpr->pr_width, rpr->pr_height, ^ svrim_pblc.c:362:2: warning: implicit declaration of function 'xv_rop_mpr_internal' [-Wimplicit-function-declaration] xv_rop_mpr_internal(xv_display(info), xv_xid(info), ^~~~~~~~~~~~~~~~~~~ svrim_pblc.c: In function 'server_image_get_internal': svrim_pblc.c:421:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:429:4: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c:394:7: warning: case value '1246234689' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_WIDTH: ^~~~ svrim_pblc.c:398:7: warning: case value '1246300289' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_HEIGHT: ^~~~ svrim_pblc.c:390:7: warning: case value '1248725505' not in enumerated type 'Server_image_attribute' {aka 'enum '} [-Wswitch] case XV_DISPLAY: ^~~~ svrim_pblc.c: In function 'server_image_destroy_internal': svrim_pblc.c:457:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(server_image_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ svrim_pblc.c: In function 'server_image_destroy': svrim_pblc.c:469:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] XV_OBJECT_TO_STANDARD((Xv_opaque) pr, "server_image_destroy", ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from svrim_pblc.c:24: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f svrim_data.o shared/svrim_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_data.c -o shared/svrim_data.o In file included from /usr/include/sys/types.h:25, from svrim_data.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c svrim_data.c -o svrim_data.o In file included from /usr/include/sys/types.h:25, from svrim_data.c:14: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/svrim_ops.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image/shared/svrim_ops.o ../../libxview/xshared/svrim_ops.o + rm -f ../../libxview/xshared/svrim_pblc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image/shared/svrim_pblc.o ../../libxview/xshared/svrim_pblc.o + rm -f ../../libxview/xshared/svrim_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image/shared/svrim_data.o ../../libxview/xshared/svrim_data.o ar ruv ../../libxview/libxview.a svrim_ops.o svrim_pblc.o svrim_data.o a - svrim_ops.o a - svrim_pblc.o a - svrim_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/server_image' making all in lib/libxview/string_utils... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' rm -f str_utils.o shared/str_utils.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c str_utils.c -o shared/str_utils.o In file included from /usr/include/ctype.h:25, from str_utils.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ str_utils.c: In function 'xv_substrequal': str_utils.c:60:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] xv_substrequal(s1, start1, s2, start2, n, case_matters) ^~~~~~~~~~~~~~ str_utils.c:68:24: warning: self-comparison always evaluates to true [-Wtautological-compare] return ((n == 0 && s2 == s2) ? True : False); ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c str_utils.c -o str_utils.o In file included from /usr/include/ctype.h:25, from str_utils.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ str_utils.c: In function 'xv_substrequal': str_utils.c:60:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] xv_substrequal(s1, start1, s2, start2, n, case_matters) ^~~~~~~~~~~~~~ str_utils.c:68:24: warning: self-comparison always evaluates to true [-Wtautological-compare] return ((n == 0 && s2 == s2) ? True : False); ^~ rm -f whitespace.o shared/whitespace.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c whitespace.c -o shared/whitespace.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview/str_utils.h:18, from whitespace.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c whitespace.c -o whitespace.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from ../../../build/include/xview/sun.h:12, from ../../../build/include/xview/str_utils.h:18, from whitespace.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/str_utils.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils/shared/str_utils.o ../../libxview/xshared/str_utils.o + rm -f ../../libxview/xshared/whitespace.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils/shared/whitespace.o ../../libxview/xshared/whitespace.o ar ruv ../../libxview/libxview.a str_utils.o whitespace.o a - str_utils.o a - whitespace.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/string_utils' making all in lib/libxview/textsw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' rm -f es_file.o shared/es_file.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_file.c -o shared/es_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from es_file.c:86: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_file.c: In function 'es_file_append_error': es_file.c:238:2: warning: 'return' with no value, in function returning non-void return; /* Caller is fouled up. */ ^~~~~~ es_file.c:227:1: note: declared here es_file_append_error(error_buf, file_name, status) ^~~~~~~~~~~~~~~~~~~~ es_file.c:268:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ es_file.c:227:1: note: declared here es_file_append_error(error_buf, file_name, status) ^~~~~~~~~~~~~~~~~~~~ es_file.c: In function 'es_file_create': es_file.c:334:21: warning: type defaults to 'int' in declaration of 'fstat' [-Wimplicit-int] extern fstat(); ^~~~~ es_file.c: In function 'es_file_get': es_file.c:509:21: warning: unused variable 'args' [-Wunused-variable] va_list args; ^~~~ es_file.c: In function 'es_file_copy_status': es_file.c:1175:13: warning: implicit declaration of function 'es_copy_status'; did you mean 'es_file_copy_status'? [-Wimplicit-function-declaration] return (es_copy_status(to, private->fd, &dummy)); ^~~~~~~~~~~~~~ es_file_copy_status es_file.c: In function 'es_file_make_backup': es_file.c:1217:9: warning: implicit declaration of function 'es_copy_fd'; did you mean 'es_commit'? [-Wimplicit-function-declaration] if (es_copy_fd(private->name, backup_name, fd) != 0) { ^~~~~~~~~~ es_commit es_file.c: In function 'es_file_create': es_file.c:483:8: warning: 'private' may be used uninitialized in this function [-Wmaybe-uninitialized] if (private) { ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_file.c -o es_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from es_file.c:86: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_file.c: In function 'es_file_append_error': es_file.c:238:2: warning: 'return' with no value, in function returning non-void return; /* Caller is fouled up. */ ^~~~~~ es_file.c:227:1: note: declared here es_file_append_error(error_buf, file_name, status) ^~~~~~~~~~~~~~~~~~~~ es_file.c:268:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ es_file.c:227:1: note: declared here es_file_append_error(error_buf, file_name, status) ^~~~~~~~~~~~~~~~~~~~ es_file.c: In function 'es_file_create': es_file.c:334:21: warning: type defaults to 'int' in declaration of 'fstat' [-Wimplicit-int] extern fstat(); ^~~~~ es_file.c: In function 'es_file_get': es_file.c:509:21: warning: unused variable 'args' [-Wunused-variable] va_list args; ^~~~ es_file.c: In function 'es_file_copy_status': es_file.c:1175:13: warning: implicit declaration of function 'es_copy_status'; did you mean 'es_file_copy_status'? [-Wimplicit-function-declaration] return (es_copy_status(to, private->fd, &dummy)); ^~~~~~~~~~~~~~ es_file_copy_status es_file.c: In function 'es_file_make_backup': es_file.c:1217:9: warning: implicit declaration of function 'es_copy_fd'; did you mean 'es_commit'? [-Wimplicit-function-declaration] if (es_copy_fd(private->name, backup_name, fd) != 0) { ^~~~~~~~~~ es_commit es_file.c: In function 'es_file_create': es_file.c:483:8: warning: 'private' may be used uninitialized in this function [-Wmaybe-uninitialized] if (private) { ^ rm -f es_mem.o shared/es_mem.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_mem.c -o shared/es_mem.o In file included from /usr/include/sys/types.h:25, from es_mem.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_mem.c: In function 'es_mem_get': es_mem.c:131:21: warning: unused variable 'args' [-Wunused-variable] va_list args; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_mem.c -o es_mem.o In file included from /usr/include/sys/types.h:25, from es_mem.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_mem.c: In function 'es_mem_get': es_mem.c:131:21: warning: unused variable 'args' [-Wunused-variable] va_list args; ^~~~ rm -f es_util.o shared/es_util.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_util.c -o shared/es_util.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from es_util.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_util.c: In function 'es_bounds_of_gap': es_util.c:84:7: warning: statement with no effect [-Wunused-value] low == ES_CANNOT_SET; es_util.c: In function 'es_backup_buf': es_util.c:127:13: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] switch (es_make_buf_include_index(esbuf, esi, esbuf->sizeof_buf - 1)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ es_util.c: In function 'es_copy': es_util.c:190:24: warning: unused variable 'result' [-Wunused-variable] register Es_status result; ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_util.c -o es_util.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from es_util.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_util.c: In function 'es_bounds_of_gap': es_util.c:84:7: warning: statement with no effect [-Wunused-value] low == ES_CANNOT_SET; es_util.c: In function 'es_backup_buf': es_util.c:127:13: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] switch (es_make_buf_include_index(esbuf, esi, esbuf->sizeof_buf - 1)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ es_util.c: In function 'es_copy': es_util.c:190:24: warning: unused variable 'result' [-Wunused-variable] register Es_status result; ^~~~~~ rm -f es_attr.o shared/es_attr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_attr.c -o shared/es_attr.o In file included from /usr/include/sys/types.h:25, from es_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/primal.h:13, from es_attr.c:20: es_attr.c: In function 'es_set': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ es_attr.c:35:5: note: in expansion of macro 'VA_START' VA_START( valist, esh ); ^~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_attr.c -o es_attr.o In file included from /usr/include/sys/types.h:25, from es_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/primal.h:13, from es_attr.c:20: es_attr.c: In function 'es_set': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ es_attr.c:35:5: note: in expansion of macro 'VA_START' VA_START( valist, esh ); ^~~~~~~~ rm -f ps_impl.o shared/ps_impl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ps_impl.c -o shared/ps_impl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ps_impl.c:43: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ps_impl.c:65:8: warning: type defaults to 'int' in declaration of 'copy_pieces' [-Wimplicit-int] static copy_pieces(); ^~~~~~~~~~~ ps_impl.c: In function 'ps_create': ps_impl.c:178:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ps_impl.c:44: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ps_impl.c: In function 'ps_read': ps_impl.c:723:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(console_fd = fopen("/dev/console", "a")) { ^~~~~~~~~~ ps_impl.c: At top level: ps_impl.c:1237:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_pieces(to_table, to_index, from_table, first, last_plus_one) ^~~~~~~~~~~ ps_impl.c: In function 'ps_get': ps_impl.c:1621:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->oldest_not_undone_mark != ES_INFINITY)); ^ ps_impl.c: In function 'ps_set': ps_impl.c:1667:13: warning: implicit declaration of function 'es_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] *status = es_copy(to_recycle, esh, FALSE); ^~~~~~~ va_copy ps_impl.c: In function 'copy_pieces': ps_impl.c:1246:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ps_impl.c: In function 'record_deleted_pieces': ps_impl.c:1101:11: warning: 'replace_result' may be used uninitialized in this function [-Wmaybe-uninitialized] *next = replace_result; ~~~~~~^~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ps_impl.c -o ps_impl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ps_impl.c:43: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ps_impl.c:65:8: warning: type defaults to 'int' in declaration of 'copy_pieces' [-Wimplicit-int] static copy_pieces(); ^~~~~~~~~~~ ps_impl.c: In function 'ps_create': ps_impl.c:178:14: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ps_impl.c:44: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ps_impl.c: In function 'ps_read': ps_impl.c:723:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(console_fd = fopen("/dev/console", "a")) { ^~~~~~~~~~ ps_impl.c: At top level: ps_impl.c:1237:1: warning: return type defaults to 'int' [-Wimplicit-int] copy_pieces(to_table, to_index, from_table, first, last_plus_one) ^~~~~~~~~~~ ps_impl.c: In function 'ps_get': ps_impl.c:1621:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->oldest_not_undone_mark != ES_INFINITY)); ^ ps_impl.c: In function 'ps_set': ps_impl.c:1667:13: warning: implicit declaration of function 'es_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] *status = es_copy(to_recycle, esh, FALSE); ^~~~~~~ va_copy ps_impl.c: In function 'copy_pieces': ps_impl.c:1246:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ps_impl.c: In function 'record_deleted_pieces': ps_impl.c:1101:11: warning: 'replace_result' may be used uninitialized in this function [-Wmaybe-uninitialized] *next = replace_result; ~~~~~~^~~~~~~~~~~~~~~~ rm -f ev_display.o shared/ev_display.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_display.c -o shared/ev_display.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_display.c: In function 'ev_init_X_carets': ev_display.c:89:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_display.c: In function 'ev_put_caret': ev_display.c:138:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_display.c: In function 'ev_check_cached_pos_info': ev_display.c:234:14: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view, pos, &cache->lt_index, &rect)) { ^~~~~~~~~~~~~ ev_display.c: In function 'ev_set_start': ev_display.c:849:6: warning: implicit declaration of function 'ev_update_view_display'; did you mean 'textsw_display'? [-Wimplicit-function-declaration] ev_update_view_display(view); ^~~~~~~~~~~~~~~~~~~~~~ textsw_display ev_display.c: In function 'ev_scroll_lines': ev_display.c:962:8: warning: implicit declaration of function 'es_bounds_of_gap' [-Wimplicit-function-declaration] es_bounds_of_gap(esbuf.esh, pos - 1, 0, 0x1); ^~~~~~~~~~~~~~~~ ev_display.c:1020:7: warning: implicit declaration of function 'ev_lt_paint'; did you mean 'ev_lt_format'? [-Wimplicit-function-declaration] ev_lt_paint(view, &view->line_table, &view->tmp_line_table); ^~~~~~~~~~~ ev_lt_format ev_display.c: In function 'ev_display_in_rect': ev_display.c:1049:2: warning: implicit declaration of function 'win_set_clip'; did you mean 'xv_set_gc_op'? [-Wimplicit-function-declaration] win_set_clip(view->pw, (Rectlist *) 0); ^~~~~~~~~~~~ xv_set_gc_op ev_display.c:1053:2: warning: implicit declaration of function 'rect_intersection'; did you mean 'rect_intersectsrect'? [-Wimplicit-function-declaration] rect_intersection(rect, &view->rect, &rect_intersect_view); ^~~~~~~~~~~~~~~~~ rect_intersectsrect ev_display.c: In function 'ev_fill_esbuf': ev_display.c:1097:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = READ_AT_EOF(last_plus_one, next, read)) { ^~~~~~ ev_display.c: In function 'ev_process_update_buf': ev_display.c:1243:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = ev_fill_esbuf(&ph->esbuf, &ph->last_plus_one)) { ^~~~~~ ev_display.c: In function 'ev_process': ev_display.c:1287:10: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] (void) ev_span(ph->view->view_chain, ^~~~~~~ ev_set ev_display.c: In function 'ev_expand': ev_display.c:1888:12: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] (void) es_make_buf_include_index(&esbuf, start, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_display.c: In function 'ev_paint_view': ev_display.c:2209:4: warning: implicit declaration of function 'ev_display_line'; did you mean 'ev_display_view'? [-Wimplicit-function-declaration] ev_display_line(e_view, 0, index, new->pos, next_pos); ^~~~~~~~~~~~~~~ ev_display_view gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_display.c -o ev_display.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_display.c: In function 'ev_init_X_carets': ev_display.c:89:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_display.c: In function 'ev_put_caret': ev_display.c:138:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_display.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_display.c: In function 'ev_check_cached_pos_info': ev_display.c:234:14: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view, pos, &cache->lt_index, &rect)) { ^~~~~~~~~~~~~ ev_display.c: In function 'ev_set_start': ev_display.c:849:6: warning: implicit declaration of function 'ev_update_view_display'; did you mean 'textsw_display'? [-Wimplicit-function-declaration] ev_update_view_display(view); ^~~~~~~~~~~~~~~~~~~~~~ textsw_display ev_display.c: In function 'ev_scroll_lines': ev_display.c:962:8: warning: implicit declaration of function 'es_bounds_of_gap' [-Wimplicit-function-declaration] es_bounds_of_gap(esbuf.esh, pos - 1, 0, 0x1); ^~~~~~~~~~~~~~~~ ev_display.c:1020:7: warning: implicit declaration of function 'ev_lt_paint'; did you mean 'ev_lt_format'? [-Wimplicit-function-declaration] ev_lt_paint(view, &view->line_table, &view->tmp_line_table); ^~~~~~~~~~~ ev_lt_format ev_display.c: In function 'ev_display_in_rect': ev_display.c:1049:2: warning: implicit declaration of function 'win_set_clip'; did you mean 'xv_set_gc_op'? [-Wimplicit-function-declaration] win_set_clip(view->pw, (Rectlist *) 0); ^~~~~~~~~~~~ xv_set_gc_op ev_display.c:1053:2: warning: implicit declaration of function 'rect_intersection'; did you mean 'rect_intersectsrect'? [-Wimplicit-function-declaration] rect_intersection(rect, &view->rect, &rect_intersect_view); ^~~~~~~~~~~~~~~~~ rect_intersectsrect ev_display.c: In function 'ev_fill_esbuf': ev_display.c:1097:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = READ_AT_EOF(last_plus_one, next, read)) { ^~~~~~ ev_display.c: In function 'ev_process_update_buf': ev_display.c:1243:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = ev_fill_esbuf(&ph->esbuf, &ph->last_plus_one)) { ^~~~~~ ev_display.c: In function 'ev_process': ev_display.c:1287:10: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] (void) ev_span(ph->view->view_chain, ^~~~~~~ ev_set ev_display.c: In function 'ev_expand': ev_display.c:1888:12: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] (void) es_make_buf_include_index(&esbuf, start, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_display.c: In function 'ev_paint_view': ev_display.c:2209:4: warning: implicit declaration of function 'ev_display_line'; did you mean 'ev_display_view'? [-Wimplicit-function-declaration] ev_display_line(e_view, 0, index, new->pos, next_pos); ^~~~~~~~~~~~~~~ ev_display_view rm -f ev_op_bdry.o shared/ev_op_bdry.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_op_bdry.c -o shared/ev_op_bdry.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_op_bdry.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_op_bdry.c:31:8: warning: type defaults to 'int' in declaration of 'ev_remove_finger_internal' [-Wimplicit-int] static ev_remove_finger_internal(Ev_finger_table *fingers, int i); ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_op_bdry.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_finger(fingers, mark) ^~~~~~~~~~~~~~~~ ev_op_bdry.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_finger_internal(fingers, i) ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_add_op_bdry': ev_op_bdry.c:173:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ev_add_finger(op_bdry, pos, (opaque_t) type, mark); ^ ev_op_bdry.c: At top level: ev_op_bdry.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_op_bdry(op_bdry, pos, type, mask) ^~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_remove_op_bdry': ev_op_bdry.c:254:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ev_op_bdry.c:232:1: note: declared here ev_remove_op_bdry(op_bdry, pos, type, mask) ^~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_add_glyph': ev_op_bdry.c:341:9: warning: implicit declaration of function 'ev_display_range'; did you mean 'XDisplayPlanes'? [-Wimplicit-function-declaration] (void) ev_display_range(chain, line_start, pos); ^~~~~~~~~~~~~~~~ XDisplayPlanes ev_op_bdry.c: In function 'ev_add_glyph_on_line': ev_op_bdry.c:373:2: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(chain, line_start, &first, &pos, ^~~~~~~ ev_set ev_op_bdry.c: In function 'ev_clear_margins': ev_op_bdry.c:437:14: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view, pos, &dummy_lt_index, rect)) { ^~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_set_glyph_pr': ev_op_bdry.c:548:18: warning: implicit declaration of function 'ev_line_start'; did you mean 'notify_start'? [-Wimplicit-function-declaration] line_start = ev_line_start(chain->first_view, pos); ^~~~~~~~~~~~~ notify_start ev_op_bdry.c: In function 'ev_remove_finger': ev_op_bdry.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ev_op_bdry.c: In function 'ev_remove_finger_internal': ev_op_bdry.c:161:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ev_op_bdry.c: In function 'ev_find_glyph': ev_op_bdry.c:410:31: warning: 'bdry' may be used uninitialized in this function [-Wmaybe-uninitialized] (seq[i].more_info == bdry->more_info)) { ~~~~^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_op_bdry.c -o ev_op_bdry.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_op_bdry.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_op_bdry.c:31:8: warning: type defaults to 'int' in declaration of 'ev_remove_finger_internal' [-Wimplicit-int] static ev_remove_finger_internal(Ev_finger_table *fingers, int i); ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_op_bdry.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_finger(fingers, mark) ^~~~~~~~~~~~~~~~ ev_op_bdry.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_finger_internal(fingers, i) ^~~~~~~~~~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_add_op_bdry': ev_op_bdry.c:173:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ev_add_finger(op_bdry, pos, (opaque_t) type, mark); ^ ev_op_bdry.c: At top level: ev_op_bdry.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] ev_remove_op_bdry(op_bdry, pos, type, mask) ^~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_remove_op_bdry': ev_op_bdry.c:254:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ev_op_bdry.c:232:1: note: declared here ev_remove_op_bdry(op_bdry, pos, type, mask) ^~~~~~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_add_glyph': ev_op_bdry.c:341:9: warning: implicit declaration of function 'ev_display_range'; did you mean 'XDisplayPlanes'? [-Wimplicit-function-declaration] (void) ev_display_range(chain, line_start, pos); ^~~~~~~~~~~~~~~~ XDisplayPlanes ev_op_bdry.c: In function 'ev_add_glyph_on_line': ev_op_bdry.c:373:2: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(chain, line_start, &first, &pos, ^~~~~~~ ev_set ev_op_bdry.c: In function 'ev_clear_margins': ev_op_bdry.c:437:14: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view, pos, &dummy_lt_index, rect)) { ^~~~~~~~~~~~~ ev_op_bdry.c: In function 'ev_set_glyph_pr': ev_op_bdry.c:548:18: warning: implicit declaration of function 'ev_line_start'; did you mean 'notify_start'? [-Wimplicit-function-declaration] line_start = ev_line_start(chain->first_view, pos); ^~~~~~~~~~~~~ notify_start ev_op_bdry.c: In function 'ev_remove_finger': ev_op_bdry.c:150:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ev_op_bdry.c: In function 'ev_remove_finger_internal': ev_op_bdry.c:161:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ev_op_bdry.c: In function 'ev_find_glyph': ev_op_bdry.c:410:31: warning: 'bdry' may be used uninitialized in this function [-Wmaybe-uninitialized] (seq[i].more_info == bdry->more_info)) { ~~~~^~~~~~~~~~~ rm -f ev_edit.o shared/ev_edit.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_edit.c -o shared/ev_edit.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_edit.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_edit.c: In function 'ev_update_lt_after_edit': ev_edit.c:113:21: warning: type defaults to 'int' in declaration of 'lt_index' [-Wimplicit-int] register lt_index; ^~~~~~~~ ev_edit.c: In function 'ev_update_view_display': ev_edit.c:394:5: warning: implicit declaration of function 'ev_lt_format'; did you mean 'xv_error_format'? [-Wimplicit-function-declaration] ev_lt_format(view, &view->tmp_line_table, &view->line_table); ^~~~~~~~~~~~ xv_error_format ev_edit.c:404:2: warning: implicit declaration of function 'ev_lt_paint'; did you mean 'ev_span'? [-Wimplicit-function-declaration] ev_lt_paint(view, &view->line_table, &view->tmp_line_table); ^~~~~~~~~~~ ev_span ev_edit.c: In function 'ev_update_after_edit': ev_edit.c:440:6: warning: implicit declaration of function 'ev_lt_delta'; did you mean 'ft_add_delta'? [-Wimplicit-function-declaration] if (ev_lt_delta(view, last_plus_one, delta)) { ^~~~~~~~~~~ ft_add_delta ev_edit.c: In function 'ev_make_visible': ev_edit.c:485:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ ev_edit.c:532:17: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(view->view_chain->esh, newline_str, 1, ^~~~~~~~~~~~~~ ev_find_finger ev_edit.c:538:6: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_line_start'? [-Wimplicit-function-declaration] ev_set_start(view, line_start); ^~~~~~~~~~~~ ev_line_start ev_edit.c:550:29: warning: implicit declaration of function 'ev_index_for_line'; did you mean 'ev_rect_for_line'? [-Wimplicit-function-declaration] (position >= ev_index_for_line(view, top_of_lc))) { ^~~~~~~~~~~~~~~~~ ev_rect_for_line ev_edit.c:549:15: warning: 'old_top' may be used uninitialized in this function [-Wmaybe-uninitialized] while ((old_top != new_top) && ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_edit.c -o ev_edit.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_edit.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_edit.c: In function 'ev_update_lt_after_edit': ev_edit.c:113:21: warning: type defaults to 'int' in declaration of 'lt_index' [-Wimplicit-int] register lt_index; ^~~~~~~~ ev_edit.c: In function 'ev_update_view_display': ev_edit.c:394:5: warning: implicit declaration of function 'ev_lt_format'; did you mean 'xv_error_format'? [-Wimplicit-function-declaration] ev_lt_format(view, &view->tmp_line_table, &view->line_table); ^~~~~~~~~~~~ xv_error_format ev_edit.c:404:2: warning: implicit declaration of function 'ev_lt_paint'; did you mean 'ev_span'? [-Wimplicit-function-declaration] ev_lt_paint(view, &view->line_table, &view->tmp_line_table); ^~~~~~~~~~~ ev_span ev_edit.c: In function 'ev_update_after_edit': ev_edit.c:440:6: warning: implicit declaration of function 'ev_lt_delta'; did you mean 'ft_add_delta'? [-Wimplicit-function-declaration] if (ev_lt_delta(view, last_plus_one, delta)) { ^~~~~~~~~~~ ft_add_delta ev_edit.c: In function 'ev_make_visible': ev_edit.c:485:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ ev_edit.c:532:17: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(view->view_chain->esh, newline_str, 1, ^~~~~~~~~~~~~~ ev_find_finger ev_edit.c:538:6: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_line_start'? [-Wimplicit-function-declaration] ev_set_start(view, line_start); ^~~~~~~~~~~~ ev_line_start ev_edit.c:550:29: warning: implicit declaration of function 'ev_index_for_line'; did you mean 'ev_rect_for_line'? [-Wimplicit-function-declaration] (position >= ev_index_for_line(view, top_of_lc))) { ^~~~~~~~~~~~~~~~~ ev_rect_for_line ev_edit.c:549:15: warning: 'old_top' may be used uninitialized in this function [-Wmaybe-uninitialized] while ((old_top != new_top) && ^ rm -f ev_once.o shared/ev_once.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_once.c -o shared/ev_once.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ev_once.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ev_once.c:28: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ev_once.c:48:1: note: in expansion of macro 'mpr_static' mpr_static(ev_caret_mpr, 7, 7, 1, caret_image); ^~~~~~~~~~ ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ev_once.c:53:1: note: in expansion of macro 'mpr_static' mpr_static(ev_ghost_mpr, 7, 7, 1, ghost_caret); ^~~~~~~~~~ ev_once.c: In function 'ev_line_info': ev_once.c:249:2: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_view_above'? [-Wimplicit-function-declaration] ev_view_range(view, &cache->index_of_first, &last_plus_one); ^~~~~~~~~~~~~ ev_view_above ev_once.c:255:7: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ev_find_in_esh'? [-Wimplicit-function-declaration] ev_newlines_in_esh(chain->esh, ^~~~~~~~~~~~~~~~~~ ev_find_in_esh ev_once.c: In function 'ev_rect_for_ith_physical_line': ev_once.c:327:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ ev_once.c:344:2: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(view->view_chain, *first, &span_first, &last_plus_one, ^~~~~~~ ev_set ev_once.c:348:13: warning: implicit declaration of function 'ev_xy_in_view'; did you mean 'ev_lowest_view'? [-Wimplicit-function-declaration] (void) ev_xy_in_view(view, *first, <_index, rect); ^~~~~~~~~~~~~ ev_lowest_view ev_once.c: In function 'ev_find_in_esh': ev_once.c:461:14: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] switch (es_make_buf_include_index(&esbuf, ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_once.c -o ev_once.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ev_once.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ev_once.c:28: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ev_once.c:48:1: note: in expansion of macro 'mpr_static' mpr_static(ev_caret_mpr, 7, 7, 1, caret_image); ^~~~~~~~~~ ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ev_once.c:53:1: note: in expansion of macro 'mpr_static' mpr_static(ev_ghost_mpr, 7, 7, 1, ghost_caret); ^~~~~~~~~~ ev_once.c: In function 'ev_line_info': ev_once.c:249:2: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_view_above'? [-Wimplicit-function-declaration] ev_view_range(view, &cache->index_of_first, &last_plus_one); ^~~~~~~~~~~~~ ev_view_above ev_once.c:255:7: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ev_find_in_esh'? [-Wimplicit-function-declaration] ev_newlines_in_esh(chain->esh, ^~~~~~~~~~~~~~~~~~ ev_find_in_esh ev_once.c: In function 'ev_rect_for_ith_physical_line': ev_once.c:327:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ ev_once.c:344:2: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(view->view_chain, *first, &span_first, &last_plus_one, ^~~~~~~ ev_set ev_once.c:348:13: warning: implicit declaration of function 'ev_xy_in_view'; did you mean 'ev_lowest_view'? [-Wimplicit-function-declaration] (void) ev_xy_in_view(view, *first, <_index, rect); ^~~~~~~~~~~~~ ev_lowest_view ev_once.c: In function 'ev_find_in_esh': ev_once.c:461:14: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] switch (es_make_buf_include_index(&esbuf, ^~~~~~~~~~~~~~~~~~~~~~~~~ rm -f ev_attr.o shared/ev_attr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_attr.c -o shared/ev_attr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_attr.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_attr.c: In function 'ev_get': ev_attr.c:57:2: warning: enumeration value 'EV_CHAIN_EIH' not handled in switch [-Wswitch] switch (attribute) { ^~~~~~ ev_attr.c:57:2: warning: enumeration value 'EV_CLIP_RECT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DATA' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DISPLAY_START' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DISPLAY_LEVEL' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_LEFT_MARGIN' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_NO_REPAINT_TIL_EVENT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RECT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RIGHT_BREAK' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RIGHT_MARGIN' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_SAME_AS' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_END_ALL_VIEWS' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_FOR_ALL_VIEWS' not handled in switch [-Wswitch] ev_attr.c: In function 'ev_adjust_start': ev_attr.c:164:3: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(next, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger ev_attr.c:175:6: warning: implicit declaration of function 'ev_display_view' [-Wimplicit-function-declaration] ev_display_view(next); ^~~~~~~~~~~~~~~ ev_attr.c:178:3: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_set_rect'? [-Wimplicit-function-declaration] ev_set_start(next, to); ^~~~~~~~~~~~ ev_set_rect ev_attr.c: In function 'ev_set_rect': ev_attr.c:455:2: warning: implicit declaration of function 'ev_clear_rect'; did you mean 'ev_set_rect'? [-Wimplicit-function-declaration] ev_clear_rect(view, &clear_rect); ^~~~~~~~~~~~~ ev_set_rect ev_attr.c:474:2: warning: implicit declaration of function 'ev_display_in_rect'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] ev_display_in_rect(view, intersect_rect); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect ev_attr.c: In function 'ev_set': ev_attr.c:369:40: warning: 'private' may be used uninitialized in this function [-Wmaybe-uninitialized] other_private->left_margin - private->left_margin; ~~~~~~~^~~~~~~~~~~~~ ev_attr.c:202:27: note: 'private' was declared here register Ev_pd_handle private; ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_attr.c -o ev_attr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_attr.c:15: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_attr.c: In function 'ev_get': ev_attr.c:57:2: warning: enumeration value 'EV_CHAIN_EIH' not handled in switch [-Wswitch] switch (attribute) { ^~~~~~ ev_attr.c:57:2: warning: enumeration value 'EV_CLIP_RECT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DATA' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DISPLAY_START' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_DISPLAY_LEVEL' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_LEFT_MARGIN' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_NO_REPAINT_TIL_EVENT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RECT' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RIGHT_BREAK' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_RIGHT_MARGIN' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_SAME_AS' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_END_ALL_VIEWS' not handled in switch [-Wswitch] ev_attr.c:57:2: warning: enumeration value 'EV_FOR_ALL_VIEWS' not handled in switch [-Wswitch] ev_attr.c: In function 'ev_adjust_start': ev_attr.c:164:3: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(next, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger ev_attr.c:175:6: warning: implicit declaration of function 'ev_display_view' [-Wimplicit-function-declaration] ev_display_view(next); ^~~~~~~~~~~~~~~ ev_attr.c:178:3: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_set_rect'? [-Wimplicit-function-declaration] ev_set_start(next, to); ^~~~~~~~~~~~ ev_set_rect ev_attr.c: In function 'ev_set_rect': ev_attr.c:455:2: warning: implicit declaration of function 'ev_clear_rect'; did you mean 'ev_set_rect'? [-Wimplicit-function-declaration] ev_clear_rect(view, &clear_rect); ^~~~~~~~~~~~~ ev_set_rect ev_attr.c:474:2: warning: implicit declaration of function 'ev_display_in_rect'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] ev_display_in_rect(view, intersect_rect); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect ev_attr.c: In function 'ev_set': ev_attr.c:369:40: warning: 'private' may be used uninitialized in this function [-Wmaybe-uninitialized] other_private->left_margin - private->left_margin; ~~~~~~~^~~~~~~~~~~~~ ev_attr.c:202:27: note: 'private' was declared here register Ev_pd_handle private; ^~~~~~~ rm -f ev_field.o shared/ev_field.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_field.c -o shared/ev_field.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ev_field.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_field.c: In function 'ev_match_field_in_esh': ev_field.c:52:10: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(&esbuf, ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_field.c -o ev_field.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ev_field.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_field.c: In function 'ev_match_field_in_esh': ev_field.c:52:10: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(&esbuf, ^~~~~~~~~~~~~~~~~~~~~~~~~ rm -f ev_update.o shared/ev_update.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_update.c -o shared/ev_update.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_update.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_update.c: In function 'ev_lt_delta': ev_update.c:89:12: warning: implicit declaration of function 'ev_line_start'; did you mean 'notify_start'? [-Wimplicit-function-declaration] pos = ev_line_start(view, range_min); ^~~~~~~~~~~~~ notify_start ev_update.c:120:2: warning: implicit declaration of function 'ev_update_lt_after_edit' [-Wimplicit-function-declaration] ev_update_lt_after_edit(&view->line_table, before_edit, delta); ^~~~~~~~~~~~~~~~~~~~~~~ ev_update.c: In function 'ev_display_line': ev_update.c:389:2: warning: implicit declaration of function 'ev_clear_rect'; did you mean 'ev_set_up_rect'? [-Wimplicit-function-declaration] ev_clear_rect(view, &rect); ^~~~~~~~~~~~~ ev_set_up_rect ev_update.c:394:5: warning: implicit declaration of function 'ev_range_info'; did you mean 'drawable_info'? [-Wimplicit-function-declaration] ev_range_info(chain_private->op_bdry, first, &range); ^~~~~~~~~~~~~ drawable_info ev_update.c:425:7: warning: implicit declaration of function 'ev_fill_esbuf' [-Wimplicit-function-declaration] rc = ev_fill_esbuf(&esbuf, &first); ^~~~~~~~~~~~~ ev_update.c:349:21: warning: unused variable 'tmp_bp' [-Wunused-variable] CHAR *tmp_bp; ^~~~~~ ev_update.c: In function 'ev_copy_and_fix': ev_update.c:498:5: warning: implicit declaration of function 'tty_copyarea'; did you mean 'XCopyArea'? [-Wimplicit-function-declaration] tty_copyarea(pw, ^~~~~~~~~~~~ XCopyArea ev_update.c:505:2: warning: implicit declaration of function 'tty_background'; did you mean 'XSetBackground'? [-Wimplicit-function-declaration] tty_background(pw, new_rect->r_left, ^~~~~~~~~~~~~~ XSetBackground ev_update.c:517:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_update.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_update.c:496:21: warning: unused variable 'ttysw_view_obscured' [-Wunused-variable] extern int ttysw_view_obscured; ^~~~~~~~~~~~~~~~~~~ ev_update.c:495:21: warning: unused variable 'textsw_doing_refresh' [-Wunused-variable] extern int textsw_doing_refresh; ^~~~~~~~~~~~~~~~~~~~ ev_update.c: In function 'ev_lt_paint': ev_update.c:565:5: warning: implicit declaration of function 'ev_add_margins'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_add_margins(view, &new_rect); ^~~~~~~~~~~~~~ ev_add_finger ev_update.c:656:2: warning: implicit declaration of function 'ev_clear_to_bottom'; did you mean 'event_is_key_bottom'? [-Wimplicit-function-declaration] ev_clear_to_bottom(view, &new_rect, new_rect.r_top, 0); ^~~~~~~~~~~~~~~~~~ event_is_key_bottom gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ev_update.c -o ev_update.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ev_update.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ev_update.c: In function 'ev_lt_delta': ev_update.c:89:12: warning: implicit declaration of function 'ev_line_start'; did you mean 'notify_start'? [-Wimplicit-function-declaration] pos = ev_line_start(view, range_min); ^~~~~~~~~~~~~ notify_start ev_update.c:120:2: warning: implicit declaration of function 'ev_update_lt_after_edit' [-Wimplicit-function-declaration] ev_update_lt_after_edit(&view->line_table, before_edit, delta); ^~~~~~~~~~~~~~~~~~~~~~~ ev_update.c: In function 'ev_display_line': ev_update.c:389:2: warning: implicit declaration of function 'ev_clear_rect'; did you mean 'ev_set_up_rect'? [-Wimplicit-function-declaration] ev_clear_rect(view, &rect); ^~~~~~~~~~~~~ ev_set_up_rect ev_update.c:394:5: warning: implicit declaration of function 'ev_range_info'; did you mean 'drawable_info'? [-Wimplicit-function-declaration] ev_range_info(chain_private->op_bdry, first, &range); ^~~~~~~~~~~~~ drawable_info ev_update.c:425:7: warning: implicit declaration of function 'ev_fill_esbuf' [-Wimplicit-function-declaration] rc = ev_fill_esbuf(&esbuf, &first); ^~~~~~~~~~~~~ ev_update.c:349:21: warning: unused variable 'tmp_bp' [-Wunused-variable] CHAR *tmp_bp; ^~~~~~ ev_update.c: In function 'ev_copy_and_fix': ev_update.c:498:5: warning: implicit declaration of function 'tty_copyarea'; did you mean 'XCopyArea'? [-Wimplicit-function-declaration] tty_copyarea(pw, ^~~~~~~~~~~~ XCopyArea ev_update.c:505:2: warning: implicit declaration of function 'tty_background'; did you mean 'XSetBackground'? [-Wimplicit-function-declaration] tty_background(pw, new_rect->r_left, ^~~~~~~~~~~~~~ XSetBackground ev_update.c:517:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ev_update.c:16: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ ev_update.c:496:21: warning: unused variable 'ttysw_view_obscured' [-Wunused-variable] extern int ttysw_view_obscured; ^~~~~~~~~~~~~~~~~~~ ev_update.c:495:21: warning: unused variable 'textsw_doing_refresh' [-Wunused-variable] extern int textsw_doing_refresh; ^~~~~~~~~~~~~~~~~~~~ ev_update.c: In function 'ev_lt_paint': ev_update.c:565:5: warning: implicit declaration of function 'ev_add_margins'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_add_margins(view, &new_rect); ^~~~~~~~~~~~~~ ev_add_finger ev_update.c:656:2: warning: implicit declaration of function 'ev_clear_to_bottom'; did you mean 'event_is_key_bottom'? [-Wimplicit-function-declaration] ev_clear_to_bottom(view, &new_rect, new_rect.r_top, 0); ^~~~~~~~~~~~~~~~~~ event_is_key_bottom rm -f es_cp_file.o shared/es_cp_file.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_cp_file.c -o shared/es_cp_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from es_cp_file.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_cp_file.c: In function 'es_copy_file': es_cp_file.c:45:31: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] int from_fd = open(from, 0), result; ^~~~ popen es_cp_file.c:58:14: warning: implicit declaration of function 'es_copy_fd'; did you mean 'es_copy_file'? [-Wimplicit-function-declaration] result = es_copy_fd(from, to, from_fd); ^~~~~~~~~~ es_copy_file es_cp_file.c:59:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(from_fd); ^~~~~ pclose es_cp_file.c: In function 'es_copy_fd': es_cp_file.c:142:12: warning: implicit declaration of function 'creat'; did you mean 'fread'? [-Wimplicit-function-declaration] fnew = creat(to, fnew_mode); ^~~~~ fread es_cp_file.c:148:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] n = read(fold, buf, BSIZE); ^~~~ fread es_cp_file.c:156:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(fnew, buf, n) != n) { ^~~~~ fwrite gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c es_cp_file.c -o es_cp_file.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from es_cp_file.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ es_cp_file.c: In function 'es_copy_file': es_cp_file.c:45:31: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] int from_fd = open(from, 0), result; ^~~~ popen es_cp_file.c:58:14: warning: implicit declaration of function 'es_copy_fd'; did you mean 'es_copy_file'? [-Wimplicit-function-declaration] result = es_copy_fd(from, to, from_fd); ^~~~~~~~~~ es_copy_file es_cp_file.c:59:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(from_fd); ^~~~~ pclose es_cp_file.c: In function 'es_copy_fd': es_cp_file.c:142:12: warning: implicit declaration of function 'creat'; did you mean 'fread'? [-Wimplicit-function-declaration] fnew = creat(to, fnew_mode); ^~~~~ fread es_cp_file.c:148:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] n = read(fold, buf, BSIZE); ^~~~ fread es_cp_file.c:156:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(fnew, buf, n) != n) { ^~~~~ fwrite rm -f ei_text.o shared/ei_text.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ei_text.c -o shared/ei_text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ei_text.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ei_text.c:129:8: warning: type defaults to 'int' in declaration of 'paint_batch' [-Wimplicit-int] static paint_batch(); ^~~~~~~~~~~ ei_text.c: In function 'ei_plain_text_set_tab_width': ei_text.c:167:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ei_text.c: In function 'ei_plain_text_set_tab_widths': ei_text.c:181:21: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, factor; ^ ei_text.c:181:24: warning: type defaults to 'int' in declaration of 'factor' [-Wimplicit-int] register i, factor; ^~~~~~ ei_text.c: In function 'ei_plain_text_set_font': ei_text.c:352:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from ei_text.c:33: ei_text.c: At top level: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ei_text.c:433:1: note: in expansion of macro 'mpr_static' mpr_static(gray17_pr, 12, 12, 1, gray17_data); ^~~~~~~~~~ ei_text.c:790:1: warning: return type defaults to 'int' [-Wimplicit-int] paint_batch(op, rop, pw, rect, run, run_length, bounds, font) ^~~~~~~~~~~ ei_text.c: In function 'paint_batch': ei_text.c:808:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if ((op & EI_OP_CLEAR_ALL) && ei_text.c:815:13: warning: implicit declaration of function 'tty_background'; did you mean 'XSetBackground'? [-Wimplicit-function-declaration] (void) tty_background(pw, ^~~~~~~~~~~~~~ XSetBackground ei_text.c:835:13: warning: implicit declaration of function 'tty_newtext'; did you mean 'attr_next'? [-Wimplicit-function-declaration] /* jcb */ tty_newtext(pw, run->x, run->y, rop, font, ^~~~~~~~~~~ attr_next ei_text.c: In function 'ei_plain_text_get': ei_text.c:877:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->state & CONTROL_CHARS_USE_FONT)); ^ ei_text.c:881:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->tab_width)); ^ ei_text.c: At top level: ei_text.c:897:1: warning: return type defaults to 'int' [-Wimplicit-int] ei_plain_text_set(eih, attributes) ^~~~~~~~~~~~~~~~~ ei_text.c: In function 'ei_plain_text_span_of_group': ei_text.c:1094:6: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(esbuf, esi, esbuf->sizeof_buf / 4)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ei_text.c:1159:11: warning: implicit declaration of function 'es_advance_buf'; did you mean 'es_backup_buf'? [-Wimplicit-function-declaration] if (es_advance_buf(esbuf)) ^~~~~~~~~~~~~~ es_backup_buf ei_text.c: In function 'paint_batch': ei_text.c:866:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ei_text.c: In function 'ei_plain_text_process': ei_text.c:768:8: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if (c == NEWLINE) ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ei_text.c -o ei_text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from ei_text.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ei_text.c:129:8: warning: type defaults to 'int' in declaration of 'paint_batch' [-Wimplicit-int] static paint_batch(); ^~~~~~~~~~~ ei_text.c: In function 'ei_plain_text_set_tab_width': ei_text.c:167:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ei_text.c: In function 'ei_plain_text_set_tab_widths': ei_text.c:181:21: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, factor; ^ ei_text.c:181:24: warning: type defaults to 'int' in declaration of 'factor' [-Wimplicit-int] register i, factor; ^~~~~~ ei_text.c: In function 'ei_plain_text_set_font': ei_text.c:352:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from ei_text.c:33: ei_text.c: At top level: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ ei_text.c:433:1: note: in expansion of macro 'mpr_static' mpr_static(gray17_pr, 12, 12, 1, gray17_data); ^~~~~~~~~~ ei_text.c:790:1: warning: return type defaults to 'int' [-Wimplicit-int] paint_batch(op, rop, pw, rect, run, run_length, bounds, font) ^~~~~~~~~~~ ei_text.c: In function 'paint_batch': ei_text.c:808:13: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if ((op & EI_OP_CLEAR_ALL) && ei_text.c:815:13: warning: implicit declaration of function 'tty_background'; did you mean 'XSetBackground'? [-Wimplicit-function-declaration] (void) tty_background(pw, ^~~~~~~~~~~~~~ XSetBackground ei_text.c:835:13: warning: implicit declaration of function 'tty_newtext'; did you mean 'attr_next'? [-Wimplicit-function-declaration] /* jcb */ tty_newtext(pw, run->x, run->y, rop, font, ^~~~~~~~~~~ attr_next ei_text.c: In function 'ei_plain_text_get': ei_text.c:877:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->state & CONTROL_CHARS_USE_FONT)); ^ ei_text.c:881:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((caddr_t) (private->tab_width)); ^ ei_text.c: At top level: ei_text.c:897:1: warning: return type defaults to 'int' [-Wimplicit-int] ei_plain_text_set(eih, attributes) ^~~~~~~~~~~~~~~~~ ei_text.c: In function 'ei_plain_text_span_of_group': ei_text.c:1094:6: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(esbuf, esi, esbuf->sizeof_buf / 4)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ei_text.c:1159:11: warning: implicit declaration of function 'es_advance_buf'; did you mean 'es_backup_buf'? [-Wimplicit-function-declaration] if (es_advance_buf(esbuf)) ^~~~~~~~~~~~~~ es_backup_buf ei_text.c: In function 'paint_batch': ei_text.c:866:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ei_text.c: In function 'ei_plain_text_process': ei_text.c:768:8: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if (c == NEWLINE) ^ rm -f ei_attr.o shared/ei_attr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ei_attr.c -o shared/ei_attr.o In file included from /usr/include/sys/types.h:25, from ei_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c ei_attr.c -o ei_attr.o In file included from /usr/include/sys/types.h:25, from ei_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f finger_tbl.o shared/finger_tbl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c finger_tbl.c -o shared/finger_tbl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from finger_tbl.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c finger_tbl.c -o finger_tbl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ../../../build/include/xview/base.h:11, from finger_tbl.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f txt_once.o shared/txt_once.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_once.c -o shared/txt_once.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_once.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_once.c: In function 'textsw_init_again': txt_once.c:112:2: warning: implicit declaration of function 'textsw_free_again'; did you mean 'textsw_init_again'? [-Wimplicit-function-declaration] textsw_free_again(folio, &old_again[i]); ^~~~~~~~~~~~~~~~~ textsw_init_again txt_once.c: In function 'textsw_view_chain_notify': txt_once.c:201:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_once.c: In function 'textsw_read_defaults': txt_once.c:210:28: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque font = NULL; ^~~~ txt_once.c:349:21: warning: implicit declaration of function 'xv_pf_open'; did you mean 'pf_open'? [-Wimplicit-function-declaration] font = (Xv_opaque) xv_pf_open(name); ^~~~~~~~~~ pf_open txt_once.c:428:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_once.c: In function 'textsw_set_cursor': txt_once.c:486:13: warning: comparison between pointer and integer if (cursor == NULL) ^~ txt_once.c: In function 'textsw_view_init_internal': txt_once.c:519:5: warning: implicit declaration of function 'textsw_set_base_mask'; did you mean 'textsw_set_scroll_mark'? [-Wimplicit-function-declaration] textsw_set_base_mask(view_public); ^~~~~~~~~~~~~~~~~~~~ textsw_set_scroll_mark txt_once.c: In function 'textsw_init_internal': txt_once.c:793:9: warning: implicit declaration of function 'textsw_set_null_view_avlist'; did you mean 'textsw_get_from_defaults'? [-Wimplicit-function-declaration] (void) textsw_set_null_view_avlist(folio, defaults_array); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_from_defaults txt_once.c:838:9: warning: implicit declaration of function 'textsw_parse_rc'; did you mean 'textsw_insert'? [-Wimplicit-function-declaration] (void) textsw_parse_rc(folio); ^~~~~~~~~~~~~~~ textsw_insert txt_once.c:850:12: warning: implicit declaration of function 'textsw_menu_init'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_menu_init(folio); ^~~~~~~~~~~~~~~~ textsw_set_insert txt_once.c: In function 'textsw_view_cleanup': txt_once.c:1094:5: warning: implicit declaration of function 'ev_destroy'; did you mean 'xv_destroy'? [-Wimplicit-function-declaration] ev_destroy(view->e_view); ^~~~~~~~~~ xv_destroy txt_once.c: In function 'textsw_folio_destroy': txt_once.c:1110:6: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(folio_public) && ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_once.c: In function 'textsw_view_destroy': txt_once.c:1360:47: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] ((Xv_textsw_view*)view_public)->private_data = NULL; /* WG Mar '95 */ ^ txt_once.c: In function 'textsw_register_view': txt_once.c:1385:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name)) ^~~~~~~~~~~~~~~~ textsw_find_mark gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_once.c -o txt_once.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_once.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_once.c: In function 'textsw_init_again': txt_once.c:112:2: warning: implicit declaration of function 'textsw_free_again'; did you mean 'textsw_init_again'? [-Wimplicit-function-declaration] textsw_free_again(folio, &old_again[i]); ^~~~~~~~~~~~~~~~~ textsw_init_again txt_once.c: In function 'textsw_view_chain_notify': txt_once.c:201:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_once.c: In function 'textsw_read_defaults': txt_once.c:210:28: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque font = NULL; ^~~~ txt_once.c:349:21: warning: implicit declaration of function 'xv_pf_open'; did you mean 'pf_open'? [-Wimplicit-function-declaration] font = (Xv_opaque) xv_pf_open(name); ^~~~~~~~~~ pf_open txt_once.c:428:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_once.c: In function 'textsw_set_cursor': txt_once.c:486:13: warning: comparison between pointer and integer if (cursor == NULL) ^~ txt_once.c: In function 'textsw_view_init_internal': txt_once.c:519:5: warning: implicit declaration of function 'textsw_set_base_mask'; did you mean 'textsw_set_scroll_mark'? [-Wimplicit-function-declaration] textsw_set_base_mask(view_public); ^~~~~~~~~~~~~~~~~~~~ textsw_set_scroll_mark txt_once.c: In function 'textsw_init_internal': txt_once.c:793:9: warning: implicit declaration of function 'textsw_set_null_view_avlist'; did you mean 'textsw_get_from_defaults'? [-Wimplicit-function-declaration] (void) textsw_set_null_view_avlist(folio, defaults_array); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_from_defaults txt_once.c:838:9: warning: implicit declaration of function 'textsw_parse_rc'; did you mean 'textsw_insert'? [-Wimplicit-function-declaration] (void) textsw_parse_rc(folio); ^~~~~~~~~~~~~~~ textsw_insert txt_once.c:850:12: warning: implicit declaration of function 'textsw_menu_init'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_menu_init(folio); ^~~~~~~~~~~~~~~~ textsw_set_insert txt_once.c: In function 'textsw_view_cleanup': txt_once.c:1094:5: warning: implicit declaration of function 'ev_destroy'; did you mean 'xv_destroy'? [-Wimplicit-function-declaration] ev_destroy(view->e_view); ^~~~~~~~~~ xv_destroy txt_once.c: In function 'textsw_folio_destroy': txt_once.c:1110:6: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(folio_public) && ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_once.c: In function 'textsw_view_destroy': txt_once.c:1360:47: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] ((Xv_textsw_view*)view_public)->private_data = NULL; /* WG Mar '95 */ ^ txt_once.c: In function 'textsw_register_view': txt_once.c:1385:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name)) ^~~~~~~~~~~~~~~~ textsw_find_mark rm -f txt_input.o shared/txt_input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_input.c -o shared/txt_input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_input.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_input.c: In function 'textsw_flush_caches': txt_input.c:85:13: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c: In function 'textsw_process_event': txt_input.c:286:2: warning: implicit declaration of function 'textsw_abort'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_abort(textsw); ^~~~~~~~~~~~ textsw_set txt_input.c:291:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(WINDOW_FROM_VIEW(view), ^~~~~~~~~~~~ menu_show txt_input.c:313:6: warning: implicit declaration of function 'textsw_resize'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] textsw_resize(view); ^~~~~~~~~~~~~ textsw_reset txt_input.c:317:16: warning: implicit declaration of function 'textsw_mouseless_scroll_event'; did you mean 'textsw_scroll_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_scroll_event(view, ie, arg)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_scroll_event txt_input.c:319:16: warning: implicit declaration of function 'textsw_mouseless_select_event'; did you mean 'textsw_mouse_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_select_event( view, ie, arg)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_mouse_event txt_input.c:321:16: warning: implicit declaration of function 'textsw_mouseless_misc_event'; did you mean 'textsw_mouse_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_misc_event( view, ie)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_mouse_event txt_input.c:328:9: warning: implicit declaration of function 'textsw_track_selection'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_track_selection(view, ie)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:364:2: warning: implicit declaration of function 'textsw_empty_document'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_empty_document(view_public, ie); ^~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:375:3: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] textsw_possibly_edited_now_notify(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:373:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ txt_input.c:376:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' goto Done; ^~~~ txt_input.c:401:36: warning: implicit declaration of function 'textsw_do_newline'; did you mean 'textsw_do_save'? [-Wimplicit-function-declaration] (void) textsw_do_newline(view, action ); ^~~~~~~~~~~~~~~~~ textsw_do_save txt_input.c:212:21: warning: variable 'caret_was_up' set but not used [-Wunused-but-set-variable] int caret_was_up; ^~~~~~~~~~~~ txt_input.c: In function 'textsw_do_filter': txt_input.c:520:13: warning: implicit declaration of function 'textsw_record_filter'; did you mean 'textsw_call_filter'? [-Wimplicit-function-declaration] (void) textsw_record_filter(textsw, ie); ^~~~~~~~~~~~~~~~~~~~ textsw_call_filter txt_input.c: In function 'textsw_do_newline': txt_input.c:608:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ txt_input.c:616:2: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] textsw_find_pattern(folio, &previous, &last_plus_one, ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_input.c:626:10: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(&esbuf, previous, 0) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_clear_pending_func_state': txt_input.c:695:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, textsw->save_insert); ^~~~~~~~~~~~~~~~ ev_add_finger txt_input.c: In function 'setupmasks': txt_input.c:729:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(mask); ^~~~~~~~~~~~ rect_isnull txt_input.c: In function 'textsw_set_base_mask': txt_input.c:784:5: warning: implicit declaration of function 'win_keymap_set_smask_class' [-Wimplicit-function-declaration] win_keymap_set_smask_class(win, KEYMAP_FUNCT_KEYS); ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:789:5: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] win_setinputmask(win, &basemask_kbd, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit txt_input.c: At top level: txt_input.c:862:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_begin_again(view) ^~~~~~~~~~~~~~~~~~ txt_input.c:877:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_end_again(view, x, y) ^~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_end_again': txt_input.c:881:5: warning: implicit declaration of function 'textsw_do_again'; did you mean 'textsw_end_again'? [-Wimplicit-function-declaration] textsw_do_again(view, x, y); ^~~~~~~~~~~~~~~ textsw_end_again txt_input.c:887:5: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] textsw_checkpoint_again(VIEW_REP_TO_ABS(view)); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo txt_input.c: At top level: txt_input.c:900:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_begin_delete(view) ^~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_begin_delete': txt_input.c:909:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(folio, TXTSW_FUNC_DELETE, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln In file included from txt_input.c:18: txt_input.c: In function 'textsw_end_delete': txt_input.c:938:22: warning: implicit declaration of function 'textsw_func_selection'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] if (TFS_IS_ERROR(textsw_func_selection(folio, &selection, 0))) ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:171:28: note: in definition of macro 'TFS_IS_ERROR' #define TFS_IS_ERROR(arg) (arg & TFS_ERROR) ^~~ txt_input.c: In function 'textsw_undo_notify': txt_input.c:1019:5: warning: implicit declaration of function 'ev_update_after_edit' [-Wimplicit-function-declaration] ev_update_after_edit(chain, ^~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_do_undo': txt_input.c:1066:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:1078:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(VIEW_REP_TO_ABS(folio->first_view)) ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_input.c:1081:6: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name) == 0) { ^~~~~~~~~~~~~~~~ textsw_find_mark txt_input.c: In function 'textsw_scroll_event': txt_input.c:1131:2: warning: implicit declaration of function 'textsw_scroll'; did you mean 'textsw_undo'? [-Wimplicit-function-declaration] textsw_scroll((Scrollbar) arg); ^~~~~~~~~~~~~ textsw_undo txt_input.c: In function 'textsw_function_key_event': txt_input.c:1203:6: warning: implicit declaration of function 'textsw_begin_find'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_find(view); ^~~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1208:6: warning: implicit declaration of function 'textsw_end_find'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] textsw_end_find(view, action, ie->ie_locx, ie->ie_locy); ^~~~~~~~~~~~~~~ textsw_end_undo txt_input.c: In function 'textsw_set_copy_or_quick_move_cursor': txt_input.c:1228:6: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] if (server_get_seln_function_pending(server)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending txt_input.c: In function 'textsw_mouse_event': txt_input.c:1280:10: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, &first, &last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~ es_get_position txt_input.c:1281:9: warning: implicit declaration of function 'ev_resolve_xy' [-Wimplicit-function-declaration] pos = ev_resolve_xy(view->e_view, event_x(ie), event_y(ie)); ^~~~~~~~~~~~~ txt_input.c:1294:7: warning: implicit declaration of function 'textsw_start_seln_tracking'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_start_seln_tracking(view, ie); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:1330:8: warning: implicit declaration of function 'textsw_do_drag_copy_move'; did you mean 'textsw_do_save'? [-Wimplicit-function-declaration] textsw_do_drag_copy_move(view, ie, event_ctrl_is_down(ie)); ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_do_save txt_input.c:1344:27: warning: type defaults to 'int' in declaration of 'textsw_do_menu' [-Wimplicit-int] Pkg_private textsw_do_menu(); ^~~~~~~~~~~~~~ txt_input.c:1355:2: warning: implicit declaration of function 'textsw_do_remote_drag_copy_move' [-Wimplicit-function-declaration] textsw_do_remote_drag_copy_move(view, ie, (short) 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_edit_function_key_event': txt_input.c:1397:14: warning: implicit declaration of function 'textsw_end_quick_move'; did you mean 'textsw_end_function'? [-Wimplicit-function-declaration] *result |= textsw_end_quick_move(view); ^~~~~~~~~~~~~~~~~~~~~ textsw_end_function txt_input.c:1404:6: warning: implicit declaration of function 'textsw_begin_get'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_get(view); ^~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1409:17: warning: implicit declaration of function 'textsw_end_get'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] *result |= textsw_end_get(view); ^~~~~~~~~~~~~~ textsw_end_undo txt_input.c:1414:6: warning: implicit declaration of function 'textsw_begin_put'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_put(view, TRUE); ^~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1419:17: warning: implicit declaration of function 'textsw_end_put'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] *result |= textsw_end_put(view); ^~~~~~~~~~~~~~ textsw_end_undo txt_input.c: In function 'textsw_field_event': txt_input.c:1550:13: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, "|>", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_input.c: In function 'textsw_file_operation': txt_input.c:1641:10: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_input.c:1642:10: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c:1644:10: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_input.c:1674:10: warning: implicit declaration of function 'textsw_post_need_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_post_need_selection(abstract, ie); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c: In function 'textsw_erase_action': txt_input.c:1772:9: warning: implicit declaration of function 'textsw_do_edit'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] (void) textsw_do_edit(view, edit_unit, direction); ^~~~~~~~~~~~~~ textsw_edit txt_input.c: In function 'textsw_flush_caches': txt_input.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_begin_again': txt_input.c:874:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_end_again': txt_input.c:888:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_begin_delete': txt_input.c:910:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_clear_pending_func_state': txt_input.c:702:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_set_base_mask': txt_input.c:793:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_again': txt_input.c:897:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_undo': txt_input.c:1107:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_undo_notify': txt_input.c:1023:2: warning: 'old_insert' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_notify_replaced((Textsw_opaque) folio->first_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ old_insert, old_length, ~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? start : start + delta, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? start + delta : start, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? delta : 0); ~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_input.c -o txt_input.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_input.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_input.c: In function 'textsw_flush_caches': txt_input.c:85:13: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c: In function 'textsw_process_event': txt_input.c:286:2: warning: implicit declaration of function 'textsw_abort'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_abort(textsw); ^~~~~~~~~~~~ textsw_set txt_input.c:291:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'menu_show'? [-Wimplicit-function-declaration] xv_help_show(WINDOW_FROM_VIEW(view), ^~~~~~~~~~~~ menu_show txt_input.c:313:6: warning: implicit declaration of function 'textsw_resize'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] textsw_resize(view); ^~~~~~~~~~~~~ textsw_reset txt_input.c:317:16: warning: implicit declaration of function 'textsw_mouseless_scroll_event'; did you mean 'textsw_scroll_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_scroll_event(view, ie, arg)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_scroll_event txt_input.c:319:16: warning: implicit declaration of function 'textsw_mouseless_select_event'; did you mean 'textsw_mouse_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_select_event( view, ie, arg)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_mouse_event txt_input.c:321:16: warning: implicit declaration of function 'textsw_mouseless_misc_event'; did you mean 'textsw_mouse_event'? [-Wimplicit-function-declaration] } else if (textsw_mouseless_misc_event( view, ie)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_mouse_event txt_input.c:328:9: warning: implicit declaration of function 'textsw_track_selection'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_track_selection(view, ie)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:364:2: warning: implicit declaration of function 'textsw_empty_document'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_empty_document(view_public, ie); ^~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:375:3: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] textsw_possibly_edited_now_notify(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:373:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ txt_input.c:376:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' goto Done; ^~~~ txt_input.c:401:36: warning: implicit declaration of function 'textsw_do_newline'; did you mean 'textsw_do_save'? [-Wimplicit-function-declaration] (void) textsw_do_newline(view, action ); ^~~~~~~~~~~~~~~~~ textsw_do_save txt_input.c:212:21: warning: variable 'caret_was_up' set but not used [-Wunused-but-set-variable] int caret_was_up; ^~~~~~~~~~~~ txt_input.c: In function 'textsw_do_filter': txt_input.c:520:13: warning: implicit declaration of function 'textsw_record_filter'; did you mean 'textsw_call_filter'? [-Wimplicit-function-declaration] (void) textsw_record_filter(textsw, ie); ^~~~~~~~~~~~~~~~~~~~ textsw_call_filter txt_input.c: In function 'textsw_do_newline': txt_input.c:608:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ txt_input.c:616:2: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] textsw_find_pattern(folio, &previous, &last_plus_one, ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_input.c:626:10: warning: implicit declaration of function 'es_make_buf_include_index' [-Wimplicit-function-declaration] if (es_make_buf_include_index(&esbuf, previous, 0) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_clear_pending_func_state': txt_input.c:695:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, textsw->save_insert); ^~~~~~~~~~~~~~~~ ev_add_finger txt_input.c: In function 'setupmasks': txt_input.c:729:5: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] input_imnull(mask); ^~~~~~~~~~~~ rect_isnull txt_input.c: In function 'textsw_set_base_mask': txt_input.c:784:5: warning: implicit declaration of function 'win_keymap_set_smask_class' [-Wimplicit-function-declaration] win_keymap_set_smask_class(win, KEYMAP_FUNCT_KEYS); ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:789:5: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] win_setinputmask(win, &basemask_kbd, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit txt_input.c: At top level: txt_input.c:862:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_begin_again(view) ^~~~~~~~~~~~~~~~~~ txt_input.c:877:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_end_again(view, x, y) ^~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_end_again': txt_input.c:881:5: warning: implicit declaration of function 'textsw_do_again'; did you mean 'textsw_end_again'? [-Wimplicit-function-declaration] textsw_do_again(view, x, y); ^~~~~~~~~~~~~~~ textsw_end_again txt_input.c:887:5: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] textsw_checkpoint_again(VIEW_REP_TO_ABS(view)); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo txt_input.c: At top level: txt_input.c:900:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_begin_delete(view) ^~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_begin_delete': txt_input.c:909:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(folio, TXTSW_FUNC_DELETE, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln In file included from txt_input.c:18: txt_input.c: In function 'textsw_end_delete': txt_input.c:938:22: warning: implicit declaration of function 'textsw_func_selection'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] if (TFS_IS_ERROR(textsw_func_selection(folio, &selection, 0))) ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:171:28: note: in definition of macro 'TFS_IS_ERROR' #define TFS_IS_ERROR(arg) (arg & TFS_ERROR) ^~~ txt_input.c: In function 'textsw_undo_notify': txt_input.c:1019:5: warning: implicit declaration of function 'ev_update_after_edit' [-Wimplicit-function-declaration] ev_update_after_edit(chain, ^~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_do_undo': txt_input.c:1066:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_input.c:1078:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(VIEW_REP_TO_ABS(folio->first_view)) ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_input.c:1081:6: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name) == 0) { ^~~~~~~~~~~~~~~~ textsw_find_mark txt_input.c: In function 'textsw_scroll_event': txt_input.c:1131:2: warning: implicit declaration of function 'textsw_scroll'; did you mean 'textsw_undo'? [-Wimplicit-function-declaration] textsw_scroll((Scrollbar) arg); ^~~~~~~~~~~~~ textsw_undo txt_input.c: In function 'textsw_function_key_event': txt_input.c:1203:6: warning: implicit declaration of function 'textsw_begin_find'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_find(view); ^~~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1208:6: warning: implicit declaration of function 'textsw_end_find'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] textsw_end_find(view, action, ie->ie_locx, ie->ie_locy); ^~~~~~~~~~~~~~~ textsw_end_undo txt_input.c: In function 'textsw_set_copy_or_quick_move_cursor': txt_input.c:1228:6: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] if (server_get_seln_function_pending(server)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending txt_input.c: In function 'textsw_mouse_event': txt_input.c:1280:10: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, &first, &last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~ es_get_position txt_input.c:1281:9: warning: implicit declaration of function 'ev_resolve_xy' [-Wimplicit-function-declaration] pos = ev_resolve_xy(view->e_view, event_x(ie), event_y(ie)); ^~~~~~~~~~~~~ txt_input.c:1294:7: warning: implicit declaration of function 'textsw_start_seln_tracking'; did you mean 'textsw_erase_action'? [-Wimplicit-function-declaration] textsw_start_seln_tracking(view, ie); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_erase_action txt_input.c:1330:8: warning: implicit declaration of function 'textsw_do_drag_copy_move'; did you mean 'textsw_do_save'? [-Wimplicit-function-declaration] textsw_do_drag_copy_move(view, ie, event_ctrl_is_down(ie)); ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_do_save txt_input.c:1344:27: warning: type defaults to 'int' in declaration of 'textsw_do_menu' [-Wimplicit-int] Pkg_private textsw_do_menu(); ^~~~~~~~~~~~~~ txt_input.c:1355:2: warning: implicit declaration of function 'textsw_do_remote_drag_copy_move' [-Wimplicit-function-declaration] textsw_do_remote_drag_copy_move(view, ie, (short) 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_input.c: In function 'textsw_edit_function_key_event': txt_input.c:1397:14: warning: implicit declaration of function 'textsw_end_quick_move'; did you mean 'textsw_end_function'? [-Wimplicit-function-declaration] *result |= textsw_end_quick_move(view); ^~~~~~~~~~~~~~~~~~~~~ textsw_end_function txt_input.c:1404:6: warning: implicit declaration of function 'textsw_begin_get'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_get(view); ^~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1409:17: warning: implicit declaration of function 'textsw_end_get'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] *result |= textsw_end_get(view); ^~~~~~~~~~~~~~ textsw_end_undo txt_input.c:1414:6: warning: implicit declaration of function 'textsw_begin_put'; did you mean 'textsw_begin_undo'? [-Wimplicit-function-declaration] textsw_begin_put(view, TRUE); ^~~~~~~~~~~~~~~~ textsw_begin_undo txt_input.c:1419:17: warning: implicit declaration of function 'textsw_end_put'; did you mean 'textsw_end_undo'? [-Wimplicit-function-declaration] *result |= textsw_end_put(view); ^~~~~~~~~~~~~~ textsw_end_undo txt_input.c: In function 'textsw_field_event': txt_input.c:1550:13: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, "|>", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_input.c: In function 'textsw_file_operation': txt_input.c:1641:10: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_input.c:1642:10: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c:1644:10: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_input.c:1674:10: warning: implicit declaration of function 'textsw_post_need_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_post_need_selection(abstract, ie); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_input.c: In function 'textsw_erase_action': txt_input.c:1772:9: warning: implicit declaration of function 'textsw_do_edit'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] (void) textsw_do_edit(view, edit_unit, direction); ^~~~~~~~~~~~~~ textsw_edit txt_input.c: In function 'textsw_flush_caches': txt_input.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_begin_again': txt_input.c:874:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_end_again': txt_input.c:888:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_begin_delete': txt_input.c:910:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_clear_pending_func_state': txt_input.c:702:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_set_base_mask': txt_input.c:793:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_again': txt_input.c:897:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_undo': txt_input.c:1107:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_input.c: In function 'textsw_undo_notify': txt_input.c:1023:2: warning: 'old_insert' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_notify_replaced((Textsw_opaque) folio->first_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ old_insert, old_length, ~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? start : start + delta, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? start + delta : start, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (delta > 0) ? delta : 0); ~~~~~~~~~~~~~~~~~~~~~~~~ rm -f txt_edit.o shared/txt_edit.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_edit.c -o shared/txt_edit.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_edit.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_edit.c: In function 'textsw_delete_span': txt_edit.c:233:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_edit.c:251:10: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] switch (ev_delete_span(folio->views, first, last_plus_one, ^~~~~~~~~~~~~~ textsw_delete_span txt_edit.c:256:3: warning: implicit declaration of function 'textsw_record_delete'; did you mean 'textsw_delete'? [-Wimplicit-function-declaration] textsw_record_delete(folio); ^~~~~~~~~~~~~~~~~~~~ textsw_delete txt_edit.c: In function 'textsw_do_pending_delete': txt_edit.c:281:30: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] int result = ev_get_selection(folio->views, &first, &last_plus_one, type); ^~~~~~~~~~~~~~~~ es_get_position In file included from txt_edit.c:19: txt_edit.c: In function 'textsw_insert_makes_visible': ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c:439:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_do_edit': txt_edit.c:491:6: warning: implicit declaration of function 'textsw_record_edit'; did you mean 'textsw_do_edit'? [-Wimplicit-function-declaration] textsw_record_edit(folio, unit, direction); ^~~~~~~~~~~~~~~~~~ textsw_do_edit txt_edit.c: In function 'textsw_input_before': txt_edit.c:592:2: warning: implicit declaration of function 'ev_check_insert_visibility' [-Wimplicit-function-declaration] ev_check_insert_visibility(chain); ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_input_partial': txt_edit.c:604:14: warning: implicit declaration of function 'ev_input_partial'; did you mean 'textsw_input_partial'? [-Wimplicit-function-declaration] status = ev_input_partial(FOLIO_FOR_VIEW(view)->views, buf, buf_len); ^~~~~~~~~~~~~~~~ textsw_input_partial txt_edit.c: In function 'textsw_input_after': txt_edit.c:622:13: warning: implicit declaration of function 'ev_input_after'; did you mean 'textsw_input_after'? [-Wimplicit-function-declaration] delta = ev_input_after(folio->views, old_insert_pos, old_length); ^~~~~~~~~~~~~~ textsw_input_after txt_edit.c:629:6: warning: implicit declaration of function 'textsw_record_piece_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_piece_insert(folio, pieces); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_edit.c:632:6: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] textsw_possibly_edited_now_notify(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_do_input': txt_edit.c:695:2: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(chain); ^~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c:704:2: warning: implicit declaration of function 'textsw_record_input'; did you mean 'textsw_do_input'? [-Wimplicit-function-declaration] textsw_record_input(folio, buf, buf_len); ^~~~~~~~~~~~~~~~~~~ textsw_do_input txt_edit.c: In function 'textsw_replace': txt_edit.c:859:2: warning: implicit declaration of function 'ev_scroll_if_old_insert_visible' [-Wimplicit-function-declaration] ev_scroll_if_old_insert_visible(chain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_esh_failed_msg': txt_edit.c:204:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_edit.c -o txt_edit.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_edit.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_edit.c: In function 'textsw_delete_span': txt_edit.c:233:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_edit.c:251:10: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] switch (ev_delete_span(folio->views, first, last_plus_one, ^~~~~~~~~~~~~~ textsw_delete_span txt_edit.c:256:3: warning: implicit declaration of function 'textsw_record_delete'; did you mean 'textsw_delete'? [-Wimplicit-function-declaration] textsw_record_delete(folio); ^~~~~~~~~~~~~~~~~~~~ textsw_delete txt_edit.c: In function 'textsw_do_pending_delete': txt_edit.c:281:30: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] int result = ev_get_selection(folio->views, &first, &last_plus_one, type); ^~~~~~~~~~~~~~~~ es_get_position In file included from txt_edit.c:19: txt_edit.c: In function 'textsw_insert_makes_visible': ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c:439:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_do_edit': txt_edit.c:491:6: warning: implicit declaration of function 'textsw_record_edit'; did you mean 'textsw_do_edit'? [-Wimplicit-function-declaration] textsw_record_edit(folio, unit, direction); ^~~~~~~~~~~~~~~~~~ textsw_do_edit txt_edit.c: In function 'textsw_input_before': txt_edit.c:592:2: warning: implicit declaration of function 'ev_check_insert_visibility' [-Wimplicit-function-declaration] ev_check_insert_visibility(chain); ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_input_partial': txt_edit.c:604:14: warning: implicit declaration of function 'ev_input_partial'; did you mean 'textsw_input_partial'? [-Wimplicit-function-declaration] status = ev_input_partial(FOLIO_FOR_VIEW(view)->views, buf, buf_len); ^~~~~~~~~~~~~~~~ textsw_input_partial txt_edit.c: In function 'textsw_input_after': txt_edit.c:622:13: warning: implicit declaration of function 'ev_input_after'; did you mean 'textsw_input_after'? [-Wimplicit-function-declaration] delta = ev_input_after(folio->views, old_insert_pos, old_length); ^~~~~~~~~~~~~~ textsw_input_after txt_edit.c:629:6: warning: implicit declaration of function 'textsw_record_piece_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_piece_insert(folio, pieces); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_edit.c:632:6: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] textsw_possibly_edited_now_notify(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_do_input': txt_edit.c:695:2: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(chain); ^~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c:704:2: warning: implicit declaration of function 'textsw_record_input'; did you mean 'textsw_do_input'? [-Wimplicit-function-declaration] textsw_record_input(folio, buf, buf_len); ^~~~~~~~~~~~~~~~~~~ textsw_do_input txt_edit.c: In function 'textsw_replace': txt_edit.c:859:2: warning: implicit declaration of function 'ev_scroll_if_old_insert_visible' [-Wimplicit-function-declaration] ev_scroll_if_old_insert_visible(chain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_edit.c: In function 'textsw_esh_failed_msg': txt_edit.c:204:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_menu.o shared/txt_menu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_menu.c -o shared/txt_menu.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_menu.c:122:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ txt_menu.c: In function 'textsw_new_menu': txt_menu.c:184:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:191:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:198:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:230:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:244:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:260:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:267:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:274:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:291:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:305:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:317:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:331:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:339:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:362:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:369:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:389:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:395:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] undo_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:403:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:410:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:417:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:448:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:455:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:463:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:469:33: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] break_mode_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:489:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:496:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] find_sel_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:504:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:510:40: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] select_field_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:537:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_FILE_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:546:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_VIEW_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:553:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_EDIT_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:560:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_FIND_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:567:59: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_EXTRAS_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c: In function 'textsw_do_menu': txt_menu.c:731:5: warning: implicit declaration of function 'textsw_freeze_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_freeze_caret(folio); ^~~~~~~~~~~~~~~~~~~ textsw_invert_caret txt_menu.c: In function 'textsw_done_menu': txt_menu.c:749:5: warning: implicit declaration of function 'textsw_thaw_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_thaw_caret(FOLIO_FOR_VIEW(view)); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_menu.c:750:5: warning: implicit declaration of function 'textsw_stablize'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_stablize(FOLIO_FOR_VIEW(view)); ^~~~~~~~~~~~~~~ textsw_save txt_menu.c: In function 'textsw_from_menu': txt_menu.c:757:35: warning: initialization of 'Textsw_view' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Textsw_view textsw_view = NULL; ^~~~ txt_menu.c: In function 'textsw_file_do_menu_action': txt_menu.c:805:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:782:1: note: declared here textsw_file_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:825:2: warning: implicit declaration of function 'textsw_empty_document'; did you mean 'textsw_do_menu'? [-Wimplicit-function-declaration] textsw_empty_document(abstract, ie); ^~~~~~~~~~~~~~~~~~~~~ textsw_do_menu txt_menu.c:872:10: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_menu.c:873:10: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_menu.c:875:10: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_create_view'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_view txt_menu.c:794:21: warning: variable 'locx' set but not used [-Wunused-but-set-variable] register int locx, locy; ^~~~ txt_menu.c: In function 'textsw_edit_do_menu_action': txt_menu.c:945:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:918:1: note: declared here textsw_edit_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:969:2: warning: implicit declaration of function 'textsw_again'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_again(view, locx, locy); ^~~~~~~~~~~~ textsw_save txt_menu.c:974:6: warning: implicit declaration of function 'textsw_undo'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_undo(textsw); ^~~~~~~~~~~ textsw_set txt_menu.c:1027:3: warning: implicit declaration of function 'textsw_reset_2'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] textsw_reset_2(abstract, locx, locy, TRUE, TRUE); ^~~~~~~~~~~~~~ textsw_reset txt_menu.c:1034:13: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, ^~~~~~~~~~~~~~~~ es_get_position txt_menu.c:1037:3: warning: implicit declaration of function 'textsw_function_delete'; did you mean 'textsw_do_pending_delete'? [-Wimplicit-function-declaration] textsw_function_delete(view); ^~~~~~~~~~~~~~~~~~~~~~ textsw_do_pending_delete txt_menu.c:1054:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1073:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1082:3: warning: implicit declaration of function 'textsw_put'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_put(view); ^~~~~~~~~~ textsw_set txt_menu.c:1098:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1118:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1126:6: warning: implicit declaration of function 'textsw_function_get'; did you mean 'textsw_menu_init'? [-Wimplicit-function-declaration] textsw_function_get(view); ^~~~~~~~~~~~~~~~~~~ textsw_menu_init txt_menu.c: In function 'textsw_view_do_menu_action': txt_menu.c:1152:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:1135:1: note: declared here textsw_view_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1246:14: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] count = ev_newlines_in_esh(textsw->views->esh, 0, first); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_menu.c: In function 'textsw_find_do_menu_action': txt_menu.c:1321:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:1293:1: note: declared here textsw_find_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1356:13: warning: implicit declaration of function 'textsw_match_field_and_normalize'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] (void) textsw_match_field_and_normalize(view, &first, &last_plus_one, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize txt_menu.c:1365:9: warning: implicit declaration of function 'textsw_match_selection_and_normalize' [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1139:26: note: previous declaration of 'textsw_match_selection_and_normalize' was here Pkg_private int textsw_match_selection_and_normalize(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c: In function 'textsw_do_save': txt_menu.c:1556:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(FOLIO_FOR_VIEW(view), &name) == 0) { ^~~~~~~~~~~~~~~~ textsw_find_mark gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_menu.c -o txt_menu.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_menu.c:122:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ txt_menu.c: In function 'textsw_new_menu': txt_menu.c:184:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:191:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:198:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:230:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:244:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:260:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:267:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:274:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:291:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:305:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:317:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:331:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:339:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:362:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:369:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:389:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:395:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] undo_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:403:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:410:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:417:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:448:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:455:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:463:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:469:33: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] break_mode_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:489:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:496:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] find_sel_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:504:12: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:510:40: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] select_field_cmds_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:537:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_FILE_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:546:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_VIEW_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:553:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_EDIT_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:560:57: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_FIND_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c:567:59: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] menu_items[(int) TEXTSW_MENU_EXTRAS_CMDS] = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_menu.c:17: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_menu.c: In function 'textsw_do_menu': txt_menu.c:731:5: warning: implicit declaration of function 'textsw_freeze_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_freeze_caret(folio); ^~~~~~~~~~~~~~~~~~~ textsw_invert_caret txt_menu.c: In function 'textsw_done_menu': txt_menu.c:749:5: warning: implicit declaration of function 'textsw_thaw_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_thaw_caret(FOLIO_FOR_VIEW(view)); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_menu.c:750:5: warning: implicit declaration of function 'textsw_stablize'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_stablize(FOLIO_FOR_VIEW(view)); ^~~~~~~~~~~~~~~ textsw_save txt_menu.c: In function 'textsw_from_menu': txt_menu.c:757:35: warning: initialization of 'Textsw_view' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Textsw_view textsw_view = NULL; ^~~~ txt_menu.c: In function 'textsw_file_do_menu_action': txt_menu.c:805:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:782:1: note: declared here textsw_file_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:825:2: warning: implicit declaration of function 'textsw_empty_document'; did you mean 'textsw_do_menu'? [-Wimplicit-function-declaration] textsw_empty_document(abstract, ie); ^~~~~~~~~~~~~~~~~~~~~ textsw_do_menu txt_menu.c:872:10: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_menu.c:873:10: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_menu.c:875:10: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_create_view'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_LOAD); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_view txt_menu.c:794:21: warning: variable 'locx' set but not used [-Wunused-but-set-variable] register int locx, locy; ^~~~ txt_menu.c: In function 'textsw_edit_do_menu_action': txt_menu.c:945:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:918:1: note: declared here textsw_edit_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:969:2: warning: implicit declaration of function 'textsw_again'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_again(view, locx, locy); ^~~~~~~~~~~~ textsw_save txt_menu.c:974:6: warning: implicit declaration of function 'textsw_undo'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_undo(textsw); ^~~~~~~~~~~ textsw_set txt_menu.c:1027:3: warning: implicit declaration of function 'textsw_reset_2'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] textsw_reset_2(abstract, locx, locy, TRUE, TRUE); ^~~~~~~~~~~~~~ textsw_reset txt_menu.c:1034:13: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, ^~~~~~~~~~~~~~~~ es_get_position txt_menu.c:1037:3: warning: implicit declaration of function 'textsw_function_delete'; did you mean 'textsw_do_pending_delete'? [-Wimplicit-function-declaration] textsw_function_delete(view); ^~~~~~~~~~~~~~~~~~~~~~ textsw_do_pending_delete txt_menu.c:1054:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1073:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1082:3: warning: implicit declaration of function 'textsw_put'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_put(view); ^~~~~~~~~~ textsw_set txt_menu.c:1098:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1118:34: warning: pointer/integer type mismatch in conditional expression menu_pinned ? menu_cmd_frame : NULL, ^ txt_menu.c:1126:6: warning: implicit declaration of function 'textsw_function_get'; did you mean 'textsw_menu_init'? [-Wimplicit-function-declaration] textsw_function_get(view); ^~~~~~~~~~~~~~~~~~~ textsw_menu_init txt_menu.c: In function 'textsw_view_do_menu_action': txt_menu.c:1152:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:1135:1: note: declared here textsw_view_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1246:14: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] count = ev_newlines_in_esh(textsw->views->esh, 0, first); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_menu.c: In function 'textsw_find_do_menu_action': txt_menu.c:1321:13: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_menu.c:1293:1: note: declared here textsw_find_do_menu_action(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1356:13: warning: implicit declaration of function 'textsw_match_field_and_normalize'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] (void) textsw_match_field_and_normalize(view, &first, &last_plus_one, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize txt_menu.c:1365:9: warning: implicit declaration of function 'textsw_match_selection_and_normalize' [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c:1139:26: note: previous declaration of 'textsw_match_selection_and_normalize' was here Pkg_private int textsw_match_selection_and_normalize(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_menu.c: In function 'textsw_do_save': txt_menu.c:1556:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(FOLIO_FOR_VIEW(view), &name) == 0) { ^~~~~~~~~~~~~~~~ textsw_find_mark rm -f txt_disp.o shared/txt_disp.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_disp.c -o shared/txt_disp.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_disp.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_disp.c: In function 'textsw_display': txt_disp.c:41:5: warning: implicit declaration of function 'textsw_hide_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_hide_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_disp.c:47:5: warning: implicit declaration of function 'textsw_show_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_show_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_disp.c: In function 'textsw_display_view': txt_disp.c:66:5: warning: implicit declaration of function 'ev_display_in_rect'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] ev_display_in_rect(view->e_view, rect); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_disp.c: In function 'textsw_resize': txt_disp.c:124:12: warning: implicit declaration of function 'win_getsize' [-Wimplicit-function-declaration] (void) win_getsize(WIN_FD_FOR_VIEW(view), &view->rect); ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_disp.c -o txt_disp.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_disp.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_disp.c: In function 'textsw_display': txt_disp.c:41:5: warning: implicit declaration of function 'textsw_hide_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_hide_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_disp.c:47:5: warning: implicit declaration of function 'textsw_show_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_show_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_disp.c: In function 'textsw_display_view': txt_disp.c:66:5: warning: implicit declaration of function 'ev_display_in_rect'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] ev_display_in_rect(view->e_view, rect); ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_disp.c: In function 'textsw_resize': txt_disp.c:124:12: warning: implicit declaration of function 'win_getsize' [-Wimplicit-function-declaration] (void) win_getsize(WIN_FD_FOR_VIEW(view), &view->rect); ^~~~~~~~~~~ rm -f txt_event.o shared/txt_event.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_event.c -o shared/txt_event.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_event.c: In function 'textsw_view_abs_to_rep': txt_event.c:63:18: warning: comparison between pointer and integer if( abstract == NULL ) ^~ txt_event.c: In function 'textsw_event': txt_event.c:117:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(textsw, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ txt_event.c:136:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(textsw, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/scrollbar.h:29, from ../../../build/include/xview_private/txt_impl.h:39, from txt_event.c:19: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ txt_event.c:163:6: note: in expansion of macro 'event_init' event_init(&sb_event); ^~~~~~~~~~ txt_event.c:185:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(view_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_event.c:186:2: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_has_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(view_public, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_has_focus txt_event.c:201:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (frame = xv_get(FOLIO_REP_TO_ABS(folio), WIN_FRAME)) ^~~~~ txt_event.c:209:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (frame = xv_get(FOLIO_REP_TO_ABS(folio), WIN_FRAME)) ^~~~~ txt_event.c:222:2: warning: implicit declaration of function 'ev_paint_view'; did you mean 'ev_blink_caret'? [-Wimplicit-function-declaration] ev_paint_view(view->e_view, view_public, event_xevent(event)); ^~~~~~~~~~~~~ ev_blink_caret txt_event.c:234:23: warning: implicit declaration of function 'textsw_process_event'; did you mean 'textsw_event'? [-Wimplicit-function-declaration] process_status = textsw_process_event(view_public, event, arg); ^~~~~~~~~~~~~~~~~~~~ textsw_event txt_event.c: In function 'textsw_stablize': txt_event.c:266:2: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_show_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(folio->first_view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_show_caret txt_event.c:273:5: warning: implicit declaration of function 'textsw_real_update_scrollbars'; did you mean 'textsw_update_scrollbars'? [-Wimplicit-function-declaration] textsw_real_update_scrollbars(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_update_scrollbars txt_event.c: In function 'textsw_mouseless_misc_event': txt_event.c:345:6: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(view->e_view, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger txt_event.c:358:3: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_hide_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_hide_caret txt_event.c:365:6: warning: implicit declaration of function 'textsw_possibly_normalize'; did you mean 'textsw_folio_for_view'? [-Wimplicit-function-declaration] textsw_possibly_normalize(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_folio_for_view txt_event.c: In function 'textsw_is_typing_pending': txt_event.c:584:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(public_handle, view_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_event.c -o txt_event.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_event.c: In function 'textsw_view_abs_to_rep': txt_event.c:63:18: warning: comparison between pointer and integer if( abstract == NULL ) ^~ txt_event.c: In function 'textsw_event': txt_event.c:117:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(textsw, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ txt_event.c:136:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] nth_view = xv_get(textsw, OPENWIN_NTH_VIEW, view_nbr); ^~~~~~~~ In file included from ../../../build/include/xview/window.h:22, from ../../../build/include/xview/scrollbar.h:29, from ../../../build/include/xview_private/txt_impl.h:39, from txt_event.c:19: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ txt_event.c:163:6: note: in expansion of macro 'event_init' event_init(&sb_event); ^~~~~~~~~~ txt_event.c:185:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(view_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_event.c:186:2: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_has_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(view_public, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_has_focus txt_event.c:201:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (frame = xv_get(FOLIO_REP_TO_ABS(folio), WIN_FRAME)) ^~~~~ txt_event.c:209:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (frame = xv_get(FOLIO_REP_TO_ABS(folio), WIN_FRAME)) ^~~~~ txt_event.c:222:2: warning: implicit declaration of function 'ev_paint_view'; did you mean 'ev_blink_caret'? [-Wimplicit-function-declaration] ev_paint_view(view->e_view, view_public, event_xevent(event)); ^~~~~~~~~~~~~ ev_blink_caret txt_event.c:234:23: warning: implicit declaration of function 'textsw_process_event'; did you mean 'textsw_event'? [-Wimplicit-function-declaration] process_status = textsw_process_event(view_public, event, arg); ^~~~~~~~~~~~~~~~~~~~ textsw_event txt_event.c: In function 'textsw_stablize': txt_event.c:266:2: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_show_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(folio->first_view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_show_caret txt_event.c:273:5: warning: implicit declaration of function 'textsw_real_update_scrollbars'; did you mean 'textsw_update_scrollbars'? [-Wimplicit-function-declaration] textsw_real_update_scrollbars(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_update_scrollbars txt_event.c: In function 'textsw_mouseless_misc_event': txt_event.c:345:6: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(view->e_view, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger txt_event.c:358:3: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_hide_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_hide_caret txt_event.c:365:6: warning: implicit declaration of function 'textsw_possibly_normalize'; did you mean 'textsw_folio_for_view'? [-Wimplicit-function-declaration] textsw_possibly_normalize(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_folio_for_view txt_event.c: In function 'textsw_is_typing_pending': txt_event.c:584:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(public_handle, view_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_event.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f txt_find.o shared/txt_find.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_find.c -o shared/txt_find.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_find.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_find.c: In function 'textsw_begin_find': txt_find.c:28:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(FOLIO_FOR_VIEW(view), ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_find.c: In function 'textsw_end_find': txt_find.c:55:13: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_find.c:58:13: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_find.c: In function 'textsw_find_selection_and_normalize': txt_find.c:89:19: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] selection.type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize In file included from txt_find.c:18: txt_find.c:104:29: warning: implicit declaration of function 'textsw_func_selection'; did you mean 'textsw_end_function'? [-Wimplicit-function-declaration] } else if (TFS_IS_ERROR(textsw_func_selection(textsw, &selection, ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:171:28: note: in definition of macro 'TFS_IS_ERROR' #define TFS_IS_ERROR(arg) (arg & TFS_ERROR) ^~~ txt_find.c:126:9: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, &dummy_first, ^~~~~~~~~~~~~~~~ es_get_position txt_find.c:139:5: warning: implicit declaration of function 'textsw_find_pattern_and_normalize'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] textsw_find_pattern_and_normalize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize txt_find.c: In function 'textsw_find_pattern': txt_find.c:159:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:162:2: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(esh, buf, buf_len, start_at, 1, flags, ^~~~~~~~~~~~~~ ev_find_finger txt_find.c:165:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:170:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:175:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c: In function 'textsw_find_pattern_and_normalize': txt_find.c:206:2: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_find.c:210:2: warning: implicit declaration of function 'textsw_record_find'; did you mean 'textsw_end_find'? [-Wimplicit-function-declaration] textsw_record_find(folio, buf, (int) buf_len, (int) flags); ^~~~~~~~~~~~~~~~~~ textsw_end_find txt_find.c: In function 'textsw_begin_find': txt_find.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_find.c: In function 'textsw_find_pattern_and_normalize': txt_find.c:212:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_find.c: In function 'textsw_function_find': txt_find.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_find.c -o txt_find.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_find.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_find.c: In function 'textsw_begin_find': txt_find.c:28:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(FOLIO_FOR_VIEW(view), ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_find.c: In function 'textsw_end_find': txt_find.c:55:13: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_find.c:58:13: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_find.c: In function 'textsw_find_selection_and_normalize': txt_find.c:89:19: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] selection.type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize In file included from txt_find.c:18: txt_find.c:104:29: warning: implicit declaration of function 'textsw_func_selection'; did you mean 'textsw_end_function'? [-Wimplicit-function-declaration] } else if (TFS_IS_ERROR(textsw_func_selection(textsw, &selection, ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:171:28: note: in definition of macro 'TFS_IS_ERROR' #define TFS_IS_ERROR(arg) (arg & TFS_ERROR) ^~~ txt_find.c:126:9: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, &dummy_first, ^~~~~~~~~~~~~~~~ es_get_position txt_find.c:139:5: warning: implicit declaration of function 'textsw_find_pattern_and_normalize'; did you mean 'textsw_find_selection_and_normalize'? [-Wimplicit-function-declaration] textsw_find_pattern_and_normalize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_selection_and_normalize txt_find.c: In function 'textsw_find_pattern': txt_find.c:159:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:162:2: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(esh, buf, buf_len, start_at, 1, flags, ^~~~~~~~~~~~~~ ev_find_finger txt_find.c:165:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:170:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c:175:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_find.c:146:1: note: declared here textsw_find_pattern(textsw, first, last_plus_one, buf, buf_len, flags) ^~~~~~~~~~~~~~~~~~~ txt_find.c: In function 'textsw_find_pattern_and_normalize': txt_find.c:206:2: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_find.c:210:2: warning: implicit declaration of function 'textsw_record_find'; did you mean 'textsw_end_find'? [-Wimplicit-function-declaration] textsw_record_find(folio, buf, (int) buf_len, (int) flags); ^~~~~~~~~~~~~~~~~~ textsw_end_find txt_find.c: In function 'textsw_begin_find': txt_find.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_find.c: In function 'textsw_find_pattern_and_normalize': txt_find.c:212:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_find.c: In function 'textsw_function_find': txt_find.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_file.o shared/txt_file.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_file.c -o shared/txt_file.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_file.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_file.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_make_temp_name(in_here) ^~~~~~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_make_temp_name': txt_file.c:93:6: warning: implicit declaration of function 'xv_getlogindir'; did you mean 'getlogin_r'? [-Wimplicit-function-declaration] xv_getlogindir(), getpid(), tmtn_counter++); ^~~~~~~~~~~~~~ getlogin_r txt_file.c:92:31: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] (void) SPRINTF(in_here, "%s/.Text%d.%d", ~^ %d xv_getlogindir(), getpid(), tmtn_counter++); ~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_load_file_internal': txt_file.c:204:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(abstract, ES_INFINITY, ES_INFINITY, ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_file.c: In function 'textsw_destroy_esh': txt_file.c:246:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (original_esh = (Es_handle) es_get(esh, ES_PS_ORIGINAL)) { ^~~~~~~~~~~~ txt_file.c: In function 'textsw_load_selection': txt_file.c:334:9: warning: implicit declaration of function 'textsw_get_selection_as_filename'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] if (textsw_get_selection_as_filename( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_file.c:341:11: warning: implicit declaration of function 'textsw_load_file'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] result = textsw_load_file(VIEW_REP_TO_ABS(folio->first_view), ^~~~~~~~~~~~~~~~ textsw_store_file txt_file.c: In function 'textsw_format_load_error': txt_file.c:434:2: warning: implicit declaration of function 'es_file_append_error' [-Wimplicit-function-declaration] es_file_append_error(msg, XV_MSG("file"), status); ^~~~~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_load_file': txt_file.c:478:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_process_save_error': txt_file.c:661:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_save_internal': txt_file.c:766:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name) != 0) ^~~~~~~~~~~~~~~~ textsw_find_mark txt_file.c: In function 'textsw_get_from_fd': txt_file.c:925:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_PD_SEL); /* Changes length! */ ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_file.c:960:11: warning: implicit declaration of function 'ev_input_partial'; did you mean 'event_action'? [-Wimplicit-function-declaration] status = ev_input_partial(FOLIO_FOR_VIEW(view)->views, buf, count); ^~~~~~~~~~~~~~~~ event_action txt_file.c:965:10: warning: implicit declaration of function 'textsw_esh_failed_msg'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_esh_failed_msg(view, ^~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_file.c: In function 'textsw_cd': txt_file.c:992:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_file.c:982:1: note: declared here textsw_cd(textsw, locx, locy) ^~~~~~~~~ txt_file.c: In function 'textsw_get_from_file': txt_file.c:1017:6: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, buf, -1, -1) == 0) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_file.c: In function 'textsw_file_stuff': txt_file.c:1090:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_file.c:1045:1: note: declared here textsw_file_stuff(view, locx, locy) ^~~~~~~~~~~~~~~~~ txt_file.c:1112:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:1057:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_file_stuff_from_str': txt_file.c:1214:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:1163:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_store_init': txt_file.c:1277:10: warning: implicit declaration of function 'es_file_copy_status'; did you mean 'xv_destroy_status'? [-Wimplicit-function-declaration] if (es_file_copy_status(original, filename) != 0) ^~~~~~~~~~~~~~~~~~~ xv_destroy_status txt_file.c: In function 'textsw_reset_2': txt_file.c:1572:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int wrap_around_size = (int) es_get( ^ txt_file.c:1592:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(abstract) && ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_file.c:1662:5: warning: implicit declaration of function 'textsw_init_again'; did you mean 'textsw_init_undo'? [-Wimplicit-function-declaration] textsw_init_again(folio, 0); ^~~~~~~~~~~~~~~~~ textsw_init_undo txt_file.c:1671:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (is_readonly) /* jcb -- reset if readonly */ ^ txt_file.c: In function 'textsw_expand_filename': txt_file.c:1774:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c:1773:21: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg; ^~~ txt_file.c: In function 'textsw_get_selection_as_filename': txt_file.c:1995:10: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_get_selection_as_filename'? [-Wimplicit-function-declaration] if (!textsw_get_selection_as_string(textsw, EV_SEL_PRIMARY, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_selection_as_filename txt_file.c:1993:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c:1992:21: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg; ^~~ txt_file.c: In function 'textsw_has_been_modified': txt_file.c:2090:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int) es_get(folio->views->esh, ES_HAS_EDITS)); ^ txt_file.c: In function 'textsw_file_name': txt_file.c:2111:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (name[0] == '\0') ^~ txt_file.c:2111:9: note: did you mean to dereference the pointer? if (name[0] == '\0') ^ txt_file.c: In function 'textsw_change_directory': txt_file.c:2292:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:2247:21: warning: unused variable 'notice_result' [-Wunused-variable] int notice_result; ^~~~~~~~~~~~~ txt_file.c: In function 'textsw_change_directory_quietly': txt_file.c:2397:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c: In function 'textsw_post_need_selection': txt_file.c:2550:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_handle_esc_accelerators': txt_file.c:2680:13: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] (void) ev_span(chain, insert_pos, ^~~~~~~ ev_set txt_file.c:2712:13: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_FILE_STUFF); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_file.c:2713:13: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_post_need_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_post_need_selection txt_file.c:2716:13: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_create_mem_ps'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_FILE_STUFF); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_mem_ps txt_file.c: In function 'textsw_make_temp_name': txt_file.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_format_load_error': txt_file.c:440:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_format_load_error_quietly': txt_file.c:466:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_possibly_edited_now_notify': txt_file.c:2081:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_file_stuff_from_str': txt_file.c:1252:12: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] return (Textsw_status) status; ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../../../build/include/xview/base.h:11, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_file.c:17: In function 'strncat', inlined from 'textsw_post_error' at txt_file.c:2173:12: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1255 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_file.c -o txt_file.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_file.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_file.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_make_temp_name(in_here) ^~~~~~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_make_temp_name': txt_file.c:93:6: warning: implicit declaration of function 'xv_getlogindir'; did you mean 'getlogin_r'? [-Wimplicit-function-declaration] xv_getlogindir(), getpid(), tmtn_counter++); ^~~~~~~~~~~~~~ getlogin_r txt_file.c:92:31: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] (void) SPRINTF(in_here, "%s/.Text%d.%d", ~^ %d xv_getlogindir(), getpid(), tmtn_counter++); ~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_load_file_internal': txt_file.c:204:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(abstract, ES_INFINITY, ES_INFINITY, ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_file.c: In function 'textsw_destroy_esh': txt_file.c:246:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (original_esh = (Es_handle) es_get(esh, ES_PS_ORIGINAL)) { ^~~~~~~~~~~~ txt_file.c: In function 'textsw_load_selection': txt_file.c:334:9: warning: implicit declaration of function 'textsw_get_selection_as_filename'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] if (textsw_get_selection_as_filename( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_file.c:341:11: warning: implicit declaration of function 'textsw_load_file'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] result = textsw_load_file(VIEW_REP_TO_ABS(folio->first_view), ^~~~~~~~~~~~~~~~ textsw_store_file txt_file.c: In function 'textsw_format_load_error': txt_file.c:434:2: warning: implicit declaration of function 'es_file_append_error' [-Wimplicit-function-declaration] es_file_append_error(msg, XV_MSG("file"), status); ^~~~~~~~~~~~~~~~~~~~ txt_file.c: In function 'textsw_load_file': txt_file.c:478:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_process_save_error': txt_file.c:661:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_save_internal': txt_file.c:766:9: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name) != 0) ^~~~~~~~~~~~~~~~ textsw_find_mark txt_file.c: In function 'textsw_get_from_fd': txt_file.c:925:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_PD_SEL); /* Changes length! */ ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_file.c:960:11: warning: implicit declaration of function 'ev_input_partial'; did you mean 'event_action'? [-Wimplicit-function-declaration] status = ev_input_partial(FOLIO_FOR_VIEW(view)->views, buf, count); ^~~~~~~~~~~~~~~~ event_action txt_file.c:965:10: warning: implicit declaration of function 'textsw_esh_failed_msg'; did you mean 'textsw_read_only_msg'? [-Wimplicit-function-declaration] (void) textsw_esh_failed_msg(view, ^~~~~~~~~~~~~~~~~~~~~ textsw_read_only_msg txt_file.c: In function 'textsw_cd': txt_file.c:992:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_file.c:982:1: note: declared here textsw_cd(textsw, locx, locy) ^~~~~~~~~ txt_file.c: In function 'textsw_get_from_file': txt_file.c:1017:6: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, buf, -1, -1) == 0) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_file.c: In function 'textsw_file_stuff': txt_file.c:1090:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_file.c:1045:1: note: declared here textsw_file_stuff(view, locx, locy) ^~~~~~~~~~~~~~~~~ txt_file.c:1112:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:1057:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_file_stuff_from_str': txt_file.c:1214:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:1163:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_store_init': txt_file.c:1277:10: warning: implicit declaration of function 'es_file_copy_status'; did you mean 'xv_destroy_status'? [-Wimplicit-function-declaration] if (es_file_copy_status(original, filename) != 0) ^~~~~~~~~~~~~~~~~~~ xv_destroy_status txt_file.c: In function 'textsw_reset_2': txt_file.c:1572:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int wrap_around_size = (int) es_get( ^ txt_file.c:1592:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(abstract) && ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_file.c:1662:5: warning: implicit declaration of function 'textsw_init_again'; did you mean 'textsw_init_undo'? [-Wimplicit-function-declaration] textsw_init_again(folio, 0); ^~~~~~~~~~~~~~~~~ textsw_init_undo txt_file.c:1671:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (is_readonly) /* jcb -- reset if readonly */ ^ txt_file.c: In function 'textsw_expand_filename': txt_file.c:1774:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c:1773:21: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg; ^~~ txt_file.c: In function 'textsw_get_selection_as_filename': txt_file.c:1995:10: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_get_selection_as_filename'? [-Wimplicit-function-declaration] if (!textsw_get_selection_as_string(textsw, EV_SEL_PRIMARY, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_selection_as_filename txt_file.c:1993:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c:1992:21: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg; ^~~ txt_file.c: In function 'textsw_has_been_modified': txt_file.c:2090:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int) es_get(folio->views->esh, ES_HAS_EDITS)); ^ txt_file.c: In function 'textsw_file_name': txt_file.c:2111:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (name[0] == '\0') ^~ txt_file.c:2111:9: note: did you mean to dereference the pointer? if (name[0] == '\0') ^ txt_file.c: In function 'textsw_change_directory': txt_file.c:2292:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c:2247:21: warning: unused variable 'notice_result' [-Wunused-variable] int notice_result; ^~~~~~~~~~~~~ txt_file.c: In function 'textsw_change_directory_quietly': txt_file.c:2397:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sys_msg = (errno > 0 && errno < sys_nerr) ? sys_errlist[errno] : NULL; ^ txt_file.c: In function 'textsw_post_need_selection': txt_file.c:2550:21: warning: unused variable 'result' [-Wunused-variable] int result; ^~~~~~ txt_file.c: In function 'textsw_handle_esc_accelerators': txt_file.c:2680:13: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] (void) ev_span(chain, insert_pos, ^~~~~~~ ev_set txt_file.c:2712:13: warning: implicit declaration of function 'textsw_set_dir_str'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_dir_str((int) TEXTSW_MENU_FILE_STUFF); ^~~~~~~~~~~~~~~~~~ textsw_set_insert txt_file.c:2713:13: warning: implicit declaration of function 'textsw_get_and_set_selection'; did you mean 'textsw_post_need_selection'? [-Wimplicit-function-declaration] (void) textsw_get_and_set_selection(popup, view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_post_need_selection txt_file.c:2716:13: warning: implicit declaration of function 'textsw_create_popup_frame'; did you mean 'textsw_create_mem_ps'? [-Wimplicit-function-declaration] (void) textsw_create_popup_frame(view, (int) TEXTSW_MENU_FILE_STUFF); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_mem_ps txt_file.c: In function 'textsw_make_temp_name': txt_file.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_format_load_error': txt_file.c:440:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_format_load_error_quietly': txt_file.c:466:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_possibly_edited_now_notify': txt_file.c:2081:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_file.c: In function 'textsw_file_stuff_from_str': txt_file.c:1252:12: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized] return (Textsw_status) status; ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:508, from ../../../build/include/xview/base.h:11, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_file.c:17: In function 'strncat', inlined from 'textsw_post_error' at txt_file.c:2173:12: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1255 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f txt_sel.o shared/txt_sel.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_sel.c -o shared/txt_sel.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_sel.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_sel.c: In function 'textsw_normalize_internal': txt_sel.c:146:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ txt_sel.c:149:10: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view->e_view, first, <_index, &rect)) { ^~~~~~~~~~~~~ txt_sel.c:169:6: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(view->folio->views->esh, newline_str, 1, ^~~~~~~~~~~~~~ ev_find_finger txt_sel.c:178:2: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_line_start'? [-Wimplicit-function-declaration] ev_set_start(view->e_view, line_start); ^~~~~~~~~~~~ ev_line_start txt_sel.c: In function 'textsw_checkpoint_undo': txt_sel.c:245:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int) undo_mark) < TEXTSW_INFINITY - 1) { ^ txt_sel.c:251:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int) undo_mark) != TEXTSW_INFINITY)) { ^ txt_sel.c: In function 'textsw_checkpoint_again': txt_sel.c:281:2: warning: implicit declaration of function 'textsw_free_again'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] textsw_free_again(folio, ^~~~~~~~~~~~~~~~~ textsw_delete_span txt_sel.c: In function 'textsw_set_selection': txt_sel.c:309:2: warning: implicit declaration of function 'ev_clear_selection'; did you mean 'ev_set_selection'? [-Wimplicit-function-declaration] ev_clear_selection(folio->views, type); ^~~~~~~~~~~~~~~~~~ ev_set_selection txt_sel.c:314:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_len = (int)es_get(folio->views->esh,ES_PS_SCRATCH_MAX_LEN); ^ txt_sel.c:316:6: warning: variable 'next' set but not used [-Wunused-but-set-variable] int next,result; ^~~~ txt_sel.c:301:21: warning: unused variable 'first_valid' [-Wunused-variable] Es_index first_valid,max_len; ^~~~~~~~~~~ txt_sel.c: In function 'textsw_mouseless_select_event': txt_sel.c:519:11: warning: implicit declaration of function 'ev_get_selection'; did you mean 'textsw_set_selection'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, ^~~~~~~~~~~~~~~~ textsw_set_selection txt_sel.c:525:5: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_sel.c:419:7: warning: unused variable 'char_count' [-Wunused-variable] int char_count = 1; ^~~~~~~~~~ txt_sel.c:417:9: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg = NULL; ^~~ txt_sel.c: In function 'update_selection': txt_sel.c:603:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_sel.c:592:1: note: declared here update_selection(view, ie) ^~~~~~~~~~~~~~~~ txt_sel.c:620:6: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(folio->views, position, &first, &last_plus_one, ^~~~~~~ ev_set txt_sel.c: At top level: txt_sel.c:803:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_start_seln_tracking(view, ie) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_start_seln_tracking': txt_sel.c:809:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_sel.c: In function 'textsw_do_balance_beam': txt_sel.c:948:7: warning: implicit declaration of function 'ev_considered_for_line' [-Wimplicit-function-declaration] if (ev_considered_for_line(e_view, lt_index) >= ^~~~~~~~~~~~~~~~~~~~~~ txt_sel.c:949:7: warning: implicit declaration of function 'ev_index_for_line' [-Wimplicit-function-declaration] ev_index_for_line(e_view, lt_index + 1)) ^~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_get_selection_as_int': txt_sel.c:1111:14: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_get_selection_as_int'? [-Wimplicit-function-declaration] result = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_selection_as_int txt_sel.c: In function 'textsw_get_selection_as_string': txt_sel.c:1123:1: warning: type of 'buf_max_len' defaults to 'int' [-Wimplicit-int] textsw_get_selection_as_string(folio, type, buf, buf_max_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_normalize_internal': txt_sel.c:205:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_sel.c: In function 'textsw_start_seln_tracking': txt_sel.c:878:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_sel.c -o txt_sel.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_sel.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_sel.c: In function 'textsw_normalize_internal': txt_sel.c:146:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] newline_str[1] = NULL; ^ txt_sel.c:149:10: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view->e_view, first, <_index, &rect)) { ^~~~~~~~~~~~~ txt_sel.c:169:6: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(view->folio->views->esh, newline_str, 1, ^~~~~~~~~~~~~~ ev_find_finger txt_sel.c:178:2: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_line_start'? [-Wimplicit-function-declaration] ev_set_start(view->e_view, line_start); ^~~~~~~~~~~~ ev_line_start txt_sel.c: In function 'textsw_checkpoint_undo': txt_sel.c:245:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (((int) undo_mark) < TEXTSW_INFINITY - 1) { ^ txt_sel.c:251:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int) undo_mark) != TEXTSW_INFINITY)) { ^ txt_sel.c: In function 'textsw_checkpoint_again': txt_sel.c:281:2: warning: implicit declaration of function 'textsw_free_again'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] textsw_free_again(folio, ^~~~~~~~~~~~~~~~~ textsw_delete_span txt_sel.c: In function 'textsw_set_selection': txt_sel.c:309:2: warning: implicit declaration of function 'ev_clear_selection'; did you mean 'ev_set_selection'? [-Wimplicit-function-declaration] ev_clear_selection(folio->views, type); ^~~~~~~~~~~~~~~~~~ ev_set_selection txt_sel.c:314:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_len = (int)es_get(folio->views->esh,ES_PS_SCRATCH_MAX_LEN); ^ txt_sel.c:316:6: warning: variable 'next' set but not used [-Wunused-but-set-variable] int next,result; ^~~~ txt_sel.c:301:21: warning: unused variable 'first_valid' [-Wunused-variable] Es_index first_valid,max_len; ^~~~~~~~~~~ txt_sel.c: In function 'textsw_mouseless_select_event': txt_sel.c:519:11: warning: implicit declaration of function 'ev_get_selection'; did you mean 'textsw_set_selection'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, ^~~~~~~~~~~~~~~~ textsw_set_selection txt_sel.c:525:5: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_sel.c:419:7: warning: unused variable 'char_count' [-Wunused-variable] int char_count = 1; ^~~~~~~~~~ txt_sel.c:417:9: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg = NULL; ^~~ txt_sel.c: In function 'update_selection': txt_sel.c:603:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_sel.c:592:1: note: declared here update_selection(view, ie) ^~~~~~~~~~~~~~~~ txt_sel.c:620:6: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(folio->views, position, &first, &last_plus_one, ^~~~~~~ ev_set txt_sel.c: At top level: txt_sel.c:803:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_start_seln_tracking(view, ie) ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_start_seln_tracking': txt_sel.c:809:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_sel.c: In function 'textsw_do_balance_beam': txt_sel.c:948:7: warning: implicit declaration of function 'ev_considered_for_line' [-Wimplicit-function-declaration] if (ev_considered_for_line(e_view, lt_index) >= ^~~~~~~~~~~~~~~~~~~~~~ txt_sel.c:949:7: warning: implicit declaration of function 'ev_index_for_line' [-Wimplicit-function-declaration] ev_index_for_line(e_view, lt_index + 1)) ^~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_get_selection_as_int': txt_sel.c:1111:14: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_get_selection_as_int'? [-Wimplicit-function-declaration] result = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_selection_as_int txt_sel.c: In function 'textsw_get_selection_as_string': txt_sel.c:1123:1: warning: type of 'buf_max_len' defaults to 'int' [-Wimplicit-int] textsw_get_selection_as_string(folio, type, buf, buf_max_len) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_sel.c: In function 'textsw_normalize_internal': txt_sel.c:205:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_sel.c: In function 'textsw_start_seln_tracking': txt_sel.c:878:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_selsvc.o shared/txt_selsvc.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_selsvc.c -o shared/txt_selsvc.o In file included from /usr/include/errno.h:25, from txt_selsvc.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_selsvc.c: In function 'textsw_clear_secondary_selection': txt_selsvc.c:64:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(textsw->first_view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_selsvc.c: In function 'textsw_should_ask_seln_svc': txt_selsvc.c:203:10: warning: implicit declaration of function 'textsw_sync_with_seln_svc'; did you mean 'textsw_should_ask_seln_svc'? [-Wimplicit-function-declaration] return (textsw_sync_with_seln_svc(textsw)); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_should_ask_seln_svc txt_selsvc.c: In function 'textsw_determine_selection_type': txt_selsvc.c:306:7: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, ^~~~~~~~~~~~~~~~ ev_add_finger txt_selsvc.c: In function 'textsw_give_shelf_to_svc': txt_selsvc.c:411:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(shelf_name); ^~~~~~ unix txt_selsvc.c: In function 'textsw_sync_with_seln_svc': txt_selsvc.c:440:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = textsw_should_ask_seln_svc(folio)) { ^~~~~~ txt_selsvc.c: In function 'textsw_abort': txt_selsvc.c:606:2: warning: implicit declaration of function 'textsw_clear_move'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_clear_move(VIEW_FROM_FOLIO_OR_VIEW(textsw)); ^~~~~~~~~~~~~~~~~ textsw_save txt_selsvc.c:608:2: warning: implicit declaration of function 'textsw_clear_duplicate'; did you mean 'textsw_checkpoint'? [-Wimplicit-function-declaration] textsw_clear_duplicate(VIEW_FROM_FOLIO_OR_VIEW(textsw)); ^~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint txt_selsvc.c:609:5: warning: implicit declaration of function 'textsw_clear_pending_func_state'; did you mean 'textsw_do_pending_delete'? [-Wimplicit-function-declaration] textsw_clear_pending_func_state(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_do_pending_delete txt_selsvc.c: In function 'textsw_may_win_exit': txt_selsvc.c:625:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(textsw->first_view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_selsvc.c:645:9: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, &first, &last_plus_one, ^~~~~~~~~~~~~~~~ es_get_position txt_selsvc.c: In function 'textsw_stuff_all_buffers': txt_selsvc.c:1256:15: warning: implicit declaration of function 'textsw_input_partial'; did you mean 'textsw_input_after'? [-Wimplicit-function-declaration] status = textsw_input_partial(context->view, ^~~~~~~~~~~~~~~~~~~~ textsw_input_after txt_selsvc.c: In function 'textsw_seln_svc_function': txt_selsvc.c:1441:16: warning: implicit declaration of function 'textsw_end_get'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] result |= textsw_end_get(textsw->func_view); ^~~~~~~~~~~~~~ textsw_edit txt_selsvc.c:1442:13: warning: implicit declaration of function 'textsw_set_cursor'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_cursor(FOLIO_REP_TO_ABS(textsw), ^~~~~~~~~~~~~~~~~ textsw_set_insert txt_selsvc.c:1447:15: warning: implicit declaration of function 'textsw_end_put'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] result = textsw_end_put(textsw->func_view); ^~~~~~~~~~~~~~ textsw_edit txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_ERROR' not handled in switch [-Wswitch] switch (function->function) { ^~~~~~ txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_STOP' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_AGAIN' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_PROPS' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_UNDO' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_FRONT' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_OPEN' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_FIND' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_DELETE' not handled in switch [-Wswitch] txt_selsvc.c:1457:2: warning: implicit declaration of function 'textsw_end_find'; did you mean 'textsw_es_read'? [-Wimplicit-function-declaration] textsw_end_find(textsw->func_view, ^~~~~~~~~~~~~~~ textsw_es_read txt_selsvc.c: In function 'textsw_copy_ascii_reply': txt_selsvc.c:1504:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (max_length < (last_plus_one - first))) { ^~~~~~~~~ txt_selsvc.c: In function 'textsw_check_valid_range': txt_selsvc.c:1573:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((int) es_get(esh, ES_PS_SCRATCH_MAX_LEN) != ^ txt_selsvc.c: In function 'textsw_seln_svc_reply': txt_selsvc.c:1691:6: warning: implicit declaration of function 'ev_get_selection' [-Wimplicit-function-declaration] ev_get_selection(textsw->views, &cont_data->first, ^~~~~~~~~~~~~~~~ txt_selsvc.c:930:26: note: previous declaration of 'ev_get_selection' was here Pkg_private int ev_get_selection(); ^~~~~~~~~~~~~~~~ txt_selsvc.c:1790:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (count >= TCAR_CONTINUED)) ^~~~~~~~~ txt_selsvc.c:1811:10: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] (void) textsw_possibly_edited_now_notify(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_selsvc.c:1828:3: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(textsw->views, cont_data->first, &cont_data->first, ^~~~~~~ ev_set txt_selsvc.c:1849:10: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_base_name'? [-Wimplicit-function-declaration] if (textsw_file_name(textsw, &name) != 0) { ^~~~~~~~~~~~~~~~ textsw_base_name txt_selsvc.c:1869:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (count >= TCAR_CONTINUED)) ^~~~~~~~~ txt_selsvc.c:1903:21: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] line_number = ev_newlines_in_esh(textsw->views->esh, ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_selsvc.c:1905:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (caddr_t) line_number; ^ txt_selsvc.c:1927:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (caddr_t) func_key_state; ^ txt_selsvc.c: In function 'textsw_seln_yield': txt_selsvc.c:1988:2: warning: enumeration value 'SELN_UNKNOWN' not handled in switch [-Wswitch] switch (rank) { ^~~~~~ txt_selsvc.c:1988:2: warning: enumeration value 'SELN_CARET' not handled in switch [-Wswitch] txt_selsvc.c:1988:2: warning: enumeration value 'SELN_UNSPECIFIED' not handled in switch [-Wswitch] txt_selsvc.c: In function 'textsw_abort': txt_selsvc.c:612:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_selsvc.c: In function 'textsw_determine_selection_type': txt_selsvc.c:352:13: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result |= EV_SEL_PD_PRIMARY; gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_selsvc.c -o txt_selsvc.o In file included from /usr/include/errno.h:25, from txt_selsvc.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_selsvc.c: In function 'textsw_clear_secondary_selection': txt_selsvc.c:64:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(textsw->first_view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_selsvc.c: In function 'textsw_should_ask_seln_svc': txt_selsvc.c:203:10: warning: implicit declaration of function 'textsw_sync_with_seln_svc'; did you mean 'textsw_should_ask_seln_svc'? [-Wimplicit-function-declaration] return (textsw_sync_with_seln_svc(textsw)); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_should_ask_seln_svc txt_selsvc.c: In function 'textsw_determine_selection_type': txt_selsvc.c:306:7: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, ^~~~~~~~~~~~~~~~ ev_add_finger txt_selsvc.c: In function 'textsw_give_shelf_to_svc': txt_selsvc.c:411:2: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink(shelf_name); ^~~~~~ unix txt_selsvc.c: In function 'textsw_sync_with_seln_svc': txt_selsvc.c:440:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = textsw_should_ask_seln_svc(folio)) { ^~~~~~ txt_selsvc.c: In function 'textsw_abort': txt_selsvc.c:606:2: warning: implicit declaration of function 'textsw_clear_move'; did you mean 'textsw_save'? [-Wimplicit-function-declaration] textsw_clear_move(VIEW_FROM_FOLIO_OR_VIEW(textsw)); ^~~~~~~~~~~~~~~~~ textsw_save txt_selsvc.c:608:2: warning: implicit declaration of function 'textsw_clear_duplicate'; did you mean 'textsw_checkpoint'? [-Wimplicit-function-declaration] textsw_clear_duplicate(VIEW_FROM_FOLIO_OR_VIEW(textsw)); ^~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint txt_selsvc.c:609:5: warning: implicit declaration of function 'textsw_clear_pending_func_state'; did you mean 'textsw_do_pending_delete'? [-Wimplicit-function-declaration] textsw_clear_pending_func_state(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_do_pending_delete txt_selsvc.c: In function 'textsw_may_win_exit': txt_selsvc.c:625:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(textsw->first_view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_selsvc.c:645:9: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(textsw->views, &first, &last_plus_one, ^~~~~~~~~~~~~~~~ es_get_position txt_selsvc.c: In function 'textsw_stuff_all_buffers': txt_selsvc.c:1256:15: warning: implicit declaration of function 'textsw_input_partial'; did you mean 'textsw_input_after'? [-Wimplicit-function-declaration] status = textsw_input_partial(context->view, ^~~~~~~~~~~~~~~~~~~~ textsw_input_after txt_selsvc.c: In function 'textsw_seln_svc_function': txt_selsvc.c:1441:16: warning: implicit declaration of function 'textsw_end_get'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] result |= textsw_end_get(textsw->func_view); ^~~~~~~~~~~~~~ textsw_edit txt_selsvc.c:1442:13: warning: implicit declaration of function 'textsw_set_cursor'; did you mean 'textsw_set_insert'? [-Wimplicit-function-declaration] (void) textsw_set_cursor(FOLIO_REP_TO_ABS(textsw), ^~~~~~~~~~~~~~~~~ textsw_set_insert txt_selsvc.c:1447:15: warning: implicit declaration of function 'textsw_end_put'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] result = textsw_end_put(textsw->func_view); ^~~~~~~~~~~~~~ textsw_edit txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_ERROR' not handled in switch [-Wswitch] switch (function->function) { ^~~~~~ txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_STOP' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_AGAIN' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_PROPS' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_UNDO' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_FRONT' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_OPEN' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_FIND' not handled in switch [-Wswitch] txt_selsvc.c:1438:2: warning: enumeration value 'SELN_FN_DELETE' not handled in switch [-Wswitch] txt_selsvc.c:1457:2: warning: implicit declaration of function 'textsw_end_find'; did you mean 'textsw_es_read'? [-Wimplicit-function-declaration] textsw_end_find(textsw->func_view, ^~~~~~~~~~~~~~~ textsw_es_read txt_selsvc.c: In function 'textsw_copy_ascii_reply': txt_selsvc.c:1504:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (max_length < (last_plus_one - first))) { ^~~~~~~~~ txt_selsvc.c: In function 'textsw_check_valid_range': txt_selsvc.c:1573:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((int) es_get(esh, ES_PS_SCRATCH_MAX_LEN) != ^ txt_selsvc.c: In function 'textsw_seln_svc_reply': txt_selsvc.c:1691:6: warning: implicit declaration of function 'ev_get_selection' [-Wimplicit-function-declaration] ev_get_selection(textsw->views, &cont_data->first, ^~~~~~~~~~~~~~~~ txt_selsvc.c:930:26: note: previous declaration of 'ev_get_selection' was here Pkg_private int ev_get_selection(); ^~~~~~~~~~~~~~~~ txt_selsvc.c:1790:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (count >= TCAR_CONTINUED)) ^~~~~~~~~ txt_selsvc.c:1811:10: warning: implicit declaration of function 'textsw_possibly_edited_now_notify' [-Wimplicit-function-declaration] (void) textsw_possibly_edited_now_notify(textsw); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_selsvc.c:1828:3: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(textsw->views, cont_data->first, &cont_data->first, ^~~~~~~ ev_set txt_selsvc.c:1849:10: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_base_name'? [-Wimplicit-function-declaration] if (textsw_file_name(textsw, &name) != 0) { ^~~~~~~~~~~~~~~~ textsw_base_name txt_selsvc.c:1869:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (continued = (count >= TCAR_CONTINUED)) ^~~~~~~~~ txt_selsvc.c:1903:21: warning: implicit declaration of function 'ev_newlines_in_esh'; did you mean 'ei_lines_in_rect'? [-Wimplicit-function-declaration] line_number = ev_newlines_in_esh(textsw->views->esh, ^~~~~~~~~~~~~~~~~~ ei_lines_in_rect txt_selsvc.c:1905:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (caddr_t) line_number; ^ txt_selsvc.c:1927:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (caddr_t) func_key_state; ^ txt_selsvc.c: In function 'textsw_seln_yield': txt_selsvc.c:1988:2: warning: enumeration value 'SELN_UNKNOWN' not handled in switch [-Wswitch] switch (rank) { ^~~~~~ txt_selsvc.c:1988:2: warning: enumeration value 'SELN_CARET' not handled in switch [-Wswitch] txt_selsvc.c:1988:2: warning: enumeration value 'SELN_UNSPECIFIED' not handled in switch [-Wswitch] txt_selsvc.c: In function 'textsw_abort': txt_selsvc.c:612:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_selsvc.c: In function 'textsw_determine_selection_type': txt_selsvc.c:352:13: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] result |= EV_SEL_PD_PRIMARY; rm -f txt_again.o shared/txt_again.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_again.c -o shared/txt_again.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_again.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_again.c: In function 'textsw_record_find': txt_again.c:463:9: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] (void) textsw_checkpoint_again( ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo txt_again.c: In function 'textsw_record_input': txt_again.c:560:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] (void) SPRINTF(new_length_buf, "%6d", old_length + buffer_length); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %6ld txt_again.c: In function 'textsw_scanf': txt_again.c:684:13: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit(*f)) { ^~~~~~~ txt_again.c:689:16: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] for (; isspace(*sbase); ++sbase) ^~~~~~~ txt_again.c:711:18: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] while (isxdigit(*sbase)) ^~~~~~~~ txt_again.c: In function 'textsw_free_again': txt_again.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pieces = textsw_pieces_for_replay(again)) ^~~~~~ txt_again.c: In function 'textsw_get_recorded_x': txt_again.c:963:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_again.c:948:1: note: declared here textsw_get_recorded_x(view) ^~~~~~~~~~~~~~~~~~~~~ txt_again.c:1014:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(folio->views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_again.c: In function 'textsw_do_again': txt_again.c:1121:14: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_again.c:1132:10: warning: implicit declaration of function 'textsw_do_edit'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] (void) textsw_do_edit(view, unit, direction); ^~~~~~~~~~~~~~ textsw_edit txt_again.c:1145:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buffer[buffer_length] = NULL; /* In case garbage follow */ ^ txt_again.c:1147:10: warning: implicit declaration of function 'textsw_call_filter'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] (void) textsw_call_filter(view, filter_argv); ^~~~~~~~~~~~~~~~~~ textsw_do_filter txt_again.c:1172:3: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_move_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_move_caret txt_again.c:1179:17: warning: implicit declaration of function 'textsw_match_field_and_normalize' [-Wimplicit-function-declaration] matched = textsw_match_field_and_normalize(view, &first, &last_plus_one, start_marker, STRLEN(start_marker), field_flag, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_again.c:1181:17: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] matched = textsw_match_selection_and_normalize(view, start_marker, field_flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_again.c:1264:3: warning: implicit declaration of function 'textsw_find_pattern_and_normalize'; did you mean 'textsw_find_mark_internal'? [-Wimplicit-function-declaration] textsw_find_pattern_and_normalize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_mark_internal In file included from ../../../build/include/xview_private/primal.h:13, from txt_again.c:18: txt_again.c: In function 'textsw_printf': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ txt_again.c:204:5: note: in expansion of macro 'VA_START' VA_START(args, fmt); ^~~~~~~~ txt_again.c: In function 'textsw_scanf': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ txt_again.c:673:5: note: in expansion of macro 'VA_START' VA_START(args, fmt); ^~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_again.c -o txt_again.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_again.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_again.c: In function 'textsw_record_find': txt_again.c:463:9: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] (void) textsw_checkpoint_again( ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo txt_again.c: In function 'textsw_record_input': txt_again.c:560:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] (void) SPRINTF(new_length_buf, "%6d", old_length + buffer_length); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %6ld txt_again.c: In function 'textsw_scanf': txt_again.c:684:13: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (isdigit(*f)) { ^~~~~~~ txt_again.c:689:16: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] for (; isspace(*sbase); ++sbase) ^~~~~~~ txt_again.c:711:18: warning: implicit declaration of function 'isxdigit' [-Wimplicit-function-declaration] while (isxdigit(*sbase)) ^~~~~~~~ txt_again.c: In function 'textsw_free_again': txt_again.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pieces = textsw_pieces_for_replay(again)) ^~~~~~ txt_again.c: In function 'textsw_get_recorded_x': txt_again.c:963:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_again.c:948:1: note: declared here textsw_get_recorded_x(view) ^~~~~~~~~~~~~~~~~~~~~ txt_again.c:1014:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(folio->views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_again.c: In function 'textsw_do_again': txt_again.c:1121:14: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_again.c:1132:10: warning: implicit declaration of function 'textsw_do_edit'; did you mean 'textsw_edit'? [-Wimplicit-function-declaration] (void) textsw_do_edit(view, unit, direction); ^~~~~~~~~~~~~~ textsw_edit txt_again.c:1145:25: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buffer[buffer_length] = NULL; /* In case garbage follow */ ^ txt_again.c:1147:10: warning: implicit declaration of function 'textsw_call_filter'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] (void) textsw_call_filter(view, filter_argv); ^~~~~~~~~~~~~~~~~~ textsw_do_filter txt_again.c:1172:3: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_move_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_move_caret txt_again.c:1179:17: warning: implicit declaration of function 'textsw_match_field_and_normalize' [-Wimplicit-function-declaration] matched = textsw_match_field_and_normalize(view, &first, &last_plus_one, start_marker, STRLEN(start_marker), field_flag, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_again.c:1181:17: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] matched = textsw_match_selection_and_normalize(view, start_marker, field_flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_again.c:1264:3: warning: implicit declaration of function 'textsw_find_pattern_and_normalize'; did you mean 'textsw_find_mark_internal'? [-Wimplicit-function-declaration] textsw_find_pattern_and_normalize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_mark_internal In file included from ../../../build/include/xview_private/primal.h:13, from txt_again.c:18: txt_again.c: In function 'textsw_printf': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ txt_again.c:204:5: note: in expansion of macro 'VA_START' VA_START(args, fmt); ^~~~~~~~ txt_again.c: In function 'textsw_scanf': ../../../build/include/xview_private/portable.h:18:33: warning: undefined behavior when second parameter of 'va_start' is declared with 'register' storage [-Wvarargs] #define VA_START( ptr, param ) va_start( ptr, param ) ^~~~~~~~ txt_again.c:673:5: note: in expansion of macro 'VA_START' VA_START(args, fmt); ^~~~~~~~ rm -f txt_getkey.o shared/txt_getkey.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_getkey.c -o shared/txt_getkey.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_getkey.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_getkey.c: In function 'textsw_begin_get': txt_getkey.c:37:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(textsw, TXTSW_FUNC_GET, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_getkey.c: In function 'textsw_do_get': txt_getkey.c:192:3: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] ev_delete_span(views, ^~~~~~~~~~~~~~ textsw_delete_span txt_getkey.c:207:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_getkey.c:277:7: warning: implicit declaration of function 'textsw_record_trash_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_trash_insert(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_getkey.c:279:7: warning: implicit declaration of function 'textsw_record_piece_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_piece_insert(folio, piece_to_insert); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_getkey.c:292:2: warning: implicit declaration of function 'textsw_stuff_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_stuff_selection(view, (unsigned) (secondary ? ^~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_getkey.c:296:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_insert_pieces': txt_getkey.c:348:2: warning: implicit declaration of function 'ev_update_after_edit' [-Wimplicit-function-declaration] ev_update_after_edit(chain, pos, delta, old_length, pos); ^~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_put_then_get': txt_getkey.c:379:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (seln_nonzero = textsw_is_seln_nonzero(textsw, EV_SEL_PRIMARY)) { ^~~~~~~~~~~~ txt_getkey.c:384:6: warning: implicit declaration of function 'ev_get_selection' [-Wimplicit-function-declaration] ev_get_selection(textsw->views, ^~~~~~~~~~~~~~~~ txt_getkey.c:141:21: note: previous declaration of 'ev_get_selection' was here extern int ev_get_selection(); ^~~~~~~~~~~~~~~~ txt_getkey.c:404:6: warning: implicit declaration of function 'textsw_put'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_put(view); ^~~~~~~~~~ textsw_set txt_getkey.c: In function 'textsw_remove_mark_internal': txt_getkey.c:536:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, mark); ^~~~~~~~~~~~~~~~ ev_add_finger txt_getkey.c: In function 'textsw_begin_get': txt_getkey.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_getkey.c: In function 'textsw_put_then_get': txt_getkey.c:412:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_getkey.c: In function 'textsw_insert_pieces': txt_getkey.c:350:6: warning: 'old_insert_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_notify_replaced((Textsw_opaque) folio->first_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ old_insert_pos, old_length, pos, pos, delta); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_end_get': txt_getkey.c:307:23: warning: 'sec_is_pending_delete' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (secondary && sec_is_pending_delete) { ^~ txt_getkey.c:146:40: note: 'sec_is_pending_delete' was declared here register int is_pending_delete, sec_is_pending_delete; ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_getkey.c -o txt_getkey.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_getkey.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_getkey.c: In function 'textsw_begin_get': txt_getkey.c:37:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(textsw, TXTSW_FUNC_GET, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_getkey.c: In function 'textsw_do_get': txt_getkey.c:192:3: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] ev_delete_span(views, ^~~~~~~~~~~~~~ textsw_delete_span txt_getkey.c:207:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_getkey.c:277:7: warning: implicit declaration of function 'textsw_record_trash_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_trash_insert(folio); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_getkey.c:279:7: warning: implicit declaration of function 'textsw_record_piece_insert'; did you mean 'textsw_get_saved_insert'? [-Wimplicit-function-declaration] textsw_record_piece_insert(folio, piece_to_insert); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_get_saved_insert txt_getkey.c:292:2: warning: implicit declaration of function 'textsw_stuff_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_stuff_selection(view, (unsigned) (secondary ? ^~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_getkey.c:296:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(views); ^~~~~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_insert_pieces': txt_getkey.c:348:2: warning: implicit declaration of function 'ev_update_after_edit' [-Wimplicit-function-declaration] ev_update_after_edit(chain, pos, delta, old_length, pos); ^~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_put_then_get': txt_getkey.c:379:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (seln_nonzero = textsw_is_seln_nonzero(textsw, EV_SEL_PRIMARY)) { ^~~~~~~~~~~~ txt_getkey.c:384:6: warning: implicit declaration of function 'ev_get_selection' [-Wimplicit-function-declaration] ev_get_selection(textsw->views, ^~~~~~~~~~~~~~~~ txt_getkey.c:141:21: note: previous declaration of 'ev_get_selection' was here extern int ev_get_selection(); ^~~~~~~~~~~~~~~~ txt_getkey.c:404:6: warning: implicit declaration of function 'textsw_put'; did you mean 'textsw_set'? [-Wimplicit-function-declaration] textsw_put(view); ^~~~~~~~~~ textsw_set txt_getkey.c: In function 'textsw_remove_mark_internal': txt_getkey.c:536:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&textsw->views->fingers, mark); ^~~~~~~~~~~~~~~~ ev_add_finger txt_getkey.c: In function 'textsw_begin_get': txt_getkey.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_getkey.c: In function 'textsw_put_then_get': txt_getkey.c:412:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_getkey.c: In function 'textsw_insert_pieces': txt_getkey.c:350:6: warning: 'old_insert_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_notify_replaced((Textsw_opaque) folio->first_view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ old_insert_pos, old_length, pos, pos, delta); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_getkey.c: In function 'textsw_end_get': txt_getkey.c:307:23: warning: 'sec_is_pending_delete' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (secondary && sec_is_pending_delete) { ^~ txt_getkey.c:146:40: note: 'sec_is_pending_delete' was declared here register int is_pending_delete, sec_is_pending_delete; ^~~~~~~~~~~~~~~~~~~~~ rm -f txt_putkey.o shared/txt_putkey.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_putkey.c -o shared/txt_putkey.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_putkey.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_putkey.c: In function 'textsw_begin_put': txt_putkey.c:45:9: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(textsw, TXTSW_FUNC_PUT, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_putkey.c: In function 'textsw_end_put': txt_putkey.c:73:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&folio->views->fingers, folio->save_insert); ^~~~~~~~~~~~~~~~ ev_add_finger txt_putkey.c: In function 'textsw_do_put': txt_putkey.c:158:2: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_putkey.c:183:14: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] (void) ev_delete_span(views, first, last_plus_one, ^~~~~~~~~~~~~~ textsw_delete_span txt_putkey.c:222:6: warning: implicit declaration of function 'textsw_stuff_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_stuff_selection(view, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_putkey.c: In function 'textsw_begin_put': txt_putkey.c:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_putkey.c: In function 'textsw_put': txt_putkey.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_putkey.c -o txt_putkey.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_putkey.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_putkey.c: In function 'textsw_begin_put': txt_putkey.c:45:9: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(textsw, TXTSW_FUNC_PUT, TRUE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_putkey.c: In function 'textsw_end_put': txt_putkey.c:73:2: warning: implicit declaration of function 'ev_remove_finger'; did you mean 'ev_add_finger'? [-Wimplicit-function-declaration] ev_remove_finger(&folio->views->fingers, folio->save_insert); ^~~~~~~~~~~~~~~~ ev_add_finger txt_putkey.c: In function 'textsw_do_put': txt_putkey.c:158:2: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_putkey.c:183:14: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] (void) ev_delete_span(views, first, last_plus_one, ^~~~~~~~~~~~~~ textsw_delete_span txt_putkey.c:222:6: warning: implicit declaration of function 'textsw_stuff_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_stuff_selection(view, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_putkey.c: In function 'textsw_begin_put': txt_putkey.c:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_putkey.c: In function 'textsw_put': txt_putkey.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_filter.o shared/txt_filter.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_filter.c -o shared/txt_filter.o In file included from /usr/include/sys/types.h:25, from txt_filter.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_filter.c: In function 'textsw_filter_selection': txt_filter.c:139:21: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] fill_in->type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_filter.c:146:2: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_filter_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(folio->first_view), ^~~~~~~~~~~~~~~~~~~~ textsw_filter_selection txt_filter.c: In function 'textsw_call_filter': txt_filter.c:164:35: warning: initialization of 'Ev_mark_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Ev_mark_object save_insert = NULL; ^~~~ txt_filter.c:233:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(folio->views); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from txt_filter.c:27: ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:234:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:236:2: warning: implicit declaration of function 'ev_scroll_if_old_insert_visible' [-Wimplicit-function-declaration] ev_scroll_if_old_insert_visible(folio->views, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c: In function 'textsw_call_smart_filter': txt_filter.c:667:5: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(folio->views, insert, &insert_line_first, ^~~~~~~ ev_set txt_filter.c: In function 'type_for_filter_rec': txt_filter.c:1017:13: warning: implicit declaration of function 'match_in_table' [-Wimplicit-function-declaration] count = match_in_table(rec->class, type_groups); ^~~~~~~~~~~~~~ txt_filter.c: In function 'textsw_call_filter': txt_filter.c:230:2: warning: 'save_lpo_id' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark_internal(folio, save_lpo_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:162:21: warning: 'save_length' may be used uninitialized in this function [-Wmaybe-uninitialized] Es_index save_length; ^~~~~~~~~~~ txt_filter.c: In function 'textsw_call_smart_filter': txt_filter.c:842:2: warning: 'save_lpo_id' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark_internal(folio, save_lpo_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:658:29: warning: 'save_length' may be used uninitialized in this function [-Wmaybe-uninitialized] Es_index insert, save_length; ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_filter.c -o txt_filter.o In file included from /usr/include/sys/types.h:25, from txt_filter.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_filter.c: In function 'textsw_filter_selection': txt_filter.c:139:21: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] fill_in->type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_filter.c:146:2: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_filter_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(folio->first_view), ^~~~~~~~~~~~~~~~~~~~ textsw_filter_selection txt_filter.c: In function 'textsw_call_filter': txt_filter.c:164:35: warning: initialization of 'Ev_mark_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Ev_mark_object save_insert = NULL; ^~~~ txt_filter.c:233:5: warning: implicit declaration of function 'ev_update_chain_display' [-Wimplicit-function-declaration] ev_update_chain_display(folio->views); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from txt_filter.c:27: ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:234:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:236:2: warning: implicit declaration of function 'ev_scroll_if_old_insert_visible' [-Wimplicit-function-declaration] ev_scroll_if_old_insert_visible(folio->views, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c: In function 'textsw_call_smart_filter': txt_filter.c:667:5: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] ev_span(folio->views, insert, &insert_line_first, ^~~~~~~ ev_set txt_filter.c: In function 'type_for_filter_rec': txt_filter.c:1017:13: warning: implicit declaration of function 'match_in_table' [-Wimplicit-function-declaration] count = match_in_table(rec->class, type_groups); ^~~~~~~~~~~~~~ txt_filter.c: In function 'textsw_call_filter': txt_filter.c:230:2: warning: 'save_lpo_id' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark_internal(folio, save_lpo_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:162:21: warning: 'save_length' may be used uninitialized in this function [-Wmaybe-uninitialized] Es_index save_length; ^~~~~~~~~~~ txt_filter.c: In function 'textsw_call_smart_filter': txt_filter.c:842:2: warning: 'save_lpo_id' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark_internal(folio, save_lpo_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_filter.c:658:29: warning: 'save_length' may be used uninitialized in this function [-Wmaybe-uninitialized] Es_index insert, save_length; ^~~~~~~~~~~ rm -f text.o shared/text.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c text.c -o shared/text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from text.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c text.c -o text.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from text.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ rm -f txt_attr.o shared/txt_attr.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_attr.c -o shared/txt_attr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_attr.c: In function 'set_first': txt_attr.c:141:6: warning: implicit declaration of function 'textsw_format_load_error'; did you mean 'textsw_post_error'? [-Wimplicit-function-declaration] textsw_format_load_error(msg, load_status, ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_post_error txt_attr.c: In function 'textsw_set_null_view_avlist': txt_attr.c:186:12: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] (void) attr_copy_avlist(view_attrs, attrs); ^~~~~~~~~~~~~~~~ attr_create_list txt_attr.c: In function 'textsw_set_internal': txt_attr.c:320:4: warning: implicit declaration of function 'textsw_setup_scrollbar'; did you mean 'textsw_get_scrollbar'? [-Wimplicit-function-declaration] textsw_setup_scrollbar(view->scrollbar); ^~~~~~~~~~~~~~~~~~~~~~ textsw_get_scrollbar txt_attr.c:323:20: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] view->scrollbar = NULL; ^ txt_attr.c:419:6: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_PD_SEL); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_attr.c:461:8: warning: implicit declaration of function 'es_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] if (es_copy(scratch_esh, mem_esh, FALSE) != ES_SUCCESS) { ^~~~~~~ pw_copy txt_attr.c:486:3: warning: implicit declaration of function 'textsw_replace_esh'; did you mean 'textsw_replace'? [-Wimplicit-function-declaration] textsw_replace_esh(textsw, ps_esh); ^~~~~~~~~~~~~~~~~~ textsw_replace txt_attr.c:498:4: warning: implicit declaration of function 'ev_update_view_display'; did you mean 'textsw_display'? [-Wimplicit-function-declaration] ev_update_view_display(ev_next); ^~~~~~~~~~~~~~~~~~~~~~ textsw_display txt_attr.c:767:6: warning: implicit declaration of function 'textsw_hide_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_hide_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_attr.c:784:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(view_public, view_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_attr.c:788:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(view_public, xv_xid(view_info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus txt_attr.c:884:6: warning: implicit declaration of function 'ev_display_view'; did you mean 'textsw_display_view'? [-Wimplicit-function-declaration] ev_display_view(next->e_view); ^~~~~~~~~~~~~~~ textsw_display_view txt_attr.c:896:6: warning: implicit declaration of function 'textsw_show_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_show_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_attr.c: In function 'textsw_set_internal_tier2': txt_attr.c:973:96: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] TEXTSW_INFINITY, (char *)attrs[1], strlen((char *)attrs[1])); if (!(textsw->state & TXTSW_INITIALIZED)) ^ txt_attr.c:1071:20: warning: implicit declaration of function 'textsw_reset_2'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] (void) textsw_reset_2(VIEW_REP_TO_ABS(view), 0, 0, TRUE, FALSE); ^~~~~~~~~~~~~~ textsw_reset txt_attr.c:1081:13: warning: implicit declaration of function 'ei_plain_text_set'; did you mean 'ei_plain_text_line_height'? [-Wimplicit-function-declaration] ei_plain_text_set(textsw->views->eih, attrs); ^~~~~~~~~~~~~~~~~ ei_plain_text_line_height txt_attr.c:1095:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(textsw_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_attr.c:1099:21: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] window_set_cms(view_public, cms, xv_cms_bg(info), xv_cms_fg(info)); ^~~~~~~~~~~~~~ window_set txt_attr.c:932:21: warning: unused variable 'textsw_public' [-Wunused-variable] Textsw textsw_public = TEXTSW_PUBLIC(textsw); ^~~~~~~~~~~~~ txt_attr.c: At top level: txt_attr.c:1109:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs insert_makes_visible_pairs[] = { ^ txt_attr.c:1116:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ txt_attr.c: In function 'textsw_view_cms_change': txt_attr.c:1130:5: warning: implicit declaration of function 'textsw_repaint'; did you mean 'textsw_resize'? [-Wimplicit-function-declaration] textsw_repaint(view); ^~~~~~~~~~~~~~ textsw_resize txt_attr.c: In function 'textsw_get_from_defaults': txt_attr.c:1203:7: warning: case value '1245710849' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_FONT:{ ^~~~ txt_attr.c:1261:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1265:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c: In function 'textsw_get_internal': txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ADJUST_IS_PENDING_DELETE' not handled in switch [-Wswitch] switch (attribute) { ^~~~~~ txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AGAIN_RECORDING' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AUTO_INDENT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AUTO_SCROLL_BY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_BLINK_CARET' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_BROWSING' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CHECKPOINT_FREQUENCY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CLIENT_DATA' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CONFIRM_OVERWRITE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CONTROL_CHARS_USE_FONT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DISABLE_CD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DISABLE_LOAD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_EDIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EXTRAS_CMD_MENU' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FILE_CONTENTS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_FIND' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_HISTORY_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_IGNORE_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_FROM_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_MAKES_VISIBLE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LINE_BREAK_ACTION' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LOWER_CONTEXT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MEMORY_MAXIMUM' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MODIFIED' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MULTI_CLICK_SPACE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MULTI_CLICK_TIMEOUT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NOTIFY_PROC' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_READ_ONLY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_STATUS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_STORE_CHANGES_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_UPDATE_SCROLLBAR' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_UPPER_CONTEXT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_VIEW' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ACCELERATE_MENUS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AGAIN_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_COALESCE_WITH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DESTROY_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_CHAR' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_LINE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_WORD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ERROR_MSG' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ES_CREATE_PROC' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_ONLY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LOAD_DIR_IS_CD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MUST_SHOW_CARET' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NAME_TO_USE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NOTIFY_LEVEL' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_REPAINT_TIL_EVENT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_RESET_TO_SCRATCH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_SELECTION_SERVICE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_RESET_MODE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_RESET_TO_CONTENTS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SPARE_1' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SPARE_2' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TAB_WIDTH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TAB_WIDTHS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TEMP_FILENAME' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_WRAPAROUND_SIZE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_END_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FOR_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DIFFERENTIATE_CR_LF' not handled in switch [-Wswitch] txt_attr.c:1296:7: warning: case value '1233914369' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ txt_attr.c:1294:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1295:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c:1436:10: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name)) ^~~~~~~~~~~~~~~~ textsw_find_mark txt_attr.c:1506:22: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] return ((Xv_opaque) textsw_has_been_modified(FOLIO_REP_TO_ABS(folio))); ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_attr.c:1534:7: warning: case value '1230768641' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_MENU:{ ^~~~ txt_attr.c:1543:7: warning: case value '1233914369' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ txt_attr.c:1545:7: warning: case value '1239419169' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_TYPE: /* SunView1.X compatibility */ ^~~~ txt_attr.c:1539:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1541:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c:1339:7: warning: case value '1448086017' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ txt_attr.c: In function 'textsw_set_internal_tier2': txt_attr.c:1106:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_attr.c -o txt_attr.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_attr.c: In function 'set_first': txt_attr.c:141:6: warning: implicit declaration of function 'textsw_format_load_error'; did you mean 'textsw_post_error'? [-Wimplicit-function-declaration] textsw_format_load_error(msg, load_status, ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_post_error txt_attr.c: In function 'textsw_set_null_view_avlist': txt_attr.c:186:12: warning: implicit declaration of function 'attr_copy_avlist'; did you mean 'attr_create_list'? [-Wimplicit-function-declaration] (void) attr_copy_avlist(view_attrs, attrs); ^~~~~~~~~~~~~~~~ attr_create_list txt_attr.c: In function 'textsw_set_internal': txt_attr.c:320:4: warning: implicit declaration of function 'textsw_setup_scrollbar'; did you mean 'textsw_get_scrollbar'? [-Wimplicit-function-declaration] textsw_setup_scrollbar(view->scrollbar); ^~~~~~~~~~~~~~~~~~~~~~ textsw_get_scrollbar txt_attr.c:323:20: warning: assignment to 'Scrollbar' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] view->scrollbar = NULL; ^ txt_attr.c:419:6: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_PD_SEL); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_attr.c:461:8: warning: implicit declaration of function 'es_copy'; did you mean 'pw_copy'? [-Wimplicit-function-declaration] if (es_copy(scratch_esh, mem_esh, FALSE) != ES_SUCCESS) { ^~~~~~~ pw_copy txt_attr.c:486:3: warning: implicit declaration of function 'textsw_replace_esh'; did you mean 'textsw_replace'? [-Wimplicit-function-declaration] textsw_replace_esh(textsw, ps_esh); ^~~~~~~~~~~~~~~~~~ textsw_replace txt_attr.c:498:4: warning: implicit declaration of function 'ev_update_view_display'; did you mean 'textsw_display'? [-Wimplicit-function-declaration] ev_update_view_display(ev_next); ^~~~~~~~~~~~~~~~~~~~~~ textsw_display txt_attr.c:767:6: warning: implicit declaration of function 'textsw_hide_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_hide_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_attr.c:784:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(view_public, view_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_attr.c:788:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(view_public, xv_xid(view_info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus txt_attr.c:884:6: warning: implicit declaration of function 'ev_display_view'; did you mean 'textsw_display_view'? [-Wimplicit-function-declaration] ev_display_view(next->e_view); ^~~~~~~~~~~~~~~ textsw_display_view txt_attr.c:896:6: warning: implicit declaration of function 'textsw_show_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_show_caret(textsw); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_attr.c: In function 'textsw_set_internal_tier2': txt_attr.c:973:96: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] TEXTSW_INFINITY, (char *)attrs[1], strlen((char *)attrs[1])); if (!(textsw->state & TXTSW_INITIALIZED)) ^ txt_attr.c:1071:20: warning: implicit declaration of function 'textsw_reset_2'; did you mean 'textsw_reset'? [-Wimplicit-function-declaration] (void) textsw_reset_2(VIEW_REP_TO_ABS(view), 0, 0, TRUE, FALSE); ^~~~~~~~~~~~~~ textsw_reset txt_attr.c:1081:13: warning: implicit declaration of function 'ei_plain_text_set'; did you mean 'ei_plain_text_line_height'? [-Wimplicit-function-declaration] ei_plain_text_set(textsw->views->eih, attrs); ^~~~~~~~~~~~~~~~~ ei_plain_text_line_height txt_attr.c:1095:17: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(textsw_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from txt_attr.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_attr.c:1099:21: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] window_set_cms(view_public, cms, xv_cms_bg(info), xv_cms_fg(info)); ^~~~~~~~~~~~~~ window_set txt_attr.c:932:21: warning: unused variable 'textsw_public' [-Wunused-variable] Textsw textsw_public = TEXTSW_PUBLIC(textsw); ^~~~~~~~~~~~~ txt_attr.c: At top level: txt_attr.c:1109:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs insert_makes_visible_pairs[] = { ^ txt_attr.c:1116:44: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs line_break_pairs[] = { ^ txt_attr.c: In function 'textsw_view_cms_change': txt_attr.c:1130:5: warning: implicit declaration of function 'textsw_repaint'; did you mean 'textsw_resize'? [-Wimplicit-function-declaration] textsw_repaint(view); ^~~~~~~~~~~~~~ textsw_resize txt_attr.c: In function 'textsw_get_from_defaults': txt_attr.c:1203:7: warning: case value '1245710849' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_FONT:{ ^~~~ txt_attr.c:1261:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1265:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c: In function 'textsw_get_internal': txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ADJUST_IS_PENDING_DELETE' not handled in switch [-Wswitch] switch (attribute) { ^~~~~~ txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AGAIN_RECORDING' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AUTO_INDENT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AUTO_SCROLL_BY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_BLINK_CARET' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_BROWSING' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CHECKPOINT_FREQUENCY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CLIENT_DATA' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CONFIRM_OVERWRITE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_CONTROL_CHARS_USE_FONT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DISABLE_CD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DISABLE_LOAD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_EDIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EXTRAS_CMD_MENU' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FILE_CONTENTS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_FIND' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_HISTORY_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_IGNORE_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_FROM_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_MAKES_VISIBLE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LINE_BREAK_ACTION' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LOWER_CONTEXT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MEMORY_MAXIMUM' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MODIFIED' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MULTI_CLICK_SPACE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MULTI_CLICK_TIMEOUT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NOTIFY_PROC' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_READ_ONLY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_STATUS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_STORE_CHANGES_FILE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_UPDATE_SCROLLBAR' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_UPPER_CONTEXT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SUBMENU_VIEW' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ACCELERATE_MENUS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_AGAIN_LIMIT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_COALESCE_WITH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DESTROY_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_CHAR' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_LINE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_EDIT_BACK_WORD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ERROR_MSG' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_ES_CREATE_PROC' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_INSERT_ONLY' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_LOAD_DIR_IS_CD' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_MUST_SHOW_CARET' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NAME_TO_USE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NOTIFY_LEVEL' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_REPAINT_TIL_EVENT' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_RESET_TO_SCRATCH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_NO_SELECTION_SERVICE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_RESET_MODE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_RESET_TO_CONTENTS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SPARE_1' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_SPARE_2' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TAB_WIDTH' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TAB_WIDTHS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_TEMP_FILENAME' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_WRAPAROUND_SIZE' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_END_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_FOR_ALL_VIEWS' not handled in switch [-Wswitch] txt_attr.c:1289:5: warning: enumeration value 'TEXTSW_DIFFERENTIATE_CR_LF' not handled in switch [-Wswitch] txt_attr.c:1296:7: warning: case value '1233914369' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ txt_attr.c:1294:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1295:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c:1436:10: warning: implicit declaration of function 'textsw_file_name'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] if (textsw_file_name(folio, &name)) ^~~~~~~~~~~~~~~~ textsw_find_mark txt_attr.c:1506:22: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] return ((Xv_opaque) textsw_has_been_modified(FOLIO_REP_TO_ABS(folio))); ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_attr.c:1534:7: warning: case value '1230768641' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_MENU:{ ^~~~ txt_attr.c:1543:7: warning: case value '1233914369' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_VERTICAL_SCROLLBAR: ^~~~ txt_attr.c:1545:7: warning: case value '1239419169' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case WIN_TYPE: /* SunView1.X compatibility */ ^~~~ txt_attr.c:1539:7: warning: case value '1245841409' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_LEFT_MARGIN: ^~~~ txt_attr.c:1541:7: warning: case value '1245972481' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case XV_RIGHT_MARGIN: ^~~~ txt_attr.c:1339:7: warning: case value '1448086017' not in enumerated type 'Textsw_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ txt_attr.c: In function 'textsw_set_internal_tier2': txt_attr.c:1106:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_dbx.o shared/txt_dbx.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_dbx.c -o shared/txt_dbx.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_dbx.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_dbx.c: In function 'textsw_does_index_not_show': txt_dbx.c:64:13: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view->e_view, index, line_index, &rect)) { ^~~~~~~~~~~~~ txt_dbx.c: In function 'textsw_set_start': txt_dbx.c:114:5: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_set_insert'? [-Wimplicit-function-declaration] ev_set_start(view->e_view, pos); ^~~~~~~~~~~~ ev_set_insert txt_dbx.c: In function 'textsw_contains_line': txt_dbx.c:153:16: warning: implicit declaration of function 'ev_rect_for_ith_physical_line'; did you mean 'ev_position_for_physical_line'? [-Wimplicit-function-declaration] lt_index = ev_rect_for_ith_physical_line( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ev_position_for_physical_line txt_dbx.c: In function 'textsw_add_glyph': txt_dbx.c:223:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] textsw_add_glyph(abstract, pos, pr, op, offset_x, offset_y, flags) ^~~~~~~~~~~~~~~~ txt_dbx.c: In function 'textsw_set_glyph_pr': txt_dbx.c:298:5: warning: implicit declaration of function 'ev_set_glyph_pr'; did you mean 'textsw_set_glyph_pr'? [-Wimplicit-function-declaration] ev_set_glyph_pr(FOLIO_FOR_VIEW(view)->views, ^~~~~~~~~~~~~~~ textsw_set_glyph_pr gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_dbx.c -o txt_dbx.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_dbx.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_dbx.c: In function 'textsw_does_index_not_show': txt_dbx.c:64:13: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] switch (ev_xy_in_view(view->e_view, index, line_index, &rect)) { ^~~~~~~~~~~~~ txt_dbx.c: In function 'textsw_set_start': txt_dbx.c:114:5: warning: implicit declaration of function 'ev_set_start'; did you mean 'ev_set_insert'? [-Wimplicit-function-declaration] ev_set_start(view->e_view, pos); ^~~~~~~~~~~~ ev_set_insert txt_dbx.c: In function 'textsw_contains_line': txt_dbx.c:153:16: warning: implicit declaration of function 'ev_rect_for_ith_physical_line'; did you mean 'ev_position_for_physical_line'? [-Wimplicit-function-declaration] lt_index = ev_rect_for_ith_physical_line( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ev_position_for_physical_line txt_dbx.c: In function 'textsw_add_glyph': txt_dbx.c:223:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] textsw_add_glyph(abstract, pos, pr, op, offset_x, offset_y, flags) ^~~~~~~~~~~~~~~~ txt_dbx.c: In function 'textsw_set_glyph_pr': txt_dbx.c:298:5: warning: implicit declaration of function 'ev_set_glyph_pr'; did you mean 'textsw_set_glyph_pr'? [-Wimplicit-function-declaration] ev_set_glyph_pr(FOLIO_FOR_VIEW(view)->views, ^~~~~~~~~~~~~~~ textsw_set_glyph_pr rm -f txt_tool.o shared/txt_tool.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_tool.c -o shared/txt_tool.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_tool.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_tool.c: In function 'textsw_default_notify': txt_tool.c:58:11: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(abstract)) { ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_CAPS_LOCK' not handled in switch [-Wswitch] switch ((Textsw_action) (*attrs)) { ^~~~~~ txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_CHANGED_DIRECTORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_EDITED_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_EDITED_MEMORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_FILE_IS_READONLY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_LOADED_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_USING_MEMORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_DESTROY_VIEW' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_PAINTED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_REPLACED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SAVING_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SCROLLED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SPLIT_VIEW' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_STORING_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_WRITE_FAILED' not handled in switch [-Wswitch] txt_tool.c:37:33: warning: unused variable 'view' [-Wunused-variable] register Textsw_view_handle view = VIEW_ABS_TO_REP(abstract); ^~~~ txt_tool.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_tool.c -o txt_tool.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_tool.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_tool.c: In function 'textsw_default_notify': txt_tool.c:58:11: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(abstract)) { ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_CAPS_LOCK' not handled in switch [-Wswitch] switch ((Textsw_action) (*attrs)) { ^~~~~~ txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_CHANGED_DIRECTORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_EDITED_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_EDITED_MEMORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_FILE_IS_READONLY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_LOADED_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_USING_MEMORY' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_DESTROY_VIEW' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_PAINTED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_REPLACED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SAVING_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SCROLLED' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_SPLIT_VIEW' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_STORING_FILE' not handled in switch [-Wswitch] txt_tool.c:47:3: warning: enumeration value 'TEXTSW_ACTION_WRITE_FAILED' not handled in switch [-Wswitch] txt_tool.c:37:33: warning: unused variable 'view' [-Wunused-variable] register Textsw_view_handle view = VIEW_ABS_TO_REP(abstract); ^~~~ txt_tool.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_scroll.o shared/txt_scroll.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_scroll.c -o shared/txt_scroll.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_scroll.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_scroll.c: In function 'textsw_scroll': txt_scroll.c:34:5: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(view->e_view, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:41:2: warning: implicit declaration of function 'textsw_normalize_view'; did you mean 'textsw_normalize_internal'? [-Wimplicit-function-declaration] textsw_normalize_view(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~~ textsw_normalize_internal txt_scroll.c: In function 'textsw_compute_scroll': txt_scroll.c:84:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_scroll.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_scroll.c:89:5: warning: implicit declaration of function 'ev_paint_view'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_paint_view(view->e_view, win, &xevent); ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:91:14: warning: implicit declaration of function 'ev_line_for_y'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] lines = ev_line_for_y(view->e_view, ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:78:16: warning: unused variable 'dpy' [-Wunused-variable] Display *dpy; ^~~ txt_scroll.c: In function 'textsw_mouseless_scroll_event': txt_scroll.c:268:4: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_scroll.c:177:7: warning: unused variable 'obj_length' [-Wunused-variable] int obj_length = es_get_length(folio->views->esh); ^~~~~~~~~~ txt_scroll.c:169:9: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg = NULL; ^~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_scroll.c -o txt_scroll.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_scroll.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_scroll.c: In function 'textsw_scroll': txt_scroll.c:34:5: warning: implicit declaration of function 'ev_view_range'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_view_range(view->e_view, &first, &last_plus_one); ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:41:2: warning: implicit declaration of function 'textsw_normalize_view'; did you mean 'textsw_normalize_internal'? [-Wimplicit-function-declaration] textsw_normalize_view(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~~ textsw_normalize_internal txt_scroll.c: In function 'textsw_compute_scroll': txt_scroll.c:84:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_scroll.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_scroll.c:89:5: warning: implicit declaration of function 'ev_paint_view'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_paint_view(view->e_view, win, &xevent); ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:91:14: warning: implicit declaration of function 'ev_line_for_y'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] lines = ev_line_for_y(view->e_view, ^~~~~~~~~~~~~ ev_find_finger txt_scroll.c:78:16: warning: unused variable 'dpy' [-Wunused-variable] Display *dpy; ^~~ txt_scroll.c: In function 'textsw_mouseless_scroll_event': txt_scroll.c:268:4: warning: implicit declaration of function 'textsw_move_caret'; did you mean 'textsw_invert_caret'? [-Wimplicit-function-declaration] textsw_move_caret(view, dir); ^~~~~~~~~~~~~~~~~ textsw_invert_caret txt_scroll.c:177:7: warning: unused variable 'obj_length' [-Wunused-variable] int obj_length = es_get_length(folio->views->esh); ^~~~~~~~~~ txt_scroll.c:169:9: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg = NULL; ^~~ rm -f txt_field.o shared/txt_field.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_field.c -o shared/txt_field.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from txt_field.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_field.c: In function 'textsw_begin_match_field': txt_field.c:70:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(FOLIO_FOR_VIEW(view), ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_field.c: In function 'textsw_end_match_field': txt_field.c:75:1: warning: type of 'event_code' defaults to 'int' [-Wimplicit-int] textsw_end_match_field(view, event_code, x, y) ^~~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'get_start_position': txt_field.c:198:9: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] (void) textsw_find_pattern(folio, first, last_plus_one, ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_field.c:215:17: warning: implicit declaration of function 'ev_find_enclose_end_marker' [-Wimplicit-function-declaration] start_at = ev_find_enclose_end_marker(folio->views->esh, ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'textsw_get_match_symbol': txt_field.c:243:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] match_buf[0] = NULL; ^ txt_field.c: In function 'textsw_match_field': txt_field.c:312:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_field.c:288:1: note: declared here textsw_match_field(textsw, first, last_plus_one, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~ txt_field.c:320:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_field.c:288:1: note: declared here textsw_match_field(textsw, first, last_plus_one, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~ txt_field.c:334:15: warning: implicit declaration of function 'ev_match_field_in_esh' [-Wimplicit-function-declaration] result_pos = ev_match_field_in_esh(esh, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'textsw_match_field_and_normalize': txt_field.c:400:9: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] (void) textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_field.c:407:13: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_field.c:413:2: warning: implicit declaration of function 'textsw_record_match'; did you mean 'textsw_remove_mark'? [-Wimplicit-function-declaration] textsw_record_match(folio, field_flag, buf1); ^~~~~~~~~~~~~~~~~~~ textsw_remove_mark txt_field.c: In function 'textsw_match_selection_and_normalize': txt_field.c:450:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[str_length] = NULL; ^ txt_field.c: In function 'textsw_begin_match_field': txt_field.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_field.c -o txt_field.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from txt_field.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_field.c: In function 'textsw_begin_match_field': txt_field.c:70:12: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] (void) textsw_inform_seln_svc(FOLIO_FOR_VIEW(view), ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_field.c: In function 'textsw_end_match_field': txt_field.c:75:1: warning: type of 'event_code' defaults to 'int' [-Wimplicit-int] textsw_end_match_field(view, event_code, x, y) ^~~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'get_start_position': txt_field.c:198:9: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] (void) textsw_find_pattern(folio, first, last_plus_one, ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_field.c:215:17: warning: implicit declaration of function 'ev_find_enclose_end_marker' [-Wimplicit-function-declaration] start_at = ev_find_enclose_end_marker(folio->views->esh, ^~~~~~~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'textsw_get_match_symbol': txt_field.c:243:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] match_buf[0] = NULL; ^ txt_field.c: In function 'textsw_match_field': txt_field.c:312:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_field.c:288:1: note: declared here textsw_match_field(textsw, first, last_plus_one, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~ txt_field.c:320:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_field.c:288:1: note: declared here textsw_match_field(textsw, first, last_plus_one, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~ txt_field.c:334:15: warning: implicit declaration of function 'ev_match_field_in_esh' [-Wimplicit-function-declaration] result_pos = ev_match_field_in_esh(esh, symbol1, symbol1_len, ^~~~~~~~~~~~~~~~~~~~~ txt_field.c: In function 'textsw_match_field_and_normalize': txt_field.c:400:9: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] (void) textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_field.c:407:13: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_field.c:413:2: warning: implicit declaration of function 'textsw_record_match'; did you mean 'textsw_remove_mark'? [-Wimplicit-function-declaration] textsw_record_match(folio, field_flag, buf1); ^~~~~~~~~~~~~~~~~~~ textsw_remove_mark txt_field.c: In function 'textsw_match_selection_and_normalize': txt_field.c:450:18: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[str_length] = NULL; ^ txt_field.c: In function 'textsw_begin_match_field': txt_field.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f txt_caret.o shared/txt_caret.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_caret.c -o shared/txt_caret.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_caret.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from txt_caret.c:20: txt_caret.c: In function 'textsw_make_insert_visible': ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c:53:10: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' while (!EV_INSERT_VISIBLE_IN_VIEW(ev_handle)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_backward_a_word': txt_caret.c:86:16: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] span_result = ev_span(chain, pos, &first, &last_plus_one, span_flag); ^~~~~~~ ev_set txt_caret.c:87:6: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == first) ? pos-- : first); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_down_a_line': txt_caret.c:138:15: warning: implicit declaration of function 'ev_resolve_xy' [-Wimplicit-function-declaration] new_pos = ev_resolve_xy(ev_handle, new_x, new_y); ^~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_forward_a_word': txt_caret.c:169:10: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == file_length) ? ES_CANNOT_SET : pos++); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_to_word_end': txt_caret.c:199:10: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == file_length) ? ES_CANNOT_SET : pos++); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_to_line_end': txt_caret.c:253:9: warning: implicit declaration of function 'textsw_get_contents'; did you mean 'textsw_set_internal'? [-Wimplicit-function-declaration] (void) textsw_get_contents(folio, --last_plus_one, buf, 1); ^~~~~~~~~~~~~~~~~~~ textsw_set_internal txt_caret.c: In function 'textsw_move_caret': txt_caret.c:350:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_move_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_move_caret txt_caret.c:355:22: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] visible_status = ev_xy_in_view(ev_handle, old_pos, <_index, &rect); ^~~~~~~~~~~~~ txt_caret.c:449:35: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] if ((EV_SEL_PENDING_DELETE & ev_get_selection( ^~~~~~~~~~~~~~~~ es_get_position txt_caret.c:455:10: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_caret.c -o txt_caret.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_caret.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from txt_caret.c:20: txt_caret.c: In function 'textsw_make_insert_visible': ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c:53:10: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' while (!EV_INSERT_VISIBLE_IN_VIEW(ev_handle)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_backward_a_word': txt_caret.c:86:16: warning: implicit declaration of function 'ev_span'; did you mean 'ev_set'? [-Wimplicit-function-declaration] span_result = ev_span(chain, pos, &first, &last_plus_one, span_flag); ^~~~~~~ ev_set txt_caret.c:87:6: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == first) ? pos-- : first); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_down_a_line': txt_caret.c:138:15: warning: implicit declaration of function 'ev_resolve_xy' [-Wimplicit-function-declaration] new_pos = ev_resolve_xy(ev_handle, new_x, new_y); ^~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_forward_a_word': txt_caret.c:169:10: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == file_length) ? ES_CANNOT_SET : pos++); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_to_word_end': txt_caret.c:199:10: warning: operation on 'pos' may be undefined [-Wsequence-point] pos = ((pos == file_length) ? ES_CANNOT_SET : pos++); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_caret.c: In function 'textsw_move_to_line_end': txt_caret.c:253:9: warning: implicit declaration of function 'textsw_get_contents'; did you mean 'textsw_set_internal'? [-Wimplicit-function-declaration] (void) textsw_get_contents(folio, --last_plus_one, buf, 1); ^~~~~~~~~~~~~~~~~~~ textsw_set_internal txt_caret.c: In function 'textsw_move_caret': txt_caret.c:350:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_move_caret'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_move_caret txt_caret.c:355:22: warning: implicit declaration of function 'ev_xy_in_view' [-Wimplicit-function-declaration] visible_status = ev_xy_in_view(ev_handle, old_pos, <_index, &rect); ^~~~~~~~~~~~~ txt_caret.c:449:35: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] if ((EV_SEL_PENDING_DELETE & ev_get_selection( ^~~~~~~~~~~~~~~~ es_get_position txt_caret.c:455:10: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_set_selection( ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection rm -f txt_search.o shared/txt_search.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_search.c -o shared/txt_search.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_search.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_search.c: In function 'textsw_do_search_proc': txt_search.c:76:10: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] if (!textsw_get_selection(view, &first, &last_plus_one, NULL, 0)) ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_search.c:94:5: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] textsw_find_pattern(folio, &first, &last_plus_one, buf, str_len, direction); ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_search.c:110:5: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_search.c:116:9: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), first, last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_search.c:119:2: warning: implicit declaration of function 'textsw_record_find'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] textsw_record_find(folio, buf, str_len, (int) direction); ^~~~~~~~~~~~~~~~~~ textsw_store_file txt_search.c: In function 'do_replace_proc': txt_search.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (selection_found = ^~~~~~~~~~~~~~~ txt_search.c:186:2: warning: implicit declaration of function 'textsw_replace'; did you mean 'textsw_erase'? [-Wimplicit-function-declaration] textsw_replace(textsw, first, last_plus_one, buf, STRLEN(buf)); ^~~~~~~~~~~~~~ textsw_erase txt_search.c: In function 'do_replace_all_proc': txt_search.c:268:10: warning: implicit declaration of function 'textsw_add_mark_internal'; did you mean 'textsw_find_mark_internal'? [-Wimplicit-function-declaration] mark = textsw_add_mark_internal(folio, cur_mark_pos, ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_mark_internal txt_search.c:286:5: warning: implicit declaration of function 'textsw_normalize_view'; did you mean 'textsw_normalize_internal'? [-Wimplicit-function-declaration] textsw_normalize_view(VIEW_REP_TO_ABS(view), prev_pos); ^~~~~~~~~~~~~~~~~~~~~ textsw_normalize_internal txt_search.c: In function 'create_search_items': txt_search.c:367:22: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] search_string[0] = NULL; ^ txt_search.c:371:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] direction_menu = xv_create(NULL, MENU, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_search.c:18: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_search.c:465:26: warning: comparison between pointer and integer if (search_string[0] != NULL) ^~ txt_search.c: In function 'search_cmd_proc': txt_search.c:258:18: warning: 'mark' may be used uninitialized in this function [-Wmaybe-uninitialized] cur_mark_pos = textsw_find_mark_internal(folio, mark); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_search.c:203:21: note: 'mark' was declared here Ev_mark_object mark; ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_search.c -o txt_search.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_search.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_search.c: In function 'textsw_do_search_proc': txt_search.c:76:10: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] if (!textsw_get_selection(view, &first, &last_plus_one, NULL, 0)) ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_search.c:94:5: warning: implicit declaration of function 'textsw_find_pattern'; did you mean 'textsw_find_mark'? [-Wimplicit-function-declaration] textsw_find_pattern(folio, &first, &last_plus_one, buf, str_len, direction); ^~~~~~~~~~~~~~~~~~~ textsw_find_mark txt_search.c:110:5: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_search.c:116:9: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), first, last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_search.c:119:2: warning: implicit declaration of function 'textsw_record_find'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] textsw_record_find(folio, buf, str_len, (int) direction); ^~~~~~~~~~~~~~~~~~ textsw_store_file txt_search.c: In function 'do_replace_proc': txt_search.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (selection_found = ^~~~~~~~~~~~~~~ txt_search.c:186:2: warning: implicit declaration of function 'textsw_replace'; did you mean 'textsw_erase'? [-Wimplicit-function-declaration] textsw_replace(textsw, first, last_plus_one, buf, STRLEN(buf)); ^~~~~~~~~~~~~~ textsw_erase txt_search.c: In function 'do_replace_all_proc': txt_search.c:268:10: warning: implicit declaration of function 'textsw_add_mark_internal'; did you mean 'textsw_find_mark_internal'? [-Wimplicit-function-declaration] mark = textsw_add_mark_internal(folio, cur_mark_pos, ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_find_mark_internal txt_search.c:286:5: warning: implicit declaration of function 'textsw_normalize_view'; did you mean 'textsw_normalize_internal'? [-Wimplicit-function-declaration] textsw_normalize_view(VIEW_REP_TO_ABS(view), prev_pos); ^~~~~~~~~~~~~~~~~~~~~ textsw_normalize_internal txt_search.c: In function 'create_search_items': txt_search.c:367:22: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] search_string[0] = NULL; ^ txt_search.c:371:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] direction_menu = xv_create(NULL, MENU, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_search.c:18: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_search.c:465:26: warning: comparison between pointer and integer if (search_string[0] != NULL) ^~ txt_search.c: In function 'search_cmd_proc': txt_search.c:258:18: warning: 'mark' may be used uninitialized in this function [-Wmaybe-uninitialized] cur_mark_pos = textsw_find_mark_internal(folio, mark); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_search.c:203:21: note: 'mark' was declared here Ev_mark_object mark; ^~~~ rm -f txt_e_menu.o shared/txt_e_menu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_e_menu.c -o shared/txt_e_menu.o In file included from /usr/include/sys/file.h:21, from txt_e_menu.c:29: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_e_menu.c:53: warning: "MAXPATHLEN" redefined #define MAXPATHLEN 1024 In file included from /usr/include/rpc/types.h:94, from /usr/include/rpc/rpc.h:38, from ../../../build/include/xview/sel_svc.h:26, from ../../../build/include/xview_private/txt_impl.h:45, from txt_e_menu.c:31: /usr/include/sys/param.h:48: note: this is the location of the previous definition # define MAXPATHLEN PATH_MAX txt_e_menu.c:78:9: warning: type defaults to 'int' in declaration of 'any_shell_meta' [-Wimplicit-int] static any_shell_meta(char *s); ^~~~~~~~~~~~~~ txt_e_menu.c: In function 'extras_menufile_changed': txt_e_menu.c:219:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_build_extras_menu_items': txt_e_menu.c:310:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: txt_e_menu.c:321:9: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] XV_MSG("textsw: max number of menu files is %ld"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ txt_e_menu.c:323:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c:332:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'walk_getmenu': txt_e_menu.c:389:20: warning: comparison between pointer and integer menu_set((mi != NULL ? mi : m), XV_HELP_DATA, help, 0); ^~ txt_e_menu.c:407:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c:426:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_handle_extras_menuitem': txt_e_menu.c:510:13: warning: returning 'void *' from a function with return type 'Menu_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ txt_e_menu.c:521:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_e_menu.c:528:5: warning: implicit declaration of function 'textsw_record_extras'; did you mean 'textsw_remove_mark'? [-Wimplicit-function-declaration] textsw_record_extras(folio, command_line); ^~~~~~~~~~~~~~~~~~~~ textsw_remove_mark txt_e_menu.c:535:12: warning: implicit declaration of function 'textsw_call_filter'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] (void) textsw_call_filter(view, filter_argv); ^~~~~~~~~~~~~~~~~~ textsw_do_filter txt_e_menu.c: In function 'free_argv': txt_e_menu.c:607:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_e_menu.c: In function 'textsw_savestr': txt_e_menu.c:616:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_save2str': txt_e_menu.c:634:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: At top level: txt_e_menu.c:650:1: warning: return type defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_e_menu.c -o txt_e_menu.o In file included from /usr/include/sys/file.h:21, from txt_e_menu.c:29: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_e_menu.c:53: warning: "MAXPATHLEN" redefined #define MAXPATHLEN 1024 In file included from /usr/include/rpc/types.h:94, from /usr/include/rpc/rpc.h:38, from ../../../build/include/xview/sel_svc.h:26, from ../../../build/include/xview_private/txt_impl.h:45, from txt_e_menu.c:31: /usr/include/sys/param.h:48: note: this is the location of the previous definition # define MAXPATHLEN PATH_MAX txt_e_menu.c:78:9: warning: type defaults to 'int' in declaration of 'any_shell_meta' [-Wimplicit-int] static any_shell_meta(char *s); ^~~~~~~~~~~~~~ txt_e_menu.c: In function 'extras_menufile_changed': txt_e_menu.c:219:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_build_extras_menu_items': txt_e_menu.c:310:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: txt_e_menu.c:321:9: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] XV_MSG("textsw: max number of menu files is %ld"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ txt_e_menu.c:323:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c:332:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'walk_getmenu': txt_e_menu.c:389:20: warning: comparison between pointer and integer menu_set((mi != NULL ? mi : m), XV_HELP_DATA, help, 0); ^~ txt_e_menu.c:407:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c:426:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_handle_extras_menuitem': txt_e_menu.c:510:13: warning: returning 'void *' from a function with return type 'Menu_item' {aka 'long unsigned int'} makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ txt_e_menu.c:521:5: warning: implicit declaration of function 'textsw_flush_caches'; did you mean 'textsw_match_bytes'? [-Wimplicit-function-declaration] textsw_flush_caches(view, TFC_STD); ^~~~~~~~~~~~~~~~~~~ textsw_match_bytes txt_e_menu.c:528:5: warning: implicit declaration of function 'textsw_record_extras'; did you mean 'textsw_remove_mark'? [-Wimplicit-function-declaration] textsw_record_extras(folio, command_line); ^~~~~~~~~~~~~~~~~~~~ textsw_remove_mark txt_e_menu.c:535:12: warning: implicit declaration of function 'textsw_call_filter'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] (void) textsw_call_filter(view, filter_argv); ^~~~~~~~~~~~~~~~~~ textsw_do_filter txt_e_menu.c: In function 'free_argv': txt_e_menu.c:607:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ txt_e_menu.c: In function 'textsw_savestr': txt_e_menu.c:616:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: In function 'textsw_save2str': txt_e_menu.c:634:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from ../../../build/include/xview_private/primal.h:12, from txt_e_menu.c:30: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ txt_e_menu.c: At top level: txt_e_menu.c:650:1: warning: return type defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^~~~~~~~~~~~~~ rm -f txt_move.o shared/txt_move.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_move.c -o shared/txt_move.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_move.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/cursor.h:29, from ../../../build/include/xview_private/txt_impl.h:54, from txt_move.c:18: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ txt_move.c:74:1: note: in expansion of macro 'mpr_static' mpr_static(drag_move_arrow_pr, 16, 16, 1, drag_move_arrow_data); ^~~~~~~~~~ txt_move.c: In function 'textsw_save_selection': txt_move.c:86:21: warning: type defaults to 'int' in declaration of 'repeat_call' [-Wimplicit-int] static repeat_call; ^~~~~~~~~~~ txt_move.c: In function 'textsw_do_move': txt_move.c:162:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_save_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_save_selection txt_move.c:202:6: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] ev_delete_span(chain, ^~~~~~~~~~~~~~ textsw_delete_span txt_move.c:216:2: warning: implicit declaration of function 'ev_check_insert_visibility' [-Wimplicit-function-declaration] ev_check_insert_visibility(chain); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from txt_move.c:19: ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:225:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_end_quick_move': txt_move.c:240:26: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] selection_is_local = textsw_inform_seln_svc(folio, TXTSW_FUNC_DELETE, FALSE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_move.c: In function 'textsw_finish_move': txt_move.c:289:5: warning: implicit declaration of function 'xv_do_move'; did you mean 'textsw_do_move'? [-Wimplicit-function-declaration] xv_do_move(view, ie); ^~~~~~~~~~ textsw_do_move txt_move.c: In function 'textsw_finish_duplicate': txt_move.c:321:5: warning: implicit declaration of function 'textsw_do_duplicate'; did you mean 'textsw_track_duplicate'? [-Wimplicit-function-declaration] textsw_do_duplicate(view, ie); ^~~~~~~~~~~~~~~~~~~ textsw_track_duplicate txt_move.c: In function 'xv_do_move': txt_move.c:376:5: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_set_selection_i18n'? [-Wimplicit-function-declaration] textsw_get_selection_as_string(folio, EV_SEL_PRIMARY, sel, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_set_selection_i18n txt_move.c:384:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:397:5: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first, last_plus_one); ^~~~~~~~~~~~~~~~~~ txt_move.c:397:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:397:37: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:397:23: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:407:6: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first - 1, first); ^~~~~~~~~~~~~~~~~~ txt_move.c:407:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:407:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:407:24: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:428:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:442:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:458:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:464:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c: In function 'textsw_do_duplicate': txt_move.c:494:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:509:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:525:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:533:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_clean_up_move': txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:561:2: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first - 1, first); ^~~~~~~~~~~~~~~~~~ txt_move.c:561:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:561:38: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:561:20: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c: In function 'textsw_do_drag_copy_move': txt_move.c:616:23: warning: variable 'l' set but not used [-Wunused-but-set-variable] short l; ^ txt_move.c: In function 'DndConvertProc': txt_move.c:710:8: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ txt_move.c:735:15: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ txt_move.c: At top level: txt_move.c:781:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_do_remote_drag_copy_move': txt_move.c:818:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:830:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:842:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:866:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:887:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:800:30: warning: unused variable 'context' [-Wunused-variable] struct textsw_context context; ^~~~~~~ txt_move.c: In function 'textsw_do_move': txt_move.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_move.c: In function 'textsw_do_drag_copy_move': txt_move.c:592:14: warning: 'error_msg' may be used uninitialized in this function [-Wmaybe-uninitialized] notice = xv_create((Frame)xv_get(public_view, WIN_FRAME), NOTICE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE_MESSAGE_STRINGS, ~~~~~~~~~~~~~~~~~~~~~~~ XV_MSG("Drag and Drop failed:"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error_msg, ~~~~~~~~~~ 0, ~~ XV_SHOW, TRUE, ~~~~~~~~~~~~~~ 0); ~~ txt_move.c:570:12: note: 'error_msg' was declared here char *error_msg; ^~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_move.c -o txt_move.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_move.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview/cursor.h:29, from ../../../build/include/xview_private/txt_impl.h:54, from txt_move.c:18: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ txt_move.c:74:1: note: in expansion of macro 'mpr_static' mpr_static(drag_move_arrow_pr, 16, 16, 1, drag_move_arrow_data); ^~~~~~~~~~ txt_move.c: In function 'textsw_save_selection': txt_move.c:86:21: warning: type defaults to 'int' in declaration of 'repeat_call' [-Wimplicit-int] static repeat_call; ^~~~~~~~~~~ txt_move.c: In function 'textsw_do_move': txt_move.c:162:6: warning: implicit declaration of function 'textsw_set_selection'; did you mean 'textsw_save_selection'? [-Wimplicit-function-declaration] textsw_set_selection(VIEW_REP_TO_ABS(view), ^~~~~~~~~~~~~~~~~~~~ textsw_save_selection txt_move.c:202:6: warning: implicit declaration of function 'ev_delete_span'; did you mean 'textsw_delete_span'? [-Wimplicit-function-declaration] ev_delete_span(chain, ^~~~~~~~~~~~~~ textsw_delete_span txt_move.c:216:2: warning: implicit declaration of function 'ev_check_insert_visibility' [-Wimplicit-function-declaration] ev_check_insert_visibility(chain); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from txt_move.c:19: ../../../build/include/xview_private/ev_impl.h:559:5: warning: implicit declaration of function 'ev_check_cached_pos_info' [-Wimplicit-function-declaration] ev_check_cached_pos_info(_view, EV_CHAIN_PRIVATE(_view->view_chain)->insert_pos, &EV_PRIVATE(_view)->cached_insert_info) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/txt_impl.h:13:12: note: in expansion of macro 'EV_INSERT_VISIBLE_IN_VIEW' (!EV_INSERT_VISIBLE_IN_VIEW(_view->e_view)))\ ^~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:225:5: note: in expansion of macro 'TEXTSW_DO_INSERT_MAKES_VISIBLE' TEXTSW_DO_INSERT_MAKES_VISIBLE(view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_end_quick_move': txt_move.c:240:26: warning: implicit declaration of function 'textsw_inform_seln_svc'; did you mean 'textsw_acquire_seln'? [-Wimplicit-function-declaration] selection_is_local = textsw_inform_seln_svc(folio, TXTSW_FUNC_DELETE, FALSE); ^~~~~~~~~~~~~~~~~~~~~~ textsw_acquire_seln txt_move.c: In function 'textsw_finish_move': txt_move.c:289:5: warning: implicit declaration of function 'xv_do_move'; did you mean 'textsw_do_move'? [-Wimplicit-function-declaration] xv_do_move(view, ie); ^~~~~~~~~~ textsw_do_move txt_move.c: In function 'textsw_finish_duplicate': txt_move.c:321:5: warning: implicit declaration of function 'textsw_do_duplicate'; did you mean 'textsw_track_duplicate'? [-Wimplicit-function-declaration] textsw_do_duplicate(view, ie); ^~~~~~~~~~~~~~~~~~~ textsw_track_duplicate txt_move.c: In function 'xv_do_move': txt_move.c:376:5: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_set_selection_i18n'? [-Wimplicit-function-declaration] textsw_get_selection_as_string(folio, EV_SEL_PRIMARY, sel, 1024); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_set_selection_i18n txt_move.c:384:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:397:5: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first, last_plus_one); ^~~~~~~~~~~~~~~~~~ txt_move.c:397:30: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:397:37: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:397:23: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first, last_plus_one); ^ txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:407:6: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first - 1, first); ^~~~~~~~~~~~~~~~~~ txt_move.c:407:31: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:407:42: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:407:24: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:428:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:442:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:458:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c:464:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:362:1: note: declared here xv_do_move(view, ie) ^~~~~~~~~~ txt_move.c: In function 'textsw_do_duplicate': txt_move.c:494:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:509:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:525:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c:533:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:469:1: note: declared here textsw_do_duplicate(view, ie) ^~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_clean_up_move': txt_move.c:52:29: warning: statement with no effect [-Wunused-value] #define textsw_delete_i18n textsw_delete; ^~~~~~~~~~~~~ txt_move.c:561:2: note: in expansion of macro 'textsw_delete_i18n' textsw_delete_i18n(textsw, first - 1, first); ^~~~~~~~~~~~~~~~~~ txt_move.c:561:27: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:561:38: warning: left-hand operand of comma expression has no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c:561:20: warning: statement with no effect [-Wunused-value] textsw_delete_i18n(textsw, first - 1, first); ^ txt_move.c: In function 'textsw_do_drag_copy_move': txt_move.c:616:23: warning: variable 'l' set but not used [-Wunused-but-set-variable] short l; ^ txt_move.c: In function 'DndConvertProc': txt_move.c:710:8: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ txt_move.c:735:15: warning: assignment to 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] *data = NULL; ^ txt_move.c: At top level: txt_move.c:781:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c: In function 'textsw_do_remote_drag_copy_move': txt_move.c:818:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:830:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:842:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:866:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:887:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ txt_move.c:781:1: note: declared here textsw_do_remote_drag_copy_move(view, ie, is_copy) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_move.c:800:30: warning: unused variable 'context' [-Wunused-variable] struct textsw_context context; ^~~~~~~ txt_move.c: In function 'textsw_do_move': txt_move.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_move.c: In function 'textsw_do_drag_copy_move': txt_move.c:592:14: warning: 'error_msg' may be used uninitialized in this function [-Wmaybe-uninitialized] notice = xv_create((Frame)xv_get(public_view, WIN_FRAME), NOTICE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE_MESSAGE_STRINGS, ~~~~~~~~~~~~~~~~~~~~~~~ XV_MSG("Drag and Drop failed:"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error_msg, ~~~~~~~~~~ 0, ~~ XV_SHOW, TRUE, ~~~~~~~~~~~~~~ 0); ~~ txt_move.c:570:12: note: 'error_msg' was declared here char *error_msg; ^~~~~~~~~ rm -f txt_view.o shared/txt_view.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_view.c -o shared/txt_view.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_view.c: In function 'textsw_view_init': txt_view.c:79:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(WIN_FD_FOR_VIEW(view), &view->rect); ^~~~~~~~~~~ win_get_damage txt_view.c:103:5: warning: implicit declaration of function 'win_grab_quick_sel_keys' [-Wimplicit-function-declaration] win_grab_quick_sel_keys(VIEW_PUBLIC(view)); ^~~~~~~~~~~~~~~~~~~~~~~ txt_view.c: In function 'textsw_split_init_proc': txt_view.c:120:16: warning: implicit declaration of function 'ev_line_for_y'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] line_pos = ev_line_for_y(view->e_view, position); ^~~~~~~~~~~~~ ev_find_finger txt_view.c:123:16: warning: implicit declaration of function 'ev_index_for_line' [-Wimplicit-function-declaration] char_pos = ev_index_for_line(view->e_view, line_pos); ^~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_view.c -o txt_view.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from txt_view.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_view.c: In function 'textsw_view_init': txt_view.c:79:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(WIN_FD_FOR_VIEW(view), &view->rect); ^~~~~~~~~~~ win_get_damage txt_view.c:103:5: warning: implicit declaration of function 'win_grab_quick_sel_keys' [-Wimplicit-function-declaration] win_grab_quick_sel_keys(VIEW_PUBLIC(view)); ^~~~~~~~~~~~~~~~~~~~~~~ txt_view.c: In function 'textsw_split_init_proc': txt_view.c:120:16: warning: implicit declaration of function 'ev_line_for_y'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] line_pos = ev_line_for_y(view->e_view, position); ^~~~~~~~~~~~~ ev_find_finger txt_view.c:123:16: warning: implicit declaration of function 'ev_index_for_line' [-Wimplicit-function-declaration] char_pos = ev_index_for_line(view->e_view, line_pos); ^~~~~~~~~~~~~~~~~ rm -f txt_popup.o shared/txt_popup.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_popup.c -o shared/txt_popup.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_popup.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_popup.c:104:17: warning: type defaults to 'int' in declaration of 'open_cmd_proc' [-Wimplicit-int] Pkg_private open_cmd_proc(); ^~~~~~~~~~~~~ txt_popup.c:105:17: warning: type defaults to 'int' in declaration of 'include_cmd_proc' [-Wimplicit-int] Pkg_private include_cmd_proc(); ^~~~~~~~~~~~~~~~ txt_popup.c:106:17: warning: type defaults to 'int' in declaration of 'save_cmd_proc' [-Wimplicit-int] Pkg_private save_cmd_proc(); ^~~~~~~~~~~~~ txt_popup.c: In function 'textsw_create_popup_frame': txt_popup.c:139:29: warning: initialization of 'Panel' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Panel panel = NULL; ^~~~ txt_popup.c:261:18: warning: implicit declaration of function 'textsw_create_search_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_search_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c:279:18: warning: implicit declaration of function 'textsw_create_match_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_match_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c:297:18: warning: implicit declaration of function 'textsw_create_sel_line_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_sel_line_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c: At top level: txt_popup.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_get_and_set_selection(popup_frame, view, popup_type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_popup.c: In function 'textsw_get_and_set_selection': txt_popup.c:331:17: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] show_str[0] = NULL; ^ txt_popup.c:336:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, show_str, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_popup.c: At top level: txt_popup.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_set_dir_str(popup_type) ^~~~~~~~~~~~~~~~~~ txt_popup.c: In function 'textsw_set_dir_str': txt_popup.c:366:21: warning: unused variable 'curr_dir' [-Wunused-variable] char curr_dir[MAX_STR_LENGTH]; ^~~~~~~~ txt_popup.c: In function 'textsw_get_selection': txt_popup.c:426:22: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] selection.type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_popup.c:447:34: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] selected_str[selection.buf_len] = NULL; ^ txt_popup.c: In function 'textsw_set_pop_up_location': txt_popup.c:469:5: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] win_getrect(pop_up_fd, &pop_up_rect); ^~~~~~~~~~~ svc_getreq txt_popup.c:493:5: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] win_setrect(pop_up_fd, &pop_up_rect); ^~~~~~~~~~~ frame_set_rect txt_popup.c: In function 'textsw_get_and_set_selection': txt_popup.c:360:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_popup.c: In function 'textsw_set_dir_str': txt_popup.c:385:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_popup.c: In function 'textsw_create_popup_frame': txt_popup.c:308:12: warning: 'label' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) xv_set(popup_frame, ^~~~~~~~~~~~~~~~~~~ FRAME_LABEL, label, ~~~~~~~~~~~~~~~~~~~ XV_KEY_DATA, TEXTSW_CURRENT_POPUP_KEY, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FOLIO_REP_TO_ABS(FOLIO_FOR_VIEW(view)), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XV_SHOW, TRUE, 0); ~~~~~~~~~~~~~~~~~ txt_popup.c:313:5: warning: 'popup_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] notify_interpose_destroy_func(popup_frame,textsw_popup_destroy_func); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_popup.c -o txt_popup.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_popup.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_popup.c:104:17: warning: type defaults to 'int' in declaration of 'open_cmd_proc' [-Wimplicit-int] Pkg_private open_cmd_proc(); ^~~~~~~~~~~~~ txt_popup.c:105:17: warning: type defaults to 'int' in declaration of 'include_cmd_proc' [-Wimplicit-int] Pkg_private include_cmd_proc(); ^~~~~~~~~~~~~~~~ txt_popup.c:106:17: warning: type defaults to 'int' in declaration of 'save_cmd_proc' [-Wimplicit-int] Pkg_private save_cmd_proc(); ^~~~~~~~~~~~~ txt_popup.c: In function 'textsw_create_popup_frame': txt_popup.c:139:29: warning: initialization of 'Panel' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Panel panel = NULL; ^~~~ txt_popup.c:261:18: warning: implicit declaration of function 'textsw_create_search_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_search_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c:279:18: warning: implicit declaration of function 'textsw_create_match_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_match_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c:297:18: warning: implicit declaration of function 'textsw_create_sel_line_panel'; did you mean 'textsw_create_popup_frame'? [-Wimplicit-function-declaration] panel = (Panel) textsw_create_sel_line_panel(popup_frame, view); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_create_popup_frame txt_popup.c: At top level: txt_popup.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_get_and_set_selection(popup_frame, view, popup_type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_popup.c: In function 'textsw_get_and_set_selection': txt_popup.c:331:17: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] show_str[0] = NULL; ^ txt_popup.c:336:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, show_str, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_popup.c: At top level: txt_popup.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] textsw_set_dir_str(popup_type) ^~~~~~~~~~~~~~~~~~ txt_popup.c: In function 'textsw_set_dir_str': txt_popup.c:366:21: warning: unused variable 'curr_dir' [-Wunused-variable] char curr_dir[MAX_STR_LENGTH]; ^~~~~~~~ txt_popup.c: In function 'textsw_get_selection': txt_popup.c:426:22: warning: implicit declaration of function 'textsw_func_selection_internal'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] selection.type = textsw_func_selection_internal( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_popup.c:447:34: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] selected_str[selection.buf_len] = NULL; ^ txt_popup.c: In function 'textsw_set_pop_up_location': txt_popup.c:469:5: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] win_getrect(pop_up_fd, &pop_up_rect); ^~~~~~~~~~~ svc_getreq txt_popup.c:493:5: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] win_setrect(pop_up_fd, &pop_up_rect); ^~~~~~~~~~~ frame_set_rect txt_popup.c: In function 'textsw_get_and_set_selection': txt_popup.c:360:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_popup.c: In function 'textsw_set_dir_str': txt_popup.c:385:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ txt_popup.c: In function 'textsw_create_popup_frame': txt_popup.c:308:12: warning: 'label' may be used uninitialized in this function [-Wmaybe-uninitialized] (void) xv_set(popup_frame, ^~~~~~~~~~~~~~~~~~~ FRAME_LABEL, label, ~~~~~~~~~~~~~~~~~~~ XV_KEY_DATA, TEXTSW_CURRENT_POPUP_KEY, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FOLIO_REP_TO_ABS(FOLIO_FOR_VIEW(view)), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XV_SHOW, TRUE, 0); ~~~~~~~~~~~~~~~~~ txt_popup.c:313:5: warning: 'popup_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] notify_interpose_destroy_func(popup_frame,textsw_popup_destroy_func); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f txt_store.o shared/txt_store.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_store.c -o shared/txt_store.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_store.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_store.c: In function 'do_store_proc': txt_store.c:97:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_store.c:108:12: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~ getw txt_store.c:116:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_store.c: In function 'create_store_items': txt_store.c:254:21: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] store_string[0] = NULL; ^ txt_store.c:255:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, store_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_store.c -o txt_store.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_store.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_store.c: In function 'do_store_proc': txt_store.c:97:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_store.c:108:12: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~ getw txt_store.c:116:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_store.c: In function 'create_store_items': txt_store.c:254:21: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] store_string[0] = NULL; ^ txt_store.c:255:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, store_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection rm -f txt_match.o shared/txt_match.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_match.c -o shared/txt_match.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_match.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_match.c: In function 'do_insert_or_remove_delimiter': txt_match.c:85:1: warning: type of 'value' defaults to 'int' [-Wimplicit-int] do_insert_or_remove_delimiter(view, value, do_insert) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_match.c:132:12: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, &first, &last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~ es_get_position txt_match.c:172:9: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[0] = NULL; ^ txt_match.c:178:10: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] if (textsw_get_selection_as_string(folio, EV_SEL_PRIMARY, sel_str, ((last_plus_one - first) + 1))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_match.c:201:50: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[(sel_str_len - (del_len1 + del_len2))] = NULL; ^ txt_match.c:278:19: warning: implicit declaration of function 'textsw_replace'; did you mean 'textsw_erase'? [-Wimplicit-function-declaration] num_of_byte = textsw_replace(FOLIO_REP_TO_ABS(folio), first, last_plus_one, buf, STRLEN(buf)); ^~~~~~~~~~~~~~ textsw_erase txt_match.c: In function 'match_cmd_proc': txt_match.c:303:13: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_match.c:317:10: warning: implicit declaration of function 'textsw_match_field_and_normalize' [-Wimplicit-function-declaration] (void) textsw_match_field_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_match.c -o txt_match.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_match.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_match.c: In function 'do_insert_or_remove_delimiter': txt_match.c:85:1: warning: type of 'value' defaults to 'int' [-Wimplicit-int] do_insert_or_remove_delimiter(view, value, do_insert) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_match.c:132:12: warning: implicit declaration of function 'ev_get_selection'; did you mean 'es_get_position'? [-Wimplicit-function-declaration] (void) ev_get_selection(folio->views, &first, &last_plus_one, EV_SEL_PRIMARY); ^~~~~~~~~~~~~~~~ es_get_position txt_match.c:172:9: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[0] = NULL; ^ txt_match.c:178:10: warning: implicit declaration of function 'textsw_get_selection_as_string'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] if (textsw_get_selection_as_string(folio, EV_SEL_PRIMARY, sel_str, ((last_plus_one - first) + 1))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_match.c:201:50: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] buf[(sel_str_len - (del_len1 + del_len2))] = NULL; ^ txt_match.c:278:19: warning: implicit declaration of function 'textsw_replace'; did you mean 'textsw_erase'? [-Wimplicit-function-declaration] num_of_byte = textsw_replace(FOLIO_REP_TO_ABS(folio), first, last_plus_one, buf, STRLEN(buf)); ^~~~~~~~~~~~~~ textsw_erase txt_match.c: In function 'match_cmd_proc': txt_match.c:303:13: warning: implicit declaration of function 'textsw_match_selection_and_normalize'; did you mean 'textsw_init_selection_object'? [-Wimplicit-function-declaration] (void) textsw_match_selection_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_init_selection_object txt_match.c:317:10: warning: implicit declaration of function 'textsw_match_field_and_normalize' [-Wimplicit-function-declaration] (void) textsw_match_field_and_normalize(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f txt_load.o shared/txt_load.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_load.c -o shared/txt_load.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_load.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_load.c: In function 'do_load_proc': txt_load.c:72:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(textsw)) { ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_load.c:144:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_load.c:155:12: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~ getw txt_load.c:163:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_load.c:208:11: warning: implicit declaration of function 'textsw_load_file'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] result = textsw_load_file(textsw, file_str, TRUE, 0, 0); ^~~~~~~~~~~~~~~~ textsw_store_file txt_load.c: In function 'open_cmd_proc': txt_load.c:266:24: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ txt_load.c: In function 'create_load_items': txt_load.c:520:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] load_string[0] = NULL; ^ txt_load.c:521:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, load_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_load.c: In function 'do_load_proc': txt_load.c:220:30: warning: 'frame' may be used uninitialized in this function [-Wmaybe-uninitialized] text_notice = (Xv_Notice)xv_get(frame, ^~~~~~~~~~~~~ XV_KEY_DATA, text_notice_key, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ txt_load.c: In function 'open_cmd_proc': txt_load.c:405:30: warning: 'frame' may be used uninitialized in this function [-Wmaybe-uninitialized] text_notice = (Xv_Notice)xv_get(frame, ^~~~~~~~~~~~~ XV_KEY_DATA, text_notice_key, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_load.c -o txt_load.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_load.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_load.c: In function 'do_load_proc': txt_load.c:72:9: warning: implicit declaration of function 'textsw_has_been_modified'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] if (textsw_has_been_modified(textsw)) { ^~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero txt_load.c:144:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_load.c:155:12: warning: implicit declaration of function 'getcwd'; did you mean 'getw'? [-Wimplicit-function-declaration] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~ getw txt_load.c:163:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_load.c:208:11: warning: implicit declaration of function 'textsw_load_file'; did you mean 'textsw_store_file'? [-Wimplicit-function-declaration] result = textsw_load_file(textsw, file_str, TRUE, 0, 0); ^~~~~~~~~~~~~~~~ textsw_store_file txt_load.c: In function 'open_cmd_proc': txt_load.c:266:24: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ txt_load.c: In function 'create_load_items': txt_load.c:520:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] load_string[0] = NULL; ^ txt_load.c:521:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, load_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_load.c: In function 'do_load_proc': txt_load.c:220:30: warning: 'frame' may be used uninitialized in this function [-Wmaybe-uninitialized] text_notice = (Xv_Notice)xv_get(frame, ^~~~~~~~~~~~~ XV_KEY_DATA, text_notice_key, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ txt_load.c: In function 'open_cmd_proc': txt_load.c:405:30: warning: 'frame' may be used uninitialized in this function [-Wmaybe-uninitialized] text_notice = (Xv_Notice)xv_get(frame, ^~~~~~~~~~~~~ XV_KEY_DATA, text_notice_key, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL); ~~~~~ rm -f txt_line.o shared/txt_line.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_line.c -o shared/txt_line.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_line.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_line.c: In function 'do_sel_line_proc': txt_line.c:78:6: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(folio->views->esh, buf, buf_fill_len, ^~~~~~~~~~~~~~ ev_find_finger txt_line.c:91:2: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection(VIEW_REP_TO_ABS(view), prev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_line.c: In function 'create_sel_line_items': txt_line.c:129:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] line_number[0] = NULL; ^ txt_line.c:130:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, line_number, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_line.c: In function 'sel_line_cmd_proc': txt_line.c:114:8: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] if (error) { ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_line.c -o txt_line.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_line.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_line.c: In function 'do_sel_line_proc': txt_line.c:78:6: warning: implicit declaration of function 'ev_find_in_esh'; did you mean 'ev_find_finger'? [-Wimplicit-function-declaration] ev_find_in_esh(folio->views->esh, buf, buf_fill_len, ^~~~~~~~~~~~~~ ev_find_finger txt_line.c:91:2: warning: implicit declaration of function 'textsw_possibly_normalize_and_set_selection'; did you mean 'textsw_clear_secondary_selection'? [-Wimplicit-function-declaration] textsw_possibly_normalize_and_set_selection(VIEW_REP_TO_ABS(view), prev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_clear_secondary_selection txt_line.c: In function 'create_sel_line_items': txt_line.c:129:20: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] line_number[0] = NULL; ^ txt_line.c:130:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, line_number, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_line.c: In function 'sel_line_cmd_proc': txt_line.c:114:8: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized] if (error) { ^ rm -f txt_incl.o shared/txt_incl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_incl.c -o shared/txt_incl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_incl.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_incl.c: In function 'do_include_proc': txt_incl.c:99:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_incl.c:128:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_incl.c:174:6: warning: implicit declaration of function 'textsw_file_stuff_from_str'; did you mean 'textsw_give_shelf_to_svc'? [-Wimplicit-function-declaration] if (textsw_file_stuff_from_str(VIEW_FROM_FOLIO_OR_VIEW(folio), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_give_shelf_to_svc txt_incl.c: In function 'create_include_items': txt_incl.c:272:23: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] include_string[0] = NULL; ^ txt_incl.c:273:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, include_string, ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_incl.c: In function 'include_cmd_proc': txt_incl.c:359:21: warning: unused variable 'popup_frame' [-Wunused-variable] Frame popup_frame; ^~~~~~~~~~~ txt_incl.c:352:21: warning: unused variable 'textsw' [-Wunused-variable] Textsw textsw = FOLIO_REP_TO_ABS(folio); ^~~~~~ txt_incl.c:351:24: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ txt_incl.c: In function 'create_include_items': txt_incl.c:276:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(current_dir_include_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_incl.c: In function 'do_include_proc': txt_incl.c:119:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_incl.c: In function 'include_cmd_proc': txt_incl.c:395:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_incl.c -o txt_incl.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from ../../../build/include/xview_private/primal.h:12, from txt_incl.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ txt_incl.c: In function 'do_include_proc': txt_incl.c:99:9: warning: implicit declaration of function 'textsw_expand_filename'; did you mean 'textsw_append_file_name'? [-Wimplicit-function-declaration] if (textsw_expand_filename(folio, dir_str, locx, locy)) { ^~~~~~~~~~~~~~~~~~~~~~ textsw_append_file_name txt_incl.c:128:10: warning: implicit declaration of function 'textsw_change_directory'; did you mean 'textsw_remove_timer'? [-Wimplicit-function-declaration] if (textsw_change_directory(folio, dir_str, FALSE, locx, locy) != 0) ^~~~~~~~~~~~~~~~~~~~~~~ textsw_remove_timer txt_incl.c:174:6: warning: implicit declaration of function 'textsw_file_stuff_from_str'; did you mean 'textsw_give_shelf_to_svc'? [-Wimplicit-function-declaration] if (textsw_file_stuff_from_str(VIEW_FROM_FOLIO_OR_VIEW(folio), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_give_shelf_to_svc txt_incl.c: In function 'create_include_items': txt_incl.c:272:23: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] include_string[0] = NULL; ^ txt_incl.c:273:12: warning: implicit declaration of function 'textsw_get_selection'; did you mean 'textsw_store_to_selection'? [-Wimplicit-function-declaration] (void) textsw_get_selection(view, &dummy, &dummy, include_string, ^~~~~~~~~~~~~~~~~~~~ textsw_store_to_selection txt_incl.c: In function 'include_cmd_proc': txt_incl.c:359:21: warning: unused variable 'popup_frame' [-Wunused-variable] Frame popup_frame; ^~~~~~~~~~~ txt_incl.c:352:21: warning: unused variable 'textsw' [-Wunused-variable] Textsw textsw = FOLIO_REP_TO_ABS(folio); ^~~~~~ txt_incl.c:351:24: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ txt_incl.c: In function 'create_include_items': txt_incl.c:276:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(current_dir_include_string, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_incl.c: In function 'do_include_proc': txt_incl.c:119:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ txt_incl.c: In function 'include_cmd_proc': txt_incl.c:395:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd(curr_dir, MAX_STR_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f txt_data.o shared/txt_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_data.c -o shared/txt_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/txt_impl.h:32, from txt_data.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -c txt_data.c -o txt_data.o In file included from /usr/include/sys/time.h:21, from ../../../build/include/xview_private/txt_impl.h:32, from txt_data.c:7: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/es_file.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/es_file.o ../../libxview/xshared/es_file.o + rm -f ../../libxview/xshared/es_mem.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/es_mem.o ../../libxview/xshared/es_mem.o + rm -f ../../libxview/xshared/es_util.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/es_util.o ../../libxview/xshared/es_util.o + rm -f ../../libxview/xshared/es_attr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/es_attr.o ../../libxview/xshared/es_attr.o + rm -f ../../libxview/xshared/ps_impl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ps_impl.o ../../libxview/xshared/ps_impl.o + rm -f ../../libxview/xshared/ev_display.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_display.o ../../libxview/xshared/ev_display.o + rm -f ../../libxview/xshared/ev_op_bdry.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_op_bdry.o ../../libxview/xshared/ev_op_bdry.o + rm -f ../../libxview/xshared/ev_edit.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_edit.o ../../libxview/xshared/ev_edit.o + rm -f ../../libxview/xshared/ev_once.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_once.o ../../libxview/xshared/ev_once.o + rm -f ../../libxview/xshared/ev_attr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_attr.o ../../libxview/xshared/ev_attr.o + rm -f ../../libxview/xshared/ev_field.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_field.o ../../libxview/xshared/ev_field.o + rm -f ../../libxview/xshared/ev_update.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ev_update.o ../../libxview/xshared/ev_update.o + rm -f ../../libxview/xshared/es_cp_file.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/es_cp_file.o ../../libxview/xshared/es_cp_file.o + rm -f ../../libxview/xshared/ei_text.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ei_text.o ../../libxview/xshared/ei_text.o + rm -f ../../libxview/xshared/ei_attr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/ei_attr.o ../../libxview/xshared/ei_attr.o + rm -f ../../libxview/xshared/finger_tbl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/finger_tbl.o ../../libxview/xshared/finger_tbl.o + rm -f ../../libxview/xshared/txt_once.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_once.o ../../libxview/xshared/txt_once.o + rm -f ../../libxview/xshared/txt_input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_input.o ../../libxview/xshared/txt_input.o + rm -f ../../libxview/xshared/txt_edit.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_edit.o ../../libxview/xshared/txt_edit.o + rm -f ../../libxview/xshared/txt_menu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_menu.o ../../libxview/xshared/txt_menu.o + rm -f ../../libxview/xshared/txt_disp.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_disp.o ../../libxview/xshared/txt_disp.o + rm -f ../../libxview/xshared/txt_event.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_event.o ../../libxview/xshared/txt_event.o + rm -f ../../libxview/xshared/txt_find.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_find.o ../../libxview/xshared/txt_find.o + rm -f ../../libxview/xshared/txt_file.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_file.o ../../libxview/xshared/txt_file.o + rm -f ../../libxview/xshared/txt_sel.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_sel.o ../../libxview/xshared/txt_sel.o + rm -f ../../libxview/xshared/txt_selsvc.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_selsvc.o ../../libxview/xshared/txt_selsvc.o + rm -f ../../libxview/xshared/txt_again.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_again.o ../../libxview/xshared/txt_again.o + rm -f ../../libxview/xshared/txt_getkey.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_getkey.o ../../libxview/xshared/txt_getkey.o + rm -f ../../libxview/xshared/txt_putkey.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_putkey.o ../../libxview/xshared/txt_putkey.o + rm -f ../../libxview/xshared/txt_filter.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_filter.o ../../libxview/xshared/txt_filter.o + rm -f ../../libxview/xshared/text.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/text.o ../../libxview/xshared/text.o + rm -f ../../libxview/xshared/txt_attr.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_attr.o ../../libxview/xshared/txt_attr.o + rm -f ../../libxview/xshared/txt_dbx.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_dbx.o ../../libxview/xshared/txt_dbx.o + rm -f ../../libxview/xshared/txt_tool.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_tool.o ../../libxview/xshared/txt_tool.o + rm -f ../../libxview/xshared/txt_scroll.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_scroll.o ../../libxview/xshared/txt_scroll.o + rm -f ../../libxview/xshared/txt_field.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_field.o ../../libxview/xshared/txt_field.o + rm -f ../../libxview/xshared/txt_caret.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_caret.o ../../libxview/xshared/txt_caret.o + rm -f ../../libxview/xshared/txt_search.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_search.o ../../libxview/xshared/txt_search.o + rm -f ../../libxview/xshared/txt_e_menu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_e_menu.o ../../libxview/xshared/txt_e_menu.o + rm -f ../../libxview/xshared/txt_move.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_move.o ../../libxview/xshared/txt_move.o + rm -f ../../libxview/xshared/txt_view.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_view.o ../../libxview/xshared/txt_view.o + rm -f ../../libxview/xshared/txt_popup.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_popup.o ../../libxview/xshared/txt_popup.o + rm -f ../../libxview/xshared/txt_store.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_store.o ../../libxview/xshared/txt_store.o + rm -f ../../libxview/xshared/txt_match.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_match.o ../../libxview/xshared/txt_match.o + rm -f ../../libxview/xshared/txt_load.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_load.o ../../libxview/xshared/txt_load.o + rm -f ../../libxview/xshared/txt_line.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_line.o ../../libxview/xshared/txt_line.o + rm -f ../../libxview/xshared/txt_incl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_incl.o ../../libxview/xshared/txt_incl.o + rm -f ../../libxview/xshared/txt_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/shared/txt_data.o ../../libxview/xshared/txt_data.o ar ruv ../../libxview/libxview.a es_file.o es_mem.o es_util.o es_attr.o ps_impl.o ev_display.o ev_op_bdry.o ev_edit.o ev_once.o ev_attr.o ev_field.o ev_update.o es_cp_file.o ei_text.o ei_attr.o finger_tbl.o txt_once.o txt_input.o txt_edit.o txt_menu.o txt_disp.o txt_event.o txt_find.o txt_file.o txt_sel.o txt_selsvc.o txt_again.o txt_getkey.o txt_putkey.o txt_filter.o text.o txt_attr.o txt_dbx.o txt_tool.o txt_scroll.o txt_field.o txt_caret.o txt_search.o txt_e_menu.o txt_move.o txt_view.o txt_popup.o txt_store.o txt_match.o txt_load.o txt_line.o txt_incl.o txt_data.o a - es_file.o a - es_mem.o a - es_util.o a - es_attr.o a - ps_impl.o a - ev_display.o a - ev_op_bdry.o a - ev_edit.o a - ev_once.o a - ev_attr.o a - ev_field.o a - ev_update.o a - es_cp_file.o a - ei_text.o a - ei_attr.o a - finger_tbl.o a - txt_once.o a - txt_input.o a - txt_edit.o a - txt_menu.o a - txt_disp.o a - txt_event.o a - txt_find.o a - txt_file.o a - txt_sel.o a - txt_selsvc.o a - txt_again.o a - txt_getkey.o a - txt_putkey.o a - txt_filter.o a - text.o a - txt_attr.o a - txt_dbx.o a - txt_tool.o a - txt_scroll.o a - txt_field.o a - txt_caret.o a - txt_search.o a - txt_e_menu.o a - txt_move.o a - txt_view.o a - txt_popup.o a - txt_store.o a - txt_match.o a - txt_load.o a - txt_line.o a - txt_incl.o a - txt_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw' making all in lib/libxview/ttysw... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' rm -f cim_change.o shared/cim_change.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cim_change.c -o shared/cim_change.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from cim_change.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cim_change.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_nobold_mode() ^~~~~~~~~~~~~~~~~ cim_change.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_nounderscore_mode() ^~~~~~~~~~~~~~~~~~~~~~~ cim_change.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_noinverse_mode() ^~~~~~~~~~~~~~~~~~~~ cim_change.c: In function 'ttysw_deleteChar': cim_change.c:347:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*a++ = *b++) ^ cim_change.c: In function 'ttysw_nobold_mode': cim_change.c:70:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cim_change.c: In function 'ttysw_nounderscore_mode': cim_change.c:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cim_change.c: In function 'ttysw_noinverse_mode': cim_change.c:94:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cim_change.c -o cim_change.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from cim_change.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cim_change.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_nobold_mode() ^~~~~~~~~~~~~~~~~ cim_change.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_nounderscore_mode() ^~~~~~~~~~~~~~~~~~~~~~~ cim_change.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_noinverse_mode() ^~~~~~~~~~~~~~~~~~~~ cim_change.c: In function 'ttysw_deleteChar': cim_change.c:347:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (*a++ = *b++) ^ cim_change.c: In function 'ttysw_nobold_mode': cim_change.c:70:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cim_change.c: In function 'ttysw_nounderscore_mode': cim_change.c:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cim_change.c: In function 'ttysw_noinverse_mode': cim_change.c:94:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f cim_size.o shared/cim_size.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cim_size.c -o shared/cim_size.o In file included from /usr/include/sys/types.h:25, from cim_size.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cim_size.c: In function 'xv_tty_free_image_and_mode': cim_size.c:159:9: warning: implicit declaration of function 'cfree'; did you mean 'free'? [-Wimplicit-function-declaration] cfree((CHAR *) (lines_ptr)); ^~~~~ free gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c cim_size.c -o cim_size.o In file included from /usr/include/sys/types.h:25, from cim_size.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ cim_size.c: In function 'xv_tty_free_image_and_mode': cim_size.c:159:9: warning: implicit declaration of function 'cfree'; did you mean 'free'? [-Wimplicit-function-declaration] cfree((CHAR *) (lines_ptr)); ^~~~~ free rm -f csr_change.o shared/csr_change.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c csr_change.c -o shared/csr_change.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/tty_impl.h:17, from csr_change.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from csr_change.c:41: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ In file included from csr_change.c:29: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ csr_change.c:92:1: note: in expansion of macro 'mpr_static' mpr_static(ttysw_gray17_pr, 12, 12, 1, ttysw_gray17_data); ^~~~~~~~~~ csr_change.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_get_inverse_mode() ^~~~~~~~~~~~~~~~~~~~~~ csr_change.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_get_underline_mode() ^~~~~~~~~~~~~~~~~~~~~~~~ csr_change.c: In function 'ttysw_setleftmargin': csr_change.c:140:1: warning: type of 'left_margin' defaults to 'int' [-Wimplicit-int] ttysw_setleftmargin(left_margin) ^~~~~~~~~~~~~~~~~~~ csr_change.c: At top level: csr_change.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_getleftmargin() ^~~~~~~~~~~~~~~~~~~ csr_change.c: In function 'ttysw_pcopyline': csr_change.c:345:5: warning: implicit declaration of function 'tty_synccopyarea'; did you mean 'tty_copyarea'? [-Wimplicit-function-declaration] tty_synccopyarea(csr_pixwin); ^~~~~~~~~~~~~~~~ tty_copyarea csr_change.c: In function 'ttysw_prepair': csr_change.c:496:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((cursor & LIGHTCURSOR) && exposed->line_exposed[cursrow+1] || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csr_change.c:546:4: warning: implicit declaration of function 'ttyhiliteselection'; did you mean 'ttysel_setselection'? [-Wimplicit-function-declaration] ttyhiliteselection(&ttysw->ttysw_primary, SELN_PRIMARY); ^~~~~~~~~~~~~~~~~~ ttysel_setselection csr_change.c: In function 'ttysw_drawCursor': csr_change.c:568:1: warning: type of 'yChar' defaults to 'int' [-Wimplicit-int] ttysw_drawCursor(yChar, xChar) ^~~~~~~~~~~~~~~~ csr_change.c:568:1: warning: type of 'xChar' defaults to 'int' [-Wimplicit-int] csr_change.c: In function 'ttysw_blinkscreen': csr_change.c:711:9: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(window, ttysw_bell_tv, csr_pixwin); ^~~~~~~~ window_bell gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c csr_change.c -o csr_change.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/tty_impl.h:17, from csr_change.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from csr_change.c:41: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ In file included from csr_change.c:29: ../../../build/include/pixrect/memvar.h:119:17: warning: missing braces around initializer [-Wmissing-braces] Pixrect name = {&mem_ops, w, h, d, (caddr_t)&CAT(name,_data)} ^ csr_change.c:92:1: note: in expansion of macro 'mpr_static' mpr_static(ttysw_gray17_pr, 12, 12, 1, ttysw_gray17_data); ^~~~~~~~~~ csr_change.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_get_inverse_mode() ^~~~~~~~~~~~~~~~~~~~~~ csr_change.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_get_underline_mode() ^~~~~~~~~~~~~~~~~~~~~~~~ csr_change.c: In function 'ttysw_setleftmargin': csr_change.c:140:1: warning: type of 'left_margin' defaults to 'int' [-Wimplicit-int] ttysw_setleftmargin(left_margin) ^~~~~~~~~~~~~~~~~~~ csr_change.c: At top level: csr_change.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_getleftmargin() ^~~~~~~~~~~~~~~~~~~ csr_change.c: In function 'ttysw_pcopyline': csr_change.c:345:5: warning: implicit declaration of function 'tty_synccopyarea'; did you mean 'tty_copyarea'? [-Wimplicit-function-declaration] tty_synccopyarea(csr_pixwin); ^~~~~~~~~~~~~~~~ tty_copyarea csr_change.c: In function 'ttysw_prepair': csr_change.c:496:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((cursor & LIGHTCURSOR) && exposed->line_exposed[cursrow+1] || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csr_change.c:546:4: warning: implicit declaration of function 'ttyhiliteselection'; did you mean 'ttysel_setselection'? [-Wimplicit-function-declaration] ttyhiliteselection(&ttysw->ttysw_primary, SELN_PRIMARY); ^~~~~~~~~~~~~~~~~~ ttysel_setselection csr_change.c: In function 'ttysw_drawCursor': csr_change.c:568:1: warning: type of 'yChar' defaults to 'int' [-Wimplicit-int] ttysw_drawCursor(yChar, xChar) ^~~~~~~~~~~~~~~~ csr_change.c:568:1: warning: type of 'xChar' defaults to 'int' [-Wimplicit-int] csr_change.c: In function 'ttysw_blinkscreen': csr_change.c:711:9: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(window, ttysw_bell_tv, csr_pixwin); ^~~~~~~~ window_bell rm -f csr_init.o shared/csr_init.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c csr_init.c -o shared/csr_init.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from csr_init.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ csr_init.c: In function 'wininit': csr_init.c:69:12: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getinputmask(win, &im, 0); ^~~~~~~~~~~~~~~~ win_get_damage csr_init.c:83:12: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] (void) win_setinputmask(win, &im, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit csr_init.c:100:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(win, &rect); ^~~~~~~~~~~ win_get_damage csr_init.c: In function 'xv_new_tty_chr_font': csr_init.c:168:15: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] percent = defaults_get_integer("text.lineSpacing", "Text.LineSpacing", 0); ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c csr_init.c -o csr_init.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from csr_init.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ csr_init.c: In function 'wininit': csr_init.c:69:12: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getinputmask(win, &im, 0); ^~~~~~~~~~~~~~~~ win_get_damage csr_init.c:83:12: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] (void) win_setinputmask(win, &im, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit csr_init.c:100:12: warning: implicit declaration of function 'win_getsize'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getsize(win, &rect); ^~~~~~~~~~~ win_get_damage csr_init.c: In function 'xv_new_tty_chr_font': csr_init.c:168:15: warning: implicit declaration of function 'defaults_get_integer' [-Wimplicit-function-declaration] percent = defaults_get_integer("text.lineSpacing", "Text.LineSpacing", 0); ^~~~~~~~~~~~~~~~~~~~ rm -f ttyansi.o shared/ttyansi.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttyansi.c -o shared/ttyansi.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ttyansi.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ttyansi.c:27: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ ttyansi.c: In function 'from_pty_to_textsw': ttyansi.c:109:23: warning: unused variable 'ttysw_view' [-Wunused-variable] Ttysw_view_handle ttysw_view = TTY_VIEW_PRIVATE_FROM_ANY_PUBLIC(textsw); ^~~~~~~~~~ ttyansi.c: At top level: ttyansi.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] get_end_of_line(textsw) ^~~~~~~~~~~~~~~ ttyansi.c: In function 'ttysw_output_it': ttyansi.c:861:26: warning: implicit declaration of function 'textsw_does_index_not_show'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] pty_mark_shows = !textsw_does_index_not_show(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero ttyansi.c: In function 'ttysw_ansi_escape': ttyansi.c:1289:21: warning: type defaults to 'int' in declaration of 'reset_as_termsw' [-Wimplicit-int] static reset_as_termsw; ^~~~~~~~~~~~~~~ ttyansi.c: In function 'ttysw_output_it': ttyansi.c:998:22: warning: 'termsw' may be used uninitialized in this function [-Wmaybe-uninitialized] termsw->pty_mark = textsw_add_mark_i18n(textsw, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ line_start, ~~~~~~~~~~~ TEXTSW_MARK_DEFAULTS); ~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/txt_impl.h:42, from ttyansi.c:26: ../../../build/include/xview_private/ev.h:92:19: warning: 'views' may be used uninitialized in this function [-Wmaybe-uninitialized] for (view_formal = chain_formal->first_view; view_formal; \ ^ ttyansi.c:688:18: note: 'views' was declared here Ev_chain views; ^~~~~ ttyansi.c:1108:7: warning: 'textsw' may be used uninitialized in this function [-Wmaybe-uninitialized] cp = from_pty_to_textsw(textsw, cp, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttyansi.c -o ttyansi.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ttyansi.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ttyansi.c:27: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ ttyansi.c: In function 'from_pty_to_textsw': ttyansi.c:109:23: warning: unused variable 'ttysw_view' [-Wunused-variable] Ttysw_view_handle ttysw_view = TTY_VIEW_PRIVATE_FROM_ANY_PUBLIC(textsw); ^~~~~~~~~~ ttyansi.c: At top level: ttyansi.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] get_end_of_line(textsw) ^~~~~~~~~~~~~~~ ttyansi.c: In function 'ttysw_output_it': ttyansi.c:861:26: warning: implicit declaration of function 'textsw_does_index_not_show'; did you mean 'textsw_is_seln_nonzero'? [-Wimplicit-function-declaration] pty_mark_shows = !textsw_does_index_not_show(view, ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_is_seln_nonzero ttyansi.c: In function 'ttysw_ansi_escape': ttyansi.c:1289:21: warning: type defaults to 'int' in declaration of 'reset_as_termsw' [-Wimplicit-int] static reset_as_termsw; ^~~~~~~~~~~~~~~ ttyansi.c: In function 'ttysw_output_it': ttyansi.c:998:22: warning: 'termsw' may be used uninitialized in this function [-Wmaybe-uninitialized] termsw->pty_mark = textsw_add_mark_i18n(textsw, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ line_start, ~~~~~~~~~~~ TEXTSW_MARK_DEFAULTS); ~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/txt_impl.h:42, from ttyansi.c:26: ../../../build/include/xview_private/ev.h:92:19: warning: 'views' may be used uninitialized in this function [-Wmaybe-uninitialized] for (view_formal = chain_formal->first_view; view_formal; \ ^ ttyansi.c:688:18: note: 'views' was declared here Ev_chain views; ^~~~~ ttyansi.c:1108:7: warning: 'textsw' may be used uninitialized in this function [-Wmaybe-uninitialized] cp = from_pty_to_textsw(textsw, cp, buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f tty_gtty.o shared/tty_gtty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_gtty.c -o shared/tty_gtty.o In file included from /usr/include/sys/types.h:25, from tty_gtty.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_gtty.c:75:41: warning: missing braces around initializer [-Wmissing-braces] static struct termios default_modes = { ^ tty_gtty.c: In function 'ttysw_restoreparms': tty_gtty.c:153:12: warning: implicit declaration of function 'we_getptyparms'; did you mean 'we_setptyparms'? [-Wimplicit-function-declaration] while (we_getptyparms(&termios) == -1) { ^~~~~~~~~~~~~~ we_setptyparms tty_gtty.c:161:7: warning: implicit declaration of function 'isatty'; did you mean 'isset'? [-Wimplicit-function-declaration] if (!isatty(fd)) { ^~~~~~ isset tty_gtty.c:162:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] fd = open("/dev/console", 2); ^~~~ popen tty_gtty.c:169:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(fd); ^~~~~ pclose tty_gtty.c: In function 'we_getptyparms': tty_gtty.c:288:9: warning: implicit declaration of function '_we_setstrfromenvironment' [-Wimplicit-function-declaration] if (_we_setstrfromenvironment(WE_TTYPARMS, str)) ^~~~~~~~~~~~~~~~~~~~~~~~~ tty_gtty.c:313:6: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:10: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:14: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:18: warning: format '%ld' expects argument of type 'long int *', but argument 6 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_gtty.c -o tty_gtty.o In file included from /usr/include/sys/types.h:25, from tty_gtty.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_gtty.c:75:41: warning: missing braces around initializer [-Wmissing-braces] static struct termios default_modes = { ^ tty_gtty.c: In function 'ttysw_restoreparms': tty_gtty.c:153:12: warning: implicit declaration of function 'we_getptyparms'; did you mean 'we_setptyparms'? [-Wimplicit-function-declaration] while (we_getptyparms(&termios) == -1) { ^~~~~~~~~~~~~~ we_setptyparms tty_gtty.c:161:7: warning: implicit declaration of function 'isatty'; did you mean 'isset'? [-Wimplicit-function-declaration] if (!isatty(fd)) { ^~~~~~ isset tty_gtty.c:162:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] fd = open("/dev/console", 2); ^~~~ popen tty_gtty.c:169:13: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(fd); ^~~~~ pclose tty_gtty.c: In function 'we_getptyparms': tty_gtty.c:288:9: warning: implicit declaration of function '_we_setstrfromenvironment' [-Wimplicit-function-declaration] if (_we_setstrfromenvironment(WE_TTYPARMS, str)) ^~~~~~~~~~~~~~~~~~~~~~~~~ tty_gtty.c:313:6: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:10: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:14: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ tty_gtty.c:313:18: warning: format '%ld' expects argument of type 'long int *', but argument 6 has type 'tcflag_t *' {aka 'unsigned int *'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d &tp->c_iflag, &tp->c_oflag, &tp->c_cflag, &tp->c_lflag, ~~~~~~~~~~~~ rm -f tty_init.o shared/tty_init.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_init.c -o shared/tty_init.o In file included from /usr/include/sys/time.h:21, from tty_init.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_init.c:80: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_init.c:128:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bold_style[] = { ^ tty_init.c:143:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs inverse_and_underline_mode[] = { ^ tty_init.c: In function 'ttysw_init_view_internal': tty_init.c:209:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(tty_view_public, info); /* define info */ ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from tty_init.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_init.c: In function 'ttysw_init_folio_internal': tty_init.c:234:21: warning: type defaults to 'int' in declaration of 'ttysw_eventstd' [-Wimplicit-int] extern ttysw_eventstd(); ^~~~~~~~~~~~~~ tty_init.c:236:28: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque font = NULL; ^~~~ tty_init.c: In function 'ttysw_fork_it': tty_init.c:491:29: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] ttysw->ttysw_pidchild = fork(); ^~~~ tty_init.c:537:5: warning: implicit declaration of function 'setsid'; did you mean 'setbit'? [-Wimplicit-function-declaration] setsid(); ^~~~~~ setbit tty_init.c:549:5: warning: implicit declaration of function 'setpgrp'; did you mean 'setpwent'? [-Wimplicit-function-declaration] setpgrp(); ^~~~~~~ setpwent tty_init.c:561:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(ttysw->ttysw_pty); ^~~~~ pclose tty_init.c:565:12: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] (void) dup2(ttysw->ttysw_tty, 0); ^~~~ tty_init.c:615:5: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp(*argv+offset, argv); ^~~~~~ tty_init.c:618:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(ttysw_error_sleep); ^~~~~ tty_init.c: In function 'ttysw_parseargs': tty_init.c:643:13: warning: implicit declaration of function 'xv_cmdline_scrunch' [-Wimplicit-function-declaration] (void) xv_cmdline_scrunch(argcptr, argv_base, argv, 1); ^~~~~~~~~~~~~~~~~~ tty_init.c: In function 'ttysw_done': tty_init.c:687:9: warning: implicit declaration of function 'updateutmp'; did you mean 'updwtmp'? [-Wimplicit-function-declaration] (void) updateutmp("", ttysw_folio_private->ttysw_ttyslot, ^~~~~~~~~~ updwtmp tty_init.c: In function 'ttyinit': tty_init.c:956:13: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] tmpfd = dup(0); ^~~ tty_init.c: In function 'updateutmp': tty_init.c:1100:28: warning: implicit declaration of function 'getuid'; did you mean 'getutid'? [-Wimplicit-function-declaration] if ((passwdent = getpwuid(getuid())) == (struct passwd *) NULL) { ^~~~~~ getutid tty_init.c:1106:23: warning: implicit declaration of function 'getpid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] utmp.ut_pid = getpid(); ^~~~~~ getpwuid tty_init.c:1129:12: warning: implicit declaration of function 'time'; did you mean 'rtime'? [-Wimplicit-function-declaration] (void) time((time_t *) (&utmp.ut_time)); ^~~~ rtime tty_init.c:1090:21: warning: unused variable 'f' [-Wunused-variable] int f; ^ tty_init.c: In function 'ttysw_print_bold_options': tty_init.c:177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_init.c -o tty_init.o In file included from /usr/include/sys/time.h:21, from tty_init.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_init.c:80: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_init.c:128:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bold_style[] = { ^ tty_init.c:143:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs inverse_and_underline_mode[] = { ^ tty_init.c: In function 'ttysw_init_view_internal': tty_init.c:209:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(tty_view_public, info); /* define info */ ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from tty_init.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_init.c: In function 'ttysw_init_folio_internal': tty_init.c:234:21: warning: type defaults to 'int' in declaration of 'ttysw_eventstd' [-Wimplicit-int] extern ttysw_eventstd(); ^~~~~~~~~~~~~~ tty_init.c:236:28: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_opaque font = NULL; ^~~~ tty_init.c: In function 'ttysw_fork_it': tty_init.c:491:29: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] ttysw->ttysw_pidchild = fork(); ^~~~ tty_init.c:537:5: warning: implicit declaration of function 'setsid'; did you mean 'setbit'? [-Wimplicit-function-declaration] setsid(); ^~~~~~ setbit tty_init.c:549:5: warning: implicit declaration of function 'setpgrp'; did you mean 'setpwent'? [-Wimplicit-function-declaration] setpgrp(); ^~~~~~~ setpwent tty_init.c:561:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(ttysw->ttysw_pty); ^~~~~ pclose tty_init.c:565:12: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] (void) dup2(ttysw->ttysw_tty, 0); ^~~~ tty_init.c:615:5: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] execvp(*argv+offset, argv); ^~~~~~ tty_init.c:618:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(ttysw_error_sleep); ^~~~~ tty_init.c: In function 'ttysw_parseargs': tty_init.c:643:13: warning: implicit declaration of function 'xv_cmdline_scrunch' [-Wimplicit-function-declaration] (void) xv_cmdline_scrunch(argcptr, argv_base, argv, 1); ^~~~~~~~~~~~~~~~~~ tty_init.c: In function 'ttysw_done': tty_init.c:687:9: warning: implicit declaration of function 'updateutmp'; did you mean 'updwtmp'? [-Wimplicit-function-declaration] (void) updateutmp("", ttysw_folio_private->ttysw_ttyslot, ^~~~~~~~~~ updwtmp tty_init.c: In function 'ttyinit': tty_init.c:956:13: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] tmpfd = dup(0); ^~~ tty_init.c: In function 'updateutmp': tty_init.c:1100:28: warning: implicit declaration of function 'getuid'; did you mean 'getutid'? [-Wimplicit-function-declaration] if ((passwdent = getpwuid(getuid())) == (struct passwd *) NULL) { ^~~~~~ getutid tty_init.c:1106:23: warning: implicit declaration of function 'getpid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] utmp.ut_pid = getpid(); ^~~~~~ getpwuid tty_init.c:1129:12: warning: implicit declaration of function 'time'; did you mean 'rtime'? [-Wimplicit-function-declaration] (void) time((time_t *) (&utmp.ut_time)); ^~~~ rtime tty_init.c:1090:21: warning: unused variable 'f' [-Wunused-variable] int f; ^ tty_init.c: In function 'ttysw_print_bold_options': tty_init.c:177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty_ntfy.o shared/tty_ntfy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_ntfy.c -o shared/tty_ntfy.o In file included from /usr/include/sys/types.h:25, from tty_ntfy.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_ntfy.c:44: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_ntfy.c:90:17: warning: type defaults to 'int' in declaration of 'ttysw_waiting_for_pty_output' [-Wimplicit-int] static ttysw_waiting_for_pty_output; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tty_ntfy.c: In function 'ttysw_destroy': tty_ntfy.c:157:2: warning: implicit declaration of function 'ttysw_done'; did you mean 'ttysw_domap'? [-Wimplicit-function-declaration] ttysw_done(ttysw_folio_private); ^~~~~~~~~~ ttysw_domap tty_ntfy.c: In function 'ttysw_sigwinch': tty_ntfy.c:202:9: warning: implicit declaration of function 'getpgrp' [-Wimplicit-function-declaration] if (getpgrp() != pgrp) ^~~~~~~ tty_ntfy.c:170:21: warning: unused variable 'sig' [-Wunused-variable] int sig = SIGWINCH; ^~~ tty_ntfy.c: In function 'ttysw_display': tty_ntfy.c:305:3: warning: implicit declaration of function 'ttyhiliteselection'; did you mean 'ttysel_setselection'? [-Wimplicit-function-declaration] ttyhiliteselection(&ttysw->ttysw_secondary, SELN_SECONDARY); ^~~~~~~~~~~~~~~~~~ ttysel_setselection tty_ntfy.c: In function 'ttysw_prioritizer': tty_ntfy.c:454:6: warning: implicit declaration of function 'textsw_flush_std_caches'; did you mean 'textsw_find_bytes'? [-Wimplicit-function-declaration] textsw_flush_std_caches(TTY_VIEW_PUBLIC(ttysw_view)); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_find_bytes tty_ntfy.c: In function 'ttysw_resize': tty_ntfy.c:481:32: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] (void) xv_tty_new_size(ttysw, textsw_screen_column_count(TTY_PUBLIC(ttysw)), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count tty_ntfy.c: In function 'cim_resize': tty_ntfy.c:507:5: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_post_id'? [-Wimplicit-function-declaration] win_set_clip(TTY_VIEW_PUBLIC(ttysw_view), &rl); ^~~~~~~~~~~~ win_post_id gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_ntfy.c -o tty_ntfy.o In file included from /usr/include/sys/types.h:25, from tty_ntfy.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_ntfy.c:44: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_ntfy.c:90:17: warning: type defaults to 'int' in declaration of 'ttysw_waiting_for_pty_output' [-Wimplicit-int] static ttysw_waiting_for_pty_output; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tty_ntfy.c: In function 'ttysw_destroy': tty_ntfy.c:157:2: warning: implicit declaration of function 'ttysw_done'; did you mean 'ttysw_domap'? [-Wimplicit-function-declaration] ttysw_done(ttysw_folio_private); ^~~~~~~~~~ ttysw_domap tty_ntfy.c: In function 'ttysw_sigwinch': tty_ntfy.c:202:9: warning: implicit declaration of function 'getpgrp' [-Wimplicit-function-declaration] if (getpgrp() != pgrp) ^~~~~~~ tty_ntfy.c:170:21: warning: unused variable 'sig' [-Wunused-variable] int sig = SIGWINCH; ^~~ tty_ntfy.c: In function 'ttysw_display': tty_ntfy.c:305:3: warning: implicit declaration of function 'ttyhiliteselection'; did you mean 'ttysel_setselection'? [-Wimplicit-function-declaration] ttyhiliteselection(&ttysw->ttysw_secondary, SELN_SECONDARY); ^~~~~~~~~~~~~~~~~~ ttysel_setselection tty_ntfy.c: In function 'ttysw_prioritizer': tty_ntfy.c:454:6: warning: implicit declaration of function 'textsw_flush_std_caches'; did you mean 'textsw_find_bytes'? [-Wimplicit-function-declaration] textsw_flush_std_caches(TTY_VIEW_PUBLIC(ttysw_view)); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_find_bytes tty_ntfy.c: In function 'ttysw_resize': tty_ntfy.c:481:32: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] (void) xv_tty_new_size(ttysw, textsw_screen_column_count(TTY_PUBLIC(ttysw)), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count tty_ntfy.c: In function 'cim_resize': tty_ntfy.c:507:5: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_post_id'? [-Wimplicit-function-declaration] win_set_clip(TTY_VIEW_PUBLIC(ttysw_view), &rl); ^~~~~~~~~~~~ win_post_id rm -f tty_stty.o shared/tty_stty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_stty.c -o shared/tty_stty.o In file included from /usr/include/sys/types.h:25, from tty_stty.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_stty.c: In function 'we_setptyparms': tty_stty.c:135:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:10: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:18: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_stty.c -o tty_stty.o In file included from /usr/include/sys/types.h:25, from tty_stty.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_stty.c: In function 'we_setptyparms': tty_stty.c:135:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:10: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:14: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ tty_stty.c:135:18: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'tcflag_t' {aka 'unsigned int'} [-Wformat=] "%ld,%ld,%ld,%ld,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d tp->c_iflag, tp->c_oflag, tp->c_cflag, tp->c_lflag, ~~~~~~~~~~~ rm -f ttytl.o shared/ttytl.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttytl.c -o shared/ttytl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ttytl.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ttytl.c:36: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ ttytl.c: In function 'ttytlsw_escape': ttytl.c:75:9: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rect); ^~~~~~~~~~~ svc_getreq ttytl.c:87:13: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(frame_public, &rect); ^~~~~~~~~~~ ttytl.c:139:17: warning: implicit declaration of function 'frame_width_from_columns' [-Wimplicit-function-declaration] rect.r_width = frame_width_from_columns(av[2]); ^~~~~~~~~~~~~~~~~~~~~~~~ ttytl.c:141:18: warning: implicit declaration of function 'frame_height_from_lines' [-Wimplicit-function-declaration] rect.r_height = frame_height_from_lines(av[1], ^~~~~~~~~~~~~~~~~~~~~~~ ttytl.c:172:14: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] columns = textsw_screen_column_count(TTY_PUBLIC(ttysw)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count ttytl.c:198:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (text = (char *) xv_get(frame_public, FRAME_LABEL)) ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttytl.c -o ttytl.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ttytl.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ttytl.c:36: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ ttytl.c: In function 'ttytlsw_escape': ttytl.c:75:9: warning: implicit declaration of function 'win_getrect'; did you mean 'svc_getreq'? [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rect); ^~~~~~~~~~~ svc_getreq ttytl.c:87:13: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(frame_public, &rect); ^~~~~~~~~~~ ttytl.c:139:17: warning: implicit declaration of function 'frame_width_from_columns' [-Wimplicit-function-declaration] rect.r_width = frame_width_from_columns(av[2]); ^~~~~~~~~~~~~~~~~~~~~~~~ ttytl.c:141:18: warning: implicit declaration of function 'frame_height_from_lines' [-Wimplicit-function-declaration] rect.r_height = frame_height_from_lines(av[1], ^~~~~~~~~~~~~~~~~~~~~~~ ttytl.c:172:14: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] columns = textsw_screen_column_count(TTY_PUBLIC(ttysw)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count ttytl.c:198:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (text = (char *) xv_get(frame_public, FRAME_LABEL)) ^~~~ rm -f ttyselect.o shared/ttyselect.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttyselect.c -o shared/ttyselect.o In file included from /usr/include/signal.h:25, from ttyselect.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ttyselect.c:116:8: warning: type defaults to 'int' in declaration of 'ttysel_resynch' [-Wimplicit-int] static ttysel_resynch(struct ttysubwindow *ttysw, Seln_function_buffer *buffer); ^~~~~~~~~~~~~~ ttyselect.c: In function 'ttysw_is_seln_nonzero': ttyselect.c:136:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] bytesize = (int) *argv; ^ ttyselect.c: In function 'ttysel_adjust': ttyselect.c:429:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] tspe.tsp_row == te->tsp_row && tspe.tsp_col > te->tsp_col) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttyselect.c:459:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] tspb.tsp_row == tb->tsp_row && tspb.tsp_col < tb->tsp_col) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttyselect.c:478:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] } else if (ttysel->sel_anchor == 0) ^ ttyselect.c: In function 'ttysetselection': ttyselect.c:603:12: warning: implicit declaration of function 'selection_set'; did you mean 'selection_ask'? [-Wimplicit-function-declaration] (void) selection_set(&selection, (int (*) ()) (ttysel_write), ^~~~~~~~~~~~~ selection_ask ttyselect.c: In function 'ttygetselection': ttyselect.c:615:12: warning: implicit declaration of function 'selection_get'; did you mean 'selection_ask'? [-Wimplicit-function-declaration] (void) selection_get((int (*) ()) (ttysel_read), ^~~~~~~~~~~~~ selection_ask ttyselect.c: In function 'ttysel_resolve': ttyselect.c:1009:30: warning: array subscript has type 'char' [-Wchar-subscripts] match_mode = delim_table[line[te->tsp_col]]; ^ ttyselect.c: In function 'ttysel_function': ttyselect.c:1275:48: warning: implicit declaration of function 'xv_getlogindir'; did you mean 'xdr_getlong'? [-Wimplicit-function-declaration] sprintf(ttysel_filename, "%s/.ttyselection", xv_getlogindir()); ^~~~~~~~~~~~~~ xdr_getlong ttyselect.c:1275:30: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf(ttysel_filename, "%s/.ttyselection", xv_getlogindir()); ~^ ~~~~~~~~~~~~~~~~ %d ttyselect.c:1281:13: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] (void) fchmod(fileno(held_file), 00666); /* Allowing world to ^~~~~~ ttyselect.c: In function 'ttysw_do_copy': ttyselect.c:1344:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ok = ttysw_is_seln_nonzero(ttysw, SELN_PRIMARY)) { ^~ ttyselect.c:1340:21: warning: variable 'holder' set but not used [-Wunused-but-set-variable] Seln_holder holder; ^~~~~~ ttyselect.c: In function 'ttysel_reply': ttyselect.c:1438:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (char *) count; ^ ttyselect.c: In function 'ttysel_copy_out': ttyselect.c:1794:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((unsigned) dest % 4 != 0) { ^ ttyselect.c: At top level: ttyselect.c:1967:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysel_resynch(ttysw, buffer) ^~~~~~~~~~~~~~ ttyselect.c: In function 'ttysel_resynch': ttyselect.c:1991:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c ttyselect.c -o ttyselect.o In file included from /usr/include/signal.h:25, from ttyselect.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ ttyselect.c:116:8: warning: type defaults to 'int' in declaration of 'ttysel_resynch' [-Wimplicit-int] static ttysel_resynch(struct ttysubwindow *ttysw, Seln_function_buffer *buffer); ^~~~~~~~~~~~~~ ttyselect.c: In function 'ttysw_is_seln_nonzero': ttyselect.c:136:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] bytesize = (int) *argv; ^ ttyselect.c: In function 'ttysel_adjust': ttyselect.c:429:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] tspe.tsp_row == te->tsp_row && tspe.tsp_col > te->tsp_col) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttyselect.c:459:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] tspb.tsp_row == tb->tsp_row && tspb.tsp_col < tb->tsp_col) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttyselect.c:478:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] } else if (ttysel->sel_anchor == 0) ^ ttyselect.c: In function 'ttysetselection': ttyselect.c:603:12: warning: implicit declaration of function 'selection_set'; did you mean 'selection_ask'? [-Wimplicit-function-declaration] (void) selection_set(&selection, (int (*) ()) (ttysel_write), ^~~~~~~~~~~~~ selection_ask ttyselect.c: In function 'ttygetselection': ttyselect.c:615:12: warning: implicit declaration of function 'selection_get'; did you mean 'selection_ask'? [-Wimplicit-function-declaration] (void) selection_get((int (*) ()) (ttysel_read), ^~~~~~~~~~~~~ selection_ask ttyselect.c: In function 'ttysel_resolve': ttyselect.c:1009:30: warning: array subscript has type 'char' [-Wchar-subscripts] match_mode = delim_table[line[te->tsp_col]]; ^ ttyselect.c: In function 'ttysel_function': ttyselect.c:1275:48: warning: implicit declaration of function 'xv_getlogindir'; did you mean 'xdr_getlong'? [-Wimplicit-function-declaration] sprintf(ttysel_filename, "%s/.ttyselection", xv_getlogindir()); ^~~~~~~~~~~~~~ xdr_getlong ttyselect.c:1275:30: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] sprintf(ttysel_filename, "%s/.ttyselection", xv_getlogindir()); ~^ ~~~~~~~~~~~~~~~~ %d ttyselect.c:1281:13: warning: implicit declaration of function 'fchmod' [-Wimplicit-function-declaration] (void) fchmod(fileno(held_file), 00666); /* Allowing world to ^~~~~~ ttyselect.c: In function 'ttysw_do_copy': ttyselect.c:1344:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ok = ttysw_is_seln_nonzero(ttysw, SELN_PRIMARY)) { ^~ ttyselect.c:1340:21: warning: variable 'holder' set but not used [-Wunused-but-set-variable] Seln_holder holder; ^~~~~~ ttyselect.c: In function 'ttysel_reply': ttyselect.c:1438:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *context->response_pointer++ = (char *) count; ^ ttyselect.c: In function 'ttysel_copy_out': ttyselect.c:1794:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ((unsigned) dest % 4 != 0) { ^ ttyselect.c: At top level: ttyselect.c:1967:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysel_resynch(ttysw, buffer) ^~~~~~~~~~~~~~ ttyselect.c: In function 'ttysel_resynch': ttyselect.c:1991:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty_main.o shared/tty_main.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_main.c -o shared/tty_main.o In file included from /usr/include/errno.h:25, from tty_main.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_main.c:53: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_main.c: In function 'ttysw_pty_output': tty_main.c:389:8: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] cc = write(pty, irbp, eot_bp - irbp); ^~~~~ writev tty_main.c: In function 'ttysw_consume_output': tty_main.c:970:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (is_not_text = !ttysw_getopt((caddr_t) ttysw, TTYOPT_TEXT)) { ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_main.c -o tty_main.o In file included from /usr/include/errno.h:25, from tty_main.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_main.c:53: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_main.c: In function 'ttysw_pty_output': tty_main.c:389:8: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] cc = write(pty, irbp, eot_bp - irbp); ^~~~~ writev tty_main.c: In function 'ttysw_consume_output': tty_main.c:970:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (is_not_text = !ttysw_getopt((caddr_t) ttysw, TTYOPT_TEXT)) { ^~~~~~~~~~~ rm -f tty_menu.o shared/tty_menu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_menu.c -o shared/tty_menu.o In file included from /usr/include/sys/types.h:25, from tty_menu.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_menu.c:39: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_menu.c: In function 'ttysw_walkmenu': tty_menu.c:96:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] page_mode_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:107:27: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] copy_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:116:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] paste_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:136:33: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c: In function 'ttysw_set_menu': tty_menu.c:396:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] editiable_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:405:31: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] readonly_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:421:39: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mode_item = (Menu_item) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:429:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] store_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:438:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] clear_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:454:42: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] history_item = (Menu_item) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:462:34: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] edit_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:469:34: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] find_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:476:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] extras_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:489:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_editor_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:497:37: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] disable_editor_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:511:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] editor_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:524:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:532:37: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] disable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:547:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] scroll_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c: In function 'ttysw_enable_editor': tty_menu.c:734:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:688:1: note: declared here ttysw_enable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~ tty_menu.c:786:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:688:1: note: declared here ttysw_enable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~ tty_menu.c: In function 'ttysw_disable_editor': tty_menu.c:847:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:798:1: note: declared here ttysw_disable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~ tty_menu.c:851:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:798:1: note: declared here ttysw_disable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~ tty_menu.c: In function 'ttysw_mode_action': tty_menu.c:901:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_menu.c -o tty_menu.o In file included from /usr/include/sys/types.h:25, from tty_menu.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_menu.c:39: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_menu.c: In function 'ttysw_walkmenu': tty_menu.c:96:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] page_mode_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:107:27: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] copy_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:116:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] paste_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:136:33: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c: In function 'ttysw_set_menu': tty_menu.c:396:32: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] editiable_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:405:31: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] readonly_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:421:39: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] mode_item = (Menu_item) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:429:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] store_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:438:28: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] clear_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:454:42: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] history_item = (Menu_item) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:462:34: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] edit_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:469:34: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] find_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:476:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] extras_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:489:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_editor_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:497:37: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] disable_editor_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:511:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] editor_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:524:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] enable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:532:37: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] disable_scroll_item = xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c:547:36: warning: passing argument 1 of 'xv_create' makes integer from pointer without a cast [-Wint-conversion] scroll_item = (Menu) xv_create(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_menu.c:26: ../../../build/include/xview/pkg_public.h:58:50: note: expected 'Xv_opaque' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (Xv_object xv_create, (Xv_opaque owner, Xv_pkg *pkg, DOTDOTDOT)); ~~~~~~~~~~^~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_menu.c: In function 'ttysw_enable_editor': tty_menu.c:734:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:688:1: note: declared here ttysw_enable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~ tty_menu.c:786:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:688:1: note: declared here ttysw_enable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~ tty_menu.c: In function 'ttysw_disable_editor': tty_menu.c:847:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:798:1: note: declared here ttysw_disable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~ tty_menu.c:851:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tty_menu.c:798:1: note: declared here ttysw_disable_editor(cmd_menu, cmd_item) ^~~~~~~~~~~~~~~~~~~~ tty_menu.c: In function 'ttysw_mode_action': tty_menu.c:901:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty_mapkey.o shared/tty_mapkey.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_mapkey.c -o shared/tty_mapkey.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty_mapkey.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_mapkey.c:31: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_mapkey.c: In function 'ttysw_mapsetim': tty_mapkey.c:190:12: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getinputmask(window, &imask, 0); ^~~~~~~~~~~~~~~~ win_get_damage tty_mapkey.c:200:12: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] (void) win_setinputmask(window, &imask, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit tty_mapkey.c: In function 'ttysw_domap': tty_mapkey.c:256:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_help_show(TTY_PUBLIC(ttysw), xv_get(TTY_PUBLIC(ttysw), XV_HELP_DATA), ^~~~~~~~~~~~ xv_replrop tty_mapkey.c: In function 'ttysw_strtokey': tty_mapkey.c:347:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_mapkey.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_mapkey.c: In function 'savestr': tty_mapkey.c:372:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_mapkey.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_mapkey.c: In function 'tdecode': tty_mapkey.c:399:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *src++) { ^ tty_mapkey.c: In function 'ttysw_mapsetim': tty_mapkey.c:201:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_mapkey.c -o tty_mapkey.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty_mapkey.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_mapkey.c:31: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_mapkey.c: In function 'ttysw_mapsetim': tty_mapkey.c:190:12: warning: implicit declaration of function 'win_getinputmask'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] (void) win_getinputmask(window, &imask, 0); ^~~~~~~~~~~~~~~~ win_get_damage tty_mapkey.c:200:12: warning: implicit declaration of function 'win_setinputmask'; did you mean 'win_setinputcodebit'? [-Wimplicit-function-declaration] (void) win_setinputmask(window, &imask, 0, 0); ^~~~~~~~~~~~~~~~ win_setinputcodebit tty_mapkey.c: In function 'ttysw_domap': tty_mapkey.c:256:6: warning: implicit declaration of function 'xv_help_show'; did you mean 'xv_replrop'? [-Wimplicit-function-declaration] xv_help_show(TTY_PUBLIC(ttysw), xv_get(TTY_PUBLIC(ttysw), XV_HELP_DATA), ^~~~~~~~~~~~ xv_replrop tty_mapkey.c: In function 'ttysw_strtokey': tty_mapkey.c:347:12: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_mapkey.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_mapkey.c: In function 'savestr': tty_mapkey.c:372:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty_mapkey.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_mapkey.c: In function 'tdecode': tty_mapkey.c:399:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *src++) { ^ tty_mapkey.c: In function 'ttysw_mapsetim': tty_mapkey.c:201:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty.o shared/tty.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty.c -o shared/tty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty.c:32: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty.c: In function 'ttysw_set_internal': tty.c:329:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty.c:333:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(win, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus tty.c:415:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) argv == TTY_ARGV_DO_NOT_FORK) { ^ tty.c: In function 'ttysw_get_internal': tty.c:497:7: warning: case value '1239419169' not in enumerated type 'Tty_attribute' {aka 'enum '} [-Wswitch] case WIN_TYPE: /* SunView1.X compatibility */ ^~~~ tty.c:479:7: warning: case value '1448086017' not in enumerated type 'Tty_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ tty.c: At top level: tty.c:534:1: warning: return type defaults to 'int' [-Wimplicit-int] tty_quit_on_death(client, pid, status, rusage) ^~~~~~~~~~~~~~~~~ tty.c:586:1: warning: return type defaults to 'int' [-Wimplicit-int] tty_handle_death(tty_folio_private, pid, status, rusage) ^~~~~~~~~~~~~~~~ tty.c: In function 'tty_handle_death': tty.c:599:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ tty.c: In function 'tty_quit_on_death': tty.c:582:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty.c -o tty.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty.c:32: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty.c: In function 'ttysw_set_internal': tty.c:329:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from tty.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty.c:333:4: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(win, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus tty.c:415:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) argv == TTY_ARGV_DO_NOT_FORK) { ^ tty.c: In function 'ttysw_get_internal': tty.c:497:7: warning: case value '1239419169' not in enumerated type 'Tty_attribute' {aka 'enum '} [-Wswitch] case WIN_TYPE: /* SunView1.X compatibility */ ^~~~ tty.c:479:7: warning: case value '1448086017' not in enumerated type 'Tty_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ tty.c: At top level: tty.c:534:1: warning: return type defaults to 'int' [-Wimplicit-int] tty_quit_on_death(client, pid, status, rusage) ^~~~~~~~~~~~~~~~~ tty.c:586:1: warning: return type defaults to 'int' [-Wimplicit-int] tty_handle_death(tty_folio_private, pid, status, rusage) ^~~~~~~~~~~~~~~~ tty.c: In function 'tty_handle_death': tty.c:599:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ tty.c: In function 'tty_quit_on_death': tty.c:582:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty_modes.o shared/tty_modes.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_modes.c -o shared/tty_modes.o In file included from /usr/include/errno.h:25, from tty_modes.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_modes.c:51: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_modes.c: In function 'ttysw_be_termsw': tty_modes.c:255:2: warning: implicit declaration of function 'textsw_do_resize'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] textsw_do_resize(textsw_view); ^~~~~~~~~~~~~~~~ textsw_do_filter tty_modes.c:230:14: warning: unused variable 'on' [-Wunused-variable] int on = 1; ^~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_modes.c -o tty_modes.o In file included from /usr/include/errno.h:25, from tty_modes.c:34: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_modes.c:51: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_modes.c: In function 'ttysw_be_termsw': tty_modes.c:255:2: warning: implicit declaration of function 'textsw_do_resize'; did you mean 'textsw_do_filter'? [-Wimplicit-function-declaration] textsw_do_resize(textsw_view); ^~~~~~~~~~~~~~~~ textsw_do_filter tty_modes.c:230:14: warning: unused variable 'on' [-Wunused-variable] int on = 1; ^~ rm -f tty_es.o shared/tty_es.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_es.c -o shared/tty_es.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty_es.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_es.c:28: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_es.c -o tty_es.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tty_es.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_es.c:28: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ rm -f term_ntfy.o shared/term_ntfy.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c term_ntfy.c -o shared/term_ntfy.o In file included from /usr/include/sys/types.h:25, from term_ntfy.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from term_ntfy.c:43: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ term_ntfy.c: In function 'ttysw_text_event': term_ntfy.c:222:13: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] (void) textsw_checkpoint_again(textsw); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo term_ntfy.c:318:9: warning: implicit declaration of function 'ttysw_copy_to_input_buffer'; did you mean 'ttysw_pty_input_pending'? [-Wimplicit-function-declaration] (void) ttysw_copy_to_input_buffer(ttysw, &input_char, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ttysw_pty_input_pending term_ntfy.c:357:32: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] (void) xv_tty_new_size(ttysw, textsw_screen_column_count(TERMSW_PUBLIC(termsw)), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count term_ntfy.c: In function 'ttysw_cr': term_ntfy.c:472:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Tty' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "for tty%x, tty fd %d, ", ~^ %lx tty_public, ttysw_folio->ttysw_tty); ~~~~~~~~~~ In file included from term_ntfy.c:31: term_ntfy.c: In function 'ttysw_reset_column': term_ntfy.c:494:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Ttysw_folio' {aka 'struct ttysubwindow *'} [-Wformat=] XV_MSG("cannot set output func on ttysw %x, tty fd %d\n"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ term_ntfy.c: In function 'ttysw_textsw_changed_handler': term_ntfy.c:766:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (termsw->cmd_started = (count_inserted > 0)) { ^~~~~~ In file included from /usr/include/string.h:508, from term_ntfy.c:24: In function 'strncat', inlined from 'ttysw_post_error.constprop' at term_ntfy.c:511:12: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1000 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term_ntfy.c: In function 'ttysw_cooked_echo_cmd': term_ntfy.c:96:2: warning: 'insert_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark(textsw, mark); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term_ntfy.c:679:21: note: 'insert_mark' was declared here Textsw_mark insert_mark; ^~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c term_ntfy.c -o term_ntfy.o In file included from /usr/include/sys/types.h:25, from term_ntfy.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from term_ntfy.c:43: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ term_ntfy.c: In function 'ttysw_text_event': term_ntfy.c:222:13: warning: implicit declaration of function 'textsw_checkpoint_again'; did you mean 'textsw_checkpoint_undo'? [-Wimplicit-function-declaration] (void) textsw_checkpoint_again(textsw); ^~~~~~~~~~~~~~~~~~~~~~~ textsw_checkpoint_undo term_ntfy.c:318:9: warning: implicit declaration of function 'ttysw_copy_to_input_buffer'; did you mean 'ttysw_pty_input_pending'? [-Wimplicit-function-declaration] (void) ttysw_copy_to_input_buffer(ttysw, &input_char, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ttysw_pty_input_pending term_ntfy.c:357:32: warning: implicit declaration of function 'textsw_screen_column_count'; did you mean 'textsw_screen_line_count'? [-Wimplicit-function-declaration] (void) xv_tty_new_size(ttysw, textsw_screen_column_count(TERMSW_PUBLIC(termsw)), ^~~~~~~~~~~~~~~~~~~~~~~~~~ textsw_screen_line_count term_ntfy.c: In function 'ttysw_cr': term_ntfy.c:472:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Tty' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "for tty%x, tty fd %d, ", ~^ %lx tty_public, ttysw_folio->ttysw_tty); ~~~~~~~~~~ In file included from term_ntfy.c:31: term_ntfy.c: In function 'ttysw_reset_column': term_ntfy.c:494:14: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Ttysw_folio' {aka 'struct ttysubwindow *'} [-Wformat=] XV_MSG("cannot set output func on ttysw %x, tty fd %d\n"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:56:41: note: in definition of macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ term_ntfy.c: In function 'ttysw_textsw_changed_handler': term_ntfy.c:766:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (termsw->cmd_started = (count_inserted > 0)) { ^~~~~~ In file included from /usr/include/string.h:508, from term_ntfy.c:24: In function 'strncat', inlined from 'ttysw_post_error.constprop' at term_ntfy.c:511:12: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1000 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term_ntfy.c: In function 'ttysw_cooked_echo_cmd': term_ntfy.c:96:2: warning: 'insert_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] textsw_remove_mark(textsw, mark); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term_ntfy.c:679:21: note: 'insert_mark' was declared here Textsw_mark insert_mark; ^~~~~~~~~~~ rm -f tty_compat.o shared/tty_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_compat.c -o shared/tty_compat.o In file included from /usr/include/sys/types.h:25, from tty_compat.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_compat.c:20: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_compat.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_cmd(ttysw_opaque, buf, buflen) ^~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_compat.c -o tty_compat.o In file included from /usr/include/sys/types.h:25, from tty_compat.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_compat.c:20: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ tty_compat.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] ttysw_cmd(ttysw_opaque, buf, buflen) ^~~~~~~~~ rm -f termsw.o shared/termsw.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c termsw.c -o shared/termsw.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from termsw.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from termsw.c:29: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ termsw.c:89:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs insert_makes_visible_pairs[] = { ^ termsw.c:102:56: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs control_chars_use_font_pairs[] = { ^ termsw.c:116:45: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs auto_indent_pairs[] = { ^ termsw.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_layout(termsw_public, termsw_view_public, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ termsw.c: In function 'termsw_folio_init_internal': termsw.c:264:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(fd); ^~~~~ pclose termsw.c: In function 'termsw_folio_set': termsw.c:637:19: warning: implicit declaration of function 'ttysw_cooked_echo_cmd'; did you mean 'ttysw_cooked_echo_mode'? [-Wimplicit-function-declaration] *buf_used = ttysw_cooked_echo_cmd(ttysw_view, buf, buf_len); ^~~~~~~~~~~~~~~~~~~~~ ttysw_cooked_echo_mode termsw.c: In function 'termsw_folio_get': termsw.c:699:7: warning: case value '1078331905' not in enumerated type 'Termsw_attribute' {aka 'enum '} [-Wswitch] case XV_IS_SUBTYPE_OF:{ ^~~~ termsw.c:697:7: warning: case value '1448086017' not in enumerated type 'Termsw_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ termsw.c: In function 'termsw_view_init': termsw.c:834:5: warning: implicit declaration of function 'textsw_register_view'; did you mean 'termsw_register_view'? [-Wimplicit-function-declaration] textsw_register_view(parent, termsw_view_public); ^~~~~~~~~~~~~~~~~~~~ termsw_register_view termsw.c: At top level: termsw.c:1187:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_caret_rendered() ^~~~~~~~~~~~~~~~~~~~~ termsw.c:1196:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_caret_invalid() ^~~~~~~~~~~~~~~~~~~~ termsw.c: In function 'termsw_caret_rendered': termsw.c:1190:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c termsw.c -o termsw.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from termsw.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from termsw.c:29: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ termsw.c:89:54: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs insert_makes_visible_pairs[] = { ^ termsw.c:102:56: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs control_chars_use_font_pairs[] = { ^ termsw.c:116:45: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs auto_indent_pairs[] = { ^ termsw.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_layout(termsw_public, termsw_view_public, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ termsw.c: In function 'termsw_folio_init_internal': termsw.c:264:12: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(fd); ^~~~~ pclose termsw.c: In function 'termsw_folio_set': termsw.c:637:19: warning: implicit declaration of function 'ttysw_cooked_echo_cmd'; did you mean 'ttysw_cooked_echo_mode'? [-Wimplicit-function-declaration] *buf_used = ttysw_cooked_echo_cmd(ttysw_view, buf, buf_len); ^~~~~~~~~~~~~~~~~~~~~ ttysw_cooked_echo_mode termsw.c: In function 'termsw_folio_get': termsw.c:699:7: warning: case value '1078331905' not in enumerated type 'Termsw_attribute' {aka 'enum '} [-Wswitch] case XV_IS_SUBTYPE_OF:{ ^~~~ termsw.c:697:7: warning: case value '1448086017' not in enumerated type 'Termsw_attribute' {aka 'enum '} [-Wswitch] case OPENWIN_VIEW_CLASS: ^~~~ termsw.c: In function 'termsw_view_init': termsw.c:834:5: warning: implicit declaration of function 'textsw_register_view'; did you mean 'termsw_register_view'? [-Wimplicit-function-declaration] textsw_register_view(parent, termsw_view_public); ^~~~~~~~~~~~~~~~~~~~ termsw_register_view termsw.c: At top level: termsw.c:1187:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_caret_rendered() ^~~~~~~~~~~~~~~~~~~~~ termsw.c:1196:1: warning: return type defaults to 'int' [-Wimplicit-int] termsw_caret_invalid() ^~~~~~~~~~~~~~~~~~~~ termsw.c: In function 'termsw_caret_rendered': termsw.c:1190:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f tty_newtxt.o shared/tty_newtxt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_newtxt.c -o shared/tty_newtxt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib64/gcc/x86_64-alt-linux/8/include/stdint.h:9, from /usr/include/X11/Xlibint.h:41, from tty_newtxt.c:39: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_newtxt.c: In function 'setup_font': tty_newtxt.c:180:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c:185:14: warning: comparison between pointer and integer if (font != NULL) { ^~ tty_newtxt.c: In function 'tty_newtext': tty_newtxt.c:319:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_background': tty_newtxt.c:421:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_copyarea': tty_newtxt.c:446:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_synccopyarea': tty_newtxt.c:472:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_calc_exposed_lines': tty_newtxt.c:507:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_clear_clip_rectangles': tty_newtxt.c:627:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_newtxt.c -o tty_newtxt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib64/gcc/x86_64-alt-linux/8/include/stdint.h:9, from /usr/include/X11/Xlibint.h:41, from tty_newtxt.c:39: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tty_newtxt.c: In function 'setup_font': tty_newtxt.c:180:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c:185:14: warning: comparison between pointer and integer if (font != NULL) { ^~ tty_newtxt.c: In function 'tty_newtext': tty_newtxt.c:319:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_background': tty_newtxt.c:421:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_copyarea': tty_newtxt.c:446:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_synccopyarea': tty_newtxt.c:472:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_calc_exposed_lines': tty_newtxt.c:507:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ tty_newtxt.c: In function 'tty_clear_clip_rectangles': tty_newtxt.c:627:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from tty_newtxt.c:41: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f tty_data.o shared/tty_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_data.c -o shared/tty_data.o In file included from /usr/include/sys/types.h:25, from tty_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_data.c:20: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c tty_data.c -o tty_data.o In file included from /usr/include/sys/types.h:25, from tty_data.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from tty_data.c:20: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ rm -f term_data.o shared/term_data.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c term_data.c -o shared/term_data.o In file included from /usr/include/sys/types.h:25, from term_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from term_data.c:17: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c term_data.c -o term_data.o In file included from /usr/include/sys/types.h:25, from term_data.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from term_data.c:17: ../../../build/include/xview_private/term_impl.h:241:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else /OW_I18N */ ^ + rm -f ../../libxview/xshared/cim_change.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/cim_change.o ../../libxview/xshared/cim_change.o + rm -f ../../libxview/xshared/cim_size.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/cim_size.o ../../libxview/xshared/cim_size.o + rm -f ../../libxview/xshared/csr_change.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/csr_change.o ../../libxview/xshared/csr_change.o + rm -f ../../libxview/xshared/csr_init.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/csr_init.o ../../libxview/xshared/csr_init.o + rm -f ../../libxview/xshared/ttyansi.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/ttyansi.o ../../libxview/xshared/ttyansi.o + rm -f ../../libxview/xshared/tty_gtty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_gtty.o ../../libxview/xshared/tty_gtty.o + rm -f ../../libxview/xshared/tty_init.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_init.o ../../libxview/xshared/tty_init.o + rm -f ../../libxview/xshared/tty_ntfy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_ntfy.o ../../libxview/xshared/tty_ntfy.o + rm -f ../../libxview/xshared/tty_stty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_stty.o ../../libxview/xshared/tty_stty.o + rm -f ../../libxview/xshared/ttytl.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/ttytl.o ../../libxview/xshared/ttytl.o + rm -f ../../libxview/xshared/ttyselect.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/ttyselect.o ../../libxview/xshared/ttyselect.o + rm -f ../../libxview/xshared/tty_main.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_main.o ../../libxview/xshared/tty_main.o + rm -f ../../libxview/xshared/tty_menu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_menu.o ../../libxview/xshared/tty_menu.o + rm -f ../../libxview/xshared/tty_mapkey.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_mapkey.o ../../libxview/xshared/tty_mapkey.o + rm -f ../../libxview/xshared/tty.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty.o ../../libxview/xshared/tty.o + rm -f ../../libxview/xshared/tty_modes.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_modes.o ../../libxview/xshared/tty_modes.o + rm -f ../../libxview/xshared/tty_es.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_es.o ../../libxview/xshared/tty_es.o + rm -f ../../libxview/xshared/term_ntfy.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/term_ntfy.o ../../libxview/xshared/term_ntfy.o + rm -f ../../libxview/xshared/tty_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_compat.o ../../libxview/xshared/tty_compat.o + rm -f ../../libxview/xshared/termsw.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/termsw.o ../../libxview/xshared/termsw.o + rm -f ../../libxview/xshared/tty_newtxt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_newtxt.o ../../libxview/xshared/tty_newtxt.o + rm -f ../../libxview/xshared/tty_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/tty_data.o ../../libxview/xshared/tty_data.o + rm -f ../../libxview/xshared/term_data.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/shared/term_data.o ../../libxview/xshared/term_data.o ar ruv ../../libxview/libxview.a cim_change.o cim_size.o csr_change.o csr_init.o ttyansi.o tty_gtty.o tty_init.o tty_ntfy.o tty_stty.o ttytl.o ttyselect.o tty_main.o tty_menu.o tty_mapkey.o tty.o tty_modes.o tty_es.o term_ntfy.o tty_compat.o termsw.o tty_newtxt.o tty_data.o term_data.o a - cim_change.o a - cim_size.o a - csr_change.o a - csr_init.o a - ttyansi.o a - tty_gtty.o a - tty_init.o a - tty_ntfy.o a - tty_stty.o a - ttytl.o a - ttyselect.o a - tty_main.o a - tty_menu.o a - tty_mapkey.o a - tty.o a - tty_modes.o a - tty_es.o a - term_ntfy.o a - tty_compat.o a - termsw.o a - tty_newtxt.o a - tty_data.o a - term_data.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw' making all in lib/libxview/win... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' rm -f win_cursor.o shared/win_cursor.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_cursor.c -o shared/win_cursor.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from win_cursor.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_cursor.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setmouseposition(window, x, y) ^~~~~~~~~~~~~~~~~~~~ win_cursor.c: In function 'win_setmouseposition': win_cursor.c:32:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c:34:2: warning: implicit declaration of function 'win_setmouseposition_internal'; did you mean 'win_setmouseposition'? [-Wimplicit-function-declaration] win_setmouseposition_internal(xv_display(info), xv_xid(info), x, y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_setmouseposition win_cursor.c: At top level: win_cursor.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setmouseposition_internal(display, xid, x, y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_cursor.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] win_getmouseposition(window, x, y) ^~~~~~~~~~~~~~~~~~~~ win_cursor.c: In function 'win_getmouseposition': win_cursor.c:58:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c: In function 'win_findintersect': win_cursor.c:85:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c: In function 'win_setmouseposition': win_cursor.c:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_cursor.c: In function 'win_setmouseposition_internal': win_cursor.c:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_cursor.c: In function 'win_getmouseposition': win_cursor.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_cursor.c -o win_cursor.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from win_cursor.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_cursor.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setmouseposition(window, x, y) ^~~~~~~~~~~~~~~~~~~~ win_cursor.c: In function 'win_setmouseposition': win_cursor.c:32:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c:34:2: warning: implicit declaration of function 'win_setmouseposition_internal'; did you mean 'win_setmouseposition'? [-Wimplicit-function-declaration] win_setmouseposition_internal(xv_display(info), xv_xid(info), x, y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_setmouseposition win_cursor.c: At top level: win_cursor.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setmouseposition_internal(display, xid, x, y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_cursor.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] win_getmouseposition(window, x, y) ^~~~~~~~~~~~~~~~~~~~ win_cursor.c: In function 'win_getmouseposition': win_cursor.c:58:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c: In function 'win_findintersect': win_cursor.c:85:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_cursor.c:17: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_cursor.c: In function 'win_setmouseposition': win_cursor.c:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_cursor.c: In function 'win_setmouseposition_internal': win_cursor.c:47:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_cursor.c: In function 'win_getmouseposition': win_cursor.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_env.o shared/win_env.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_env.c -o shared/win_env.o win_env.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setparentwindow(windevname) ^~~~~~~~~~~~~~~~~~ win_env.c: In function 'we_setparentwindow': win_env.c:30:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:19: warning: incompatible implicit declaration of built-in function 'malloc' win_env.c:30:19: note: include '' or provide a declaration of 'malloc' win_env.c:21:1: +#include win_env.c:30:19: str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:27: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:27: warning: incompatible implicit declaration of built-in function 'strlen' win_env.c:30:27: note: include '' or provide a declaration of 'strlen' win_env.c:21:1: +#include win_env.c:30:27: str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:31:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy( str, WE_PARENT ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:31:5: warning: incompatible implicit declaration of built-in function 'strcpy' win_env.c:31:5: note: include '' or provide a declaration of 'strcpy' win_env.c:31:31: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcpy( str, WE_PARENT ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:31:31: warning: incompatible implicit declaration of built-in function 'strcat' win_env.c:31:31: note: include '' or provide a declaration of 'strcat' win_env.c:32:12: warning: implicit declaration of function 'putenv' [-Wimplicit-function-declaration] (void) putenv(str); ^~~~~~ win_env.c: In function 'we_getparentwindow': win_env.c:39:13: warning: implicit declaration of function '_we_setstrfromenvironment' [-Wimplicit-function-declaration] return (_we_setstrfromenvironment(WE_PARENT, windevname)); ^~~~~~~~~~~~~~~~~~~~~~~~~ win_env.c: At top level: win_env.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setgfxwindow(windevname) ^~~~~~~~~~~~~~~ win_env.c: In function 'we_setgfxwindow': win_env.c:47:19: warning: incompatible implicit declaration of built-in function 'malloc' str = (char *)malloc( strlen( WE_GFX ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:47:19: note: include '' or provide a declaration of 'malloc' win_env.c:47:27: warning: incompatible implicit declaration of built-in function 'strlen' str = (char *)malloc( strlen( WE_GFX ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:47:27: note: include '' or provide a declaration of 'strlen' win_env.c:48:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy( str, WE_GFX ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:48:5: note: include '' or provide a declaration of 'strcpy' win_env.c:48:28: warning: incompatible implicit declaration of built-in function 'strcat' strcpy( str, WE_GFX ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:48:28: note: include '' or provide a declaration of 'strcat' win_env.c: At top level: win_env.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setinitdata(initialrect, initialsavedrect, iconic) ^~~~~~~~~~~~~~ win_env.c: In function 'we_setinitdata': win_env.c:66:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy( rectstr, WE_INITIALDATA ); ^~~~~~ win_env.c:66:5: note: include '' or provide a declaration of 'strcpy' win_env.c:67:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat( rectstr, "=" ); ^~~~~~ win_env.c:67:5: note: include '' or provide a declaration of 'strcat' win_env.c:68:12: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~~ win_env.c:68:12: warning: incompatible implicit declaration of built-in function 'sprintf' win_env.c:68:12: note: include '' or provide a declaration of 'sprintf' win_env.c:21:1: +#include win_env.c:68:12: (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~~ win_env.c:68:30: warning: incompatible implicit declaration of built-in function 'strlen' (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~ win_env.c:68:30: note: include '' or provide a declaration of 'strlen' win_env.c:69:65: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'int' [-Wformat=] "%04d,%04d,%04d,%04d,%04d,%04d,%04d,%04d,%04ld", ~~~~^ %04d win_env.c:74:20: iconic); ~~~~~~ win_env.c: In function 'we_getinitdata': win_env.c:88:13: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] if (sscanf(rectstr, "%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ^~~~~~ win_env.c:88:13: warning: incompatible implicit declaration of built-in function 'sscanf' win_env.c:88:13: note: include '' or provide a declaration of 'sscanf' win_env.c:88:64: warning: format '%hd' expects argument of type 'short int *', but argument 11 has type 'int *' [-Wformat=] if (sscanf(rectstr, "%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d win_env.c:93:20: iconic) != 9) ~~~~~~ win_env.c: In function '_we_setstrfromenvironment': win_env.c:106:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (en_str = getenv(tag)) { ^~~~~~ win_env.c:107:16: warning: incompatible implicit declaration of built-in function 'strcat' (void) strcat(target, en_str); ^~~~~~ win_env.c:107:16: note: include '' or provide a declaration of 'strcat' win_env.c: In function 'we_setparentwindow': win_env.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_env.c: In function 'we_setgfxwindow': win_env.c:50:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_env.c: In function 'we_setinitdata': win_env.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_env.c -o win_env.o win_env.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setparentwindow(windevname) ^~~~~~~~~~~~~~~~~~ win_env.c: In function 'we_setparentwindow': win_env.c:30:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:19: warning: incompatible implicit declaration of built-in function 'malloc' win_env.c:30:19: note: include '' or provide a declaration of 'malloc' win_env.c:21:1: +#include win_env.c:30:19: str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:27: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:30:27: warning: incompatible implicit declaration of built-in function 'strlen' win_env.c:30:27: note: include '' or provide a declaration of 'strlen' win_env.c:21:1: +#include win_env.c:30:27: str = (char *)malloc( strlen( WE_PARENT ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:31:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy( str, WE_PARENT ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:31:5: warning: incompatible implicit declaration of built-in function 'strcpy' win_env.c:31:5: note: include '' or provide a declaration of 'strcpy' win_env.c:31:31: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcpy( str, WE_PARENT ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:31:31: warning: incompatible implicit declaration of built-in function 'strcat' win_env.c:31:31: note: include '' or provide a declaration of 'strcat' win_env.c:32:12: warning: implicit declaration of function 'putenv' [-Wimplicit-function-declaration] (void) putenv(str); ^~~~~~ win_env.c: In function 'we_getparentwindow': win_env.c:39:13: warning: implicit declaration of function '_we_setstrfromenvironment' [-Wimplicit-function-declaration] return (_we_setstrfromenvironment(WE_PARENT, windevname)); ^~~~~~~~~~~~~~~~~~~~~~~~~ win_env.c: At top level: win_env.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setgfxwindow(windevname) ^~~~~~~~~~~~~~~ win_env.c: In function 'we_setgfxwindow': win_env.c:47:19: warning: incompatible implicit declaration of built-in function 'malloc' str = (char *)malloc( strlen( WE_GFX ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:47:19: note: include '' or provide a declaration of 'malloc' win_env.c:47:27: warning: incompatible implicit declaration of built-in function 'strlen' str = (char *)malloc( strlen( WE_GFX ) + strlen( windevname ) + 3 ); ^~~~~~ win_env.c:47:27: note: include '' or provide a declaration of 'strlen' win_env.c:48:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy( str, WE_GFX ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:48:5: note: include '' or provide a declaration of 'strcpy' win_env.c:48:28: warning: incompatible implicit declaration of built-in function 'strcat' strcpy( str, WE_GFX ); strcat( str, "=" ); strcat( str, windevname ); ^~~~~~ win_env.c:48:28: note: include '' or provide a declaration of 'strcat' win_env.c: At top level: win_env.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] we_setinitdata(initialrect, initialsavedrect, iconic) ^~~~~~~~~~~~~~ win_env.c: In function 'we_setinitdata': win_env.c:66:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy( rectstr, WE_INITIALDATA ); ^~~~~~ win_env.c:66:5: note: include '' or provide a declaration of 'strcpy' win_env.c:67:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat( rectstr, "=" ); ^~~~~~ win_env.c:67:5: note: include '' or provide a declaration of 'strcat' win_env.c:68:12: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~~ win_env.c:68:12: warning: incompatible implicit declaration of built-in function 'sprintf' win_env.c:68:12: note: include '' or provide a declaration of 'sprintf' win_env.c:21:1: +#include win_env.c:68:12: (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~~ win_env.c:68:30: warning: incompatible implicit declaration of built-in function 'strlen' (void) sprintf(rectstr + strlen( rectstr ), ^~~~~~ win_env.c:68:30: note: include '' or provide a declaration of 'strlen' win_env.c:69:65: warning: format '%ld' expects argument of type 'long int', but argument 11 has type 'int' [-Wformat=] "%04d,%04d,%04d,%04d,%04d,%04d,%04d,%04d,%04ld", ~~~~^ %04d win_env.c:74:20: iconic); ~~~~~~ win_env.c: In function 'we_getinitdata': win_env.c:88:13: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] if (sscanf(rectstr, "%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ^~~~~~ win_env.c:88:13: warning: incompatible implicit declaration of built-in function 'sscanf' win_env.c:88:13: note: include '' or provide a declaration of 'sscanf' win_env.c:88:64: warning: format '%hd' expects argument of type 'short int *', but argument 11 has type 'int *' [-Wformat=] if (sscanf(rectstr, "%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd,%hd", ~~^ %d win_env.c:93:20: iconic) != 9) ~~~~~~ win_env.c: In function '_we_setstrfromenvironment': win_env.c:106:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (en_str = getenv(tag)) { ^~~~~~ win_env.c:107:16: warning: incompatible implicit declaration of built-in function 'strcat' (void) strcat(target, en_str); ^~~~~~ win_env.c:107:16: note: include '' or provide a declaration of 'strcat' win_env.c: In function 'we_setparentwindow': win_env.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_env.c: In function 'we_setgfxwindow': win_env.c:50:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_env.c: In function 'we_setinitdata': win_env.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_geom.o shared/win_geom.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_geom.c -o shared/win_geom.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from win_geom.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_geom.c: In function 'win_getrect': win_geom.c:49:5: warning: implicit declaration of function 'window_get_cache_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_get_cache_rect(window, rect); ^~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect win_geom.c: In function 'win_get_outer_rect': win_geom.c:102:5: warning: implicit declaration of function 'window_get_outer_rect'; did you mean 'win_get_outer_rect'? [-Wimplicit-function-declaration] window_get_outer_rect(window, rect); ^~~~~~~~~~~~~~~~~~~~~ win_get_outer_rect win_geom.c: In function 'win_get_retained': win_geom.c:125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c: In function 'win_translate_xy': win_geom.c:147:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c:148:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dst, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c:149:13: warning: implicit declaration of function 'win_translate_xy_internal'; did you mean 'win_translate_xy'? [-Wimplicit-function-declaration] return (win_translate_xy_internal(xv_display(src_info), xv_xid(src_info), ^~~~~~~~~~~~~~~~~~~~~~~~~ win_translate_xy win_geom.c: In function 'win_pointer_under': win_geom.c:185:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_geom.c -o win_geom.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from win_geom.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_geom.c: In function 'win_getrect': win_geom.c:49:5: warning: implicit declaration of function 'window_get_cache_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_get_cache_rect(window, rect); ^~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect win_geom.c: In function 'win_get_outer_rect': win_geom.c:102:5: warning: implicit declaration of function 'window_get_outer_rect'; did you mean 'win_get_outer_rect'? [-Wimplicit-function-declaration] window_get_outer_rect(window, rect); ^~~~~~~~~~~~~~~~~~~~~ win_get_outer_rect win_geom.c: In function 'win_get_retained': win_geom.c:125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c: In function 'win_translate_xy': win_geom.c:147:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(src, src_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c:148:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dst, dst_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_geom.c:149:13: warning: implicit declaration of function 'win_translate_xy_internal'; did you mean 'win_translate_xy'? [-Wimplicit-function-declaration] return (win_translate_xy_internal(xv_display(src_info), xv_xid(src_info), ^~~~~~~~~~~~~~~~~~~~~~~~~ win_translate_xy win_geom.c: In function 'win_pointer_under': win_geom.c:185:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/rect.h:17, from win_geom.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f win_global.o shared/win_global.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_global.c -o shared/win_global.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_global.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_global.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] win_lockdata(window) ^~~~~~~~~~~~ win_global.c: In function 'win_lockdata': win_global.c:55:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:49:1: note: declared here win_lockdata(window) ^~~~~~~~~~~~ win_global.c:56:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] win_unlockdata(window) ^~~~~~~~~~~~~~ win_global.c: In function 'win_unlockdata': win_global.c:67:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:61:1: note: declared here win_unlockdata(window) ^~~~~~~~~~~~~~ win_global.c:68:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: In function 'xv_win_grab': win_global.c:82:1: warning: type of 'grab_pointer' defaults to 'int' [-Wimplicit-int] xv_win_grab(window, im, cursor_window, cursor, grab_pointer, grab_kbd, ^~~~~~~~~~~ win_global.c:82:1: warning: type of 'grab_kbd' defaults to 'int' [-Wimplicit-int] win_global.c:82:1: warning: type of 'grab_server' defaults to 'int' [-Wimplicit-int] win_global.c:82:1: warning: type of 'owner_events' defaults to 'int' [-Wimplicit-int] win_global.c:97:35: warning: implicit declaration of function 'win_im_to_xmask' [-Wimplicit-function-declaration] unsigned int xevent_mask = win_im_to_xmask(window, im); ^~~~~~~~~~~~~~~ win_global.c:102:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:82:1: note: declared here xv_win_grab(window, im, cursor_window, cursor, grab_pointer, grab_kbd, ^~~~~~~~~~~ win_global.c:103:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c:111:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (return_code = XGrabPointer(display, ^~~~~~~~~~~ win_global.c:142:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (return_code = XGrabKeyboard(display, ^~~~~~~~~~~ win_global.c: In function 'xv_win_ungrab': win_global.c:172:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:164:1: note: declared here xv_win_ungrab(window, ungrab_pointer, ungrab_kbd, ungrab_server) ^~~~~~~~~~~~~ win_global.c:173:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] win_grabio(window) ^~~~~~~~~~ win_global.c: In function 'win_grabio': win_global.c:196:13: warning: implicit declaration of function 'win_xgrabio_async'; did you mean 'win_grabio'? [-Wimplicit-function-declaration] return (win_xgrabio_async(window, im, 0, 0)); ^~~~~~~~~~~~~~~~~ win_grabio win_global.c: At top level: win_global.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] win_xgrabio_sync(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~ win_global.c: In function 'win_xgrabio_sync': win_global.c:210:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:199:1: note: declared here win_xgrabio_sync(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~ win_global.c:211:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] win_xgrabio_async(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~~ win_global.c: In function 'win_xgrabio_async': win_global.c:259:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:248:1: note: declared here win_xgrabio_async(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~~ win_global.c:260:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] win_set_grabio_params(window, im, cursor) ^~~~~~~~~~~~~~~~~~~~~ win_global.c: In function 'win_set_grabio_params': win_global.c:305:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] win_releaseio(window) ^~~~~~~~~~~~~ win_global.c: In function 'win_releaseio': win_global.c:319:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:312:1: note: declared here win_releaseio(window) ^~~~~~~~~~~~~ win_global.c:320:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:334:1: warning: return type defaults to 'int' [-Wimplicit-int] win_private_gc(window, create_private_gc) ^~~~~~~~~~~~~~ win_global.c: In function 'win_private_gc': win_global.c:343:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: In function 'win_set_grabio_params': win_global.c:310:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_global.c: In function 'win_private_gc': win_global.c:357:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_global.c -o win_global.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_global.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_global.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] win_lockdata(window) ^~~~~~~~~~~~ win_global.c: In function 'win_lockdata': win_global.c:55:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:49:1: note: declared here win_lockdata(window) ^~~~~~~~~~~~ win_global.c:56:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] win_unlockdata(window) ^~~~~~~~~~~~~~ win_global.c: In function 'win_unlockdata': win_global.c:67:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:61:1: note: declared here win_unlockdata(window) ^~~~~~~~~~~~~~ win_global.c:68:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: In function 'xv_win_grab': win_global.c:82:1: warning: type of 'grab_pointer' defaults to 'int' [-Wimplicit-int] xv_win_grab(window, im, cursor_window, cursor, grab_pointer, grab_kbd, ^~~~~~~~~~~ win_global.c:82:1: warning: type of 'grab_kbd' defaults to 'int' [-Wimplicit-int] win_global.c:82:1: warning: type of 'grab_server' defaults to 'int' [-Wimplicit-int] win_global.c:82:1: warning: type of 'owner_events' defaults to 'int' [-Wimplicit-int] win_global.c:97:35: warning: implicit declaration of function 'win_im_to_xmask' [-Wimplicit-function-declaration] unsigned int xevent_mask = win_im_to_xmask(window, im); ^~~~~~~~~~~~~~~ win_global.c:102:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:82:1: note: declared here xv_win_grab(window, im, cursor_window, cursor, grab_pointer, grab_kbd, ^~~~~~~~~~~ win_global.c:103:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c:111:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (return_code = XGrabPointer(display, ^~~~~~~~~~~ win_global.c:142:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (return_code = XGrabKeyboard(display, ^~~~~~~~~~~ win_global.c: In function 'xv_win_ungrab': win_global.c:172:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:164:1: note: declared here xv_win_ungrab(window, ungrab_pointer, ungrab_kbd, ungrab_server) ^~~~~~~~~~~~~ win_global.c:173:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int] win_grabio(window) ^~~~~~~~~~ win_global.c: In function 'win_grabio': win_global.c:196:13: warning: implicit declaration of function 'win_xgrabio_async'; did you mean 'win_grabio'? [-Wimplicit-function-declaration] return (win_xgrabio_async(window, im, 0, 0)); ^~~~~~~~~~~~~~~~~ win_grabio win_global.c: At top level: win_global.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] win_xgrabio_sync(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~ win_global.c: In function 'win_xgrabio_sync': win_global.c:210:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:199:1: note: declared here win_xgrabio_sync(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~ win_global.c:211:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] win_xgrabio_async(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~~ win_global.c: In function 'win_xgrabio_async': win_global.c:259:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:248:1: note: declared here win_xgrabio_async(window, im, cursor_window, cursor) ^~~~~~~~~~~~~~~~~ win_global.c:260:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] win_set_grabio_params(window, im, cursor) ^~~~~~~~~~~~~~~~~~~~~ win_global.c: In function 'win_set_grabio_params': win_global.c:305:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] win_releaseio(window) ^~~~~~~~~~~~~ win_global.c: In function 'win_releaseio': win_global.c:319:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win_global.c:312:1: note: declared here win_releaseio(window) ^~~~~~~~~~~~~ win_global.c:320:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: At top level: win_global.c:334:1: warning: return type defaults to 'int' [-Wimplicit-int] win_private_gc(window, create_private_gc) ^~~~~~~~~~~~~~ win_global.c: In function 'win_private_gc': win_global.c:343:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview_private/portable.h:13, from ../../../build/include/xview_private/draw_impl.h:15, from win_global.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_global.c: In function 'win_set_grabio_params': win_global.c:310:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_global.c: In function 'win_private_gc': win_global.c:357:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_cntral.o shared/win_cntral.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_cntral.c -o shared/win_cntral.o In file included from /usr/include/sys/types.h:25, from win_cntral.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from win_cntral.c:20: win_cntral.c: In function 'win_post_id': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_cntral.c:45:5: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ win_cntral.c: In function 'win_post_id_and_arg': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_cntral.c:64:5: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_cntral.c -o win_cntral.o In file included from /usr/include/sys/types.h:25, from win_cntral.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from win_cntral.c:20: win_cntral.c: In function 'win_post_id': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_cntral.c:45:5: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ win_cntral.c: In function 'win_post_id_and_arg': ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_cntral.c:64:5: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ rm -f win_input.o shared/win_input.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_input.c -o shared/win_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_input.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_input.c:90:17: warning: type defaults to 'int' in declaration of 'input_imnull' [-Wimplicit-int] extern input_imnull(); ^~~~~~~~~~~~ win_input.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] input_imnull(im) ^~~~~~~~~~~~ win_input.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] input_imall(im) ^~~~~~~~~~~ win_input.c: In function 'input_readevent': win_input.c:357:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: At top level: win_input.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int] win_refuse_kbd_focus(window) ^~~~~~~~~~~~~~~~~~~~ win_input.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] win_release_event_lock(window) ^~~~~~~~~~~~~~~~~~~~~~ win_input.c: In function 'win_set_kbd_focus': win_input.c:392:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_get_kbd_focus': win_input.c:424:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_set_no_focus': win_input.c:440:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xv_input_readevent': win_input.c:514:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xview_x_input_readevent': win_input.c:553:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(req_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xevent_to_event': win_input.c:616:32: warning: initialization of 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_object window = NULL; ^~~~ win_input.c:621:45: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] static Xv_opaque last_server_public = NULL; ^~~~ win_input.c:706:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:794:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, " serial = %d, error code = %d\n", er->serial, ~^ ~~~~~~~~~~ %ld win_input.c:798:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'XID' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, " resource id = %d\n", er->resourceid); ~^ ~~~~~~~~~~~~~~ %ld In file included from ../../../build/include/xview/sel_svc.h:19, from ../../../build/include/xview_private/svr_impl.h:16, from win_input.c:29: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_input.c:804:5: note: in expansion of macro 'event_init' event_init(event); ^~~~~~~~~~ win_input.c:906:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ksym = XKeycodeToKeysym(display, ek->keycode, 0); ^~~~ In file included from /usr/include/X11/Xlibint.h:42, from win_input.c:22: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ win_input.c:1141:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (window = xv_get(window, WIN_PARENT)) { ^~~~~~ win_input.c:1143:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, draw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1175:6: warning: implicit declaration of function 'server_set_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_set_seln_function_pending(server_public, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending win_input.c:1242:11: warning: implicit declaration of function 'chording'; did you mean 'XPending'? [-Wimplicit-function-declaration] if (chording(display, e, chording_timeout)) { ^~~~~~~~ XPending win_input.c:1321:4: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] !server_get_seln_function_pending(server_public)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending win_input.c:1400:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(event_window(event), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1430:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (parent = win_data(display, e->parent)) ^~~~~~ win_input.c:1431:3: warning: implicit declaration of function 'window_set_parent'; did you mean 'window_set_avlist'? [-Wimplicit-function-declaration] window_set_parent(window, parent); ^~~~~~~~~~~~~~~~~ window_set_avlist win_input.c:1468:10: warning: implicit declaration of function 'win_do_expose_event'; did you mean 'win_post_event'? [-Wimplicit-function-declaration] if (win_do_expose_event(display, event, e, &window, ^~~~~~~~~~~~~~~~~~~ win_post_event win_input.c:1506:11: warning: implicit declaration of function 'xv_sel_handle_property_notify' [-Wimplicit-function-declaration] if (!xv_sel_handle_property_notify(pne)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_input.c:628:9: warning: variable 'num_lock_modmask' set but not used [-Wunused-but-set-variable] num_lock_modmask = 0, ^~~~~~~~~~~~~~~~ win_input.c: In function 'xv_input_pending': win_input.c:1683:4: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_set_image'? [-Wimplicit-function-declaration] win_set_clip(window, rl); ^~~~~~~~~~~~ win_set_image win_input.c:1691:7: warning: implicit declaration of function 'win_clear_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_clear_damage(window); ^~~~~~~~~~~~~~~~ win_get_damage win_input.c: In function 'win_handle_window_accel': win_input.c:1767:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(ek->display, ek->keycode, 0); ^~~~~~ In file included from /usr/include/X11/Xlibint.h:42, from win_input.c:22: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ win_input.c: In function 'win_get_cmdline_option': win_input.c:1832:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1849:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon, icon_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1853:5: warning: implicit declaration of function 'win_translate_xy_internal'; did you mean 'win_translate_KP_keysym'? [-Wimplicit-function-declaration] win_translate_xy_internal(xv_display(info), xv_xid(icon_info), root, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~ win_translate_KP_keysym win_input.c: In function 'win_set_wm_command_prop': win_input.c:1913:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1955:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon, icon_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'process_clientmessage_events': win_input.c:2015:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WIN_ATTR_TYPE' not handled in switch [-Wswitch] switch (atom_type) { ^~~~~~ win_input.c:2046:6: warning: enumeration value 'SERVER_WM_ADD_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DELETE_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_CLOSE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_FOOTER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_RESIZE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_HEADER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_OK_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_PIN_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_SMALL_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_MEDIUM_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_LARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_XLARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WIN_BUSY_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WINMSG_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WINMSG_ERROR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_BASE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_CMD_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_PROP_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_HELP_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_NOTICE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_OTHER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_MENU_FULL_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_MENU_LIMITED_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_NONE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_IN_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_OUT_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_TAKE_FOCUS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_JOURNAL_SYNC_ATOM_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DISMISS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SAVE_YOURSELF_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PROTOCOLS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DELETE_WINDOW_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_COMMAND_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_CHANGE_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_INTEREST_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_PREVIEW_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_TRIGGER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_ACK_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_DONE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_UNKNOWN_TYPE' not handled in switch [-Wswitch] win_input.c:2144:7: warning: implicit declaration of function 'xv_destroy_save_yourself'; did you mean 'xv_destroy_safe'? [-Wimplicit-function-declaration] xv_destroy_save_yourself(window); ^~~~~~~~~~~~~~~~~~~~~~~~ xv_destroy_safe win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WIN_ATTR_TYPE' not handled in switch [-Wswitch] switch (server_get_atom_type(server_public, ^~~~~~ win_input.c:2141:6: warning: enumeration value 'SERVER_WM_ADD_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DELETE_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_CLOSE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_FOOTER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_RESIZE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_HEADER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_OK_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_PIN_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_SMALL_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_MEDIUM_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_LARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_XLARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WIN_BUSY_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WINMSG_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WINMSG_ERROR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_BASE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_CMD_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_PROP_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_HELP_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_NOTICE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_OTHER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_MENU_FULL_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_MENU_LIMITED_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_NONE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_IN_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_OUT_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_MOVE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_COPY_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_LOAD_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_JOURNAL_SYNC_ATOM_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DISMISS_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PROTOCOLS_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_COMMAND_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_CHANGE_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_INTEREST_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_PREVIEW_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_TRIGGER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_ACK_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_DONE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_UNKNOWN_TYPE' not handled in switch [-Wswitch] win_input.c: In function 'process_property_events': win_input.c:2249:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'process_wm_pushpin_state': win_input.c:2278:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_event_to_proc_with_ptr': win_input.c:2316:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: At top level: win_input.c:2332:1: warning: return type defaults to 'int' [-Wimplicit-int] chording(display, bEvent, timeout) ^~~~~~~~ win_input.c:62:17: warning: 'win_translate_KP_keysym' declared 'static' but never defined [-Wunused-function] static int win_translate_KP_keysym(); ^~~~~~~~~~~~~~~~~~~~~~~ win_input.c:63:13: warning: 'translate_key' declared 'static' but never defined [-Wunused-function] static int translate_key(); ^~~~~~~~~~~~~ win_input.c: In function 'input_imnull': win_input.c:331:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'input_imall': win_input.c:342:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'win_refuse_kbd_focus': win_input.c:373:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'win_release_event_lock': win_input.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'xv_input_readevent': win_input.c:517:14: warning: 'xevent_mask' may be used uninitialized in this function [-Wmaybe-uninitialized] retval = xview_x_input_readevent((window ? xv_display(info) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Display *) xv_default_display), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event, window, block, type, xevent_mask, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &xevent); ~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_input.c -o win_input.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_input.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_input.c:90:17: warning: type defaults to 'int' in declaration of 'input_imnull' [-Wimplicit-int] extern input_imnull(); ^~~~~~~~~~~~ win_input.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] input_imnull(im) ^~~~~~~~~~~~ win_input.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] input_imall(im) ^~~~~~~~~~~ win_input.c: In function 'input_readevent': win_input.c:357:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: At top level: win_input.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int] win_refuse_kbd_focus(window) ^~~~~~~~~~~~~~~~~~~~ win_input.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] win_release_event_lock(window) ^~~~~~~~~~~~~~~~~~~~~~ win_input.c: In function 'win_set_kbd_focus': win_input.c:392:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_get_kbd_focus': win_input.c:424:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_set_no_focus': win_input.c:440:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xv_input_readevent': win_input.c:514:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xview_x_input_readevent': win_input.c:553:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(req_window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'xevent_to_event': win_input.c:616:32: warning: initialization of 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Xv_object window = NULL; ^~~~ win_input.c:621:45: warning: initialization of 'Xv_opaque' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] static Xv_opaque last_server_public = NULL; ^~~~ win_input.c:706:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:794:32: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, " serial = %d, error code = %d\n", er->serial, ~^ ~~~~~~~~~~ %ld win_input.c:798:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'XID' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, " resource id = %d\n", er->resourceid); ~^ ~~~~~~~~~~~~~~ %ld In file included from ../../../build/include/xview/sel_svc.h:19, from ../../../build/include/xview_private/svr_impl.h:16, from win_input.c:29: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ win_input.c:804:5: note: in expansion of macro 'event_init' event_init(event); ^~~~~~~~~~ win_input.c:906:3: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ksym = XKeycodeToKeysym(display, ek->keycode, 0); ^~~~ In file included from /usr/include/X11/Xlibint.h:42, from win_input.c:22: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ win_input.c:1141:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (window = xv_get(window, WIN_PARENT)) { ^~~~~~ win_input.c:1143:7: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, draw_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1175:6: warning: implicit declaration of function 'server_set_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] server_set_seln_function_pending(server_public, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending win_input.c:1242:11: warning: implicit declaration of function 'chording'; did you mean 'XPending'? [-Wimplicit-function-declaration] if (chording(display, e, chording_timeout)) { ^~~~~~~~ XPending win_input.c:1321:4: warning: implicit declaration of function 'server_get_seln_function_pending'; did you mean 'selection_function_pending'? [-Wimplicit-function-declaration] !server_get_seln_function_pending(server_public)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_function_pending win_input.c:1400:3: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(event_window(event), info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1430:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (parent = win_data(display, e->parent)) ^~~~~~ win_input.c:1431:3: warning: implicit declaration of function 'window_set_parent'; did you mean 'window_set_avlist'? [-Wimplicit-function-declaration] window_set_parent(window, parent); ^~~~~~~~~~~~~~~~~ window_set_avlist win_input.c:1468:10: warning: implicit declaration of function 'win_do_expose_event'; did you mean 'win_post_event'? [-Wimplicit-function-declaration] if (win_do_expose_event(display, event, e, &window, ^~~~~~~~~~~~~~~~~~~ win_post_event win_input.c:1506:11: warning: implicit declaration of function 'xv_sel_handle_property_notify' [-Wimplicit-function-declaration] if (!xv_sel_handle_property_notify(pne)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win_input.c:628:9: warning: variable 'num_lock_modmask' set but not used [-Wunused-but-set-variable] num_lock_modmask = 0, ^~~~~~~~~~~~~~~~ win_input.c: In function 'xv_input_pending': win_input.c:1683:4: warning: implicit declaration of function 'win_set_clip'; did you mean 'win_set_image'? [-Wimplicit-function-declaration] win_set_clip(window, rl); ^~~~~~~~~~~~ win_set_image win_input.c:1691:7: warning: implicit declaration of function 'win_clear_damage'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_clear_damage(window); ^~~~~~~~~~~~~~~~ win_get_damage win_input.c: In function 'win_handle_window_accel': win_input.c:1767:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(ek->display, ek->keycode, 0); ^~~~~~ In file included from /usr/include/X11/Xlibint.h:42, from win_input.c:22: /usr/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ win_input.c: In function 'win_get_cmdline_option': win_input.c:1832:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1849:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon, icon_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1853:5: warning: implicit declaration of function 'win_translate_xy_internal'; did you mean 'win_translate_KP_keysym'? [-Wimplicit-function-declaration] win_translate_xy_internal(xv_display(info), xv_xid(icon_info), root, 0, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~ win_translate_KP_keysym win_input.c: In function 'win_set_wm_command_prop': win_input.c:1913:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:1955:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(icon, icon_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'process_clientmessage_events': win_input.c:2015:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WIN_ATTR_TYPE' not handled in switch [-Wswitch] switch (atom_type) { ^~~~~~ win_input.c:2046:6: warning: enumeration value 'SERVER_WM_ADD_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DELETE_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_CLOSE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_FOOTER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_RESIZE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_HEADER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_OK_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DECOR_PIN_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_SMALL_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_MEDIUM_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_LARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SCALE_XLARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WIN_BUSY_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WINMSG_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WINMSG_ERROR_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_BASE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_CMD_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_PROP_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_HELP_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_NOTICE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_WT_OTHER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_MENU_FULL_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_MENU_LIMITED_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_NONE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_IN_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PIN_OUT_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_TAKE_FOCUS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_JOURNAL_SYNC_ATOM_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DISMISS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_SAVE_YOURSELF_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_PROTOCOLS_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DELETE_WINDOW_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_COMMAND_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_CHANGE_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_INTEREST_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_PREVIEW_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_TRIGGER_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_ACK_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_DRAGDROP_DONE_TYPE' not handled in switch [-Wswitch] win_input.c:2046:6: warning: enumeration value 'SERVER_WM_UNKNOWN_TYPE' not handled in switch [-Wswitch] win_input.c:2144:7: warning: implicit declaration of function 'xv_destroy_save_yourself'; did you mean 'xv_destroy_safe'? [-Wimplicit-function-declaration] xv_destroy_save_yourself(window); ^~~~~~~~~~~~~~~~~~~~~~~~ xv_destroy_safe win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WIN_ATTR_TYPE' not handled in switch [-Wswitch] switch (server_get_atom_type(server_public, ^~~~~~ win_input.c:2141:6: warning: enumeration value 'SERVER_WM_ADD_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DELETE_DECOR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_CLOSE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_FOOTER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_RESIZE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_HEADER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_OK_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DECOR_PIN_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_SMALL_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_MEDIUM_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_LARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_SCALE_XLARGE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WIN_BUSY_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WINMSG_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WINMSG_ERROR_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_BASE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_CMD_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_PROP_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_HELP_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_NOTICE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_WT_OTHER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_MENU_FULL_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_MENU_LIMITED_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_NONE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_IN_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PIN_OUT_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_MOVE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_COPY_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_DO_DRAG_LOAD_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_JOURNAL_SYNC_ATOM_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DISMISS_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_PROTOCOLS_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_COMMAND_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_CHANGE_STATE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DEFAULT_BUTTON_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_INTEREST_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_PREVIEW_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_TRIGGER_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_ACK_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_DRAGDROP_DONE_TYPE' not handled in switch [-Wswitch] win_input.c:2141:6: warning: enumeration value 'SERVER_WM_UNKNOWN_TYPE' not handled in switch [-Wswitch] win_input.c: In function 'process_property_events': win_input.c:2249:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'process_wm_pushpin_state': win_input.c:2278:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: In function 'win_event_to_proc_with_ptr': win_input.c:2316:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/xv_list.h:12, from ../../../build/include/xview_private/svr_impl.h:13, from win_input.c:29: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_input.c: At top level: win_input.c:2332:1: warning: return type defaults to 'int' [-Wimplicit-int] chording(display, bEvent, timeout) ^~~~~~~~ win_input.c:62:17: warning: 'win_translate_KP_keysym' declared 'static' but never defined [-Wunused-function] static int win_translate_KP_keysym(); ^~~~~~~~~~~~~~~~~~~~~~~ win_input.c:63:13: warning: 'translate_key' declared 'static' but never defined [-Wunused-function] static int translate_key(); ^~~~~~~~~~~~~ win_input.c: In function 'input_imnull': win_input.c:331:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'input_imall': win_input.c:342:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'win_refuse_kbd_focus': win_input.c:373:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'win_release_event_lock': win_input.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_input.c: In function 'xv_input_readevent': win_input.c:517:14: warning: 'xevent_mask' may be used uninitialized in this function [-Wmaybe-uninitialized] retval = xview_x_input_readevent((window ? xv_display(info) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Display *) xv_default_display), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ event, window, block, type, xevent_mask, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &xevent); ~~~~~~~~ rm -f win_treeop.o shared/win_treeop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_treeop.c -o shared/win_treeop.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_treeop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_treeop.c: In function 'win_getlink': win_treeop.c:57:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_setlink': win_treeop.c:135:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_set_parent': win_treeop.c:182:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:183:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent, parent_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:196:5: warning: implicit declaration of function 'window_set_parent'; did you mean 'win_set_parent'? [-Wimplicit-function-declaration] window_set_parent(window, parent); ^~~~~~~~~~~~~~~~~ win_set_parent win_treeop.c: At top level: win_treeop.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] win_insert(window) ^~~~~~~~~~ win_treeop.c: In function 'win_insert': win_treeop.c:205:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: At top level: win_treeop.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] win_insert_in_front(window) ^~~~~~~~~~~~~~~~~~~ win_treeop.c: In function 'win_insert_in_front': win_treeop.c:214:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: At top level: win_treeop.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] win_remove(window) ^~~~~~~~~~ win_treeop.c: In function 'win_remove': win_treeop.c:223:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_name_for_qualified_xid': win_treeop.c:242:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XID' {aka 'long unsigned int'} [-Wformat=] (void) sprintf(name, "%s:%d", XDisplayString(display), xid); ~^ ~~~ %ld win_treeop.c: In function 'win_number_to_object': win_treeop.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_fdtoname': win_treeop.c:294:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_fdtonumber': win_treeop.c:304:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_free': win_treeop.c:315:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_is_mapped': win_treeop.c:341:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_change_property': win_treeop.c:376:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_get_property': win_treeop.c:398:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:396:38: warning: variable 'result' set but not used [-Wunused-but-set-variable] int returned_format, result; ^~~~~~ win_treeop.c: In function 'win_insert': win_treeop.c:207:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_treeop.c: In function 'win_insert_in_front': win_treeop.c:216:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_treeop.c: In function 'win_remove': win_treeop.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_treeop.c -o win_treeop.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_treeop.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_treeop.c: In function 'win_getlink': win_treeop.c:57:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_setlink': win_treeop.c:135:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_set_parent': win_treeop.c:182:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:183:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent, parent_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:196:5: warning: implicit declaration of function 'window_set_parent'; did you mean 'win_set_parent'? [-Wimplicit-function-declaration] window_set_parent(window, parent); ^~~~~~~~~~~~~~~~~ win_set_parent win_treeop.c: At top level: win_treeop.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] win_insert(window) ^~~~~~~~~~ win_treeop.c: In function 'win_insert': win_treeop.c:205:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: At top level: win_treeop.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] win_insert_in_front(window) ^~~~~~~~~~~~~~~~~~~ win_treeop.c: In function 'win_insert_in_front': win_treeop.c:214:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: At top level: win_treeop.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] win_remove(window) ^~~~~~~~~~ win_treeop.c: In function 'win_remove': win_treeop.c:223:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_name_for_qualified_xid': win_treeop.c:242:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XID' {aka 'long unsigned int'} [-Wformat=] (void) sprintf(name, "%s:%d", XDisplayString(display), xid); ~^ ~~~ %ld win_treeop.c: In function 'win_number_to_object': win_treeop.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_fdtoname': win_treeop.c:294:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_fdtonumber': win_treeop.c:304:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_free': win_treeop.c:315:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_is_mapped': win_treeop.c:341:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_change_property': win_treeop.c:376:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c: In function 'win_get_property': win_treeop.c:398:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_treeop.c:18: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_treeop.c:396:38: warning: variable 'result' set but not used [-Wunused-but-set-variable] int returned_format, result; ^~~~~~ win_treeop.c: In function 'win_insert': win_treeop.c:207:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_treeop.c: In function 'win_insert_in_front': win_treeop.c:216:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_treeop.c: In function 'win_remove': win_treeop.c:230:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_bell.o shared/win_bell.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_bell.c -o shared/win_bell.o In file included from /usr/include/sys/types.h:25, from win_bell.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_bell.c:36:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bell_types[] = { ^ win_bell.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] win_bell(window, tv, pw) ^~~~~~~~ win_bell.c: In function 'win_bell': win_bell.c:55:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from win_bell.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_bell.c:68:9: warning: implicit declaration of function 'win_getsize' [-Wimplicit-function-declaration] (void) win_getsize(window, &r); ^~~~~~~~~~~ win_bell.c: At top level: win_bell.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] win_blocking_wait(wait_tv) ^~~~~~~~~~~~~~~~~ win_bell.c: In function 'win_blocking_wait': win_bell.c:97:19: warning: passing argument 2 to restrict-qualified parameter aliases with arguments 3, 4 [-Wrestrict] (void) select(0, &bits, &bits, &bits, &wait_tv); ^~~~~ ~~~~~ ~~~~~ win_bell.c: In function 'win_bell': win_bell.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_bell.c: In function 'win_blocking_wait': win_bell.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_bell.c -o win_bell.o In file included from /usr/include/sys/types.h:25, from win_bell.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_bell.c:36:38: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs bell_types[] = { ^ win_bell.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] win_bell(window, tv, pw) ^~~~~~~~ win_bell.c: In function 'win_bell': win_bell.c:55:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from win_bell.c:22: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_bell.c:68:9: warning: implicit declaration of function 'win_getsize' [-Wimplicit-function-declaration] (void) win_getsize(window, &r); ^~~~~~~~~~~ win_bell.c: At top level: win_bell.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] win_blocking_wait(wait_tv) ^~~~~~~~~~~~~~~~~ win_bell.c: In function 'win_blocking_wait': win_bell.c:97:19: warning: passing argument 2 to restrict-qualified parameter aliases with arguments 3, 4 [-Wrestrict] (void) select(0, &bits, &bits, &bits, &wait_tv); ^~~~~ ~~~~~ ~~~~~ win_bell.c: In function 'win_bell': win_bell.c:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_bell.c: In function 'win_blocking_wait': win_bell.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_damage.o shared/win_damage.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_damage.c -o shared/win_damage.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_damage.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_damage.c: In function 'win_clear_damage': win_damage.c:40:5: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damaged); ^~~~~~~ xv_free win_damage.c: In function 'win_set_damage': win_damage.c:50:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c:59:5: warning: implicit declaration of function 'rl_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] rl_copy(rl, &damaged); ^~~~~~~ va_copy win_damage.c: In function 'win_get_damage': win_damage.c:69:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c: In function 'win_convert_to_x_rectlist': win_damage.c:76:1: warning: type of 'xrect_count' defaults to 'int' [-Wimplicit-int] win_convert_to_x_rectlist(rl, xrect_array, xrect_count) ^~~~~~~~~~~~~~~~~~~~~~~~~ win_damage.c: In function 'win_set_clip': win_damage.c:125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c:130:2: warning: implicit declaration of function 'screen_set_clip_rects'; did you mean 'screen_get_visual'? [-Wimplicit-function-declaration] screen_set_clip_rects(screen, xrect_array, rect_count); ^~~~~~~~~~~~~~~~~~~~~ screen_get_visual win_damage.c: In function 'win_do_expose_event': win_damage.c:189:2: warning: implicit declaration of function 'rl_rectunion'; did you mean 'XK_section'? [-Wimplicit-function-declaration] rl_rectunion(&rect, &damaged, &damaged); ^~~~~~~~~~~~ XK_section win_damage.c:183:1: warning: label 'More_Damage' defined but not used [-Wunused-label] More_Damage: ^~~~~~~~~~~ win_damage.c:163:21: warning: variable 'queued' set but not used [-Wunused-but-set-variable] XEvent queued; ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_damage.c -o win_damage.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_damage.c:18: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_damage.c: In function 'win_clear_damage': win_damage.c:40:5: warning: implicit declaration of function 'rl_free'; did you mean 'xv_free'? [-Wimplicit-function-declaration] rl_free(&damaged); ^~~~~~~ xv_free win_damage.c: In function 'win_set_damage': win_damage.c:50:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c:59:5: warning: implicit declaration of function 'rl_copy'; did you mean 'va_copy'? [-Wimplicit-function-declaration] rl_copy(rl, &damaged); ^~~~~~~ va_copy win_damage.c: In function 'win_get_damage': win_damage.c:69:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c: In function 'win_convert_to_x_rectlist': win_damage.c:76:1: warning: type of 'xrect_count' defaults to 'int' [-Wimplicit-int] win_convert_to_x_rectlist(rl, xrect_array, xrect_count) ^~~~~~~~~~~~~~~~~~~~~~~~~ win_damage.c: In function 'win_set_clip': win_damage.c:125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from win_damage.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ win_damage.c:130:2: warning: implicit declaration of function 'screen_set_clip_rects'; did you mean 'screen_get_visual'? [-Wimplicit-function-declaration] screen_set_clip_rects(screen, xrect_array, rect_count); ^~~~~~~~~~~~~~~~~~~~~ screen_get_visual win_damage.c: In function 'win_do_expose_event': win_damage.c:189:2: warning: implicit declaration of function 'rl_rectunion'; did you mean 'XK_section'? [-Wimplicit-function-declaration] rl_rectunion(&rect, &damaged, &damaged); ^~~~~~~~~~~~ XK_section win_damage.c:183:1: warning: label 'More_Damage' defined but not used [-Wunused-label] More_Damage: ^~~~~~~~~~~ win_damage.c:163:21: warning: variable 'queued' set but not used [-Wunused-but-set-variable] XEvent queued; ^~~~~~ rm -f win_compat.o shared/win_compat.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_compat.c -o shared/win_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from win_compat.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_compat.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setinputmask(window, im, im_flush, nextwindownumber) ^~~~~~~~~~~~~~~~ win_compat.c: In function 'win_setinputmask': win_compat.c:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_compat.c -o win_compat.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from win_compat.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_compat.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] win_setinputmask(window, im, im_flush, nextwindownumber) ^~~~~~~~~~~~~~~~ win_compat.c: In function 'win_setinputmask': win_compat.c:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f win_keymap.o shared/win_keymap.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_keymap.c -o shared/win_keymap.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_keymap.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_keymap.c: In function 'win_keymap_get_smask': win_keymap.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_map': win_keymap.c:211:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_show_inputmask': win_keymap.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_show_keymap': win_keymap.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: win_keymap.c:205:37: warning: 'mapped_action' defined but not used [-Wunused-variable] static unsigned short mapped_event, mapped_action; ^~~~~~~~~~~~~ win_keymap.c:205:23: warning: 'mapped_event' defined but not used [-Wunused-variable] static unsigned short mapped_event, mapped_action; ^~~~~~~~~~~~ win_keymap.c:204:18: warning: 'mapped_win' defined but not used [-Wunused-variable] static Xv_object mapped_win; ^~~~~~~~~~ win_keymap.c:79:17: warning: 'keymap_quoted' defined but not used [-Wunused-variable] static int keymap_quoted; /* Keymap quote in-progress flag */ ^~~~~~~~~~~~~ win_keymap.c:35:1: warning: 'Malloc' defined but not used [-Wunused-function] Malloc(s) ^~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c win_keymap.c -o win_keymap.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from win_keymap.c:19: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ win_keymap.c: In function 'win_keymap_get_smask': win_keymap.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_map': win_keymap.c:211:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_show_inputmask': win_keymap.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ win_keymap.c: In function 'win_keymap_show_keymap': win_keymap.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: win_keymap.c:205:37: warning: 'mapped_action' defined but not used [-Wunused-variable] static unsigned short mapped_event, mapped_action; ^~~~~~~~~~~~~ win_keymap.c:205:23: warning: 'mapped_event' defined but not used [-Wunused-variable] static unsigned short mapped_event, mapped_action; ^~~~~~~~~~~~ win_keymap.c:204:18: warning: 'mapped_win' defined but not used [-Wunused-variable] static Xv_object mapped_win; ^~~~~~~~~~ win_keymap.c:79:17: warning: 'keymap_quoted' defined but not used [-Wunused-variable] static int keymap_quoted; /* Keymap quote in-progress flag */ ^~~~~~~~~~~~~ win_keymap.c:35:1: warning: 'Malloc' defined but not used [-Wunused-function] Malloc(s) ^~~~~~ + rm -f ../../libxview/xshared/win_cursor.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_cursor.o ../../libxview/xshared/win_cursor.o + rm -f ../../libxview/xshared/win_env.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_env.o ../../libxview/xshared/win_env.o + rm -f ../../libxview/xshared/win_geom.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_geom.o ../../libxview/xshared/win_geom.o + rm -f ../../libxview/xshared/win_global.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_global.o ../../libxview/xshared/win_global.o + rm -f ../../libxview/xshared/win_cntral.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_cntral.o ../../libxview/xshared/win_cntral.o + rm -f ../../libxview/xshared/win_input.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_input.o ../../libxview/xshared/win_input.o + rm -f ../../libxview/xshared/win_treeop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_treeop.o ../../libxview/xshared/win_treeop.o + rm -f ../../libxview/xshared/win_bell.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_bell.o ../../libxview/xshared/win_bell.o + rm -f ../../libxview/xshared/win_damage.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_damage.o ../../libxview/xshared/win_damage.o + rm -f ../../libxview/xshared/win_compat.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_compat.o ../../libxview/xshared/win_compat.o + rm -f ../../libxview/xshared/win_keymap.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win/shared/win_keymap.o ../../libxview/xshared/win_keymap.o ar ruv ../../libxview/libxview.a win_cursor.o win_env.o win_geom.o win_global.o win_cntral.o win_input.o win_treeop.o win_bell.o win_damage.o win_compat.o win_keymap.o a - win_cursor.o a - win_env.o a - win_geom.o a - win_global.o a - win_cntral.o a - win_input.o a - win_treeop.o a - win_bell.o a - win_damage.o a - win_compat.o a - win_keymap.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/win' making all in lib/libxview/window... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' rm -f window.o shared/window.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window.c -o shared/window.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from window.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window.c: In function 'window_init': window.c:286:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:297:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:297:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:301:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent_public, parent_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:307:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:391:2: warning: implicit declaration of function 'sync_rect' [-Wimplicit-function-declaration] sync_rect(win, &default_rect, &win->cache_rect); ^~~~~~~~~ window.c:453:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:453:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:471:43: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] sprintf(cms_name, "xv_default_cms_for_0x%x", xv_visual(info)->vinfo->visualid); ~^ %lx window.c:517:31: warning: implicit declaration of function 'xv_font_with_name' [-Wimplicit-function-declaration] win->font = (Xv_font) xv_font_with_name(server, (char *)NULL); ^~~~~~~~~~~~~~~~~ window.c:526:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:526:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:538:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:538:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'window_new': window.c:573:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:577:9: warning: implicit declaration of function 'win_x_getrect'; did you mean 'window_getrelrect'? [-Wimplicit-function-declaration] win_x_getrect(display, new_window, &rect); ^~~~~~~~~~~~~ window_getrelrect window.c:578:9: warning: implicit declaration of function 'window_update_cache_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_update_cache_rect(win_public, &rect); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect window.c: In function 'window_set_bit_gravity': window.c:636:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'xv_main_loop': window.c:650:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:648:21: warning: unused variable 'sview_gprof_start' [-Wunused-variable] extern int sview_gprof_start; ^~~~~~~~~~~~~~~~~ window.c:645:21: warning: unused variable 'win' [-Wunused-variable] Window_info *win = WIN_PRIVATE(win_public); ^~~ window.c: In function 'window_destroy_win_struct': window.c:737:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (win->cmdline && ((int)win->cmdline != -1)) { ^ window.c:751:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:34, from window.c:29: ../../../build/include/xview_private/xv_list.h:60:40: warning: the address of 'dropSite_save' will always evaluate as 'true' [-Waddress] #define XV_SL_SAFE_NEXT(_this) (_this) ? (_this)->next : XV_SL_NULL ^ window.c:769:7: note: in expansion of macro 'XV_SL_SAFE_NEXT' (XV_SL_SAFE_NEXT((&dropSite_save)))) { ^~~~~~~~~~~~~~~ window.c:768:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(dropSite = (Win_drop_site_list *) ^~~~~~~~ window.c:784:6: warning: implicit declaration of function 'win_free'; did you mean 'win_screen'? [-Wimplicit-function-declaration] win_free(win_public); ^~~~~~~~ win_screen window.c:796:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'window_set_parent_dying': window.c:711:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c: In function 'window_unset_parent_dying': window.c:717:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window.c -o window.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from window.c:21: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window.c: In function 'window_init': window.c:286:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:297:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:297:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:301:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(parent_public, parent_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:307:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:391:2: warning: implicit declaration of function 'sync_rect' [-Wimplicit-function-declaration] sync_rect(win, &default_rect, &win->cache_rect); ^~~~~~~~~ window.c:453:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:453:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:471:43: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'VisualID' {aka 'long unsigned int'} [-Wformat=] sprintf(cms_name, "xv_default_cms_for_0x%x", xv_visual(info)->vinfo->visualid); ~^ %lx window.c:517:31: warning: implicit declaration of function 'xv_font_with_name' [-Wimplicit-function-declaration] win->font = (Xv_font) xv_font_with_name(server, (char *)NULL); ^~~~~~~~~~~~~~~~~ window.c:526:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:526:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:538:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:538:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] eexit( ^~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'window_new': window.c:573:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:577:9: warning: implicit declaration of function 'win_x_getrect'; did you mean 'window_getrelrect'? [-Wimplicit-function-declaration] win_x_getrect(display, new_window, &rect); ^~~~~~~~~~~~~ window_getrelrect window.c:578:9: warning: implicit declaration of function 'window_update_cache_rect'; did you mean 'window_set_cache_rect'? [-Wimplicit-function-declaration] window_update_cache_rect(win_public, &rect); ^~~~~~~~~~~~~~~~~~~~~~~~ window_set_cache_rect window.c: In function 'window_set_bit_gravity': window.c:636:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'xv_main_loop': window.c:650:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c:648:21: warning: unused variable 'sview_gprof_start' [-Wunused-variable] extern int sview_gprof_start; ^~~~~~~~~~~~~~~~~ window.c:645:21: warning: unused variable 'win' [-Wunused-variable] Window_info *win = WIN_PRIVATE(win_public); ^~~ window.c: In function 'window_destroy_win_struct': window.c:737:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (win->cmdline && ((int)win->cmdline != -1)) { ^ window.c:751:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:34, from window.c:29: ../../../build/include/xview_private/xv_list.h:60:40: warning: the address of 'dropSite_save' will always evaluate as 'true' [-Waddress] #define XV_SL_SAFE_NEXT(_this) (_this) ? (_this)->next : XV_SL_NULL ^ window.c:769:7: note: in expansion of macro 'XV_SL_SAFE_NEXT' (XV_SL_SAFE_NEXT((&dropSite_save)))) { ^~~~~~~~~~~~~~~ window.c:768:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(dropSite = (Win_drop_site_list *) ^~~~~~~~ window.c:784:6: warning: implicit declaration of function 'win_free'; did you mean 'win_screen'? [-Wimplicit-function-declaration] win_free(win_public); ^~~~~~~~ win_screen window.c:796:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window.c:26: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window.c: In function 'window_set_parent_dying': window.c:711:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ window.c: In function 'window_unset_parent_dying': window.c:717:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ rm -f window_get.o shared/window_get.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_get.c -o shared/window_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from window_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_get.c: In function 'window_get_attr': window_get.c:87:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from ../../../build/include/xview_private/windowimpl.h:18, from window_get.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_get.c:210:18: warning: implicit declaration of function 'win_convert_to_x_rectlist'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] xrects.count = win_convert_to_x_rectlist(rl, xrects.rect_array, ^~~~~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list window_get.c:242:22: warning: implicit declaration of function 'win_findintersect'; did you mean 'rl_rectintersects'? [-Wimplicit-function-declaration] v = (Xv_opaque) win_findintersect(win_public, x, y); ^~~~~~~~~~~~~~~~~ rl_rectintersects window_get.c:356:18: warning: implicit declaration of function 'win_get_retained'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] v = (Xv_opaque) win_get_retained(win_public); ^~~~~~~~~~~~~~~~ win_get_damage window_get.c:430:6: warning: implicit declaration of function 'win_getmouseposition' [-Wimplicit-function-declaration] win_getmouseposition(win_public, &rect.r_left, &rect.r_top); ^~~~~~~~~~~~~~~~~~~~ window_get.c:298:7: warning: case value '1078856193' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_OWNER: ^~~~ window_get.c:188:7: warning: case value '1079052545' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_SHOW: ^~~~ window_get.c:276:7: warning: case value '1245710849' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_FONT: ^~~~ window_get.c:391:7: warning: case value '1245841409' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_LEFT_MARGIN: ^~~~ window_get.c:383:7: warning: case value '1245906945' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_TOP_MARGIN: ^~~~ window_get.c:395:7: warning: case value '1245972481' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_RIGHT_MARGIN: ^~~~ window_get.c:387:7: warning: case value '1246038017' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_BOTTOM_MARGIN: ^~~~ window_get.c:373:7: warning: case value '1246103617' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_X: ^~~~ window_get.c:378:7: warning: case value '1246169217' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_Y: ^~~~ window_get.c:359:7: warning: case value '1246234689' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_WIDTH: ^~~~ window_get.c:280:7: warning: case value '1246300289' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_HEIGHT: ^~~~ window_get.c:325:7: warning: case value '1246366177' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_RECT: ^~~~ window_get.c:451:7: warning: case value '1247939073' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_ROOT: ^~~~ window_get.c:90:7: warning: case value '1249118721' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_SCREEN: ^~~~ window_get.c:459:7: warning: case value '1249183745' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL_CLASS: ^~~~ window_get.c:463:7: warning: case value '1249708545' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL: ^~~~ window_get.c:349:7: warning: case value '1249773569' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_DEPTH: ^~~~ window_get.c:683:7: warning: case value '1251674465' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ window_get.c:687:7: warning: case value '1252002145' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ window_get.c:691:7: warning: case value '1252329825' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ window_get.c:695:7: warning: case value '1252657505' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_NUMERIC: ^~~~ window_get.c:699:7: warning: case value '1252985185' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from window_get.c:14: window_get.c: In function 'get_mask_bit': ../../../build/include/xview/win_input.h:356:63: warning: statement with no effect [-Wunused-value] ((isworkstationdevid(code))? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((im)->im_keycode[win_im_slot(code)] & \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (1<<((BITSPERBYTE-1)-(((code)-VKEY_FIRST)%BITSPERBYTE)))): 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ window_get.c:790:6: note: in expansion of macro 'win_getinputcodebit' win_getinputcodebit(&im, KEY_LEFT(1)); ^~~~~~~~~~~~~~~~~~~ window_get.c: In function 'window_get_attr': window_get.c:795:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] return (v != 0); ~~~^~~~~ window_get.c:720:21: note: 'v' was declared here int v, i; ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_get.c -o window_get.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from window_get.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_get.c: In function 'window_get_attr': window_get.c:87:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/font.h:18, from ../../../build/include/xview_private/windowimpl.h:18, from window_get.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_get.c:210:18: warning: implicit declaration of function 'win_convert_to_x_rectlist'; did you mean 'window_add_to_rect_list'? [-Wimplicit-function-declaration] xrects.count = win_convert_to_x_rectlist(rl, xrects.rect_array, ^~~~~~~~~~~~~~~~~~~~~~~~~ window_add_to_rect_list window_get.c:242:22: warning: implicit declaration of function 'win_findintersect'; did you mean 'rl_rectintersects'? [-Wimplicit-function-declaration] v = (Xv_opaque) win_findintersect(win_public, x, y); ^~~~~~~~~~~~~~~~~ rl_rectintersects window_get.c:356:18: warning: implicit declaration of function 'win_get_retained'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] v = (Xv_opaque) win_get_retained(win_public); ^~~~~~~~~~~~~~~~ win_get_damage window_get.c:430:6: warning: implicit declaration of function 'win_getmouseposition' [-Wimplicit-function-declaration] win_getmouseposition(win_public, &rect.r_left, &rect.r_top); ^~~~~~~~~~~~~~~~~~~~ window_get.c:298:7: warning: case value '1078856193' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_OWNER: ^~~~ window_get.c:188:7: warning: case value '1079052545' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_SHOW: ^~~~ window_get.c:276:7: warning: case value '1245710849' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_FONT: ^~~~ window_get.c:391:7: warning: case value '1245841409' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_LEFT_MARGIN: ^~~~ window_get.c:383:7: warning: case value '1245906945' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_TOP_MARGIN: ^~~~ window_get.c:395:7: warning: case value '1245972481' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_RIGHT_MARGIN: ^~~~ window_get.c:387:7: warning: case value '1246038017' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_BOTTOM_MARGIN: ^~~~ window_get.c:373:7: warning: case value '1246103617' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_X: ^~~~ window_get.c:378:7: warning: case value '1246169217' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_Y: ^~~~ window_get.c:359:7: warning: case value '1246234689' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_WIDTH: ^~~~ window_get.c:280:7: warning: case value '1246300289' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_HEIGHT: ^~~~ window_get.c:325:7: warning: case value '1246366177' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case WIN_RECT: ^~~~ window_get.c:451:7: warning: case value '1247939073' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_ROOT: ^~~~ window_get.c:90:7: warning: case value '1249118721' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_SCREEN: ^~~~ window_get.c:459:7: warning: case value '1249183745' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL_CLASS: ^~~~ window_get.c:463:7: warning: case value '1249708545' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_VISUAL: ^~~~ window_get.c:349:7: warning: case value '1249773569' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_DEPTH: ^~~~ window_get.c:683:7: warning: case value '1251674465' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_BASIC_LOCALE: ^~~~ window_get.c:687:7: warning: case value '1252002145' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_DISPLAY_LANG: ^~~~ window_get.c:691:7: warning: case value '1252329825' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_INPUT_LANG: ^~~~ window_get.c:695:7: warning: case value '1252657505' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_NUMERIC: ^~~~ window_get.c:699:7: warning: case value '1252985185' not in enumerated type 'Window_attribute' {aka 'enum '} [-Wswitch] case XV_LC_TIME_FORMAT: ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from window_get.c:14: window_get.c: In function 'get_mask_bit': ../../../build/include/xview/win_input.h:356:63: warning: statement with no effect [-Wunused-value] ((isworkstationdevid(code))? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((im)->im_keycode[win_im_slot(code)] & \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (1<<((BITSPERBYTE-1)-(((code)-VKEY_FIRST)%BITSPERBYTE)))): 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ window_get.c:790:6: note: in expansion of macro 'win_getinputcodebit' win_getinputcodebit(&im, KEY_LEFT(1)); ^~~~~~~~~~~~~~~~~~~ window_get.c: In function 'window_get_attr': window_get.c:795:15: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] return (v != 0); ~~~^~~~~ window_get.c:720:21: note: 'v' was declared here int v, i; ^ rm -f window_set.o shared/window_set.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_set.c -o shared/window_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from window_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_set.c:57:42: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs setinput_pairs[] = { ^ window_set.c: In function 'window_set_avlist': window_set.c:77:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:102:13: warning: implicit declaration of function 'win_setmouseposition' [-Wimplicit-function-declaration] (void) win_setmouseposition(win_public, (short) attrs[1], ^~~~~~~~~~~~~~~~~~~~ window_set.c:162:7: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] win_setlink(win_public, WL_COVERED, 0); ^~~~~~~~~~~ window_set.c:170:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = (Win_drop_site_list *) ^~~~ window_set.c:198:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = (Win_drop_site_list *) ^~~~ window_set.c:223:8: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] window_set_cms(win_public, cms, 0, ^~~~~~~~~~~~~~ window_set window_set.c:303:4: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] win_insert(win_public); ^~~~~~~~~~ XK_Insert window_set.c:419:13: warning: implicit declaration of function 'win_xmask_to_im' [-Wimplicit-function-declaration] (void) win_xmask_to_im(win->xmask, &im); ^~~~~~~~~~~~~~~ window_set.c:465:6: warning: implicit declaration of function 'win_set_parent'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_parent(win_public, attrs[1], rect.r_left, rect.r_top); ^~~~~~~~~~~~~~ win_get_damage window_set.c: In function 'window_set_avlist_tier2': window_set.c:750:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (win->cmdline && ((int)win->cmdline != -1)) { ^ window_set.c:766:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:778:9: warning: implicit declaration of function 'window_set_cms_data'; did you mean 'window_set_avlist'? [-Wimplicit-function-declaration] window_set_cms_data(win_public, (Xv_cmsdata *) attrs[1]); ^~~~~~~~~~~~~~~~~~~ window_set_avlist window_set.c:809:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:811:6: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(win_public, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus window_set.c:952:2: warning: implicit declaration of function 'window_set_cms_name'; did you mean 'window_set_event_mask'? [-Wimplicit-function-declaration] window_set_cms_name(win_public, (char *) attrs[1]); ^~~~~~~~~~~~~~~~~~~ window_set_event_mask window_set.c: In function 'window_set_avlist_tier3': window_set.c:984:13: warning: implicit declaration of function 'win_grabio'; did you mean 'win_map'? [-Wimplicit-function-declaration] (void) win_grabio(win_public); ^~~~~~~~~~ win_map window_set.c:986:13: warning: implicit declaration of function 'win_releaseio' [-Wimplicit-function-declaration] (void) win_releaseio(win_public); ^~~~~~~~~~~~~ window_set.c:1017:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:1039:6: warning: implicit declaration of function 'window_set_border'; did you mean 'window_get_attr'? [-Wimplicit-function-declaration] window_set_border(win_public, WIN_DEFAULT_BORDER_WIDTH); ^~~~~~~~~~~~~~~~~ window_get_attr window_set.c:1061:2: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] win_lockdata(win_public); ^~~~~~~~~~~~ window_set.c:1070:9: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(win_public, tv, win_public); ^~~~~~~~ window_bell window_set.c:1077:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'set_mask_bit': window_set.c:1189:9: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] (void) input_imnull(mask); ^~~~~~~~~~~~ rect_isnull window_set.c: In function 'unset_mask_bit': window_set.c:1316:6: warning: implicit declaration of function 'win_keymap_unset_smask'; did you mean 'win_keymap_DEFINED'? [-Wimplicit-function-declaration] win_keymap_unset_smask(win_public, (u_short) value); ^~~~~~~~~~~~~~~~~~~~~~ win_keymap_DEFINED window_set.c: In function 'window_set_event_mask': window_set.c:1349:35: warning: implicit declaration of function 'win_im_to_xmask'; did you mean 'win_set_wm_class'? [-Wimplicit-function-declaration] unsigned int xevent_mask = win_im_to_xmask(window, im); ^~~~~~~~~~~~~~~ win_set_wm_class window_set.c: In function 'window_grab_selectbutton': window_set.c:1404:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'window_release_selectbutton': window_set.c:1439:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'window_ungrab_selectbutton': window_set.c:1459:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_set.c -o window_set.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from window_set.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_set.c:57:42: warning: missing braces around initializer [-Wmissing-braces] static Defaults_pairs setinput_pairs[] = { ^ window_set.c: In function 'window_set_avlist': window_set.c:77:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:102:13: warning: implicit declaration of function 'win_setmouseposition' [-Wimplicit-function-declaration] (void) win_setmouseposition(win_public, (short) attrs[1], ^~~~~~~~~~~~~~~~~~~~ window_set.c:162:7: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] win_setlink(win_public, WL_COVERED, 0); ^~~~~~~~~~~ window_set.c:170:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = (Win_drop_site_list *) ^~~~ window_set.c:198:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (node = (Win_drop_site_list *) ^~~~ window_set.c:223:8: warning: implicit declaration of function 'window_set_cms'; did you mean 'window_set'? [-Wimplicit-function-declaration] window_set_cms(win_public, cms, 0, ^~~~~~~~~~~~~~ window_set window_set.c:303:4: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] win_insert(win_public); ^~~~~~~~~~ XK_Insert window_set.c:419:13: warning: implicit declaration of function 'win_xmask_to_im' [-Wimplicit-function-declaration] (void) win_xmask_to_im(win->xmask, &im); ^~~~~~~~~~~~~~~ window_set.c:465:6: warning: implicit declaration of function 'win_set_parent'; did you mean 'win_get_damage'? [-Wimplicit-function-declaration] win_set_parent(win_public, attrs[1], rect.r_left, rect.r_top); ^~~~~~~~~~~~~~ win_get_damage window_set.c: In function 'window_set_avlist_tier2': window_set.c:750:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (win->cmdline && ((int)win->cmdline != -1)) { ^ window_set.c:766:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:778:9: warning: implicit declaration of function 'window_set_cms_data'; did you mean 'window_set_avlist'? [-Wimplicit-function-declaration] window_set_cms_data(win_public, (Xv_cmsdata *) attrs[1]); ^~~~~~~~~~~~~~~~~~~ window_set_avlist window_set.c:809:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:811:6: warning: implicit declaration of function 'win_set_kbd_focus'; did you mean 'xv_set_no_focus'? [-Wimplicit-function-declaration] win_set_kbd_focus(win_public, xv_xid(info)); ^~~~~~~~~~~~~~~~~ xv_set_no_focus window_set.c:952:2: warning: implicit declaration of function 'window_set_cms_name'; did you mean 'window_set_event_mask'? [-Wimplicit-function-declaration] window_set_cms_name(win_public, (char *) attrs[1]); ^~~~~~~~~~~~~~~~~~~ window_set_event_mask window_set.c: In function 'window_set_avlist_tier3': window_set.c:984:13: warning: implicit declaration of function 'win_grabio'; did you mean 'win_map'? [-Wimplicit-function-declaration] (void) win_grabio(win_public); ^~~~~~~~~~ win_map window_set.c:986:13: warning: implicit declaration of function 'win_releaseio' [-Wimplicit-function-declaration] (void) win_releaseio(win_public); ^~~~~~~~~~~~~ window_set.c:1017:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c:1039:6: warning: implicit declaration of function 'window_set_border'; did you mean 'window_get_attr'? [-Wimplicit-function-declaration] window_set_border(win_public, WIN_DEFAULT_BORDER_WIDTH); ^~~~~~~~~~~~~~~~~ window_get_attr window_set.c:1061:2: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] win_lockdata(win_public); ^~~~~~~~~~~~ window_set.c:1070:9: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(win_public, tv, win_public); ^~~~~~~~ window_bell window_set.c:1077:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'set_mask_bit': window_set.c:1189:9: warning: implicit declaration of function 'input_imnull'; did you mean 'rect_isnull'? [-Wimplicit-function-declaration] (void) input_imnull(mask); ^~~~~~~~~~~~ rect_isnull window_set.c: In function 'unset_mask_bit': window_set.c:1316:6: warning: implicit declaration of function 'win_keymap_unset_smask'; did you mean 'win_keymap_DEFINED'? [-Wimplicit-function-declaration] win_keymap_unset_smask(win_public, (u_short) value); ^~~~~~~~~~~~~~~~~~~~~~ win_keymap_DEFINED window_set.c: In function 'window_set_event_mask': window_set.c:1349:35: warning: implicit declaration of function 'win_im_to_xmask'; did you mean 'win_set_wm_class'? [-Wimplicit-function-declaration] unsigned int xevent_mask = win_im_to_xmask(window, im); ^~~~~~~~~~~~~~~ win_set_wm_class window_set.c: In function 'window_grab_selectbutton': window_set.c:1404:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'window_release_selectbutton': window_set.c:1439:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_set.c: In function 'window_ungrab_selectbutton': window_set.c:1459:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_set.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f windowlayt.o shared/windowlayt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowlayt.c -o shared/windowlayt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowlayt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowlayt.c: In function 'window_layout': windowlayt.c:24:1: warning: type of 'd1' defaults to 'int' [-Wimplicit-int] window_layout(parent, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ windowlayt.c:24:1: warning: type of 'd2' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd3' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd4' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd5' defaults to 'int' [-Wimplicit-int] windowlayt.c:43:6: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] win_insert(child); ^~~~~~~~~~ XK_Insert windowlayt.c:56:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(child); ^~~~~~~~~~ remove windowlayt.c:63:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d2; ^ windowlayt.c:70:9: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(child, (Rect *) d1); ^~~~~~~~~~~ windowlayt.c:70:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void) win_setrect(child, (Rect *) d1); ^ windowlayt.c:76:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d2; ^ windowlayt.c:83:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d1; ^ windowlayt.c:85:13: warning: implicit declaration of function 'win_getrect'; did you mean 'window_getrelrect'? [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); ^~~~~~~~~~~ window_getrelrect windowlayt.c:91:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d1; ^ windowlayt.c:99:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *w = (int *) d1; ^ windowlayt.c:107:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *h = (int *) d1; ^ windowlayt.c:115:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *) d1; ^ windowlayt.c:126:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from windowlayt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowlayt.c -o windowlayt.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowlayt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowlayt.c: In function 'window_layout': windowlayt.c:24:1: warning: type of 'd1' defaults to 'int' [-Wimplicit-int] window_layout(parent, child, op, d1, d2, d3, d4, d5) ^~~~~~~~~~~~~ windowlayt.c:24:1: warning: type of 'd2' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd3' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd4' defaults to 'int' [-Wimplicit-int] windowlayt.c:24:1: warning: type of 'd5' defaults to 'int' [-Wimplicit-int] windowlayt.c:43:6: warning: implicit declaration of function 'win_insert'; did you mean 'XK_Insert'? [-Wimplicit-function-declaration] win_insert(child); ^~~~~~~~~~ XK_Insert windowlayt.c:56:9: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(child); ^~~~~~~~~~ remove windowlayt.c:63:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d2; ^ windowlayt.c:70:9: warning: implicit declaration of function 'win_setrect' [-Wimplicit-function-declaration] (void) win_setrect(child, (Rect *) d1); ^~~~~~~~~~~ windowlayt.c:70:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void) win_setrect(child, (Rect *) d1); ^ windowlayt.c:76:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d2; ^ windowlayt.c:83:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *x = (int *) d1; ^ windowlayt.c:85:13: warning: implicit declaration of function 'win_getrect'; did you mean 'window_getrelrect'? [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); ^~~~~~~~~~~ window_getrelrect windowlayt.c:91:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *y = (int *) d1; ^ windowlayt.c:99:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *w = (int *) d1; ^ windowlayt.c:107:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] int *h = (int *) d1; ^ windowlayt.c:115:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Rect *r = (Rect *) d1; ^ windowlayt.c:126:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from windowlayt.c:14: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f windowutil.o shared/windowutil.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowutil.c -o shared/windowutil.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowutil.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowutil.c: In function 'window_refuse_kbd_focus': windowutil.c:67:12: warning: implicit declaration of function 'win_refuse_kbd_focus'; did you mean 'window_refuse_kbd_focus'? [-Wimplicit-function-declaration] (void) win_refuse_kbd_focus(window); ^~~~~~~~~~~~~~~~~~~~ window_refuse_kbd_focus windowutil.c: In function 'window_read_event': windowutil.c:75:12: warning: implicit declaration of function 'input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] return input_readevent(window, event); ^~~~~~~~~~~~~~~ xv_input_readevent windowutil.c: In function 'window_bell': windowutil.c:87:12: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(window, tv, window); ^~~~~~~~ window_bell windowutil.c: In function 'window_default_event_func': windowutil.c:134:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:166:13: warning: implicit declaration of function 'check_lang_mode' [-Wimplicit-function-declaration] check_lang_mode(NULL,NULL,NULL); ^~~~~~~~~~~~~~~ windowutil.c:179:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public,info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:198:11: warning: implicit declaration of function 'xv_sel_handle_selection_clear'; did you mean 'seln_function_clear'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_clear(clear_event)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ seln_function_clear windowutil.c:199:3: warning: implicit declaration of function 'selection_agent_clear'; did you mean 'selection_yield_all'? [-Wimplicit-function-declaration] selection_agent_clear(server_public, clear_event); ^~~~~~~~~~~~~~~~~~~~~ selection_yield_all windowutil.c:209:11: warning: implicit declaration of function 'xv_sel_handle_selection_request'; did you mean 'selection_request'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_request(req_event)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_request windowutil.c:210:3: warning: implicit declaration of function 'selection_agent_selectionrequest'; did you mean 'selection_init_request'? [-Wimplicit-function-declaration] selection_agent_selectionrequest(server_public, req_event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_init_request windowutil.c:218:6: warning: implicit declaration of function 'xv_sel_handle_selection_notify' [-Wimplicit-function-declaration] xv_sel_handle_selection_notify(sel_event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_getrelrect': windowutil.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(source, source_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:263:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, dest_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:268:12: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'win_get_top_level'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(source, source_rect); ^~~~~~~~~~~~~~~~~~ win_get_top_level windowutil.c: In function 'window_set_cache_rect': windowutil.c:464:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from windowutil.c:24: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ windowutil.c:496:6: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ windowutil.c:503:3: warning: implicit declaration of function 'win_post_event_arg'; did you mean 'notify_post_event_and_arg'? [-Wimplicit-function-declaration] win_post_event_arg(window, &event, NOTIFY_IMMEDIATE, ^~~~~~~~~~~~~~~~~~ notify_post_event_and_arg windowutil.c:507:3: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] win_post_event(window, &event, NOTIFY_IMMEDIATE); ^~~~~~~~~~~~~~ notify_post_event windowutil.c: At top level: windowutil.c:512:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_parent(window, parent) ^~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_set_parent': windowutil.c:520:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ windowutil.c:512:1: note: declared here window_set_parent(window, parent) ^~~~~~~~~~~~~~~~~ windowutil.c:522:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:527:5: warning: implicit declaration of function 'win_xmask_to_im'; did you mean 'win_translate_xy'? [-Wimplicit-function-declaration] win_xmask_to_im(win_private->xmask, &im); ^~~~~~~~~~~~~~~ win_translate_xy windowutil.c: In function 'window_set_border': windowutil.c:553:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c: In function 'window_end_rescaling': windowutil.c:612:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_end_rescaling(window, state) ^~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_start_rescaling': windowutil.c:620:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_start_rescaling(window, state) ^~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_calculate_new_size': windowutil.c:637:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_calculate_new_size(parent, window, state, new_width, new_height) ^~~~~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_adjust_rects': windowutil.c:737:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (diff = rect_obj_list[i].new_rect.r_width ^~~~ windowutil.c:741:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (diff = rect_obj_list[i].new_rect.r_height ^~~~ windowutil.c: In function 'win_grab_quick_sel_keys': windowutil.c:959:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:957:16: warning: unused variable 'keysym' [-Wunused-variable] KeySym keysym; ^~~~~~ windowutil.c: In function 'win_ungrab_quick_sel_keys': windowutil.c:1001:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:999:16: warning: unused variable 'keysym' [-Wunused-variable] KeySym keysym; ^~~~~~ windowutil.c: In function 'win_set_wm_command': windowutil.c:1045:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:1070:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)appl_cmdline != -1) { ^ windowutil.c:1079:17: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(window, SERVER_WM_COMMAND, XA_STRING, 8, ^~~~~~~~~~~~~~~~~~~ XChangeProperty windowutil.c:1092:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)appl_cmdline_argv != -1) { ^ windowutil.c: In function 'win_set_wm_class': windowutil.c:1125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c: In function 'window_set_tree_child_flag': windowutil.c:1254:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(query, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:1280:16: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] if (win_obj = win_data(display, children[i])) { ^~~~~~~~ windowutil.c:1280:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (win_obj = win_data(display, children[i])) { ^~~~~~~ windowutil.c: In function 'adjust_rect_obj': windowutil.c:809:6: warning: 'top_coord' may be used uninitialized in this function [-Wmaybe-uninitialized] if (top_coord < temp_sw->old_rect.r_top) { ^ windowutil.c:796:6: warning: 'left_coord' may be used uninitialized in this function [-Wmaybe-uninitialized] if (left_coord < temp_sw->old_rect.r_left) { ^ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowutil.c -o windowutil.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from windowutil.c:16: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowutil.c: In function 'window_refuse_kbd_focus': windowutil.c:67:12: warning: implicit declaration of function 'win_refuse_kbd_focus'; did you mean 'window_refuse_kbd_focus'? [-Wimplicit-function-declaration] (void) win_refuse_kbd_focus(window); ^~~~~~~~~~~~~~~~~~~~ window_refuse_kbd_focus windowutil.c: In function 'window_read_event': windowutil.c:75:12: warning: implicit declaration of function 'input_readevent'; did you mean 'xv_input_readevent'? [-Wimplicit-function-declaration] return input_readevent(window, event); ^~~~~~~~~~~~~~~ xv_input_readevent windowutil.c: In function 'window_bell': windowutil.c:87:12: warning: implicit declaration of function 'win_bell'; did you mean 'window_bell'? [-Wimplicit-function-declaration] (void) win_bell(window, tv, window); ^~~~~~~~ window_bell windowutil.c: In function 'window_default_event_func': windowutil.c:134:2: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:166:13: warning: implicit declaration of function 'check_lang_mode' [-Wimplicit-function-declaration] check_lang_mode(NULL,NULL,NULL); ^~~~~~~~~~~~~~~ windowutil.c:179:6: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public,info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:198:11: warning: implicit declaration of function 'xv_sel_handle_selection_clear'; did you mean 'seln_function_clear'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_clear(clear_event)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ seln_function_clear windowutil.c:199:3: warning: implicit declaration of function 'selection_agent_clear'; did you mean 'selection_yield_all'? [-Wimplicit-function-declaration] selection_agent_clear(server_public, clear_event); ^~~~~~~~~~~~~~~~~~~~~ selection_yield_all windowutil.c:209:11: warning: implicit declaration of function 'xv_sel_handle_selection_request'; did you mean 'selection_request'? [-Wimplicit-function-declaration] if (!xv_sel_handle_selection_request(req_event)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_request windowutil.c:210:3: warning: implicit declaration of function 'selection_agent_selectionrequest'; did you mean 'selection_init_request'? [-Wimplicit-function-declaration] selection_agent_selectionrequest(server_public, req_event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ selection_init_request windowutil.c:218:6: warning: implicit declaration of function 'xv_sel_handle_selection_notify' [-Wimplicit-function-declaration] xv_sel_handle_selection_notify(sel_event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_getrelrect': windowutil.c:259:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(source, source_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:263:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(dest, dest_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:268:12: warning: implicit declaration of function 'win_get_outer_rect'; did you mean 'win_get_top_level'? [-Wimplicit-function-declaration] (void) win_get_outer_rect(source, source_rect); ^~~~~~~~~~~~~~~~~~ win_get_top_level windowutil.c: In function 'window_set_cache_rect': windowutil.c:464:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ In file included from ../../../build/include/xview_private/windowimpl.h:28, from windowutil.c:24: ../../../build/include/xview/win_input.h:428:20: warning: assignment to 'Xv_object' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] (ie)->ie_win = NULL, \ ^ windowutil.c:496:6: note: in expansion of macro 'event_init' event_init(&event); ^~~~~~~~~~ windowutil.c:503:3: warning: implicit declaration of function 'win_post_event_arg'; did you mean 'notify_post_event_and_arg'? [-Wimplicit-function-declaration] win_post_event_arg(window, &event, NOTIFY_IMMEDIATE, ^~~~~~~~~~~~~~~~~~ notify_post_event_and_arg windowutil.c:507:3: warning: implicit declaration of function 'win_post_event'; did you mean 'notify_post_event'? [-Wimplicit-function-declaration] win_post_event(window, &event, NOTIFY_IMMEDIATE); ^~~~~~~~~~~~~~ notify_post_event windowutil.c: At top level: windowutil.c:512:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_parent(window, parent) ^~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_set_parent': windowutil.c:520:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ windowutil.c:512:1: note: declared here window_set_parent(window, parent) ^~~~~~~~~~~~~~~~~ windowutil.c:522:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:527:5: warning: implicit declaration of function 'win_xmask_to_im'; did you mean 'win_translate_xy'? [-Wimplicit-function-declaration] win_xmask_to_im(win_private->xmask, &im); ^~~~~~~~~~~~~~~ win_translate_xy windowutil.c: In function 'window_set_border': windowutil.c:553:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c: In function 'window_end_rescaling': windowutil.c:612:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_end_rescaling(window, state) ^~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_start_rescaling': windowutil.c:620:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_start_rescaling(window, state) ^~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_calculate_new_size': windowutil.c:637:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] window_calculate_new_size(parent, window, state, new_width, new_height) ^~~~~~~~~~~~~~~~~~~~~~~~~ windowutil.c: In function 'window_adjust_rects': windowutil.c:737:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (diff = rect_obj_list[i].new_rect.r_width ^~~~ windowutil.c:741:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (diff = rect_obj_list[i].new_rect.r_height ^~~~ windowutil.c: In function 'win_grab_quick_sel_keys': windowutil.c:959:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:957:16: warning: unused variable 'keysym' [-Wunused-variable] KeySym keysym; ^~~~~~ windowutil.c: In function 'win_ungrab_quick_sel_keys': windowutil.c:1001:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:999:16: warning: unused variable 'keysym' [-Wunused-variable] KeySym keysym; ^~~~~~ windowutil.c: In function 'win_set_wm_command': windowutil.c:1045:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:1070:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)appl_cmdline != -1) { ^ windowutil.c:1079:17: warning: implicit declaration of function 'win_change_property'; did you mean 'XChangeProperty'? [-Wimplicit-function-declaration] win_change_property(window, SERVER_WM_COMMAND, XA_STRING, 8, ^~~~~~~~~~~~~~~~~~~ XChangeProperty windowutil.c:1092:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)appl_cmdline_argv != -1) { ^ windowutil.c: In function 'win_set_wm_class': windowutil.c:1125:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c: In function 'window_set_tree_child_flag': windowutil.c:1254:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(query, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/notify.h:25, from windowutil.c:23: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ windowutil.c:1280:16: warning: implicit declaration of function 'win_data' [-Wimplicit-function-declaration] if (win_obj = win_data(display, children[i])) { ^~~~~~~~ windowutil.c:1280:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (win_obj = win_data(display, children[i])) { ^~~~~~~ windowutil.c: In function 'adjust_rect_obj': windowutil.c:809:6: warning: 'top_coord' may be used uninitialized in this function [-Wmaybe-uninitialized] if (top_coord < temp_sw->old_rect.r_top) { ^ windowutil.c:796:6: warning: 'left_coord' may be used uninitialized in this function [-Wmaybe-uninitialized] if (left_coord < temp_sw->old_rect.r_left) { ^ rm -f window_cms.o shared/window_cms.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_cms.c -o shared/window_cms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from window_cms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_cms.c:23:35: warning: initialization of 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Attr_attribute xv_cms_name_key = NULL; ^~~~ window_cms.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_cms_name(win_public, new_name) ^~~~~~~~~~~~~~~~~~~ window_cms.c: In function 'window_set_cms_name': window_cms.c:36:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:47:13: warning: comparison between pointer and integer if (cms != NULL) { ^~ window_cms.c:58:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:28:1: note: declared here window_set_cms_name(win_public, new_name) ^~~~~~~~~~~~~~~~~~~ window_cms.c: At top level: window_cms.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c: In function 'window_set_cms_data': window_cms.c:81:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:84:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:89:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:95:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:98:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:103:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:121:10: warning: comparison between pointer and integer if (cms == NULL) { ^~ window_cms.c:149:13: warning: comparison between pointer and integer if (cms == NULL) { ^~ window_cms.c: In function 'window_set_cms': window_cms.c:177:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:183:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c: In function 'window_set_cmap_property': window_cms.c:317:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:330:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c window_cms.c -o window_cms.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview_private/i18n_impl.h:12, from window_cms.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ window_cms.c:23:35: warning: initialization of 'Attr_attribute' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] Attr_attribute xv_cms_name_key = NULL; ^~~~ window_cms.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_cms_name(win_public, new_name) ^~~~~~~~~~~~~~~~~~~ window_cms.c: In function 'window_set_cms_name': window_cms.c:36:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:47:13: warning: comparison between pointer and integer if (cms != NULL) { ^~ window_cms.c:58:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:28:1: note: declared here window_set_cms_name(win_public, new_name) ^~~~~~~~~~~~~~~~~~~ window_cms.c: At top level: window_cms.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c: In function 'window_set_cms_data': window_cms.c:81:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:84:7: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:89:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:95:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:98:11: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:103:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ window_cms.c:69:1: note: declared here window_set_cms_data(win_public, cms_data) ^~~~~~~~~~~~~~~~~~~ window_cms.c:121:10: warning: comparison between pointer and integer if (cms == NULL) { ^~ window_cms.c:149:13: warning: comparison between pointer and integer if (cms == NULL) { ^~ window_cms.c: In function 'window_set_cms': window_cms.c:177:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:183:15: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] xv_error(NULL, ^~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c: In function 'window_set_cmap_property': window_cms.c:317:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(win_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ window_cms.c:330:9: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview_private/i18n_impl.h:11, from window_cms.c:13: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ rm -f windowdrop.o shared/windowdrop.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowdrop.c -o shared/windowdrop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowdrop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from windowdrop.c:15: windowdrop.c: In function 'win_delete_drop_item': windowdrop.c:68:25: warning: comparison between pointer and integer assert(dropItem != NULL); ^~ windowdrop.c:68:25: warning: comparison between pointer and integer assert(dropItem != NULL); ^~ windowdrop.c:76:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropSiteNode = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c: In function 'win_add_drop_interest': windowdrop.c:106:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropSiteNode = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c: In function 'win_update_dnd_property': windowdrop.c:156:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropInterest = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c:166:5: warning: value computed is not used [-Wunused-value] *data++; /* Site Count, will update later as head[1] */ ^~~~~~~ windowdrop.c:170:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropInterest = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowdrop.c -o windowdrop.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowdrop.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from windowdrop.c:15: windowdrop.c: In function 'win_delete_drop_item': windowdrop.c:68:25: warning: comparison between pointer and integer assert(dropItem != NULL); ^~ windowdrop.c:68:25: warning: comparison between pointer and integer assert(dropItem != NULL); ^~ windowdrop.c:76:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropSiteNode = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c: In function 'win_add_drop_interest': windowdrop.c:106:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropSiteNode = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c: In function 'win_update_dnd_property': windowdrop.c:156:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropInterest = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ windowdrop.c:166:5: warning: value computed is not used [-Wunused-value] *data++; /* Site Count, will update later as head[1] */ ^~~~~~~ windowdrop.c:170:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(winDropInterest = (Win_drop_site_list *) ^~~~~~~~~~~~~~~ rm -f windowcmpt.o shared/windowcmpt.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowcmpt.c -o shared/windowcmpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowcmpt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowcmpt.c: In function 'window_scan_and_convert_to_pixels': windowcmpt.c:94:2: warning: enumeration value 'WIN_ALARM' not handled in switch [-Wswitch] switch ((Window_attribute) attrs[0]) { ^~~~~~ windowcmpt.c:94:2: warning: enumeration value 'WIN_BACK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BACKGROUND_PIXMAP' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BELOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CLIENT_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLUMNS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_EVENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CURSOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DEPTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DEPTH_V2' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DESIRED_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DESIRED_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ERROR_MSG' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FIT_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FIT_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FRONT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_GLYPH_FONT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_GRAB_ALL_INPUT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_HORIZONTAL_SCROLLBAR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_EVENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INPUT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_CLIENT_PANE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MENU' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MOUSE_XY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PARENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PERCENT_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PERCENT_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RIGHT_OF' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ROWS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SCREEN_RECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SET_FOCUS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_VERTICAL_SCROLLBAR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_TYPE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_FORMAT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BORDER' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ALARM_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FINDINTERSECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FRAME' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INPUT_ONLY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_IN_FULLSCREEN_MODE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_ROOT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_KBD_FOCUS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_LAYOUT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_LOCKDATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MAP' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NOTIFY_SAFE_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NOTIFY_IMMEDIATE_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_OUTER_RECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RECT_INFO' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RETAINED' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SELECTION_WINDOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TOP_LEVEL' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TOP_LEVEL_NO_DECOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TRANSPARENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SAVE_UNDER' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_REMOVE_CARET' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_PAINT_WINDOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INHERIT_COLORS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DYNAMIC_VISUAL' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_CHANGE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLOR_INFO' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMD_LINE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NO_CLIPPING' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ADD_DROP_INTEREST' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DELETE_DROP_INTEREST' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ADD_DROP_ITEM' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DELETE_DROP_ITEM' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_UNGRAB_SELECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLLAPSE_MOTION_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_CLIP_RECTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_NAME' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BIT_GRAVITY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_WINDOW_GRAVITY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FOREGROUND_COLOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BACKGROUND_COLOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_COLOR_INDICES' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLLAPSE_EXPOSURES' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SOFT_FNKEY_LABELS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TYPE' not handled in switch [-Wswitch] windowcmpt.c:95:4: warning: case value '1245710849' not in enumerated type [-Wswitch] case WIN_FONT: ^~~~ windowcmpt.c:114:4: warning: case value '1245841409' not in enumerated type [-Wswitch] case WIN_LEFT_MARGIN: ^~~~ windowcmpt.c:104:4: warning: case value '1245906945' not in enumerated type [-Wswitch] case WIN_TOP_MARGIN: ^~~~ windowcmpt.c:119:4: warning: case value '1245972481' not in enumerated type [-Wswitch] case WIN_RIGHT_MARGIN: ^~~~ windowcmpt.c:109:4: warning: case value '1246038017' not in enumerated type [-Wswitch] case WIN_BOTTOM_MARGIN: ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowcmpt.c -o windowcmpt.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowcmpt.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ windowcmpt.c: In function 'window_scan_and_convert_to_pixels': windowcmpt.c:94:2: warning: enumeration value 'WIN_ALARM' not handled in switch [-Wswitch] switch ((Window_attribute) attrs[0]) { ^~~~~~ windowcmpt.c:94:2: warning: enumeration value 'WIN_BACK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BACKGROUND_PIXMAP' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BELOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CLIENT_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLUMNS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_EVENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CURSOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DEPTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DEPTH_V2' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DESIRED_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DESIRED_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ERROR_MSG' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FIT_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FIT_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FRONT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_GLYPH_FONT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_GRAB_ALL_INPUT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_HORIZONTAL_SCROLLBAR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_EVENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INPUT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_CLIENT_PANE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MENU' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MOUSE_XY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PARENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PERCENT_HEIGHT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_PERCENT_WIDTH' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RIGHT_OF' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ROWS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SCREEN_RECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SET_FOCUS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_VERTICAL_SCROLLBAR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_TYPE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_FORMAT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MESSAGE_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BORDER' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ALARM_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FINDINTERSECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FRAME' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INPUT_ONLY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_IN_FULLSCREEN_MODE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IS_ROOT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_KBD_FOCUS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_LAYOUT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_LOCKDATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_MAP' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NOTIFY_SAFE_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NOTIFY_IMMEDIATE_EVENT_PROC' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_OUTER_RECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RECT_INFO' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_RETAINED' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SELECTION_WINDOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TOP_LEVEL' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TOP_LEVEL_NO_DECOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TRANSPARENT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SAVE_UNDER' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_REMOVE_CARET' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_PAINT_WINDOW' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_INHERIT_COLORS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DYNAMIC_VISUAL' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_CHANGE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLOR_INFO' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMD_LINE' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_NO_CLIPPING' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ADD_DROP_INTEREST' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DELETE_DROP_INTEREST' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_ADD_DROP_ITEM' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_DELETE_DROP_ITEM' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_UNGRAB_SELECT' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLLAPSE_MOTION_EVENTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_CLIP_RECTS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_DATA' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CMS_NAME' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BIT_GRAVITY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_WINDOW_GRAVITY' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_FOREGROUND_COLOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_BACKGROUND_COLOR' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_COLOR_INDICES' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_CONSUME_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_IGNORE_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_X_EVENT_MASK' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_COLLAPSE_EXPOSURES' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_SOFT_FNKEY_LABELS' not handled in switch [-Wswitch] windowcmpt.c:94:2: warning: enumeration value 'WIN_TYPE' not handled in switch [-Wswitch] windowcmpt.c:95:4: warning: case value '1245710849' not in enumerated type [-Wswitch] case WIN_FONT: ^~~~ windowcmpt.c:114:4: warning: case value '1245841409' not in enumerated type [-Wswitch] case WIN_LEFT_MARGIN: ^~~~ windowcmpt.c:104:4: warning: case value '1245906945' not in enumerated type [-Wswitch] case WIN_TOP_MARGIN: ^~~~ windowcmpt.c:119:4: warning: case value '1245972481' not in enumerated type [-Wswitch] case WIN_RIGHT_MARGIN: ^~~~ windowcmpt.c:109:4: warning: case value '1246038017' not in enumerated type [-Wswitch] case WIN_BOTTOM_MARGIN: ^~~~ rm -f windowdata.o shared/windowdata.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowdata.c -o shared/windowdata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowdata.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c windowdata.c -o windowdata.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview_private/windowimpl.h:15, from windowdata.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ + rm -f ../../libxview/xshared/window.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/window.o ../../libxview/xshared/window.o + rm -f ../../libxview/xshared/window_get.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/window_get.o ../../libxview/xshared/window_get.o + rm -f ../../libxview/xshared/window_set.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/window_set.o ../../libxview/xshared/window_set.o + rm -f ../../libxview/xshared/windowlayt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/windowlayt.o ../../libxview/xshared/windowlayt.o + rm -f ../../libxview/xshared/windowutil.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/windowutil.o ../../libxview/xshared/windowutil.o + rm -f ../../libxview/xshared/window_cms.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/window_cms.o ../../libxview/xshared/window_cms.o + rm -f ../../libxview/xshared/windowdrop.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/windowdrop.o ../../libxview/xshared/windowdrop.o + rm -f ../../libxview/xshared/windowcmpt.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/windowcmpt.o ../../libxview/xshared/windowcmpt.o + rm -f ../../libxview/xshared/windowdata.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window/shared/windowdata.o ../../libxview/xshared/windowdata.o ar ruv ../../libxview/libxview.a window.o window_get.o window_set.o windowlayt.o windowutil.o window_cms.o windowdrop.o windowcmpt.o windowdata.o a - window.o a - window_get.o a - window_set.o a - windowlayt.o a - windowutil.o a - window_cms.o a - windowdrop.o a - windowcmpt.o a - windowdata.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/window' making all in lib/libxview/wmgr... make[3]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' rm -f wmgr_rect.o shared/wmgr_rect.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_rect.c -o shared/wmgr_rect.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview/wmgr.h:7, from wmgr_rect.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_rect.c: In function 'wmgr_completechangerect': wmgr_rect.c:26:12: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] (void) win_setrect(window, rectnew); ^~~~~~~~~~~ frame_set_rect wmgr_rect.c: In function 'wmgr_refreshwindow': wmgr_rect.c:36:12: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] (void) win_lockdata(window); ^~~~~~~~~~~~ wmgr_rect.c:37:12: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(window, &rectoriginal); ^~~~~~~~~~~ frame_get_rect wmgr_rect.c:49:12: warning: implicit declaration of function 'win_unlockdata'; did you mean 'Xv_public_data'? [-Wimplicit-function-declaration] (void) win_unlockdata(window); ^~~~~~~~~~~~~~ Xv_public_data gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_rect.c -o wmgr_rect.o In file included from /usr/include/sys/types.h:25, from ../../../build/include/xview/attr.h:18, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from ../../../build/include/xview/wmgr.h:7, from wmgr_rect.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_rect.c: In function 'wmgr_completechangerect': wmgr_rect.c:26:12: warning: implicit declaration of function 'win_setrect'; did you mean 'frame_set_rect'? [-Wimplicit-function-declaration] (void) win_setrect(window, rectnew); ^~~~~~~~~~~ frame_set_rect wmgr_rect.c: In function 'wmgr_refreshwindow': wmgr_rect.c:36:12: warning: implicit declaration of function 'win_lockdata' [-Wimplicit-function-declaration] (void) win_lockdata(window); ^~~~~~~~~~~~ wmgr_rect.c:37:12: warning: implicit declaration of function 'win_getrect'; did you mean 'frame_get_rect'? [-Wimplicit-function-declaration] (void) win_getrect(window, &rectoriginal); ^~~~~~~~~~~ frame_get_rect wmgr_rect.c:49:12: warning: implicit declaration of function 'win_unlockdata'; did you mean 'Xv_public_data'? [-Wimplicit-function-declaration] (void) win_unlockdata(window); ^~~~~~~~~~~~~~ Xv_public_data rm -f wmgr_state.o shared/wmgr_state.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_state.c -o shared/wmgr_state.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmgr_state.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_state.c: In function 'wmgr_changelevel': wmgr_state.c:38:12: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(window); ^~~~~~~~~~ remove wmgr_state.c:43:19: warning: implicit declaration of function 'win_getlink'; did you mean 'getline'? [-Wimplicit-function-declaration] topchildnumber = win_getlink(parent, WL_TOPCHILD); ^~~~~~~~~~~ getline wmgr_state.c:44:9: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] (void) win_setlink(window, WL_COVERED, topchildnumber); ^~~~~~~~~~~ wmgr_state.c:54:12: warning: implicit declaration of function 'win_insert'; did you mean 'win_im_slot'? [-Wimplicit-function-declaration] (void) win_insert(window); ^~~~~~~~~~ win_im_slot gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_state.c -o wmgr_state.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wmgr_state.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_state.c: In function 'wmgr_changelevel': wmgr_state.c:38:12: warning: implicit declaration of function 'win_remove'; did you mean 'remove'? [-Wimplicit-function-declaration] (void) win_remove(window); ^~~~~~~~~~ remove wmgr_state.c:43:19: warning: implicit declaration of function 'win_getlink'; did you mean 'getline'? [-Wimplicit-function-declaration] topchildnumber = win_getlink(parent, WL_TOPCHILD); ^~~~~~~~~~~ getline wmgr_state.c:44:9: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] (void) win_setlink(window, WL_COVERED, topchildnumber); ^~~~~~~~~~~ wmgr_state.c:54:12: warning: implicit declaration of function 'win_insert'; did you mean 'win_im_slot'? [-Wimplicit-function-declaration] (void) win_insert(window); ^~~~~~~~~~ win_im_slot rm -f wmgr_menu.o shared/wmgr_menu.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_menu.c -o shared/wmgr_menu.o In file included from /usr/include/sys/types.h:25, from wmgr_menu.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_menu.c: In function 'wmgr_open': wmgr_menu.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from wmgr_menu.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_menu.c: In function 'wmgr_close': wmgr_menu.c:56:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from wmgr_menu.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_menu.c: In function 'wmgr_top_bottom': wmgr_menu.c:97:5: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] win_setlink(window, link, 0 /* None */ ); ^~~~~~~~~~~ wmgr_menu.c: In function 'wmgr_forktool': wmgr_menu.c:117:12: warning: implicit declaration of function 'we_setinitdata' [-Wimplicit-function-declaration] (void) we_setinitdata(rectnormal, recticon, iconic); ^~~~~~~~~~~~~~ wmgr_menu.c:150:12: warning: implicit declaration of function 'wmgr_constructargs'; did you mean 'rect_construct'? [-Wimplicit-function-declaration] (void) wmgr_constructargs(args, programname, otherargs_copy, ARGS_MAX); ^~~~~~~~~~~~~~~~~~ rect_construct wmgr_menu.c: In function 'wmgr_constructargs': wmgr_menu.c:168:47: warning: comparison between pointer and integer for (cpt = otherargs; (cpt != 0) && (*cpt != NULL); cpt++) { ^~ wmgr_menu.c:162:30: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] #define terminatearg() {*cpt = NULL;needargstart = 1;} ^ wmgr_menu.c:171:17: note: in expansion of macro 'terminatearg' terminatearg(); ^~~~~~~~~~~~ wmgr_menu.c:162:30: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] #define terminatearg() {*cpt = NULL;needargstart = 1;} ^ wmgr_menu.c:176:13: note: in expansion of macro 'terminatearg' terminatearg(); ^~~~~~~~~~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_menu.c -o wmgr_menu.o In file included from /usr/include/sys/types.h:25, from wmgr_menu.c:13: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_menu.c: In function 'wmgr_open': wmgr_menu.c:41:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from wmgr_menu.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_menu.c: In function 'wmgr_close': wmgr_menu.c:56:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/window.h:18, from ../../../build/include/xview/frame.h:22, from wmgr_menu.c:25: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_menu.c: In function 'wmgr_top_bottom': wmgr_menu.c:97:5: warning: implicit declaration of function 'win_setlink' [-Wimplicit-function-declaration] win_setlink(window, link, 0 /* None */ ); ^~~~~~~~~~~ wmgr_menu.c: In function 'wmgr_forktool': wmgr_menu.c:117:12: warning: implicit declaration of function 'we_setinitdata' [-Wimplicit-function-declaration] (void) we_setinitdata(rectnormal, recticon, iconic); ^~~~~~~~~~~~~~ wmgr_menu.c:150:12: warning: implicit declaration of function 'wmgr_constructargs'; did you mean 'rect_construct'? [-Wimplicit-function-declaration] (void) wmgr_constructargs(args, programname, otherargs_copy, ARGS_MAX); ^~~~~~~~~~~~~~~~~~ rect_construct wmgr_menu.c: In function 'wmgr_constructargs': wmgr_menu.c:168:47: warning: comparison between pointer and integer for (cpt = otherargs; (cpt != 0) && (*cpt != NULL); cpt++) { ^~ wmgr_menu.c:162:30: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] #define terminatearg() {*cpt = NULL;needargstart = 1;} ^ wmgr_menu.c:171:17: note: in expansion of macro 'terminatearg' terminatearg(); ^~~~~~~~~~~~ wmgr_menu.c:162:30: warning: assignment to 'char' from 'void *' makes integer from pointer without a cast [-Wint-conversion] #define terminatearg() {*cpt = NULL;needargstart = 1;} ^ wmgr_menu.c:176:13: note: in expansion of macro 'terminatearg' terminatearg(); ^~~~~~~~~~~~ rm -f wmgr_decor.o shared/wmgr_decor.o gcc -fPIC -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_decor.c -o shared/wmgr_decor.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from wmgr_decor.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_decor.c: In function 'wmgr_add_decor': wmgr_decor.c:35:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c: In function 'wmgr_delete_decor': wmgr_decor.c:54:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c: In function 'wmgr_set_win_attr': wmgr_decor.c:77:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c:85:18: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] new_format = screen_check_sun_wm_protocols(xv_screen(info), check_atom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmgr_decor.c: In function 'wmgr_set_rescale_state': wmgr_decor.c:126:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ gcc -O2 -fno-strength-reduce -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -I../../../build/include -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -DX11R6 -DNO_CAST_VATOAV -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DOS_HAS_MMAP -DDYNAMICLIB -c wmgr_decor.c -o wmgr_decor.o In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from wmgr_decor.c:17: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ wmgr_decor.c: In function 'wmgr_add_decor': wmgr_decor.c:35:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c: In function 'wmgr_delete_decor': wmgr_decor.c:54:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c: In function 'wmgr_set_win_attr': wmgr_decor.c:77:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ wmgr_decor.c:85:18: warning: implicit declaration of function 'screen_check_sun_wm_protocols' [-Wimplicit-function-declaration] new_format = screen_check_sun_wm_protocols(xv_screen(info), check_atom); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmgr_decor.c: In function 'wmgr_set_rescale_state': wmgr_decor.c:126:5: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~ In file included from ../../../build/include/xview/base.h:14, from ../../../build/include/xview/attr.h:19, from ../../../build/include/xview/pkg.h:26, from ../../../build/include/xview/pkg_public.h:19, from ../../../build/include/xview/generic.h:39, from ../../../build/include/xview/server.h:18, from wmgr_decor.c:19: ../../../build/include/xview/xv_error.h:86:43: note: expected 'Xv_object' {aka 'long unsigned int'} but argument is of type 'void *' EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ~~~~~~~~~~^~~~~~ ../../../build/include/xview/xv_c_types.h:142:45: note: in definition of macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^~~~ + rm -f ../../libxview/xshared/wmgr_rect.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr/shared/wmgr_rect.o ../../libxview/xshared/wmgr_rect.o + rm -f ../../libxview/xshared/wmgr_state.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr/shared/wmgr_state.o ../../libxview/xshared/wmgr_state.o + rm -f ../../libxview/xshared/wmgr_menu.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr/shared/wmgr_menu.o ../../libxview/xshared/wmgr_menu.o + rm -f ../../libxview/xshared/wmgr_decor.o + ln -s /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr/shared/wmgr_decor.o ../../libxview/xshared/wmgr_decor.o ar ruv ../../libxview/libxview.a wmgr_rect.o wmgr_state.o wmgr_menu.o wmgr_decor.o a - wmgr_rect.o a - wmgr_state.o a - wmgr_menu.o a - wmgr_decor.o make[3]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/wmgr' rm -f libxview.so.3.2.4~ (cd ./xshared; gcc -shared -Wl,-soname -Wl,`basename libxview.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` -o libxview.so.3.2.4~ ?*.o -L/usr/lib64 -L/usr/lib -lXext -lX11 -L../../libolgx -lolgx -lutil -lc) /usr/bin/ld.default: es_file.o: in function `es_file_append_error': /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/es_file.c:295: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /usr/bin/ld.default: /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/textsw/es_file.c:293: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead /usr/bin/ld.default: termsw.o: in function `termsw_folio_init_internal': /usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview/ttysw/termsw.c:260: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' rm -f libxview.so.3.2.4 `basename libxview.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` libxview.so mv -f ./xshared/libxview.so.3.2.4~ libxview.so.3.2.4 ln -s libxview.so.3.2.4 `basename libxview.so.3.2.4 | sed 's/\(\.[0-9]\).*$/\1/'` ln -s libxview.so.3.2.4 libxview.so make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/libxview' making all in lib/pixrect... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib/pixrect' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/lib' making all in ./images... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/images' making all in ./bitmaps... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/bitmaps' making all in ./misc... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' making all in misc/support... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc/support' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/misc' making all in ./util... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' making all in util/conversion... make[2]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' rm -f cv2xview._man if test -z "" ; then \ cd `dirname cv2xview` && \ ln -s `basename cv2xview.man` `basename cv2xview._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/etc/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/etc/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < cv2xview.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >cv2xview._man; \ fi rm -f cv2Xdefs._man if test -z "" ; then \ cd `dirname cv2Xdefs` && \ ln -s `basename cv2Xdefs.man` `basename cv2Xdefs._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/etc/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/etc/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < cv2Xdefs.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >cv2Xdefs._man; \ fi make[2]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util/conversion' make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/util' making all in ./config... make[1]: Entering directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4/config' rm -f xview._man if test -z "" ; then \ cd `dirname xview` && \ ln -s `basename xview.man` `basename xview._man`; \ else \ cpp -undef -traditional -D__apploaddir__=/etc/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/etc/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" \ < xview.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xview._man; \ fi make: Leaving directory '/usr/src/RPM/BUILD/xview-3.2p1.4' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91344 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libxview-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libxview-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd xview-3.2p1.4 + install -d /usr/src/tmp/libxview-buildroot/usr/lib64 /usr/src/tmp/libxview-buildroot/usr/share/man/man7 /usr/src/tmp/libxview-buildroot/usr/include + for name in olgx xview + cp lib/libolgx/libolgx.a /usr/src/tmp/libxview-buildroot/usr/lib64 + cp -d lib/libolgx/libolgx.so.3 lib/libolgx/libolgx.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64 + for name in olgx xview + cp lib/libxview/libxview.a /usr/src/tmp/libxview-buildroot/usr/lib64 + cp -d lib/libxview/libxview.so.3 lib/libxview/libxview.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64 + install xview.man /usr/src/tmp/libxview-buildroot/usr/share/man/man7/xview.7 + for dir in olgx olgx_private xview xview_private pixrect + cp -aL build/include/olgx /usr/src/tmp/libxview-buildroot/usr/include + for dir in olgx olgx_private xview xview_private pixrect + cp -aL build/include/olgx_private /usr/src/tmp/libxview-buildroot/usr/include + for dir in olgx olgx_private xview xview_private pixrect + cp -aL build/include/xview /usr/src/tmp/libxview-buildroot/usr/include + for dir in olgx olgx_private xview xview_private pixrect + cp -aL build/include/xview_private /usr/src/tmp/libxview-buildroot/usr/include + for dir in olgx olgx_private xview xview_private pixrect + cp -aL build/include/pixrect /usr/src/tmp/libxview-buildroot/usr/include + ln -sf libolgx.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64/libolgx.so.3 + ln -sf libxview.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64/libxview.so.3 + ln -sf libolgx.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64/libolgx.so + ln -sf libxview.so.3.2.4 /usr/src/tmp/libxview-buildroot/usr/lib64/libxview.so + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libxview-buildroot (auto) mode of './usr/lib64/libxview.so.3.2.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libolgx.so.3.2.4' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libxview-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/libxview-buildroot/ (default) Compressing files in /usr/src/tmp/libxview-buildroot (auto) mode of '/usr/src/tmp/libxview-buildroot/usr/share/man/man7/xview.7' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Adjusting library links in /usr/src/tmp/libxview-buildroot ./usr/lib64: libolgx.so.3 -> libolgx.so.3.2.4 libxview.so.3 -> libxview.so.3.2.4 Verifying ELF objects in /usr/src/tmp/libxview-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: libxview-3.2p1.4-alt10 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LmVT3E find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/libxview-buildroot/usr/lib64/libolgx.so.3: 63 symbols, 16 bpp lib.prov: /usr/src/tmp/libxview-buildroot/usr/lib64/libxview.so.3: 2188 symbols, 22 bpp warning: hash collision: cursor_set_internal ttysw_becomeconsole Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qZufk4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: xview = 3.2p1.4, libolgx.so.3()(64bit) = set:jddQ0H4KY32BV13NRqiYkepZ3WZAJViZfKg9IQkmPj92sX4IwmQxQ0l01PuYhUSA1c7ZrRuv7J3p5x3eZfoKZkzMpEfmCs6arpwZnERsiqOC4uyPNZ2cmRqODCvbxK1, libxview.so.3()(64bit) = set:pdnf9Bnx7bEZ4nQVpwxo1Hhd06pdam1aFFo9tjn98gfqtevren7UDwmxuxXoq5g4F5euPj4W7UAzW4bfnahjHHgagm8fGHT1w33JKkiwMHcprfz4cRBWSixuCMQ0RgnqV9pzLTr8Hle3hUY0c4N43x4EF42CM705jyk8MCn0n7ecqwqn6GwxWRtx2yNc07RZxLafRtiQCXzgfZBYK3Vw2DHBq7iLXzQHyWy1Z8PxfzjiPsfwBIoiNhhyi4clLSOaf9ACqdIa1a3uTM9vCSjx84jfsY5KU3gOGlAR4Zp55ibMTTU08JDZEsQneTRDpnBAva9HePigPhLIKw5FweP7OpqIKOoak6FHJ3jEm14eEG0uZE79wqDLKN1o0AYgQv20jXybPfYLsxqIZr3ZiMN3XFJwdjOUOgZJbq3122UNResRVx1JElL9gaIjF6Trev9d1gIZGJgDxoe4Ba5dfZIClw9fyOBc7Vx9NA8zhz6Zg42IQ15D7x1b990L2NRbEG7wgKZoIR1TRGT8sg8MZoWZpXJoz5wqDXGqlzf55ep80V1I0E07vehaQZwfj9cYV10ikEzVSibZzDMgV6p8JZE3TeacMwOcFviGzhFrLk96X7t5fC6Zlzr072ngEkyN5TgeVrwROhyH6e7R77prlVvdU5qfrXkvF3qJuihyddYXwU0rpjO7gyMZnD9zBigmVzmiAQG3YOfcRndOste4osk8WZkDErXsvYf8Q7FLpV4cLj7ov5M40N8E0alLKXh4j3WatrY83IlQ1kO0x6DDAQRXSyvCOzyZbio4UA1a8mtGYXYCaBxuvt8hSksWyRQRWYlQhWrHf7Zlxl4iFiWRzWM1nioQoe2ALUJZycZc9HMt97Wgc3UPI4TuPN67cVC0HSrUhzXy0lr1Xd8wMd088NgXUaQQL1T4ZHgU2dZomXKRAEoyrm1f5M0agRMcLywwMIjZwle94600nIVvLBaZkstKqyMcmIPgStqRyHhlQ8WZEQrBgtcGwSaxmYcQnIKcL333qVlIbSg0aI072ZwOBq3j0MmW942W6S0MUAwyHH2m4LdMvDNq55lX3pFsUxQPKQDQZwZqt0g0ob8Z1VGssMyxRz44QVZzXktU3Zv0wsZakc01R8f7oWJ5k16q9tYrt7da1Zg0EVRx6F8R3uEJstwNkFOdZmiq8j8HUpaFuzw2llduil1ZKCyMmjwZsbOkBivA4jfHPawlH5JhZ90y2fFawZs5PZH2IN6tjF5OOZkotTZkstcsO1olgCNMZ318b3OvbgEzg1yF1l3ybXpwLG0kBtDwSZr0wSqL2C7hZLOwYMvRQ4PsyOgBvSFXbOOZoXG1fwarvxtlPyQXSdFlBHm8ss0NtT7IV7mzrzgoBgvIlaitpkY1njbL5ra0bZ8SEoQduWk2rzQtaPIhuoTbTkZuyY5Pi92acgPkjluh06EgpmqnqZ8DgZqce81wzODWchHz8011pogxce3bMfxFAY2mgIJuzfqgNfIXJLlxvNtVpWzUZeRilEW1koySAMnkAOhXwmDP8QyRMjSmmvZdAByIfR6uZc5Jdl2cfdfRxXnLZqGAWdha6e2dqQYvbMZAz70RWGpo8hZk16ekaZrBl0wftbQWJ0jAUGR1Z1nfLW5dgr10wPzp0XBpEw5iIC20cJDC3BKyISZhrnghNZeZDirWoXfqfbR7Ag1lf7OCUgimM2UfcGNeimqAHmXx0sb0WkebzEqfOb1tOfwGJ7D0CJZ7CGfpmYTWTEfpZJJBawyYqKvZb7ASMNVjoJRa49BRTiX4ALyhfurrgSGvFBnswTbN6Wd0ZjFq1PD02zQAOKhw0gV3iqis6SoYuJH3RlWi2DnLJ8wDPCFtdWliZmM0KQAA8Uyk4keR2U0LeynSbGWZE8iKudk0BeolSUn6TwFzfvGfr89OfhdKSQkEjZnhT0Zj0g0OPZicIr0R35JmoYm1QqF4wpdZ96FE6hKXMpOG3aExn5S4wRAKFJdfCkcA2SnNJi09bnk8gK4Iq9T4wApx7gT1u0C21gmyV4MgBHbYIBh2OeeOUAZHeleZaamSBq1Rn5wZFbv8M2p2sGcM7pF7f0ZkyxUuUTs03vG1RHoa3oruS2DPIBj5wvKn9t1MBpBHkxJ7wHABi4k7c1YKmwU8ztsvWcFN0P09d9E44ysZkRBxd1w4gQZ0JsQxCrsZ3iSYT5YQfXqgOl030kHhKff8exj2wB3uOIlgDdU1UOgbnDTLhlxz10WZImo410Rf09u8ZrnqZBjx2Zun4qKwc96uUg8WrRoX9ZccxGvHZ3CJ2ya0U1ZvQHqEjlhY04YMIYOQr54Z078FJzwnVnM1yv7YYyjcFwUawhGNhBAmLGlgTgy2kSks1jzbGRJbMFEVMopZrQCnzVeRXE8Uo1j2fdcswj10nc7lbMByNFgUy3Eby3etN9DE06vUdNlsnPkFmM0GrunnF04RGVxAhZliah8wjW2IWuf8V2ggS3RXD13wb6Smn5oEjtlVt8jGx70Lpd6kUX6J1EMRrwkWwZ5GFAE33n2IJ7IxPW2u0xnrVc0qei22Y642TxaoLIPjdVBp3mnmLBqW4gVUES7Az7MzbqdBNqB3DVBi78esSZLVtAJJq58KKlsHPQ3tjgEQnwblHIZ10AqA8qLZy1Jx6wfSZxdwsLKHZz3rsJEp8MiJb5XeAx1o66IBIvz8Zg0uiY6kyWc04yRB2M76Hwxxn9g6XaL5h9mqf2gDMIVL9ZxjCr8lO8dXjfV6OKzZkga4eF6huiQppjcXMsVJyNcwLWPPZDX3JsKYsiwDSF8qeDC2wjuxIj7m7KQeeQY7ltZAAy7U6PenlqkWMpn3W8RMp6aVZoKolRrJhdBg6l8VQd7licZwsPwoEY0MGMdT52ZEbV5Z3LomEkMu2EN0mNIboAQspSjI78yMQPzolwZcw3wu2YxA8k9LbDsDEU2kULLOsYogdSZEpE14pcN8O2JxQEj5c6vC6ZFEcKJjpblBlIVGm0gfQwnozA7ZFYTHKSH0O8gZyZvVWw338BcOYnWZLCC2YEIv0C9l1AoRpwZxrfwfPeSrI307mj6lklmcwwd0RDGc1SsBzbj8HVsOUs3EMnKI5k665XKlq2Y7Z0QEe7wmjcOzpT1Uwanja0v4z3ZnfoYck7QREmQfOgH6xsG1MA3acdIZ709WuTuS97bcB0EW4s6la2WFa0mdoS30REBiUVaA3pB08sJ79Zj8KJ4Yxni3J1M5D554ii9ofWRq1aJxkAL1g5MzEK4Xb21dYlAyIyx3bTEZtQc0p8FrEyIZw18oZyfDiQalSotj3G2VYNm1m5kZqL9DezUXqIw0WGpIjGwPezBd4cFZjOj545OgYuaHRZf9alLt81ZkK996VjcHO5kJTnE2y6juB3lniBqabmBQ7fTMvdXxSCgDeowDl3ElwjwFIAn3sYzGT48xsWo1b5um0mI8lnxOND4NBWFqju49FoLtVrZ2mAlKHeZ39la0ErftYcxx59oRjKI95AxuNIBFjyb3i2oLcFu0tzEAfAX3xbSsDaPB60RZym47g31hqhkdZ6pv87y84Hjwd5DtQ100eKQizfP7duuafLLZo98rg8gn0qu3qntI61r1i9QsOgqZ8LNS2YKn56pwGVPSKWBJwAxCthDEIZk63kJcBFv00hA93cDUvYbjQS0X2O3vE4Ux4cNgSz6PS4Qz1wZCSNZFII8DSmaZF7t7d8aGELPb9TJgTooRKFlAgHkOcPuFAZG3z2jmw7iK3d7WGTtNiNKwbq6Pn0Rd6W6FuDoHAs16xUHsZdOySnNgN3r7ahFqTUpoogOaYo7SZifgWBeEgtFUZorKmEePA6M6fKI1R814ZKZDwk4vNUTXlYB0WwJQUPtrOYdw8GM0EH1W3thzNvUIK0mAkZiWdYhkDzxUMaWvARMwXMMg4QiM0U8Nu4J2p9B9uTMn6gnFZDZjje3l1vtixqQ8S8UJEpTmlfGFGoye9oAIGplDZxX0o0bUXJgbpZHM6gws4Ta0tlyNWXiDgRZfVtfVnYtCkR189CXhrZCbinVdgiwHY4hbZLgWZt2XUZKX7w7CGcciNaKRz3IM91O7xI5tgMgy0gx3p9HHw1ySkqktcKRxUMIiJosOnrZBEmvExM5aZ6sv2RWzXMkDeADnxL2qFV9KUGFItfebyUGJe2u0JjLzomR6ydZdGF4B1A1T9Z3x2c1OzKVBFa827rlKOtfhdx7SVoyNjf4qIAyhXAjLsp7FHzSFhEjNawBHtKgF7DzrjCLe69naZsPNd6Nw4Rar4O9Voz8E0ok2kzr2326Ugv6QtSgzA3pMvchCTs8SoCgxFrGzmkCmIjz9VEoirOnttAiIlexsGdMHcvfpNuEJ7RiSaRxYQZz7QaZG61aIZGR7ziBP71bfBZDya8Z8whOZFwqaARRAwf9k2epMh25BZbx0UwZ9Rg48c0kGgXR2X8p7tC9BwKAsjA3ACcu6vpKeXZhKpiq4MYtUykstbgL0DJtE5KFx3pIWgrH94Z9vzKos4E7NCsdihayNKo4ZqtW6RqV0FEaZ1EtgZoPHvKgxw0wZGCMk1guUePSKNznpk0 Requires: libX11.so.6()(64bit) >= set:ogynGlhsI1bkNnCS6YUch7E9Ap7wzZIUJdxbEyxaUZaZA15gCCPwlDHsJoju60KPfTXIEmpYg4Lq6z8XSZuwKfW09Jk4NGeswo2IfiNH1Tk5ix6y9JgzOW9fwGkvqOR5ZGPZyWiM508k8islxLo0D0noWIC9BmpLSvl9xw8THZg2XhNyqGZi8gI6yKm7Z3BZuplju4SAxOjDAZiFVuqZ77EpQ1oxP5526qmeVzf7iW8vRLpAWNp033DogcuVGpube2o57Za96QZsfAK2U7E9SaEm0FHP9lAlpGSPyvFsqQ1s280ifNpdQVZFyu078BmI3MiQD2jZojzVz7zkZEckbCySTx7xD4XYgVPu1sFVKoqi8wuKjKlzzL9uBa8a0sjnGAxjAbZyOIDnY5yOH3daOwcEtylOp7NXnLymfH8tUJo7k0ZqL51kjPCDiZJDVpta, libc.so.6(GLIBC_2.12)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libutil.so.1(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nDBe3w Creating libxview-debuginfo package Processing files: libxview-devel-3.2p1.4-alt10 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.46033 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xview-3.2p1.4 + DOCDIR=/usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + export DOCDIR + rm -rf /usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + /bin/mkdir -p /usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + cp -prL contrib/examples/ /usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + chmod -R go-w /usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + chmod -R a+rX /usr/src/tmp/libxview-buildroot/usr/share/doc/libxview-devel-3.2p1.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cjBLH3 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VLikOD find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg8var.h:13:10: fatal error: sundev/cg8reg.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg8var.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: error trying to exec 'cc1plus': execvp: No such file or directory cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg8var.h: cpp failed /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg9var.h:15:10: fatal error: sundev/cg9reg.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg9var.h: cpp failed /usr/src/tmp/libxview-buildroot/usr/include/pixrect/tv1var.h:12:10: fatal error: sundev/tv1reg.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/tv1var.h: cpp failed /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg12_var.h:13:10: fatal error: sun/fbio.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/cg12_var.h: cpp failed /usr/src/tmp/libxview-buildroot/usr/include/pixrect/mem32_var.h:13:10: fatal error: sunwindow/cms.h: No such file or directory #include /* colormapseg */ ^~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/mem32_var.h: cpp failed /usr/src/tmp/libxview-buildroot/usr/include/pixrect/pixrect_hs.h:30:10: fatal error: pixrect/gp1var.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/libxview-buildroot/usr/include/pixrect/pixrect_hs.h: cpp failed Requires: libxview = 3.2p1.4-alt10, /usr/lib64/libolgx.so.3.2.4, /usr/lib64/libxview.so.3.2.4, libX11-devel, xorg-proto-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.S5ecJw Processing files: libxview-debuginfo-3.2p1.4-alt10 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Pjxqft find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SQOEdt find-requires: running scripts (debuginfo) Provides: debug64(libolgx.so.3), debug64(libxview.so.3) Requires: libxview = 3.2p1.4-alt10, debug64(libX11.so.6), debug64(libc.so.6), debug64(libutil.so.1) Removing 2 extra deps from libxview-devel due to dependency on libxview Wrote: /usr/src/RPM/RPMS/x86_64/libxview-3.2p1.4-alt10.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libxview-devel-3.2p1.4-alt10.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libxview-debuginfo-3.2p1.4-alt10.x86_64.rpm (w2T16.xzdio) 75.35user 46.57system 1:58.73elapsed 102%CPU (0avgtext+0avgdata 66360maxresident)k 0inputs+0outputs (0major+8081445minor)pagefaults 0swaps 3.19user 2.60system 2:09.56elapsed 4%CPU (0avgtext+0avgdata 135440maxresident)k 0inputs+0outputs (0major+218706minor)pagefaults 0swaps --- libxview-3.2p1.4-alt10.x86_64.rpm.repo 2017-11-10 14:46:15.000000000 +0000 +++ libxview-3.2p1.4-alt10.x86_64.rpm.hasher 2024-09-29 13:20:48.568677998 +0000 @@ -14,3 +14,2 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libutil.so.1()(64bit) >= set:gfyX1 Requires: libutil.so.1(GLIBC_2.2.5)(64bit) @@ -23,5 +22,5 @@ File: /usr/lib64/libolgx.so.3 120777 root:root libolgx.so.3.2.4 -File: /usr/lib64/libolgx.so.3.2.4 100644 root:root 501e704aa0f0ef647287f513fec2be1c +File: /usr/lib64/libolgx.so.3.2.4 100644 root:root f26822db6b333a3c16571aa4c46779c6 File: /usr/lib64/libxview.so.3 120777 root:root libxview.so.3.2.4 -File: /usr/lib64/libxview.so.3.2.4 100644 root:root c2d0f2167e94404af72270278a4aaa5b -RPMIdentity: 97b2fe020fd296f0039c159cded07f133be8a2bddab80c0bad3ad8263c2478febc1fcad6ceebb64cf3f704410a55544bc7745ebfe175ac42dc158ebdca307737 +File: /usr/lib64/libxview.so.3.2.4 100644 root:root 89542b93071eb1e76b86764c15f871a1 +RPMIdentity: ae2165b4eaf2e19f07813eb4a651aac376ebc76b2d6adc059027d10985c6c981124731d9a0fecbd0bc809c7281d434ff747ce0c280581bfa89b02afc5e57ac9d --- libxview-debuginfo-3.2p1.4-alt10.x86_64.rpm.repo 2017-11-10 14:46:15.000000000 +0000 +++ libxview-debuginfo-3.2p1.4-alt10.x86_64.rpm.hasher 2024-09-29 13:20:48.663727498 +0000 @@ -1,7 +1,7 @@ -/usr/lib/debug/.build-id/44 40755 root:root -/usr/lib/debug/.build-id/44/74c95845c78e885f27ae0cceded51075077ea7 120777 root:root ../../../../lib64/libxview.so.3.2.4 -/usr/lib/debug/.build-id/44/74c95845c78e885f27ae0cceded51075077ea7.debug 120777 root:root ../../usr/lib64/libxview.so.3.2.4.debug -/usr/lib/debug/.build-id/f4 40755 root:root -/usr/lib/debug/.build-id/f4/bed8891d2426284654919d6d67bd01b8e43865 120777 root:root ../../../../lib64/libolgx.so.3.2.4 -/usr/lib/debug/.build-id/f4/bed8891d2426284654919d6d67bd01b8e43865.debug 120777 root:root ../../usr/lib64/libolgx.so.3.2.4.debug +/usr/lib/debug/.build-id/b9 40755 root:root +/usr/lib/debug/.build-id/b9/6893abb4213fa6e5ddbeff0c5872d0af09580e 120777 root:root ../../../../lib64/libolgx.so.3.2.4 +/usr/lib/debug/.build-id/b9/6893abb4213fa6e5ddbeff0c5872d0af09580e.debug 120777 root:root ../../usr/lib64/libolgx.so.3.2.4.debug +/usr/lib/debug/.build-id/fa 40755 root:root +/usr/lib/debug/.build-id/fa/85cea973b97122cf8f7c7c2a0f647e558404ab 120777 root:root ../../../../lib64/libxview.so.3.2.4 +/usr/lib/debug/.build-id/fa/85cea973b97122cf8f7c7c2a0f647e558404ab.debug 120777 root:root ../../usr/lib64/libxview.so.3.2.4.debug /usr/lib/debug/usr/lib64/libolgx.so.3.2.4.debug 100644 root:root @@ -652,11 +652,11 @@ Provides: libxview-debuginfo = 3.2p1.4-alt10 -File: /usr/lib/debug/.build-id/44 40755 root:root -File: /usr/lib/debug/.build-id/44/74c95845c78e885f27ae0cceded51075077ea7 120777 root:root ../../../../lib64/libxview.so.3.2.4 -File: /usr/lib/debug/.build-id/44/74c95845c78e885f27ae0cceded51075077ea7.debug 120777 root:root ../../usr/lib64/libxview.so.3.2.4.debug -File: /usr/lib/debug/.build-id/f4 40755 root:root -File: /usr/lib/debug/.build-id/f4/bed8891d2426284654919d6d67bd01b8e43865 120777 root:root ../../../../lib64/libolgx.so.3.2.4 -File: /usr/lib/debug/.build-id/f4/bed8891d2426284654919d6d67bd01b8e43865.debug 120777 root:root ../../usr/lib64/libolgx.so.3.2.4.debug -File: /usr/lib/debug/usr/lib64/libolgx.so.3.2.4.debug 100644 root:root 1155b2aa828ae5e53a8d32fda38902ee +File: /usr/lib/debug/.build-id/b9 40755 root:root +File: /usr/lib/debug/.build-id/b9/6893abb4213fa6e5ddbeff0c5872d0af09580e 120777 root:root ../../../../lib64/libolgx.so.3.2.4 +File: /usr/lib/debug/.build-id/b9/6893abb4213fa6e5ddbeff0c5872d0af09580e.debug 120777 root:root ../../usr/lib64/libolgx.so.3.2.4.debug +File: /usr/lib/debug/.build-id/fa 40755 root:root +File: /usr/lib/debug/.build-id/fa/85cea973b97122cf8f7c7c2a0f647e558404ab 120777 root:root ../../../../lib64/libxview.so.3.2.4 +File: /usr/lib/debug/.build-id/fa/85cea973b97122cf8f7c7c2a0f647e558404ab.debug 120777 root:root ../../usr/lib64/libxview.so.3.2.4.debug +File: /usr/lib/debug/usr/lib64/libolgx.so.3.2.4.debug 100644 root:root 292e8bfd33757076f91c33a52183c996 File: /usr/lib/debug/usr/lib64/libolgx.so.3.debug 120777 root:root libolgx.so.3.2.4.debug -File: /usr/lib/debug/usr/lib64/libxview.so.3.2.4.debug 100644 root:root ba8051ea48e50f86decb4566759eb5df +File: /usr/lib/debug/usr/lib64/libxview.so.3.2.4.debug 100644 root:root 3085bcaaef4988c4a8dac2f8637c1b5d File: /usr/lib/debug/usr/lib64/libxview.so.3.debug 120777 root:root libxview.so.3.2.4.debug @@ -1296,2 +1296,2 @@ File: /usr/src/debug/xview-3.2p1.4/lib/libxview/wmgr/wmgr_state.c 100644 root:root 92b7db0e2043cf58f33a4b0617b43739 -RPMIdentity: 9a40154e27fd6bd407e78e082c095fbecec306375dc95b9ee23d30f305f194ac9a76b2c2268a6745879b5361cf95f3471994d87fcd078980b1ee35c2b3c35b97 +RPMIdentity: 31a2c6123c9b37a8ed312257189af1fa15871d49582864853302007c0276b22c289a9576f68127b7d3bbbbcc2c0bfccf60c0308981bd28deb80867eed7e8ed78 --- libxview-devel-3.2p1.4-alt10.x86_64.rpm.repo 2017-11-10 14:46:15.000000000 +0000 +++ libxview-devel-3.2p1.4-alt10.x86_64.rpm.hasher 2024-09-29 13:20:48.741768140 +0000 @@ -387,3 +387,3 @@ Requires: libX11-devel -Requires: xorg-xproto-devel +Requires: xorg-proto-devel Requires: rpmlib(PayloadIsLzma) @@ -775,2 +775,2 @@ File: /usr/share/man/man7/xview.7.xz 100644 root:root f426f12decf8817c51c7745badd912b4 -RPMIdentity: 22bd16f510770e1235feca279df181b932d35277b2550eb0dbdd2e43077adc97825d79b0eeb1c8fd1ee799b8ed7aeb5a49c885374be5113e023c93f56ceaf16b +RPMIdentity: 20fe2881b6c79b588117e203ca7ac4e44301b3b2e6e0393dfb588417b93685bbc1a475d25c1c80584e3c6956df93d2a95a8b3e20bfe91f2b5f7e226f586dcbce