=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for twin-3.1.14nb4 /bin/cp /tmp/pkgbuild/emulators/twin/work/twin/windows/Execfreebsd.c /tmp/pkgbuild/emulators/twin/work/twin/windows/Execnetbsd.c rm -f .depend for i in tools tools/rc; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/tools' rm -f .depend if test "mksrc.c" != "dummy"; \ then \ for i in mksrc.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/tools' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/tools/rc' rm -f .depend /usr/bin/yacc -d rcyacc.y /usr/bin/yacc -d ifyacc.y /usr/bin/lex -i rclex.l for i in rc.y.tab.c rc.z.tab.c lex.yy.c; do ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" $i >> .depend ); done if test "define.c resources.c util.c rc.c printres.c cmdline.c buffer.c cleanup.c mdc.c" != "dummy"; \ then \ for i in define.c resources.c util.c rc.c printres.c cmdline.c buffer.c cleanup.c mdc.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/tools/rc' for i in intp32 controls if1632 memory msdos osdll scheduler ; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/intp32' rm -f .depend if test "fp87.c interp_main.c interp_modrm.c interp_16_32.c interp_32_16.c interp_32_32.c emu-utils.c external.c dis8086.c" != "dummy"; \ then \ for i in fp87.c interp_main.c interp_modrm.c interp_16_32.c interp_32_16.c interp_32_32.c emu-utils.c external.c dis8086.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/intp32' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/controls' rm -f .depend if test "Listbox.c ComboBox.c Frame.c Button.c ButtonDraw.c Static.c Scroll.c ScrollPaint.c Edit.c EditKey.c EditDraw.c EditMem.c EditMisc.c EditMemBin.c" != "dummy"; \ then \ for i in Listbox.c ComboBox.c Frame.c Button.c ButtonDraw.c Static.c Scroll.c ScrollPaint.c Edit.c EditKey.c EditDraw.c EditMem.c EditMisc.c EditMemBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/controls' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/if1632' rm -f .depend if test "LocalMem.c ConvertMsg.c Callback.c GenericIF.c SpecialIF.c HookIF.c MemoryIF.c PrintIF.c PrinterBin.c CommIF.c BitmapBin.c OEMRoutines.c OEMTab.c make_thunk.c invoke_binary.c ValidateModule.c KrnCatch.c" != "dummy"; \ then \ for i in LocalMem.c ConvertMsg.c Callback.c GenericIF.c SpecialIF.c HookIF.c MemoryIF.c PrintIF.c PrinterBin.c CommIF.c BitmapBin.c OEMRoutines.c OEMTab.c make_thunk.c invoke_binary.c ValidateModule.c KrnCatch.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/if1632' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/memory' rm -f .depend if test "virtual.c heap.c memory.c" != "dummy"; \ then \ for i in virtual.c heap.c memory.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/memory' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/msdos' rm -f .depend if test "dos_int86.c dos_call.c dos_create.c dos_date.c dos_error.c dos_timer.c dos_findfile.c int_21.c fn_36.c fn_38.c int_10.c int_11.c int_12.c int_13.c int_15.c int_1a.c int_25.c int_2a.c int_2f.c int_31.c int_3d.c int_5c.c mfs_config.c mfs_fileio.c mfs_findfile.c mfs_regexp.c msclib.c mfs_core.c fat_core.c fat_fileio.c fat_findfile.c fat_lib.c" != "dummy"; \ then \ for i in dos_int86.c dos_call.c dos_create.c dos_date.c dos_error.c dos_timer.c dos_findfile.c int_21.c fn_36.c fn_38.c int_10.c int_11.c int_12.c int_13.c int_15.c int_1a.c int_25.c int_2a.c int_2f.c int_31.c int_3d.c int_5c.c mfs_config.c mfs_fileio.c mfs_findfile.c mfs_regexp.c msclib.c mfs_core.c fat_core.c fat_fileio.c fat_findfile.c fat_lib.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/msdos' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/osdll' rm -f .depend if test "DrvSystem.c DrvTime.c DrvDlfcn.c DrvFiles.c " != "dummy"; \ then \ for i in DrvSystem.c DrvTime.c DrvDlfcn.c DrvFiles.c ; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/osdll' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/scheduler' rm -f .depend if test "Threads.c Critical.c Interlock.c CreateProcess.c ThreadLocal.c Hotkey.c" != "dummy"; \ then \ for i in Threads.c Critical.c Interlock.c CreateProcess.c ThreadLocal.c Hotkey.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/scheduler' for i in graphics graphics/x11drv; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics' rm -f .depend if test "GdiObjects.c GdiBitmaps.c GdiClipping.c GdiDC.c GdiBoundsRect.c GdiDCAttr.c GdiGraphics.c GdiImages.c GdiBrute.c GdiMath.c GdiText.c GdiRegions.c GdiPrinter.c GdiTTEngine.c" != "dummy"; \ then \ for i in GdiObjects.c GdiBitmaps.c GdiClipping.c GdiDC.c GdiBoundsRect.c GdiDCAttr.c GdiGraphics.c GdiImages.c GdiBrute.c GdiMath.c GdiText.c GdiRegions.c GdiPrinter.c GdiTTEngine.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics/x11drv' rm -f .depend if test "DrvGraphics.c DrvImages.c DrvDC.c DrvFloodFill.c DrvRegions.c DrvText.c DrvUtils.c DrvIPC.c DrvInit.c RopCodes.c DrvWindows.c DrvCursor.c DrvWinSock.c DrvColors.c DrvEvents.c XICCCM.c DrvKeyboard.c XEvents.c DrvConfig.c DrvPrinting.c" != "dummy"; \ then \ for i in DrvGraphics.c DrvImages.c DrvDC.c DrvFloodFill.c DrvRegions.c DrvText.c DrvUtils.c DrvIPC.c DrvInit.c RopCodes.c DrvWindows.c DrvCursor.c DrvWinSock.c DrvColors.c DrvEvents.c XICCCM.c DrvKeyboard.c XEvents.c DrvConfig.c DrvPrinting.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics/x11drv' for i in windows; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' rm -f .depend if test "FancyRgn.c WSprintf.c DrawText.c Dither.c Caret.c Palette.c MapMode.c ConvertArray.c DisplayDC.c DisplayGraphics.c DisplayObjects.c DisplayText.c DisplayClipping.c DeviceData.c LSDevices.c Metafile.c Metaplay.c MetaGraphics.c MetaObjects.c WImageIO.c WBmp.c DrawFrame.c PrinterGraphics.c PrintManager.c PrinterDC.c Kernel.c Module.c ObjEngine.c FileSys.c Net.c System.c WinHelp.c KrnAtoms.c KrnFileIO.c Events.c KrnTask.c File32.c FormatMessage.c Beep.c WinSockUtil.c Keyboard.c IOEmu.c SysMisc.c DPMI.c Locale.c version.c Resources.c SysMetrics.c Dialog.c Profile.c Strings.c MenuProc.c MenuAPI.c UsrCursor.c DefWnd.c Messages.c Rect.c WSysMenu.c WinConfig.c Time.c Comm.c Clipboard.c StubAPI.c WindowPos.c WindowBytes.c WindowCreate.c WindowProps.c WindowRedraw.c WindowDC.c MDI.c Hook.c Classes.c LoadLibrary.c ModTable.c WinInit.c IsBinary.c LoadModule.c LoadDLL.c RscTemplate.c ConvertRes.c MessageBox.c utils.c MsgCode.c Driver.c Debug.c DPMInotify.c Execintp.c" != "dummy"; \ then \ for i in FancyRgn.c WSprintf.c DrawText.c Dither.c Caret.c Palette.c MapMode.c ConvertArray.c DisplayDC.c DisplayGraphics.c DisplayObjects.c DisplayText.c DisplayClipping.c DeviceData.c LSDevices.c Metafile.c Metaplay.c MetaGraphics.c MetaObjects.c WImageIO.c WBmp.c DrawFrame.c PrinterGraphics.c PrintManager.c PrinterDC.c Kernel.c Module.c ObjEngine.c FileSys.c Net.c System.c WinHelp.c KrnAtoms.c KrnFileIO.c Events.c KrnTask.c File32.c FormatMessage.c Beep.c WinSockUtil.c Keyboard.c IOEmu.c SysMisc.c DPMI.c Locale.c version.c Resources.c SysMetrics.c Dialog.c Profile.c Strings.c MenuProc.c MenuAPI.c UsrCursor.c DefWnd.c Messages.c Rect.c WSysMenu.c WinConfig.c Time.c Comm.c Clipboard.c StubAPI.c WindowPos.c WindowBytes.c WindowCreate.c WindowProps.c WindowRedraw.c WindowDC.c MDI.c Hook.c Classes.c LoadLibrary.c ModTable.c WinInit.c IsBinary.c LoadModule.c LoadDLL.c RscTemplate.c ConvertRes.c MessageBox.c utils.c MsgCode.c Driver.c Debug.c DPMInotify.c Execintp.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' for i in dlls ole multimedia; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls' rm -f .depend for i in libdll commdlg shell keyboard version system lzexpand toolhelp comm winsock ddeml sound w32sys win87em winspool commctrl advapi32 msvcrt; do ( cd ../dlls/$i && /usr/pkg/bin/gmake depend ); done gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/libdll' rm -f .depend if test "LibMain.c LibWEP.c DefTable.c ResTable.c DummyEnviron.c" != "dummy"; \ then \ for i in LibMain.c LibWEP.c DefTable.c ResTable.c DummyEnviron.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/libdll' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commdlg' rm -f .depend if test "ChooseColor.c ChooseFont.c Commdlg.c FindReplDlg.c GetOpenFileName.c PrintDlg.c CommdlgIF.c CommdlgIT.c" != "dummy"; \ then \ for i in ChooseColor.c ChooseFont.c Commdlg.c FindReplDlg.c GetOpenFileName.c PrintDlg.c CommdlgIF.c CommdlgIT.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commdlg' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/shell' rm -f .depend if test "Shell.c ShellIF.c Registry.c DragDrop.c About.c" != "dummy"; \ then \ for i in Shell.c ShellIF.c Registry.c DragDrop.c About.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/shell' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/keyboard' rm -f .depend if test "Keyboard.c SysKeyboard.c KeyboardIF.c KeyboardBin.c" != "dummy"; \ then \ for i in Keyboard.c SysKeyboard.c KeyboardIF.c KeyboardBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/keyboard' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/version' rm -f .depend if test "Ver.c VerIF.c VerBin.c" != "dummy"; \ then \ for i in Ver.c VerIF.c VerBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/version' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/system' rm -f .depend if test "System.c SystemIF.c" != "dummy"; \ then \ for i in System.c SystemIF.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/system' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/lzexpand' rm -f .depend if test "LZExpand.c LZExpandBin.c" != "dummy"; \ then \ for i in LZExpand.c LZExpandBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/lzexpand' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/toolhelp' rm -f .depend if test "ToolHelp.c ToolHelpIF.c segtab.c Task.c Info.c" != "dummy"; \ then \ for i in ToolHelp.c ToolHelpIF.c segtab.c Task.c Info.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/toolhelp' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/comm' rm -f .depend if test "CommDrv.c CommBin.c" != "dummy"; \ then \ for i in CommDrv.c CommBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/comm' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winsock' rm -f .depend if test "WinSock.c WinSockIF.c WinSockBin.c" != "dummy"; \ then \ for i in WinSock.c WinSockIF.c WinSockBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winsock' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/ddeml' rm -f .depend if test "DdeML.c DdeMLBin.c" != "dummy"; \ then \ for i in DdeML.c DdeMLBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/ddeml' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/sound' rm -f .depend if test "Sound.c SoundBin.c" != "dummy"; \ then \ for i in Sound.c SoundBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/sound' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/w32sys' rm -f .depend if test "w32sys.c w32sysBin.c" != "dummy"; \ then \ for i in w32sys.c w32sysBin.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/w32sys' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/win87em' rm -f .depend if test "win87em.c win87emIF.c" != "dummy"; \ then \ for i in win87em.c win87emIF.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/win87em' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winspool' rm -f .depend if test "winspool.c" != "dummy"; \ then \ for i in winspool.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winspool' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commctrl' rm -f .depend if test "WCommctl.c WDragLbx.c WHdr.c WImgList.c WLVHelpr.c WLView.c WLists.c WProgBar.c WPropsht.c WStatusb.c WTVLBox.c WTView.c WTab.c WTlbCust.c WToolbar.c WTooltip.c WTrackbr.c WUpdown.c WLVLBox.c CommCtrl.c" != "dummy"; \ then \ for i in WCommctl.c WDragLbx.c WHdr.c WImgList.c WLVHelpr.c WLView.c WLists.c WProgBar.c WPropsht.c WStatusb.c WTVLBox.c WTView.c WTab.c WTlbCust.c WToolbar.c WTooltip.c WTrackbr.c WUpdown.c WLVLBox.c CommCtrl.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commctrl' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/advapi32' rm -f .depend if test "advapi.c" != "dummy"; \ then \ for i in advapi.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/advapi32' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/msvcrt' rm -f .depend if test "msvcrt.c" != "dummy"; \ then \ for i in msvcrt.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/msvcrt' if test "dummy" != "dummy"; \ then \ for i in dummy; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/ole' rm -f .depend if test "OleSvr.c SvrBin.c OleSvrIF.c OleCli.c CliBin.c OleCliIF.c" != "dummy"; \ then \ for i in OleSvr.c SvrBin.c OleSvrIF.c OleCli.c CliBin.c OleCliIF.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/ole' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/multimedia' rm -f .depend if test "MultiMedia.c MMBin.c MCI.c MMIF.c midi.c mmdrv.c wave.c mmaux.c" != "dummy"; \ then \ for i in MultiMedia.c MMBin.c MCI.c MMIF.c midi.c mmdrv.c wave.c mmaux.c; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/multimedia' if test "dummy" != "dummy"; \ then \ for i in dummy; \ do \ ( gcc -MM -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I./include -I./windows -I./include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include ./$i >> .depend ) || true; \ done; \ fi Build: Willows Library Build: windows Sat Nov 9 16:45:27 UTC 2019 ========== Tools ========== gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/tools' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mksrc.c -o mksrc.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -o mksrc mksrc.o gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/tools' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/tools/rc' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c rc.y.tab.c -o rc.y.tab.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c rc.z.tab.c -o rc.z.tab.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c lex.yy.c -o lex.yy.o lex.yy.c:4114:17: warning: 'yyunput' defined but not used [-Wunused-function] lex.yy.c:4157:16: warning: 'input' defined but not used [-Wunused-function] gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c define.c -o define.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c resources.c -o resources.o resources.c: In function 'add_common_resource': resources.c:163:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] new_nameinfo->data.rcsitemname = (char *)(LOWORD(r->name) | (r->type == RT_STRING ? 0x0000 : 0x8000)); ^ resources.c:168:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] new_nameinfo->data.wType = (WORD)(RT_USER_DEF); ^ In file included from /usr/include/stdio.h:597:0, from resources.c:31: resources.c:173:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(outTemp, "%d", (int)r->name); ^ resources.c: In function 'make_cursor_resource': resources.c:298:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rCursor->name = (const char *)(IdOrdinal); ^ resources.c:230:23: warning: variable 'image_size' set but not used [-Wunused-but-set-variable] DWORD image_offset, image_size; ^ resources.c: In function 'make_icon_resource': resources.c:393:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rIcon->name = (const char *)(IdOrdinal); ^ resources.c:323:23: warning: variable 'image_size' set but not used [-Wunused-but-set-variable] DWORD image_offset, image_size; ^ resources.c: In function 'find_string_segment': resources.c:882:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)(temp_info->data.rcsitemname) == segnum) ^ resources.c:889:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] r->name = (const char *)segnum; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c util.c -o util.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c rc.c -o rc.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c printres.c -o printres.o In file included from printres.c:36:0: printres.c: In function 'print_num_or_str': printres.c:109:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COUTPUT(( "(char *) 0x%04x", (int)str)); ^ rc.h:79:29: note: in definition of macro 'COUTPUT' #define COUTPUT(x) dooutput x ^ printres.c: In function 'print_menu_list': printres.c:262:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COUTPUT(( "static MENUDATA m_%x[] = {\n", (int)node)); ^ rc.h:79:29: note: in definition of macro 'COUTPUT' #define COUTPUT(x) dooutput x ^ printres.c:270:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COUTPUT(( "m_%x )", (int)(node->child))); ^ rc.h:79:29: note: in definition of macro 'COUTPUT' #define COUTPUT(x) dooutput x ^ printres.c: In function 'print_menu_name': printres.c:309:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COUTPUT(( "\t{ (LPBYTE)%s_%x, ", title, (int)(info->rcsdata))); ^ rc.h:79:29: note: in definition of macro 'COUTPUT' #define COUTPUT(x) dooutput x ^ In file included from /usr/include/stdio.h:597:0, from printres.c:31: printres.c: In function 'print_func': printres.c:606:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(userName, "u%d", (int)(type_ptr->rcstypename)); ^ In file included from printres.c:36:0: printres.c: In function 'print_resources': printres.c:656:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] COUTPUT(( "u%d_info},\n", (int)type_ptr->rcstypename)); ^ rc.h:79:29: note: in definition of macro 'COUTPUT' #define COUTPUT(x) dooutput x ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c cmdline.c -o cmdline.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c buffer.c -o buffer.o buffer.c: In function 'str_dup': buffer.c:54:17: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] s = str_alloc(strlen(s1) + 1); ^ buffer.c:54:17: warning: incompatible implicit declaration of built-in function 'strlen' buffer.c:54:17: note: include '' or provide a declaration of 'strlen' buffer.c:55:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(s, s1); ^ buffer.c:55:3: warning: incompatible implicit declaration of built-in function 'strcpy' buffer.c:55:3: note: include '' or provide a declaration of 'strcpy' buffer.c: In function 'buff_realloc': buffer.c:120:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(p, b->buffer, b->alloc); ^ buffer.c:120:5: warning: incompatible implicit declaration of built-in function 'memcpy' buffer.c:120:5: note: include '' or provide a declaration of 'memcpy' buffer.c:122:5: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(p, b->buffer, size); ^ buffer.c:122:5: note: include '' or provide a declaration of 'memcpy' buffer.c: In function 'buff_cat': buffer.c:152:3: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(b->buffer, b1->buffer, b1->len); ^ buffer.c:152:3: note: include '' or provide a declaration of 'memcpy' buffer.c: In function 'buff_dup': buffer.c:166:3: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(b->buffer, b1->buffer, b1->len); ^ buffer.c:166:3: note: include '' or provide a declaration of 'memcpy' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c cleanup.c -o cleanup.o cleanup.c: In function 'free_menu_list': cleanup.c:71:14: warning: variable 'next' set but not used [-Wunused-but-set-variable] MENU_NODE *next; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -D__INCPATH__=\"/usr/pkg/include\" -c mdc.c -o mdc.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -o rc rc.y.tab.o rc.z.tab.o lex.yy.o define.o resources.o util.o rc.o printres.o cmdline.o buffer.o cleanup.o mdc.o gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/tools/rc' Build: Willows Tools, complete. ========= LIBTWIN ========= gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/intp32' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fp87.c -o fp87.o In file included from fp87.c:52:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ fp87.c:92:11: warning: missing terminating " character __asm__ (" ^ fp87.c:98:18: warning: missing terminating " character movw %%ax,8(%1)" ^ fp87.c:110:11: warning: missing terminating " character __asm__ (" ^ fp87.c:114:15: warning: missing terminating " character orl 4(%1),%0" ^ fp87.c: In function 'illegal_op': fp87.c:299:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ fp87.c:299:2: warning: incompatible implicit declaration of built-in function 'exit' fp87.c:299:2: note: include '' or provide a declaration of 'exit' fp87.c: In function 'not_implemented': fp87.c:306:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ fp87.c:306:2: note: include '' or provide a declaration of 'exit' fp87.c: In function 'hsw_fp87_00m': fp87.c:333:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 += GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_01m': fp87.c:348:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 *= GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_02m': fp87.c:365:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r,mem_ref); ^ fp87.c: In function 'hsw_fp87_02r': fp87.c:380:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:380:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_03m': fp87.c:397:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_03r': fp87.c:413:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:413:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_04m': fp87.c:430:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 -= GET32REAL(m32r, mem_ref); /* dest - src -> dest */ ^ fp87.c: In function 'hsw_fp87_05m': fp87.c:446:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_06m': fp87.c:463:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_06r': fp87.c:473:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:473:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_07m': fp87.c:484:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r, mem_ref); ^ fp87.c: In function 'hsw_fp87_07r': fp87.c:494:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:494:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_10m': fp87.c:506:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET32REAL(m32r, mem_ref); ^ fp87.c:508:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &fpsrcop); ^ fp87.c:508:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_10r': fp87.c:517:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:517:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:519:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &fpsrcop); ^ fp87.c:519:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_11r': fp87.c:534:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp, &FPR_ST(reg_num)); ^ fp87.c:534:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:535:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST(reg_num), &FPR_ST0); ^ fp87.c:535:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:536:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &fptemp); ^ fp87.c:536:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_12m': fp87.c:545:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] STORE32REAL(mem_ref,m32r); ^ fp87.c: In function 'hsw_fp87_13m': fp87.c:563:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] STORE32REAL(mem_ref,m32r); ^ fp87.c: In function 'hsw_fp87_14r': fp87.c:628:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] i64lh = *((QLONG *)&fptemp) & 0xfffffffffffffLL; ^ fp87.c:637:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] i64lh = *((QLONG *)&fptemp) & 0xfffffffffffffLL; ^ fp87.c: In function 'hsw_fp87_15r': fp87.c:720:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[1]); ^ fp87.c:720:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:723:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[6]); ^ fp87.c:723:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:726:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[5]); ^ fp87.c:726:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:729:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[2]); ^ fp87.c:729:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:732:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[3]); ^ fp87.c:732:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:735:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[4]); ^ fp87.c:735:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:738:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST0, &f15rk[0]); ^ fp87.c:738:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_17r': fp87.c:900:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:900:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:901:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST1); ^ fp87.c:901:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:926:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST0); ^ fp87.c:926:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:936:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST0); ^ fp87.c:936:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:942:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST0); ^ fp87.c:942:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:954:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:954:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:978:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST0); ^ fp87.c:978:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:987:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fptemp,&FPR_ST0); ^ fp87.c:987:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_25r': fp87.c:1104:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST1); ^ fp87.c:1104:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_32m': fp87.c:1185:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:1185:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_33m': fp87.c:1212:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:1212:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_37m': fp87.c:1298:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST80R(mem_ref,&FPR_ST0); ^ fp87.c: In function 'hsw_fp87_40m': fp87.c:1313:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 += GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_41m': fp87.c:1328:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 *= GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_42m': fp87.c:1344:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_43m': fp87.c:1366:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fpsrcop = GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_44m': fp87.c:1388:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 -= GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_45m': fp87.c:1403:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 = GET64REAL(fptemp,mem_ref) - FPR_ST0; ^ fp87.c: In function 'hsw_fp87_46m': fp87.c:1426:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 /= GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_47m': fp87.c:1444:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 = GET64REAL(fptemp,mem_ref) / FPR_ST0; ^ fp87.c: In function 'hsw_fp87_50m': fp87.c:1453:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] FPR_ST0 = GET64REAL(fptemp,mem_ref); ^ fp87.c: In function 'hsw_fp87_52m': fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] STORE64REAL(mem_ref,fptemp); ^ fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1482:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_52r': fp87.c:1489:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST(reg_num),&FPR_ST0); ^ fp87.c:1489:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_53m': fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] STORE64REAL(mem_ref,fptemp); ^ fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c:1498:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_53r': fp87.c:1506:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&FPR_ST(reg_num),&FPR_ST0); ^ fp87.c:1506:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_54r': fp87.c:1539:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:1539:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_55r': fp87.c:1560:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST(reg_num)); ^ fp87.c:1560:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_56m': fp87.c:1660:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST80R((mem_ref),&hsw_env87.fpregs[(st+i)&0x7]); ^ fp87.c: In function 'hsw_fp87_63r': fp87.c:1763:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST1); ^ fp87.c:1763:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_72m': fp87.c:1875:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:1875:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_73m': fp87.c:1901:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:1901:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_76m': fp87.c:2012:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:2012:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fp87.c: In function 'hsw_fp87_77m': fp87.c:2054:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] TDBLCPY(&fpsrcop,&FPR_ST0); ^ fp87.c:2054:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c interp_main.c -o interp_main.o In file included from interp_main.c:55:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ interp_main.c: In function 'hsw_interp_16_16': interp_main.c:394:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_main.c:402:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_main.c:3260:6: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ interp_main.c:3260:6: warning: incompatible implicit declaration of built-in function 'exit' interp_main.c:3260:6: note: include '' or provide a declaration of 'exit' In file included from interp_main.c:55:0: interp_main.c:4041:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4040:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/16 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4040:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/16 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4046:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ interp_main.c:4046:2: note: include '' or provide a declaration of 'exit' In file included from interp_main.c:55:0: interp_main.c:4051:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4050:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 16/16 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4050:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 16/16 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4086:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4085:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/16 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_main.c:4085:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/16 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c interp_modrm.c -o interp_modrm.o In file included from interp_modrm.c:51:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c interp_16_32.c -o interp_16_32.o In file included from interp_16_32.c:52:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ interp_16_32.c: In function 'hsw_interp_16_32': interp_16_32.c:201:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_16_32.c:209:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_16_32.c:216:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ In file included from hsw_interp.h:51:0, from interp_16_32.c:52: interp_16_32.c:234:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] e_printf("16/32 SGDT %#x\n",(int)mem_ref); ^ internal.h:553:67: note: in definition of macro 'ifprintf' #define ifprintf(flg,fmt,a...) do{ if (flg) logstr(LF_LOGPE,fmt,##a); }while(0) ^ interp_16_32.c:234:8: note: in expansion of macro 'e_printf' e_printf("16/32 SGDT %#x\n",(int)mem_ref); ^ interp_16_32.c:245:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] e_printf("16/32 SIDT %#x\n",(int)mem_ref); ^ internal.h:553:67: note: in definition of macro 'ifprintf' #define ifprintf(flg,fmt,a...) do{ if (flg) logstr(LF_LOGPE,fmt,##a); }while(0) ^ interp_16_32.c:245:8: note: in expansion of macro 'e_printf' e_printf("16/32 SIDT %#x\n",(int)mem_ref); ^ interp_16_32.c:264:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] e_printf("16/32 SMSW %#x\n",(int)mem_ref); ^ internal.h:553:67: note: in definition of macro 'ifprintf' #define ifprintf(flg,fmt,a...) do{ if (flg) logstr(LF_LOGPE,fmt,##a); }while(0) ^ interp_16_32.c:264:8: note: in expansion of macro 'e_printf' e_printf("16/32 SMSW %#x\n",(int)mem_ref); ^ In file included from interp_16_32.c:52:0: interp_16_32.c:2953:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2952:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/32 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2952:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/32 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2958:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ interp_16_32.c:2958:2: warning: incompatible implicit declaration of built-in function 'exit' interp_16_32.c:2958:2: note: include '' or provide a declaration of 'exit' In file included from interp_16_32.c:52:0: interp_16_32.c:2963:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2962:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 16/32 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2962:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 16/32 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2995:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2994:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/32 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_16_32.c:2994:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 16/32 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c interp_32_16.c -o interp_32_16.o In file included from interp_32_16.c:57:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ interp_32_16.c: In function 'hsw_interp_32_16': interp_32_16.c:207:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_32_16.c:214:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ interp_32_16.c:221:12: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ In file included from interp_32_16.c:57:0: interp_32_16.c:2875:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2874:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/16 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2874:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/16 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2880:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ interp_32_16.c:2880:2: warning: incompatible implicit declaration of built-in function 'exit' interp_32_16.c:2880:2: note: include '' or provide a declaration of 'exit' In file included from interp_32_16.c:57:0: interp_32_16.c:2885:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2884:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 32/16 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2884:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 32/16 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2917:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2916:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/16 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_16.c:2916:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/16 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c interp_32_32.c -o interp_32_32.o In file included from interp_32_32.c:56:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ interp_32_32.c: In function 'hsw_interp_32_32': interp_32_32.c:2889:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ interp_32_32.c:2889:3: warning: incompatible implicit declaration of built-in function 'exit' interp_32_32.c:2889:3: note: include '' or provide a declaration of 'exit' In file included from interp_32_32.c:56:0: interp_32_32.c:3607:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3606:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/32 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3606:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/32 nonimplemented instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3612:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ interp_32_32.c:3612:2: note: include '' or provide a declaration of 'exit' In file included from interp_32_32.c:56:0: interp_32_32.c:3617:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3616:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 32/32 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3616:8: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat=] error(" 32/32 bad code/data sizes at %4x:%4x long PC %x\n", ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3652:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SHORT_CS_16,P0-LONG_CS,(int)P0); ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3651:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/32 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ interp_32_32.c:3651:8: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long int' [-Wformat=] error(" 32/32 illegal instruction %2x %2x %2x at %4x:%4x long PC %x\n",*P0,*(P0+1),*(P0+2), ^ hsw_interp.h:1908:38: note: in definition of macro 'error' #define error(s...) fprintf(stderr,##s) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c emu-utils.c -o emu-utils.o In file included from emu-utils.c:63:0: hsw_interp.h:1748:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1751:16: warning: missing terminating " character lwbrx %1,0,%2" ^ hsw_interp.h:1773:24: warning: missing terminating " character __asm__ __volatile__ (" ^ hsw_interp.h:1776:17: warning: missing terminating " character stwbrx %2,0,%3" ^ emu-utils.c: In function 'SetSegreg': emu-utils.c:112:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *lp = (unsigned char *)(sel<<4); *big=0; ^ emu-utils.c: In function 'e_emu_disasm': emu-utils.c:191:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)LONG_CS, 1); ^ In file included from /usr/include/stdio.h:597:0, from emu-utils.c:55: emu-utils.c:193:22: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] p = buf + sprintf(buf,"%08lx: ",(long)org); ^ emu-utils.c:193:22: note: expected 'char *' but argument is of type 'unsigned char *' emu-utils.c:195:25: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] p += sprintf(p, "%02x", *(org+i)); ^ emu-utils.c:195:25: note: expected 'char *' but argument is of type 'unsigned char *' emu-utils.c:197:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(p,"%20s", " "); ^ emu-utils.c:197:12: note: expected 'char *' but argument is of type 'unsigned char *' emu-utils.c:198:12: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(buf+28, "%04x:%04x %s", seg, org-LONG_CS, frmtbuf); ^ emu-utils.c:198:12: note: expected 'char *' but argument is of type 'unsigned char *' emu-utils.c:198:20: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'long int' [-Wformat=] sprintf(buf+28, "%04x:%04x %s", seg, org-LONG_CS, frmtbuf); ^ emu-utils.c:200:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return buf; ^ emu-utils.c: In function 'e_print_cpuemu_regs': emu-utils.c:266:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sp = (void *)((iENV->ss.ss<<4)+tsp); ^ In file included from /usr/include/stdio.h:597:0, from emu-utils.c:55: emu-utils.c: In function 'e_print_internal_regs': emu-utils.c:321:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[0]); ^ emu-utils.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[1]); ^ emu-utils.c:332:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[1]); ^ emu-utils.c:334:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[2]); ^ emu-utils.c:339:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[3]); ^ emu-utils.c:343:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[6]); ^ emu-utils.c:349:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[3]); ^ emu-utils.c:353:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)v->seg_regs[6]); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c external.c -o external.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dis8086.c -o dis8086.o In file included from /usr/include/string.h:127:0, from dis8086.c:25: dis8086.c: In function 'd86_printf': dis8086.c:229:11: warning: pointer targets in passing argument 1 of '__builtin___strcat_chk' differ in signedness [-Wpointer-sign] strcat (linebuf, frmtbuf); ^ dis8086.c:229:11: note: expected 'char *' but argument is of type 'unsigned char *' dis8086.c:229:11: warning: pointer targets in passing argument 1 of '__strcat_ichk' differ in signedness [-Wpointer-sign] strcat (linebuf, frmtbuf); ^ /usr/include/ssp/string.h:90:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcat, char *, const char *) ^ dis8086.c: In function 'modrm_disp32': dis8086.c:267:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return buf; ^ dis8086.c: In function 'modrm_disp16': dis8086.c:281:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return buf; ^ dis8086.c: In function 'modrm_disp8': dis8086.c:295:11: warning: pointer targets in return differ in signedness [-Wpointer-sign] return buf; ^ dis8086.c: In function 'mod_mem32': dis8086.c:312:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] disp = indexstr = scalestr = ""; ^ dis8086.c:313:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] basestr = reg32[rm]; ^ In file included from /usr/include/stdio.h:597:0, from dis8086.c:23: dis8086.c:334:21: warning: pointer targets in passing argument 1 of '__builtin___sprintf_chk' differ in signedness [-Wpointer-sign] sprintf(hex32, "%08x", immed32(code)); ^ dis8086.c:334:21: note: expected 'char *' but argument is of type 'unsigned char *' dis8086.c:350:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] basestr = reg32[base]; ^ dis8086.c:353:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 1 : scalestr = "+2*"; break; ^ dis8086.c:354:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 2 : scalestr = "+4*"; break; ^ dis8086.c:355:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] case 3 : scalestr = "+8*"; break; ^ dis8086.c:356:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] default: scalestr = "+"; ^ dis8086.c:359:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] indexstr = scalestr = ""; ^ dis8086.c:361:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] indexstr = reg32[index]; ^ dis8086.c: In function 'dis_8086': dis8086.c:1297:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg == "") ^ dis8086.c:1305:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg == "") ^ dis8086.c:1313:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg == "") ^ dis8086.c:1321:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg =="") ^ dis8086.c:1354:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg == "") ^ dis8086.c:1361:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if (seg == "") ^ dis8086.c:511:7: warning: variable 'prefix' set but not used [-Wunused-but-set-variable] int prefix = 0; ^ ar rc libintp32.a fp87.o interp_main.o interp_modrm.o interp_16_32.o interp_32_16.o interp_32_32.o emu-utils.o external.o dis8086.o ranlib libintp32.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/intp32' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/controls' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Listbox.c -o Listbox.o Listbox.c: In function 'DefLISTBOXProc': Listbox.c:158:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] LBoxEraseBackground(lpLBoxInfo,(HDC)wParam); ^ Listbox.c:172:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpLBoxInfo->hFont = (HFONT)wParam; ^ Listbox.c:431:11: warning: variable 'wOldSelection' set but not used [-Wunused-but-set-variable] WORD wOldSelection; ^ Listbox.c: In function 'LBoxCreate': Listbox.c:932:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetWindowWord(hWnd, LWD_HMENU, (WORD)(UINT)(lpLBInfo->ObjHead.hObj)); ^ Listbox.c: In function 'LBoxCalcFrame': Listbox.c:1030:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c:1001:18: warning: variable 'nNCHeight' set but not used [-Wunused-but-set-variable] int nHeight, nNCHeight, nNumColumns; ^ Listbox.c: In function 'LBoxMeasureItem': Listbox.c:1312:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxSendItemDraw': Listbox.c:1352:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxPaint': Listbox.c:1430:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxDrawItem': Listbox.c:1521:10: warning: variable 'hPen' set but not used [-Wunused-but-set-variable] HPEN hPen; ^ In file included from Listbox.c:33:0: Listbox.c: In function 'LBoxNotify': Listbox.c:1611:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox, ^ ../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ Listbox.c:1609:2: note: in expansion of macro 'GET_WM_COMMAND_MPS' GET_WM_COMMAND_MPS( ^ Listbox.c: In function 'LBoxItemFromCommand': Listbox.c:1642:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (lpCurrent->hPopupMenu == (HMENU)(UINT)(*lpwCommand)) { ^ Listbox.c: In function 'LBoxResetContent': Listbox.c:1913:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxDeleteItem': Listbox.c:2004:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxFindItem': Listbox.c:2172:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ Listbox.c: In function 'LBoxModifyItem': Listbox.c:2335:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpLBItem->hPopupMenu = (HMENU)(UINT)(lpMis->wIDNewItem); ^ In file included from Listbox.c:33:0: Listbox.c:2338:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return MAKELONG((UINT)lpLBItem->hPopupMenu,0); ^ ../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ Listbox.c: In function 'LBoxAddItem': Listbox.c:2464:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpNewItem->hPopupMenu = (HMENU)(UINT)(lpMis->wIDNewItem); ^ Listbox.c:2519:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GetWindowID(lpLBInfo->hWnd):(UINT)lpLBInfo->hListBox; ^ In file included from Listbox.c:33:0: Listbox.c: In function 'LBoxAPI': Listbox.c:2769:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return MAKELONG((UINT)hListBox,0); ^ ../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ComboBox.c -o ComboBox.o ComboBox.c: In function 'DefCOMBOBOXProc': ComboBox.c:188:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((lp->wStyle & 0x0F) != CBS_SIMPLE && wParam != (UINT)lp->ListBoxControl && wParam != 0) ^ ComboBox.c:294:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->nID = (UINT)lpcs->hMenu; ^ ComboBox.c:300:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] mis.CtlID = (UINT)lpcs->hMenu; ^ ComboBox.c:303:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(lpcs->hwndParent, WM_MEASUREITEM, (WPARAM)lpcs->hMenu, (LPARAM)&mis); ^ ComboBox.c:774:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lp->hFont = (HFONT)wParam; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Frame.c -o Frame.o Frame.c: In function 'DoNCDragMove': Frame.c:1051:12: warning: variable 'hBrush' set but not used [-Wunused-but-set-variable] HBRUSH hBrush; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Button.c -o Button.o Button.c: In function 'DefBUTTONProc': Button.c:117:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] HDC hDC = (HDC) wParam; ^ Button.c:121:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hBrush = (HBRUSH)SendMessage(GetParent(hWnd),WM_CTLCOLORBTN,(WPARAM)hDC,(LPARAM)hWnd); ^ Button.c:177:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] CheckDefPushButton(GetParent(hWnd),(HWND)wParam,hWnd); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ButtonDraw.c -o ButtonDraw.o ButtonDraw.c: In function 'DrawPushButton': ButtonDraw.c:153:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hFont = (HFONT)(UINT)GetWindowWord(hWnd, BWD_HFONT))) ^ ButtonDraw.c: In function 'DrawRadioCheckButton': ButtonDraw.c:311:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hFont = (HFONT)(UINT)GetWindowWord(hWnd, BWD_HFONT))) ^ ButtonDraw.c: In function 'DrawGroupBox': ButtonDraw.c:515:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hFont = (HFONT)(UINT)GetWindowWord(hWnd,BWD_HFONT); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Static.c -o Static.o Static.c: In function 'DefSTATICProc': Static.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetWindowWord(hWnd,SWD_HICON,(WORD)(UINT)hIcon); ^ Static.c:97:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hIcon = (HICON)(UINT)GetWindowWord(hWnd,SWD_HICON)) && ^ Static.c:167:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hIcon = (HICON)(UINT)SetWindowWord(hWnd, SWD_HICON, (WORD)wParam); ^ Static.c: In function 'StaticPaint': Static.c:259:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hFont = (HFONT)(UINT)GetWindowWord(hWnd, SWD_HFONT))) ^ Static.c:294:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hFont = (HFONT)(UINT)GetWindowWord(hWnd, SWD_HFONT))) ^ Static.c:316:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hIcon = (HICON)(UINT)GetWindowWord(hWnd, SWD_HICON); ^ Static.c:328:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hIcon = (HICON)(UINT)GetWindowWord(hWnd, SWD_HICON); ^ Static.c:200:13: warning: variable 'dy' set but not used [-Wunused-but-set-variable] int dx, dy; /* Indenting for certain justifications */ ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Scroll.c -o Scroll.o Scroll.c: In function 'ScrollbarUpdate': Scroll.c:60:10: warning: variable 'nThumb' set but not used [-Wunused-but-set-variable] int nThumb,nRange; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ScrollPaint.c -o ScrollPaint.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Edit.c -o Edit.o In file included from ../include/windowsx.h:37:0, from Edit.c:34: Edit.c: In function 'DefEDITProc': ../include/windowsx32.h:390:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((fn)((hwnd), (HWND)(wParam)), 0L) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_WM_SETFOCUS' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:123:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,WM_SETFOCUS,OnSetFocus); ^ ../include/windowsx32.h:396:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((fn)((hwnd), (HWND)(wParam)), 0L) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_WM_KILLFOCUS' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:124:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,WM_KILLFOCUS,OnKillFocus); ^ ../include/windowsx32.h:328:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (HDC)(wParam)) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_WM_ERASEBKGND' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:128:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,WM_ERASEBKGND,OnEraseBkgnd); ^ In file included from ../include/windowsx.h:37:0, from Edit.c:34: ../include/windowsx32.h:868:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (LRESULT)(DWORD)(UINT)(HFONT)(fn)(hwnd) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_WM_GETFONT' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:130:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,WM_GETFONT,OnGetFont); ^ ../include/windowsx32.h:862:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((fn)((hwnd), (HFONT)(wParam), (BOOL)(lParam)), 0L) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_WM_SETFONT' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:131:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,WM_SETFONT,OnSetFont); ^ In file included from Edit.c:37:0: Editx.h:55:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (LRESULT)(DWORD)(UINT)(HANDLE)(fn)((hWnd)) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_EM_GETHANDLE' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:149:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,EM_GETHANDLE,OnEMGetHandle); ^ Editx.h:59:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((fn)((hWnd), (HANDLE)(wParam)), 0L) ^ ../include/windowsx32.h:127:28: note: in expansion of macro 'HANDLE_EM_SETHANDLE' case (message): return HANDLE_##message((hwnd), (wParam), (lParam), (fn)) ^ Edit.c:150:3: note: in expansion of macro 'HANDLE_MSG' HANDLE_MSG(hWnd,EM_SETHANDLE,OnEMSetHandle); ^ Edit.c: In function 'OnLButtonDblClk': Edit.c:222:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:275:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnLButtonDown': Edit.c:298:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:308:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnMouseMove': Edit.c:344:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0); ^ Edit.c:350:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnKey': Edit.c:363:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:365:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnKillFocus': Edit.c:390:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:408:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnChar': Edit.c:448:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->hData = (HANDLE)EditMemoryAPI(hWnd, EMA_REALLOC, (WPARAM)lp->hData, (LPARAM)lp->memlen); ^ Edit.c:449:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:454:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnSetText': Edit.c:477:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->hData = (HANDLE)EditMemoryAPI(hWnd, EMA_REALLOC, (WPARAM)lp->hData, (LPARAM)lp->memlen); ^ Edit.c:480:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:492:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ In file included from ../include/windowsx.h:37:0, from Edit.c:34: Edit.c: In function 'OnEraseBkgnd': ../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ Edit.c:515:4: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC, hWnd, CTLCOLOR_EDIT)); ^ Edit.c: In function 'OnPaint': Edit.c:544:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:547:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnGetText': Edit.c:564:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:572:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnSetFont': Edit.c:608:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hwndCtl, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:626:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hwndCtl, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnNCCreate': Edit.c:683:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!(lp->npdata = (LPSTR)EditMemoryAPI(hWnd,EMA_LOCK, (WPARAM)lp->hData,0L))) ^ Edit.c:685:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_FREE, (WPARAM)lp->hData, 0L); ^ Edit.c:693:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:694:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_FREE, (WPARAM)lp->hData, 0L); ^ Edit.c:717:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnNCDestroy': Edit.c:739:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:740:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_FREE, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnHScroll': Edit.c:880:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(WORD *)szBuf = sizeof(szBuf) - 1; ^ Edit.c: In function 'OnEMSetHandle': Edit.c:932:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->memlen = (unsigned int)EditMemoryAPI(hWnd, EMA_SIZE, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnEMSetSel': Edit.c:999:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:1028:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'OnEMReplaceSel': Edit.c:1051:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:1053:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'ResetEditControl': Edit.c:1350:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:1362:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c: In function 'InsertChars': Edit.c:1481:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(lp->hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L); ^ Edit.c:1483:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)lp->hData, (LPARAM)lp->memlen); ^ Edit.c:1484:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(lp->hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c EditKey.c -o EditKey.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c EditDraw.c -o EditDraw.o In file included from ../include/windowsx.h:37:0, from EditDraw.c:32: EditDraw.c: In function 'PaintEditControl': ../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ EditDraw.c:58:4: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(ps.hdc,lp->hWnd, CTLCOLOR_EDIT)); ^ EditDraw.c: In function 'DrawLineAt': EditDraw.c:123:6: warning: variable 'TextWidth' set but not used [-Wunused-but-set-variable] int TextWidth; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c EditMem.c -o EditMem.o EditMem.c: In function 'EditMemoryAPI': EditMem.c:71:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hHandle = (HANDLE)wParam; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c EditMisc.c -o EditMisc.o EditMisc.c: In function 'InsertRRN': EditMisc.c:332:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] EditMemoryAPI(lp->hWnd, EMA_UNLOCK, (WPARAM)lp->hData, 0L) ; ^ EditMisc.c:334:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)lp->hData, (LPARAM)lp->memlen) ; ^ EditMisc.c:335:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lp->npdata = (LPSTR)EditMemoryAPI(lp->hWnd, EMA_LOCK, (WPARAM)lp->hData, 0L) ; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c EditMemBin.c -o EditMemBin.o EditMemBin.c: In function 'EditMemoryBin': EditMemBin.c:64:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hHandle = (HANDLE)wParam; ^ ar rc libctl.a Listbox.o ComboBox.o Frame.o Button.o ButtonDraw.o Static.o Scroll.o ScrollPaint.o Edit.o EditKey.o EditDraw.o EditMem.o EditMisc.o EditMemBin.o ranlib libctl.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/controls' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/if1632' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LocalMem.c -o LocalMem.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ConvertMsg.c -o ConvertMsg.o ConvertMsg.c: In function 'hsw_common_nat_to_bin': ConvertMsg.c:158:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newds = (HINSTANCE)(UINT)GetDataSelectorFromInstance(hinst); ^ In file included from ConvertMsg.c:37:0: ConvertMsg.c:171:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:171:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:207:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:207:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:245:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+42,(UINT)lpmcs->hOwner); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:245:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+42,(UINT)lpmcs->hOwner); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:264:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)(lpcs->hMenu)); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:264:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)(lpcs->hMenu)); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:265:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)(lpcs->hwndParent)); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:265:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)(lpcs->hwndParent)); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:314:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+4,(UINT)lpcis->hwndItem); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:314:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+4,(UINT)lpcis->hwndItem); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:327:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)lpdeli->hwndItem); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:327:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)lpdeli->hwndItem); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:339:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+10,(UINT)lpditm->hwndItem); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:339:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+10,(UINT)lpditm->hwndItem); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:340:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+12,(UINT)lpditm->hDC); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:340:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+12,(UINT)lpditm->hDC); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:374:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lpmcs->hOwner); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:374:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lpmcs->hOwner); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:414:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hGlobal = (HGLOBAL)(UINT)(LOWORD(l)); ^ In file included from ConvertMsg.c:37:0: ConvertMsg.c:419:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpps->hdc); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:419:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpps->hdc); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:435:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpwp->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:435:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpwp->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:436:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+2,(UINT)lpwp->hwndInsertAfter); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:436:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+2,(UINT)lpwp->hwndInsertAfter); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:447:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpwp->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:447:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpwp->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:448:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+2,(UINT)lpwp->hwndInsertAfter); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:448:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+2,(UINT)lpwp->hwndInsertAfter); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:456:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpwp->hwnd = (HWND)(UINT)GETWORD(lpData); ^ ConvertMsg.c:457:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpwp->hwndInsertAfter = (HWND)(UINT)GETWORD(lpData+2); ^ ConvertMsg.c:465:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sel = GetTDBSelector((HTASK)(UINT)LOWORD(l)); ^ In file included from ConvertMsg.c:37:0: ConvertMsg.c:584:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:584:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c: In function 'hsw_common_bin_to_nat': ConvertMsg.c:655:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cs.hInstance = (HINSTANCE)(UINT)GetSelectorHandle(GETWORD(lpStruct+4)); ^ ConvertMsg.c:655:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hInstance = (HINSTANCE)(UINT)GetSelectorHandle(GETWORD(lpStruct+4)); ^ ConvertMsg.c:656:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hMenu = (HMENU)(UINT)GETWORD(lpStruct+6); ^ ConvertMsg.c:657:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hwndParent = (HWND)(UINT)GETWORD(lpStruct+8); ^ ConvertMsg.c:694:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cis.hwndItem = (HWND)(UINT)GETWORD(lpStruct+4); ^ ConvertMsg.c:712:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] deli.hwndItem = (HWND)(UINT)GETWORD(lpStruct+6); ^ ConvertMsg.c:727:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ditm.hwndItem = (HWND)(UINT)GETWORD(lpStruct+10); ^ ConvertMsg.c:728:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ditm.hDC = (HDC)(UINT)GETWORD(lpStruct+12); ^ ConvertMsg.c:798:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wpos.hwnd = (HWND)(UINT)GETWORD(lpStruct); ^ ConvertMsg.c:799:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wpos.hwndInsertAfter = (HWND)(UINT)GETWORD(lpStruct+2); ^ ConvertMsg.c:857:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (DWORD)(lpwmc->targ)(hWnd,(HWND)lpwmc->hook_wParam, ^ In file included from ConvertMsg.c:37:0: ConvertMsg.c:887:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)wpos.hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:887:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)wpos.hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:888:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+2,(UINT)wpos.hwndInsertAfter); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:888:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+2,(UINT)wpos.hwndInsertAfter); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c: In function 'hsw_getmessage_nat_to_bin': ConvertMsg.c:932:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpMsgBin,(UINT)lpMsg->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:932:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpMsgBin,(UINT)lpMsg->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:944:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpMsgBin,(UINT)lpMsg->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:944:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpMsgBin,(UINT)lpMsg->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c: In function 'hsw_mdiclient_bin_to_nat': ConvertMsg.c:1408:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hMenu = (HMENU)(UINT)GETWORD(lpStruct+6); ^ ConvertMsg.c:1409:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hwndParent = (HWND)(UINT)GETWORD(lpStruct+8); ^ ConvertMsg.c:1424:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ccs.hWindowMenu = (HMENU)(UINT)GETWORD(lpStruct); ^ ConvertMsg.c:1394:21: warning: variable 'lpStruct1' set but not used [-Wunused-but-set-variable] LPBYTE lpStruct,lpStruct1; ^ In file included from ConvertMsg.c:37:0: ConvertMsg.c: In function 'TWIN_nat_to_bin_openfilename': ConvertMsg.c:1489:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD (lpBinOFN + 4, (UINT)pNatOFN->hwndOwner); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:1489:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD (lpBinOFN + 4, (UINT)pNatOFN->hwndOwner); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c:1490:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD (lpBinOFN + 6, (UINT)pNatOFN->hInstance); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ConvertMsg.c:1490:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD (lpBinOFN + 6, (UINT)pNatOFN->hInstance); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ConvertMsg.c: In function 'TWIN_bin_to_nat_openfilename': ConvertMsg.c:1652:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pNatOFN->hwndOwner = (HWND)(UINT)GETWORD(pBinOFN + 4); ^ ConvertMsg.c:1653:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pNatOFN->hInstance = (HINSTANCE)(UINT)GETWORD(pBinOFN + 6); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Callback.c -o Callback.o In file included from Callback.c:36:0: Callback.c: In function 'hsw_enumprops': Callback.c:54:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+6,(UINT)hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:54:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+6,(UINT)hwnd); ^ Callback.c:54:5: note: in expansion of macro 'PUTWORD' PUTWORD((LPBYTE)envp_global->reg.sp+6,(UINT)hwnd); ^ Callback.c:56:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp,(UINT)hData); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:56:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp,(UINT)hData); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_timerproc': Callback.c:66:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:66:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+8,(UINT)hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_wndenumproc': Callback.c:89:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+4,(UINT)hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:89:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+4,(UINT)hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_abortproc': Callback.c:189:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP, (UINT)hDC); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:189:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP, (UINT)hDC); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_msgfilterproc': Callback.c:214:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpmsg->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:214:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpmsg->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_hookproc': Callback.c:245:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpmsg->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:245:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData,(UINT)lpmsg->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_callwndproc': Callback.c:278:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lphki->hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:278:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lphki->hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_mouseproc': Callback.c:315:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+4,(UINT)lpmhs->hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:315:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+4,(UINT)lpmhs->hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_cbtproc': Callback.c:351:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)lpcbtcs->lpcs->hMenu); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:351:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+6,(UINT)lpcbtcs->lpcs->hMenu); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c:352:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lpcbtcs->lpcs->hwndParent); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:352:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+8,(UINT)lpcbtcs->lpcs->hwndParent); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c:385:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+40,(UINT)lpcbtcs->hwndInsertAfter); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:385:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+40,(UINT)lpcbtcs->hwndInsertAfter); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_graystringproc': Callback.c:417:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+6,(UINT)hdc); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:417:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+6,(UINT)hdc); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Callback.c: In function 'hsw_mfenumproc': Callback.c:446:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+14,(UINT)hdc); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Callback.c:446:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((LPBYTE)envp_global->reg.sp+14,(UINT)hdc); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GenericIF.c -o GenericIF.o GenericIF.c: In function 'IT_1H': GenericIF.c:133:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+4)); ^ GenericIF.c:134:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:135:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_2H': GenericIF.c:264:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+6),(HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c:264:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+6),(HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H1W': GenericIF.c:287:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_1H1UI': GenericIF.c:299:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_1UI1H': GenericIF.c:311:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H1I': GenericIF.c:322:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_1H1D': GenericIF.c:394:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H1LP': GenericIF.c:461:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+8)); ^ GenericIF.c:462:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:463:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1LP1H': GenericIF.c:479:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+4)); ^ GenericIF.c:480:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:481:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1H1LPP': GenericIF.c:513:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&pt); ^ GenericIF.c:517:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),(LPPOINT)NULL); ^ GenericIF.c: In function 'IT_1H1LPSZ': GenericIF.c:532:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&sz); ^ GenericIF.c:537:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),(SIZE *)NULL); ^ GenericIF.c: In function 'IT_1H1LPR': GenericIF.c:553:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&rcRect); ^ GenericIF.c:557:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),(LPRECT)NULL); ^ GenericIF.c: In function 'IT_1H1LPRc': GenericIF.c:573:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&rcRect); ^ GenericIF.c:576:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),(LPRECT)NULL); ^ GenericIF.c: In function 'IT_3H': GenericIF.c:624:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c:625:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c:626:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H2UI': GenericIF.c:663:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H2I': GenericIF.c:676:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_2H1I': GenericIF.c:689:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c:690:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_2H1D': GenericIF.c:702:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:703:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H1I1UI': GenericIF.c:715:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H1I1W': GenericIF.c:728:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H1D1UI': GenericIF.c:741:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1L1I': GenericIF.c:754:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H2L': GenericIF.c:780:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1LP1H': GenericIF.c:864:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:866:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H1LP1W': GenericIF.c:879:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1LP1I': GenericIF.c:894:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1I1LP': GenericIF.c:924:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1L1LPB': GenericIF.c:1020:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1LPR1I': GenericIF.c:1037:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1043:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1LPR1UI': GenericIF.c:1060:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1066:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1LPRc1H': GenericIF.c:1083:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1085:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H1LPRc1I': GenericIF.c:1105:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H1LPRc1UI': GenericIF.c:1127:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H3I': GenericIF.c:1211:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_2H2UI': GenericIF.c:1225:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1226:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_2H2I': GenericIF.c:1239:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1240:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_3H1I': GenericIF.c:1253:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1254:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c:1255:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_1H2I1H': GenericIF.c:1267:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1270:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H1I1UI1I': GenericIF.c:1281:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c: In function 'IT_1H2I1D': GenericIF.c:1295:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1I2LPI': GenericIF.c:1313:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H1UI2L': GenericIF.c:1328:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H1I1LP1I': GenericIF.c:1344:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1I1LPI1I': GenericIF.c:1361:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1LP2I': GenericIF.c:1379:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1LP2I1UI': GenericIF.c:1395:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H1UI1LP1I': GenericIF.c:1412:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+12)); ^ GenericIF.c:1413:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:1414:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1H1LP1UI1D': GenericIF.c:1433:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H2LP1UI': GenericIF.c:1450:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_2LP1UI1H': GenericIF.c:1486:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_2LP1H': GenericIF.c:1502:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H2LP1H': GenericIF.c:1516:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c:1519:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H2LP': GenericIF.c:1532:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+12)); ^ GenericIF.c:1533:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:1534:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1H2I1LPP': GenericIF.c:1590:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c:1597:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H1LP1I1LPSZ': GenericIF.c:1616:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H1LPRc1H1UI': GenericIF.c:1641:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c:1643:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c: In function 'IT_1H4I': GenericIF.c:1689:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_3H2I': GenericIF.c:1704:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c:1705:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ GenericIF.c:1706:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_1H2UI2H': GenericIF.c:1719:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c:1722:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ GenericIF.c:1723:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+4)); ^ GenericIF.c: In function 'IT_1H2I1D1UI': GenericIF.c:1734:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_2H1UI1W1L': GenericIF.c:1749:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c:1750:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1D1H1UI2L': GenericIF.c:1765:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H1UI1LP2UI': GenericIF.c:1798:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H2I2LPRc': GenericIF.c:1849:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c: In function 'IT_1H1LPRc2I1D': GenericIF.c:1873:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c: In function 'IT_1H5I': GenericIF.c:1904:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H4I1D': GenericIF.c:1920:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c: In function 'IT_1H2I1LPSZ': GenericIF.c:1992:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c:1999:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ GenericIF.c: In function 'IT_1H4I1LPSZ': GenericIF.c:2018:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c:2027:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c: In function 'IT_1H6I': GenericIF.c:2043:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c: In function 'IT_2H4I1UI': GenericIF.c:2060:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c:2061:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H2I2B2LPB': GenericIF.c:2079:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+20)); ^ GenericIF.c:2080:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:2081:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1H4I2LPB': GenericIF.c:2106:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)(GETWORD(SP+20)); ^ GenericIF.c:2107:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from GenericIF.c:41:0: GenericIF.c:2108:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ GenericIF.c: In function 'IT_1H1UI3I1H1LPRc': GenericIF.c:2140:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+18), ^ GenericIF.c:2145:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ GenericIF.c: In function 'IT_3H4I1UI': GenericIF.c:2157:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+18), ^ GenericIF.c:2158:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+16), ^ GenericIF.c:2159:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+14), ^ GenericIF.c: In function 'IT_1H8I': GenericIF.c:2175:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+20), ^ GenericIF.c: In function 'IT_SHELLEXECUTE': GenericIF.c:2201:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HANDLE)(UINT)GETWORD(SP+22); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SpecialIF.c -o SpecialIF.o In file included from SpecialIF.c:36:0: SpecialIF.c: In function 'IT_CRBRUSHIND': SpecialIF.c:224:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:225:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEPAL': SpecialIF.c:288:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:289:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_1LPUI1I': SpecialIF.c:316:8: warning: variable 'lpUint' set but not used [-Wunused-but-set-variable] UINT *lpUint; ^ SpecialIF.c: In function 'IT_1H1LPPS': SpecialIF.c:340:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&ps); ^ In file included from SpecialIF.c:42:0: SpecialIF.c:341:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)ps.hdc); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:341:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)ps.hdc); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_1H1LPPSc': SpecialIF.c:363:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ps.hdc = (HDC)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:372:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&ps); ^ SpecialIF.c: In function 'IT_1H1LPTM': SpecialIF.c:386:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&tm); ^ SpecialIF.c: In function 'IT_1H1LPWP': SpecialIF.c:413:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&wp); ^ SpecialIF.c: In function 'IT_1H1LPWPc': SpecialIF.c:438:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&wp); ^ SpecialIF.c: In function 'IT_ENUMPROPS': SpecialIF.c:452:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),dwProc); ^ SpecialIF.c: In function 'IT_ENUMCHILDWIN': SpecialIF.c:510:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = EnumChildWindows((HWND)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_ENUMFONTS': SpecialIF.c:547:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ SpecialIF.c: In function 'IT_GETCLASSINFO': SpecialIF.c:570:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hInstance = (HINSTANCE)(UINT)GETWORD(lpStruct+10); ^ SpecialIF.c:571:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hIcon = (HICON)(UINT)GETWORD(lpStruct+12); ^ SpecialIF.c:572:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hCursor = (HCURSOR)(UINT)GETWORD(lpStruct+14); ^ SpecialIF.c:573:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hbrBackground = (HBRUSH)(UINT)GETWORD(lpStruct+16); ^ In file included from SpecialIF.c:42:0: SpecialIF.c:587:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+12,(UINT)wc.hIcon); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:587:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+12,(UINT)wc.hIcon); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c:588:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+14,(UINT)wc.hCursor); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:588:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+14,(UINT)wc.hCursor); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c:589:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+16,(UINT)wc.hbrBackground); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:589:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+16,(UINT)wc.hbrBackground); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_INSERTMENU': SpecialIF.c:611:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ SpecialIF.c:618:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_APPENDMENU': SpecialIF.c:638:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:644:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_2H1LPP1UI': SpecialIF.c:669:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = f((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:670:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ SpecialIF.c:677:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = f((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:678:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ SpecialIF.c:693:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = f((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:694:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ In file included from SpecialIF.c:42:0: SpecialIF.c: In function 'IT_QUERYSENDMSG': SpecialIF.c:717:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:717:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_GETMESSAGE': SpecialIF.c:737:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ SpecialIF.c: In function 'IT_SETTIMER': SpecialIF.c:757:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_ENUMOBJECTS': SpecialIF.c:778:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hDC = (HDC)(UINT)GETWORD(SP+14); ^ SpecialIF.c: In function 'IT_DIALOG': SpecialIF.c:810:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ SpecialIF.c: In function 'IT_DLGPARAM': SpecialIF.c:832:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_GRAYSTRING': SpecialIF.c:871:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+24), ^ SpecialIF.c:872:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+22), ^ SpecialIF.c: In function 'IT_DISPATCHMSG': SpecialIF.c:897:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ SpecialIF.c: In function 'IT_TRANSLATEMSG': SpecialIF.c:944:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ SpecialIF.c: In function 'IT_ISDIALOGMSG': SpecialIF.c:970:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:999:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&msg); ^ SpecialIF.c: In function 'IT_TRANSLATEMDISYSACCEL': SpecialIF.c:1015:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:1020:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&msg); ^ In file included from SpecialIF.c:42:0: SpecialIF.c:1021:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:1021:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_CALLMSGFILTER': SpecialIF.c:1043:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ In file included from SpecialIF.c:42:0: SpecialIF.c:1050:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:1050:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_TRANSLATEACCEL': SpecialIF.c:1072:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HANDLE)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:1078:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ In file included from SpecialIF.c:42:0: SpecialIF.c:1081:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:1081:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct,(UINT)msg.hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_SENDMESSAGE': SpecialIF.c:1111:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HWND)(UINT)GETWORD(SP+12),WM_CONVERT, ^ SpecialIF.c: In function 'IT_SENDDLGITEMMSG': SpecialIF.c:1158:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HWND)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_PEEKMESSAGE': SpecialIF.c:1178:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ SpecialIF.c: In function 'IT_CALLWINPROC': SpecialIF.c:1209:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GETWORD(SP+12); ^ SpecialIF.c: In function 'IT_CREATEDIBM': SpecialIF.c:1250:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = CreateDIBitmap((HANDLE)(UINT)GETWORD(SP+22), ^ In file included from SpecialIF.c:36:0: SpecialIF.c:1258:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1259:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEDIBPB': SpecialIF.c:1278:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1279:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEDLGIN': SpecialIF.c:1299:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ In file included from SpecialIF.c:36:0: SpecialIF.c:1304:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1305:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEDLGIP': SpecialIF.c:1325:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ In file included from SpecialIF.c:36:0: SpecialIF.c:1331:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1332:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_DLGBOXIN': SpecialIF.c:1352:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GETWORD(SP+8); ^ SpecialIF.c: In function 'IT_DLGBOXIP': SpecialIF.c:1397:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GETWORD(SP+12); ^ SpecialIF.c: In function 'IT_CREATEWIN': SpecialIF.c:1495:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ccs.hWindowMenu = (HMENU)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:1516:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:1517:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ In file included from SpecialIF.c:36:0: SpecialIF.c:1521:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1522:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEWINEX': SpecialIF.c:1553:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ccs.hWindowMenu = (HMENU)(UINT)GETWORD(lpStruct); ^ SpecialIF.c:1575:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c:1576:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ In file included from SpecialIF.c:36:0: SpecialIF.c:1580:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:1581:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_DRAWTEXT': SpecialIF.c:1597:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ SpecialIF.c: In function 'IT_EXTTEXTOUT': SpecialIF.c:1631:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+24), ^ SpecialIF.c: In function 'IT_GETCHARWID': SpecialIF.c:1659:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetCharWidth((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_GETCHARABC': SpecialIF.c:1685:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetCharABCWidths((HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_GETKERNPAIRS': SpecialIF.c:1711:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetKerningPairs((HDC)(UINT)GETWORD(SP+10),cPairs,0); ^ SpecialIF.c:1718:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetKerningPairs((HDC)(UINT)GETWORD(SP+10),cPairs,lpKrnPair); ^ SpecialIF.c: In function 'IT_SCROLLDC': SpecialIF.c:1760:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+22), ^ SpecialIF.c:1765:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+8), ^ SpecialIF.c: In function 'IT_SCROLLWINEX': SpecialIF.c:1799:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+24), ^ SpecialIF.c:1804:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+10), ^ SpecialIF.c: In function 'IT_STRETCHDIBITS': SpecialIF.c:1829:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = StretchDIBits((HANDLE)(UINT)GETWORD(SP+34), ^ SpecialIF.c: In function 'IT_TEXTOUT': SpecialIF.c:1857:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_TABTEXTOUT': SpecialIF.c:1882:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+22), ^ SpecialIF.c: In function 'IT_GETTABBEDTEXTEXT': SpecialIF.c:1910:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+16), ^ SpecialIF.c: In function 'IT_SETDIBTD': SpecialIF.c:1934:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetDIBitsToDevice((HANDLE)(UINT)GETWORD(SP+30), ^ SpecialIF.c: In function 'IT_SETDIBITS': SpecialIF.c:1967:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+20), ^ SpecialIF.c:1968:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+18), ^ SpecialIF.c: In function 'IT_GETDIBITS': SpecialIF.c:1996:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+20), ^ SpecialIF.c:1997:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+18), ^ SpecialIF.c: In function 'IT_REGCLASS': SpecialIF.c:2035:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hIcon = (HANDLE)(UINT)GETWORD(lpStruct+12); ^ SpecialIF.c:2036:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hCursor = (HANDLE)(UINT)GETWORD(lpStruct+14); ^ SpecialIF.c:2037:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hbrBackground = (HANDLE)(UINT)GETWORD(lpStruct+16); ^ SpecialIF.c: In function 'IT_REGCLASSEX': SpecialIF.c:2081:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hIcon = (HANDLE)(UINT)GETWORD(lpStruct+18); ^ SpecialIF.c:2082:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hCursor = (HANDLE)(UINT)GETWORD(lpStruct+20); ^ SpecialIF.c:2083:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hbrBackground = (HANDLE)(UINT)GETWORD(lpStruct+22); ^ SpecialIF.c:2088:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wc.hIconSm = (HANDLE)(UINT)GETWORD(lpStruct+32); ^ SpecialIF.c: In function 'IT_GWLONG': SpecialIF.c:2257:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HANDLE)(UINT)GETWORD(SP+6); ^ SpecialIF.c: In function 'IT_SWLONG': SpecialIF.c:2279:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HANDLE)(UINT)GETWORD(SP+10); ^ SpecialIF.c: In function 'IT_GCWORD': SpecialIF.c:2320:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetClassLong((HWND)(UINT)GETWORD(SP+6),nOffset); ^ SpecialIF.c:2323:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = GetClassWord((HWND)(UINT)GETWORD(SP+6),nOffset); ^ SpecialIF.c: In function 'IT_SCWORD': SpecialIF.c:2360:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wVal = (WORD)(UINT)GetModuleFromInstance(GetSelectorHandle(wVal)); ^ SpecialIF.c:2369:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetClassLong((HWND)(UINT)GETWORD(SP+8), nOffset, wVal); ^ SpecialIF.c:2372:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetClassWord((HWND)(UINT)GETWORD(SP+8), nOffset, wVal); ^ SpecialIF.c: In function 'IT_GCLONG': SpecialIF.c:2385:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GETWORD(SP+6); ^ SpecialIF.c: In function 'IT_SCLONG': SpecialIF.c:2405:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HWND)(UINT)GETWORD(SP+10); ^ SpecialIF.c: In function 'IT_1H1LPPA1I': SpecialIF.c:2442:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+10), ^ SpecialIF.c: In function 'IT_POLY': SpecialIF.c:2462:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (DWORD)(f)((HDC)(UINT)GETWORD(SP+10), ^ SpecialIF.c: In function 'IT_POLYPOLY': SpecialIF.c:2490:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (DWORD)PolyPolygon((HDC)(UINT)GETWORD(SP+14), ^ In file included from SpecialIF.c:36:0: SpecialIF.c: In function 'IT_CREATEPOLYRGN': SpecialIF.c:2517:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:2518:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CREATEPOLYPOLYRGN': SpecialIF.c:2546:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:2547:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_GETOBJECT': SpecialIF.c:2692:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] handle = (HGDIOBJ)(UINT)GETWORD(SP+10); ^ SpecialIF.c:2700:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((HGDIOBJ)(UINT)GETWORD(SP+10), ^ SpecialIF.c:2720:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((HGDIOBJ)(UINT)GETWORD(SP+10), ^ SpecialIF.c:2740:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((HGDIOBJ)(UINT)GETWORD(SP+10), ^ SpecialIF.c:2749:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((HGDIOBJ)(UINT)GETWORD(SP+10), ^ SpecialIF.c:2785:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((HGDIOBJ)(UINT)GETWORD(SP+10), ^ SpecialIF.c: In function 'IT_PLAYMETAREC': SpecialIF.c:2803:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (f)((HDC)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_DEFFRAMEPROC': SpecialIF.c:3077:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HWND)(UINT)GETWORD(SP+14), ^ SpecialIF.c:3078:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HWND)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_SETPALENTRIES': SpecialIF.c:3213:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HPALETTE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_GETPALENTRIES': SpecialIF.c:3229:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HGDIOBJ)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_LOADLIBRARY': SpecialIF.c:3269:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((UINT)retcode > 32) ^ SpecialIF.c:3270:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (HINSTANCE)(UINT)GetDataSelectorFromInstance(retcode); ^ In file included from SpecialIF.c:36:0: SpecialIF.c:3272:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:3273:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_WRITEPRIVPRSTR': SpecialIF.c:3356:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wsprintf(WriteBuf,"%d",(int) lpString3); ^ SpecialIF.c: In function 'IT_SYSPARAMINFO': SpecialIF.c:3374:9: warning: variable 'lpvParam' set but not used [-Wunused-but-set-variable] LPVOID lpvParam; ^ In file included from SpecialIF.c:36:0: SpecialIF.c: In function 'IT_WINFROMPT': SpecialIF.c:3593:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:3594:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_CHWINFROMPT': SpecialIF.c:3604:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = ChildWindowFromPoint((HANDLE)(UINT)GETWORD(SP+8),pt); ^ In file included from SpecialIF.c:36:0: SpecialIF.c:3606:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:3607:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_LREADWR': SpecialIF.c:3635:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] handle = (HANDLE)(UINT)GETWORD(SP+10); ^ SpecialIF.c: In function 'IT_HREADWR': SpecialIF.c:3654:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] handle = (HANDLE)(UINT)GETWORD(SP+12); ^ In file included from SpecialIF.c:42:0: SpecialIF.c: In function 'GetMODULEENTRY': SpecialIF.c:3762:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpme->hModule); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ SpecialIF.c:3762:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpme->hModule); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ SpecialIF.c: In function 'IT_GETWINTASK': SpecialIF.c:3793:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hTask = GetWindowTask((HWND)(UINT)GETWORD(SP+4)); ^ SpecialIF.c: In function 'IT_BITBLT': SpecialIF.c:3821:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+22), ^ SpecialIF.c:3826:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+12), ^ SpecialIF.c: In function 'IT_STRETCHBLT': SpecialIF.c:3840:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+26), ^ SpecialIF.c:3845:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+16), ^ SpecialIF.c: In function 'IT_DLGDIRLIST': SpecialIF.c:3863:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_GETMENUSTRING': SpecialIF.c:3880:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+14), ^ SpecialIF.c: In function 'IT_WINHELP': SpecialIF.c:3916:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HWND)(UINT)GETWORD(SP+14); ^ SpecialIF.c: In function 'IT_GETWINDOWWORD': SpecialIF.c:3970:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (HINSTANCE)GetWindowLong((HWND)(UINT)GETWORD(SP+6), nOffset); ^ SpecialIF.c:3973:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (HINSTANCE)(UINT)GetWindowWord((HWND)(UINT)GETWORD(SP+6), nOffset); ^ SpecialIF.c:3973:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (HINSTANCE)(UINT)GetWindowWord((HWND)(UINT)GETWORD(SP+6), nOffset); ^ SpecialIF.c:3981:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (HINSTANCE)(UINT)GetDataSelectorFromInstance(retcode); ^ In file included from SpecialIF.c:36:0: SpecialIF.c:3984:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ SpecialIF.c:3985:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ SpecialIF.c: In function 'IT_SETWINDOWWORD': SpecialIF.c:4004:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wVal = (WORD)(UINT)GetSelectorHandle(wVal); ^ SpecialIF.c:4010:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetWindowLong((HWND)(UINT)GETWORD(SP+8), nOffset, wVal); ^ SpecialIF.c:4013:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetWindowWord((HWND)(UINT)GETWORD(SP+8), nOffset, wVal); ^ SpecialIF.c: In function 'IT_CALCCHILDSCROLL': SpecialIF.c:4055:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HWND)(UINT)GETWORD(SP+6); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c HookIF.c -o HookIF.o In file included from HookIF.c:31:0: HookIF.c: In function 'IT_SETWINDOWSHOOKEX': HookIF.c:146:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ HookIF.c:147:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ HookIF.c: In function 'GetHookParam': HookIF.c:239:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HWND)(UINT)GETWORD(lpData); ^ HookIF.c:249:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] mhs.hwnd = (HWND)(UINT)GETWORD(lpData+4); ^ HookIF.c:261:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hMenu = (HANDLE)(UINT)GETWORD(lpStruct+6); ^ HookIF.c:262:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cs.hwndParent = (HANDLE)(UINT)GETWORD(lpStruct+8); ^ HookIF.c:284:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ccs.hWindowMenu = (HANDLE)(UINT)GETWORD(lpStruct); ^ HookIF.c:291:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cbtcs.hwndInsertAfter = (HWND)(UINT)GETWORD(lpData+4); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MemoryIF.c -o MemoryIF.o In file included from MemoryIF.c:31:0: MemoryIF.c: In function 'IT_LOCALALLOC': MemoryIF.c:104:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ MemoryIF.c:105:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ MemoryIF.c: In function 'IT_LOCALREALLOC': MemoryIF.c:113:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = TWIN_LocalReAlloc((HANDLE)(UINT)GETWORD(SP+8), ^ In file included from MemoryIF.c:31:0: MemoryIF.c:117:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = LOWORD((UINT)retcode); ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ MemoryIF.c:118:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.dx = HIWORD((UINT)retcode); ^ ../include/windows.h:140:43: note: in definition of macro 'HIWORD' #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) ^ MemoryIF.c: In function 'IT_GLOBALALLOC': MemoryIF.c:142:8: warning: variable 'dwMemSize' set but not used [-Wunused-but-set-variable] DWORD dwMemSize; ^ MemoryIF.c: In function 'IT_GLOBALLOCK': MemoryIF.c:233:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hModule = GetModuleFromInstance((HINSTANCE)(UINT)wSel))) { ^ MemoryIF.c:235:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((wSel = GetDataSelectorFromInstance((HINSTANCE)(UINT)wSel))) { ^ MemoryIF.c:223:11: warning: variable 'memflags' set but not used [-Wunused-but-set-variable] UINT memflags; ^ MemoryIF.c: In function 'IT_GLOBALSIZE': MemoryIF.c:359:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((UINT)hGlobal == wSel) { ^ MemoryIF.c: In function 'IT_LOADRESOURCE': MemoryIF.c:415:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hGlobal = LoadResource(hInst, (HRSRC)(UINT)GETWORD(SP+4)); ^ MemoryIF.c: In function 'IT_ACCESSRESOURCE': MemoryIF.c:524:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HRSRC)(UINT)GETWORD(SP+4)); ^ MemoryIF.c: In function 'IT_SIZEOFRESOURCE': MemoryIF.c:541:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hrsrc = (HRSRC)(UINT)GETWORD(SP+4); ^ MemoryIF.c:535:12: warning: variable 'hInst' set but not used [-Wunused-but-set-variable] HINSTANCE hInst; ^ MemoryIF.c: In function 'IT_GETCLIPBDATA': MemoryIF.c:575:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = (REGISTER)(UINT)hGlobal; ^ MemoryIF.c: In function 'IT_SETCLIPBDATA': MemoryIF.c:610:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] envp->reg.ax = (REGISTER)(UINT)hGlobal; ^ MemoryIF.c: In function '_86_GlobalUnfix': MemoryIF.c:896:11: warning: variable 'retcode' set but not used [-Wunused-but-set-variable] DWORD retcode; ^ MemoryIF.c: In function 'IT_PLAYMETAFILE': MemoryIF.c:915:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hDC = (HDC)(UINT)GETWORD(SP+6); ^ MemoryIF.c: In function 'IT_CLOSEMF': MemoryIF.c:961:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hMF = CloseMetaFile((HDC)(UINT)GETWORD(SP+4)); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrintIF.c -o PrintIF.o PrintIF.c: In function 'IT_DEVICEMODE': PrintIF.c:69:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GETWORD(SP+14); ^ PrintIF.c: In function 'IT_EXTDEVICEMODE': PrintIF.c:101:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (DWORD)(f)((HWND)(UINT)GETWORD(SP+28), ^ PrintIF.c:102:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+26), ^ PrintIF.c: In function 'IT_RESETDC': PrintIF.c:211:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),lpdm); ^ PrintIF.c: In function 'IT_GETDRVINFO': PrintIF.c:227:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)((HANDLE)(UINT)GETWORD(SP+8),&dr); ^ In file included from PrintIF.c:37:0: PrintIF.c:229:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+2,(UINT)dr.hDriver); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ PrintIF.c:229:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+2,(UINT)dr.hDriver); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ PrintIF.c:230:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+4,(UINT)dr.hModule); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ PrintIF.c:230:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+4,(UINT)dr.hModule); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ PrintIF.c: In function 'IT_ESCAPE': PrintIF.c:300:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:309:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:315:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:327:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:332:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:342:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:347:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:354:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:363:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:368:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:378:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:384:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:390:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:407:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:412:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:420:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HDC)(UINT)GETWORD(SP+16), nEscape, int1, ^ PrintIF.c:427:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HDC)(UINT)GETWORD(SP+16), nEscape, ^ PrintIF.c:471:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HANDLE)(UINT)GETWORD(SP+16), ^ PrintIF.c:500:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = Escape((HDC)(UINT)GETWORD(SP+16), ^ PrintIF.c: In function 'IT_SETABORTPROC': PrintIF.c:521:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = SetAbortProc((HDC)(UINT)GETWORD(SP + 8), (ABORTPROC)dwProc); ^ PrintIF.c: In function 'IT_STARTDOC': PrintIF.c:538:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = StartDoc((HDC)(UINT)GETWORD(SP + 8), &di); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrinterBin.c -o PrinterBin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommIF.c -o CommIF.o CommIF.c: In function 'IT_1I1H2I': CommIF.c:255:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rc = f(GETSHORT(SP+10), (HWND)(UINT)GETWORD(SP+8), GETWORD(SP+6), ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c BitmapBin.c -o BitmapBin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OEMRoutines.c -o OEMRoutines.o OEMRoutines.c: In function 'AddOEMTable': OEMRoutines.c:110:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)lpModTab; ^ In file included from OEMRoutines.c:40:0: OEMRoutines.c: In function 'cnb_ExtDeviceMode': OEMRoutines.c:223:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+24,(UINT)hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:223:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+24,(UINT)hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_AdvancedSetupDialog': OEMRoutines.c:274:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+10, (UINT)hwnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:274:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+10, (UINT)hwnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_DeviceMode': OEMRoutines.c:554:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+10,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:554:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpSP+10,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_Control': OEMRoutines.c:842:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hDC = (HDC)(UINT)GETWORD(lpInData); ^ In file included from OEMRoutines.c:40:0: OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassCtl': OEMRoutines.c:2005:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:2005:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassDlg': OEMRoutines.c:2015:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+2,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:2015:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+2,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassDlgEx': OEMRoutines.c:2025:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+4,(UINT)hWnd); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:2025:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+4,(UINT)hWnd); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dCtlColor': OEMRoutines.c:2035:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+4,(UINT)hDC); ^ ../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ OEMRoutines.c:2035:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(envp_global->reg.sp+4,(UINT)hDC); ^ ../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OEMTab.c -o OEMTab.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c make_thunk.c -o make_thunk.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c invoke_binary.c -o invoke_binary.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ValidateModule.c -o ValidateModule.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KrnCatch.c -o KrnCatch.o ar rc libbin16.a LocalMem.o ConvertMsg.o Callback.o GenericIF.o SpecialIF.o HookIF.o MemoryIF.o PrintIF.o PrinterBin.o CommIF.o BitmapBin.o OEMRoutines.o OEMTab.o make_thunk.o invoke_binary.o ValidateModule.o KrnCatch.o ranlib libbin16.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/if1632' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/memory' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c virtual.c -o virtual.o virtual.c: In function 'VirtualAlloc': virtual.c:306:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] base = (void *)(((UINT)addr + granularity_mask) & ~granularity_mask); ^ virtual.c:306:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] base = (void *)(((UINT)addr + granularity_mask) & ~granularity_mask); ^ virtual.c:308:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] base = (void *)((UINT)(addr) & ~page_mask); ^ virtual.c:308:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] base = (void *)((UINT)(addr) & ~page_mask); ^ virtual.c:310:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] isize = (((UINT)addr + size + page_mask) & ~page_mask) - (UINT)base; ^ virtual.c:310:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] isize = (((UINT)addr + size + page_mask) & ~page_mask) - (UINT)base; ^ virtual.c: In function 'VirtualFree': virtual.c:474:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] limit = (int)addr + dwSize; ^ virtual.c:469:10: warning: variable 'limit' set but not used [-Wunused-but-set-variable] int limit; ^ virtual.c: In function 'VirtualQuery': virtual.c:656:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpAddress = (void *)((UINT)(lpAddress) & ~page_mask); ^ virtual.c:656:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpAddress = (void *)((UINT)(lpAddress) & ~page_mask); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c heap.c -o heap.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c memory.c -o memory.o memory.c:103:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] realloc ^ memory.c:103:2: note: (near initialization for 'basic.realloc') memory.c: In function 'WinMalloc': memory.c:118:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size,lpCore,(int)lpCore + dwSize); ^ ar rc libmemory.a virtual.o heap.o memory.o ranlib libmemory.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/memory' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/msdos' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_int86.c -o dos_int86.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_call.c -o dos_call.o dos_call.c: In function 'xdoscall': dos_call.c:72:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return mfs_config(XMFS_CFG_NFILES,1L,0L,(DWORD)(LPVOID)flag); ^ dos_call.c:43:10: warning: variable 'lp' set but not used [-Wunused-but-set-variable] ENV *lp; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_create.c -o dos_create.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_date.c -o dos_date.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_error.c -o dos_error.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_timer.c -o dos_timer.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c dos_findfile.c -o dos_findfile.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_21.c -o int_21.o int_21.c: In function 'do_FCBfindfile': int_21.c:99:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(ff_dta+0x1e, ".") == 0) ^ In file included from int_21.c:33:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'BYTE * {aka unsigned char *}' int strcmp(const char *, const char *); ^ int_21.c:101:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp(ff_dta+0x1e, "..") == 0) ^ In file included from int_21.c:33:0: /usr/include/string.h:56:6: note: expected 'const char *' but argument is of type 'BYTE * {aka unsigned char *}' int strcmp(const char *, const char *); ^ int_21.c: In function 'int_21': int_21.c:135:20: warning: variable 'lpTaskInfo' set but not used [-Wunused-but-set-variable] TASKINFO *lpTaskInfo; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fn_36.c -o fn_36.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fn_38.c -o fn_38.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_10.c -o int_10.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_11.c -o int_11.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_12.c -o int_12.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_13.c -o int_13.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_15.c -o int_15.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_1a.c -o int_1a.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_25.c -o int_25.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_2a.c -o int_2a.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_2f.c -o int_2f.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_31.c -o int_31.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_3d.c -o int_3d.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c int_5c.c -o int_5c.o int_5c.c: In function 'int_5c': int_5c.c:43:6: warning: variable 'func' set but not used [-Wunused-but-set-variable] int func; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mfs_config.c -o mfs_config.o mfs_config.c: In function 'mfs_config': mfs_config.c:137:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xdos.nfiles = (int)lpvParam2; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mfs_fileio.c -o mfs_fileio.o mfs_fileio.c: In function 'mfs_opencreate': mfs_fileio.c:313:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] result = mfs_create((int)filename, mode, 0, 0); ^ mfs_fileio.c: In function 'mfs_seek': mfs_fileio.c:655:7: warning: variable 'curloc' set but not used [-Wunused-but-set-variable] long curloc; ^ mfs_fileio.c: In function 'mfs_ioctl': mfs_fileio.c:684:17: warning: variable 'mode' set but not used [-Wunused-but-set-variable] int mode; /* p3 */ ^ mfs_fileio.c: In function 'mfs_fcntl': mfs_fileio.c:791:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] mfs_config(XMFS_CFG_NFILES, 1L, 0L, (DWORD)(LPSTR)lparam); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mfs_findfile.c -o mfs_findfile.o mfs_findfile.c: In function 'mfs_findfirst': mfs_findfile.c:206:13: warning: pointer targets in passing argument 1 of 'set_mask' differ in signedness [-Wpointer-sign] set_mask(dta+0x1, filename); ^ mfs_findfile.c:111:1: note: expected 'char *' but argument is of type 'LPBYTE {aka unsigned char *}' set_mask(char buffer[], char *filename) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mfs_regexp.c -o mfs_regexp.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c msclib.c -o msclib.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mfs_core.c -o mfs_core.o mfs_core.c: In function 'mfs_copy': mfs_core.c:436:9: warning: variable 'existFail' set but not used [-Wunused-but-set-variable] BOOL existFail; /* p3 */ ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fat_core.c -o fat_core.o fat_core.c: In function 'fat_mkdir': fat_core.c:222:7: warning: variable 'mode' set but not used [-Wunused-but-set-variable] int mode; ^ fat_core.c: In function 'fat_chdir': fat_core.c:283:18: warning: variable 'Tail' set but not used [-Wunused-but-set-variable] char *Tail; ^ fat_core.c: In function 'fat_getcwd': fat_core.c:329:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ fat_core.c: In function 'fat_readdir': fat_core.c:394:11: warning: variable 'dirp' set but not used [-Wunused-but-set-variable] int dirp; /* p1 */ ^ fat_core.c: In function 'fat_closedir': fat_core.c:419:7: warning: variable 'dirp' set but not used [-Wunused-but-set-variable] int dirp; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fat_fileio.c -o fat_fileio.o fat_fileio.c: In function 'fat_flush': fat_fileio.c:232:8: warning: variable 'handle' set but not used [-Wunused-but-set-variable] int handle; /* p1 */ ^ fat_fileio.c: In function 'fat_ioctl': fat_fileio.c:397:17: warning: variable 'mode' set but not used [-Wunused-but-set-variable] int mode; /* p3 */ ^ fat_fileio.c: In function 'fat_fcntl': fat_fileio.c:484:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] mfs_config(XMFS_CFG_NFILES, 1L, 0L, (DWORD)(LPSTR)lparam); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fat_findfile.c -o fat_findfile.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c fat_lib.c -o fat_lib.o fat_lib.c: In function 'DiskInit': fat_lib.c:475:8: warning: variable 'LittleEndian' set but not used [-Wunused-but-set-variable] short LittleEndian; ^ fat_lib.c:474:6: warning: variable 'CurStartCluster' set but not used [-Wunused-but-set-variable] int CurStartCluster; ^ fat_lib.c: In function 'TheSameDisk': fat_lib.c:526:1: warning: type of 'DiskHandle' defaults to 'int' [-Wimplicit-int] TheSameDisk(DiskHandle) ^ ar rc libmsdos.a dos_int86.o dos_call.o dos_create.o dos_date.o dos_error.o dos_timer.o dos_findfile.o int_21.o fn_36.o fn_38.o int_10.o int_11.o int_12.o int_13.o int_15.o int_1a.o int_25.o int_2a.o int_2f.o int_31.o int_3d.o int_5c.o mfs_config.o mfs_fileio.o mfs_findfile.o mfs_regexp.o msclib.o mfs_core.o fat_core.o fat_fileio.o fat_findfile.o fat_lib.o ranlib libmsdos.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/msdos' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/osdll' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrvSystem.c -o DrvSystem.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrvTime.c -o DrvTime.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrvDlfcn.c -o DrvDlfcn.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrvFiles.c -o DrvFiles.o ar rc libosdll.a DrvSystem.o DrvTime.o DrvDlfcn.o DrvFiles.o ranlib libosdll.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/osdll' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/scheduler' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Threads.c -o Threads.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Critical.c -o Critical.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Interlock.c -o Interlock.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CreateProcess.c -o CreateProcess.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ThreadLocal.c -o ThreadLocal.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Hotkey.c -o Hotkey.o ar rc libsched.a Threads.o Critical.o Interlock.o CreateProcess.o ThreadLocal.o Hotkey.o ranlib libsched.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/scheduler' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiObjects.c -o GdiObjects.o GdiObjects.c: In function 'CreatePatternBrush': GdiObjects.c:401:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lBrush.lbHatch = (int)hBitmap; ^ GdiObjects.c: In function 'CreateDIBPatternBrush': GdiObjects.c:419:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lBrush.lbHatch = (int)hPacked; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiBitmaps.c -o GdiBitmaps.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiClipping.c -o GdiClipping.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiDC.c -o GdiDC.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiBoundsRect.c -o GdiBoundsRect.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiDCAttr.c -o GdiDCAttr.o GdiDCAttr.c: In function 'GetViewportExtEx': GdiDCAttr.c:803:10: warning: variable 'bRet' set but not used [-Wunused-but-set-variable] BOOL bRet = FALSE; ^ GdiDCAttr.c: In function 'GdiSetMapMode': GdiDCAttr.c:1853:59: warning: variable 'iLogPixelsY' set but not used [-Wunused-but-set-variable] int iHorzSize,iVertSize,iHorzRes,iVertRes,iLogPixelsX,iLogPixelsY; ^ GdiDCAttr.c:1853:47: warning: variable 'iLogPixelsX' set but not used [-Wunused-but-set-variable] int iHorzSize,iVertSize,iHorzRes,iVertRes,iLogPixelsX,iLogPixelsY; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiGraphics.c -o GdiGraphics.o GdiGraphics.c: In function 'BitBltDIBSection': GdiGraphics.c:1006:10: warning: variable 'hDestBitmap' set but not used [-Wunused-but-set-variable] HBITMAP hDestBitmap, hSrcBitmap; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiImages.c -o GdiImages.o GdiImages.c: In function 'FetchDIBits': GdiImages.c:1331:19: warning: variable 'jmax' set but not used [-Wunused-but-set-variable] int imax, jmax; ^ GdiImages.c:1331:13: warning: variable 'imax' set but not used [-Wunused-but-set-variable] int imax, jmax; ^ GdiImages.c:1328:22: warning: variable 'nextptr' set but not used [-Wunused-but-set-variable] LPBYTE thisptr, nextptr; ^ GdiImages.c: In function 'TWIN_LoadHatchBitmap': GdiImages.c:1584:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] LoadBitmap(0,(LPSTR)(HATCH_BASE+nHatchIndex)); ^ GdiImages.c: In function 'GdiCreateBrush': GdiImages.c:1700:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpBrushInfo->lpBrush.lbHatch = (int)hBitmap; ^ GdiImages.c: In function 'GdiDitherColor': GdiImages.c:1819:20: warning: array subscript is above array bounds [-Warray-bounds] lpbmi->bmiColors[1].rgbBlue = 255; ^ GdiImages.c:1818:47: warning: array subscript is above array bounds [-Warray-bounds] lpbmi->bmiColors[1].rgbRed = lpbmi->bmiColors[1].rgbGreen = ^ GdiImages.c:1818:18: warning: array subscript is above array bounds [-Warray-bounds] lpbmi->bmiColors[1].rgbRed = lpbmi->bmiColors[1].rgbGreen = ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiBrute.c -o GdiBrute.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiMath.c -o GdiMath.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiText.c -o GdiText.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiRegions.c -o GdiRegions.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiPrinter.c -o GdiPrinter.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GdiTTEngine.c -o GdiTTEngine.o ar rc libgdi.a GdiObjects.o GdiBitmaps.o GdiClipping.o GdiDC.o GdiBoundsRect.o GdiDCAttr.o GdiGraphics.o GdiImages.o GdiBrute.o GdiMath.o GdiText.o GdiRegions.o GdiPrinter.o GdiTTEngine.o ranlib libgdi.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics/x11drv' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvGraphics.c -o DrvGraphics.o DrvGraphics.c: In function 'DrvGraphicsStretchBlt': DrvGraphics.c:1074:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] lpSrc = imSrc->data + ybits[y] * imSrc->bytes_per_line; ^ DrvGraphics.c:1075:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] lpDest= imDest->data + y * imDest->bytes_per_line; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvImages.c -o DrvImages.o DrvImages.c: In function 'DrvCreateBrush': DrvImages.c:505:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (j = 0, ptr1 = ptr; j < nByteWidthDest; j++) ^ DrvImages.c:509:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] lpData = data; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvDC.c -o DrvDC.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvFloodFill.c -o DrvFloodFill.o DrvFloodFill.c: In function 'DrvExtFloodFill': DrvFloodFill.c:173:6: warning: 'node.FillDir' may be used uninitialized in this function [-Wmaybe-uninitialized] Push( xNewStart, xStart, ((pNode->FillDir == FDUp) ? y+1 : y-1), ^ DrvFloodFill.c:223:15: note: 'node.FillDir' was declared here StackNode node; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvRegions.c -o DrvRegions.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvText.c -o DrvText.o DrvText.c: In function 'DrvParseFont': DrvText.c:929:6: warning: variable 'nCount' set but not used [-Wunused-but-set-variable] int nCount; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvUtils.c -o DrvUtils.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvIPC.c -o DrvIPC.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvInit.c -o DrvInit.o DrvInit.c: In function 'PrivateInitDriver': DrvInit.c:85:10: warning: variable 'type' set but not used [-Wunused-but-set-variable] WORD type, func; ^ DrvInit.c: In function 'TWIN_SystemError': DrvInit.c:211:9: warning: variable 'exitcode' set but not used [-Wunused-but-set-variable] int exitcode = -1; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c RopCodes.c -o RopCodes.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvWindows.c -o DrvWindows.o In file included from DrvWindows.c:33:0: DrvWindows.c: In function 'DrvCreateWindows': DrvWindows.c:420:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (caddr_t)MAKELONG((UINT)lpwcs->hWndClient,(UINT)lpwcs->hWndFrame)); ^ ../../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ DrvWindows.c:420:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (caddr_t)MAKELONG((UINT)lpwcs->hWndClient,(UINT)lpwcs->hWndFrame)); ^ ../../include/windows.h:142:70: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ DrvWindows.c: In function 'DrvStackingOrder': DrvWindows.c:721:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int nFunc = (int)hWndInsertAfter; ^ DrvWindows.c:724:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_TOP: ^ DrvWindows.c:728:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_TOPMOST: ^ DrvWindows.c:736:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_BOTTOM: ^ DrvWindows.c:740:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_NOTOPMOST: ^ DrvWindows.c: In function 'DrvHandleWindowEvents': DrvWindows.c:819:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)HIWORD(dwClientWin); ^ DrvWindows.c:876:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)HIWORD(dwClientWin); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvCursor.c -o DrvCursor.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvWinSock.c -o DrvWinSock.o DrvWinSock.c: In function 'DrvWinsockAccept': DrvWinSock.c:189:65: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if((rc = accept(dwParm1,(struct sockaddr *)TWSock_addr,(int*)dwParm2) < 0 )) ^ In file included from DrvWinSock.c:34:0: /usr/include/sys/socket.h:649:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ DrvWinSock.c:181:9: warning: variable 'Sock' set but not used [-Wunused-but-set-variable] SOCKET Sock; ^ DrvWinSock.c: In function 'DrvWinsockGetPeerName': DrvWinSock.c:237:3: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] (int *)dwParm2); ^ In file included from DrvWinSock.c:34:0: /usr/include/sys/socket.h:653:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ DrvWinSock.c: In function 'DrvWinsockGetSockName': DrvWinSock.c:250:3: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] (int*)dwParm2); ^ In file included from DrvWinSock.c:34:0: /usr/include/sys/socket.h:654:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ DrvWinSock.c: In function 'DrvWinsockGetSockOpt': DrvWinSock.c:299:3: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (int*)dwParm2); ^ In file included from DrvWinSock.c:34:0: /usr/include/sys/socket.h:655:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^ DrvWinSock.c: In function 'DrvWinsockIOCTLSocket': DrvWinSock.c:339:9: warning: variable 'ctlname' set but not used [-Wunused-but-set-variable] char * ctlname; ^ DrvWinSock.c: In function 'DrvWinsockRecvFrom': DrvWinSock.c:415:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (int *)ReadSendData->from_len); ^ In file included from DrvWinSock.c:34:0: /usr/include/sys/socket.h:660:9: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' ssize_t recvfrom(int, void *__restrict, size_t, int, ^ DrvWinSock.c: In function 'DrvWinsockSocket': DrvWinSock.c:535:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (DWORD)socket((int)dwParm1,(int)dwParm2,(int)lpStruct); ^ DrvWinSock.c: In function 'DrvWinsockWSAAsyncSelect': DrvWinSock.c:617:25: warning: variable 'SelectRC' set but not used [-Wunused-but-set-variable] long event, SelectRC; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvColors.c -o DrvColors.o DrvColors.c: In function 'DrvSystemPaletteUse': DrvColors.c:1091:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BOOL bSetSystemPaletteUse = (BOOL)lpParams; ^ DrvColors.c: In function 'DrvMakeVGAPalettePixel': DrvColors.c:1442:15: warning: variable 'pe' set but not used [-Wunused-but-set-variable] PALETTEENTRY pe; ^ DrvColors.c: In function 'CreateDefaultPalette': DrvColors.c:240:31: warning: iteration 1u invokes undefined behavior [-Waggressive-loop-optimizations] u.LogPalette.palPalEntry[i] = DefaultPalette[i]; ^ DrvColors.c:239:2: note: containing loop for (i = 0; i < DefaultPaletteSize; i++) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvEvents.c -o DrvEvents.o DrvEvents.c: In function 'DrvEventsUnblockSelectWait': DrvEvents.c:228:23: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign] 8, PropModeAppend, "", 0); ^ In file included from DrvEvents.c:41:0: /tmp/pkgbuild/emulators/twin/work/.buildlink/include/X11/Xlib.h:2068:12: note: expected 'const unsigned char *' but argument is of type 'char *' extern int XChangeProperty( ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c XICCCM.c -o XICCCM.o XICCCM.c: In function 'InternalICCCM': XICCCM.c:127:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] msg.hwnd = (HWND)(UINT)LOWORD(dwClientWin); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvKeyboard.c -o DrvKeyboard.o DrvKeyboard.c: In function 'DrvInitKeyboard': DrvKeyboard.c:291:2: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ks0 = XKeycodeToKeysym(dp->display,n,KS_UNSHIFTED); ^ In file included from DrvKeyboard.c:35:0: /tmp/pkgbuild/emulators/twin/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ DrvKeyboard.c:292:2: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] ks1 = XKeycodeToKeysym(dp->display,n,KS_SHIFTED); ^ In file included from DrvKeyboard.c:35:0: /tmp/pkgbuild/emulators/twin/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ DrvKeyboard.c: In function 'DrvGetKeyNameText': DrvKeyboard.c:783:5: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(dp->display,HIWORD(lParam),0); ^ In file included from DrvKeyboard.c:35:0: /tmp/pkgbuild/emulators/twin/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c XEvents.c -o XEvents.o XEvents.c: In function 'DriverPrivateEvents': XEvents.c:393:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndFrame = (HWND)(UINT)HIWORD(dwClientWin); ^ XEvents.c:448:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)LOWORD(dwClientWin); ^ XEvents.c:495:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] wp.hwnd = (HWND)(UINT)HIWORD(dwClientWin); ^ XEvents.c:592:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndFrame = (HWND)(UINT)HIWORD(dwClientWin); ^ XEvents.c:595:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LPVOID)(report->type == FocusIn)); ^ XEvents.c:628:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)LOWORD(dwClientWin); ^ XEvents.c:669:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)HIWORD(dwClientWin); ^ XEvents.c: In function 'DrvPrintTree': XEvents.c:703:10: warning: variable 'indent_str' set but not used [-Wunused-but-set-variable] char indent_str[80]; ^ XEvents.c: At top level: XEvents.c:694:13: warning: 'DrvPrintTree' defined but not used [-Wunused-function] static void DrvPrintTree(PRIVATEDISPLAY *dp, Window start) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvConfig.c -o DrvConfig.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/X11R7/include -c DrvPrinting.c -o DrvPrinting.o ar rc libx11.a DrvGraphics.o DrvImages.o DrvDC.o DrvFloodFill.o DrvRegions.o DrvText.o DrvUtils.o DrvIPC.o DrvInit.o RopCodes.o DrvWindows.o DrvCursor.o DrvWinSock.o DrvColors.o DrvEvents.o XICCCM.o DrvKeyboard.o XEvents.o DrvConfig.o DrvPrinting.o ranlib libx11.a gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/graphics/x11drv' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' ../tools/mksrc user32.d user32 USER gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c user32.c -o user32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c user32Bin.c -o user32Bin.o ../tools/mksrc gdi32.d gdi32 GDI gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c gdi32.c -o gdi32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c gdi32Bin.c -o gdi32Bin.o ../tools/mksrc kernel32.d kernel32 KERNEL gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c kernel32.c -o kernel32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c kernel32Bin.c -o kernel32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c FancyRgn.c -o FancyRgn.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WSprintf.c -o WSprintf.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrawText.c -o DrawText.o DrawText.c: In function 'DrawText': DrawText.c:129:9: warning: variable 'TabStops' set but not used [-Wunused-but-set-variable] int TabStops = 8; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Dither.c -o Dither.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Caret.c -o Caret.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Palette.c -o Palette.o In file included from Palette.c:35:0: Palette.c: In function 'SelectPalette': GdiDC.h:147:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (DWORD)(dw),(LPLSDS_PARAMS)(lp))) ^ Palette.c:114:27: note: in expansion of macro 'DC_OUTPUT' hOldPalette = (HPALETTE) DC_OUTPUT(LSD_SELECTPALETTE, hDC32, hPalette, ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MapMode.c -o MapMode.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ConvertArray.c -o ConvertArray.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DisplayDC.c -o DisplayDC.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DisplayGraphics.c -o DisplayGraphics.o DisplayGraphics.c: In function 'lsd_display_selectpal': DisplayGraphics.c:510:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BOOL fPalBack = (BOOL)lpStruct; ^ DisplayGraphics.c: In function 'lsd_display_systempaletteuse': DisplayGraphics.c:1705:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BOOL bSetSystemPaletteUse = (BOOL) lpParams; ^ In file included from DisplayGraphics.c:41:0: DisplayGraphics.c:1724:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LPVOID) bSetSystemPaletteUse); ^ Driver.h:400:38: note: in definition of macro 'DRVCALL_COLORS' (DWORD)(dw1),(DWORD)(dw2),(LPVOID)(lpv)) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DisplayObjects.c -o DisplayObjects.o DisplayObjects.c: In function 'GdiSelectBrush': DisplayObjects.c:307:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpBrushInfo->lpBrush.lbHatch = (int)hBitmap; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DisplayText.c -o DisplayText.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DisplayClipping.c -o DisplayClipping.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DeviceData.c -o DeviceData.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LSDevices.c -o LSDevices.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Metafile.c -o Metafile.o Metafile.c: In function 'GetMetaFile': Metafile.c:217:25: warning: variable 'mtSize' set but not used [-Wunused-but-set-variable] DWORD dwPlaceableKey, mtSize; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Metaplay.c -o Metaplay.o In file included from Metaplay.c:37:0: Metaplay.c: In function 'PlayMetaFileRecord': Metaplay.c:299:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:299:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:308:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:308:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:326:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:326:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:344:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:344:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:399:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:399:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:412:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ Metaplay.c:412:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(&lpht->objectHandle[slot],(UINT)hObject); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ Metaplay.c:492:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hRgn = (HRGN)(UINT)GETWORD(&lpht->objectHandle[slot]); ^ Metaplay.c:494:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hBrush = (HBRUSH)(UINT)GETWORD(&lpht->objectHandle[slot]); ^ Metaplay.c:521:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hRgn = (HRGN)(UINT)GETWORD(&lpht->objectHandle[slot]); ^ Metaplay.c:560:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hRgn = (HRGN)(UINT)GETWORD(&lpht->objectHandle[slot]); ^ Metaplay.c:669:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SelectObject(hDC, (HGDIOBJ)(UINT)GETWORD(&lpht->objectHandle[slot])); ^ Metaplay.c:674:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SelectObject(hDC, (HGDIOBJ)(UINT)GETWORD(&lpht->objectHandle[slot])); ^ Metaplay.c:679:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SelectPalette(hDC, (HPALETTE)(UINT)GETWORD(&lpht->objectHandle[slot]),FALSE); ^ Metaplay.c: In function 'MetaDeleteObject': Metaplay.c:1017:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hObject = (HGDIOBJ)(UINT)GETWORD(&lpht->objectHandle[slot]); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MetaGraphics.c -o MetaGraphics.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MetaObjects.c -o MetaObjects.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WImageIO.c -o WImageIO.o WImageIO.c: In function 'W_ILoadImage': WImageIO.c:375:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImageIO.c: In function 'WLoadImage': WImageIO.c:462:16: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WBmp.c -o WBmp.o WBmp.c: In function 'W_IReadDibBitmapInfo': WBmp.c:100:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] bc = *(BITMAPCOREHEADER *)&bi; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DrawFrame.c -o DrawFrame.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrinterGraphics.c -o PrinterGraphics.o PrinterGraphics.c: In function 'lsd_printer_exttextout': PrinterGraphics.c:428:17: warning: variable 'lpfi' set but not used [-Wunused-but-set-variable] LPDFONTINFO lpfi; ^ PrinterGraphics.c: In function 'lsd_printer_getcharwidth': PrinterGraphics.c:466:14: warning: variable 'argptr' set but not used [-Wunused-but-set-variable] LSDS_PARAMS argptr; ^ PrinterGraphics.c: In function 'lsd_printer_systempaletteuse': PrinterGraphics.c:1145:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BOOL bSetSystemPaletteUse = (BOOL) lpParam; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrintManager.c -o PrintManager.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrinterDC.c -o PrinterDC.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Kernel.c -o Kernel.o Kernel.c: In function 'QueueGetMsg': Kernel.c:493:12: warning: variable 'nmsgs' set but not used [-Wunused-but-set-variable] int nmsgs; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Module.c -o Module.o Module.c: In function 'GetModuleHandle': Module.c:222:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return GetModuleFromInstance((HINSTANCE)(UINT)lpszModule); ^ Module.c:222:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return GetModuleFromInstance((HINSTANCE)(UINT)lpszModule); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ObjEngine.c -o ObjEngine.o ObjEngine.c: In function 'AllocateMoreObjects': ObjEngine.c:226:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)((((NextToAllocate & 0xff) << 8) + (Index1 & 0xff)) << 1); ^ ObjEngine.c:231:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] NewListTail->hObj = (HANDLE)((((NextToAllocate & 0xff) << 8) + 255) << 1); ^ ObjEngine.c: In function 'HandleObj': ObjEngine.c:511:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (LPOBJHEAD) (unsigned int)hObj; ^ ObjEngine.c:511:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPOBJHEAD) (unsigned int)hObj; ^ ObjEngine.c:636:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPOBJHEAD)GetHandleErr(16,NULL,(HANDLE)Func,wSignature); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c FileSys.c -o FileSys.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Net.c -o Net.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c System.c -o System.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinHelp.c -o WinHelp.o WinHelp.c: In function 'WinHelpEx': WinHelp.c:223:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:243:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:263:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:283:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:303:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:323:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:343:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:363:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:383:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:403:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:422:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ WinHelp.c:443:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hHelpWnd, WM_WINHELP, (WPARAM) hAppWnd, (LPARAM) hHelpParams ); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KrnAtoms.c -o KrnAtoms.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KrnFileIO.c -o KrnFileIO.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Events.c -o Events.o Events.c: In function 'TWIN_ForwardButtonEvent': Events.c:257:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hWnd,MAKELPARAM(nNCHit,lpMsg->message)); ^ Events.c:279:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)GetTopLevelAncestor(hWnd), ^ Events.c:327:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)GetTopLevelAncestor(hWnd), ^ Events.c:367:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hWnd,MAKELPARAM(nNCHit,lpMsg->message)); ^ Events.c:116:15: warning: variable 'hWndFrame' set but not used [-Wunused-but-set-variable] HWND hWnd,hWndFrame,hWndCapture,hWndAncestor,hWndSibling; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KrnTask.c -o KrnTask.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c File32.c -o File32.o File32.c: In function 'CreateFile': File32.c:125:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (HANDLE)hFile; ^ File32.c:50:8: warning: variable 'fIsFile' set but not used [-Wunused-but-set-variable] BOOL fIsFile = FALSE; ^ File32.c: In function 'SetFilePointer': File32.c:273:8: warning: variable 'mode' set but not used [-Wunused-but-set-variable] int mode; ^ File32.c: In function 'FindFirstFile': File32.c:413:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fOkay = FindNextFile((HANDLE)hIndex, lpffd); ^ File32.c:415:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (HANDLE)hIndex; ^ File32.c:417:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FindClose((HANDLE)hIndex); ^ File32.c: In function 'FindNextFile': File32.c:426:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int hIndex = (int)hFindFile; ^ File32.c: In function 'FindClose': File32.c:484:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int hIndex = (int)hFindFile; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c FormatMessage.c -o FormatMessage.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Beep.c -o Beep.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinSockUtil.c -o WinSockUtil.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Keyboard.c -o Keyboard.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c IOEmu.c -o IOEmu.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SysMisc.c -o SysMisc.o SysMisc.c: In function 'TWIN_GetTimerMsg': SysMisc.c:233:11: warning: operation on 'nOffset' may be undefined [-Wsequence-point] nOffset = ++nOffset % (nMaxTimer+1); ^ SysMisc.c:240:13: warning: operation on 'nOffset' may be undefined [-Wsequence-point] nOffset = ++nOffset % (nMaxTimer+1); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DPMI.c -o DPMI.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Locale.c -o Locale.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c version.c -o version.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Resources.c -o Resources.o Resources.c: In function 'TWIN_LoadString': Resources.c:612:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LPCSTR)(((UINT)(wID & 0x0000fff0)>>4)+1), ^ Resources.c: In function 'TWIN_LoadIcon': Resources.c:820:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LPSTR) (unsigned) plast->wOrdinalNumber, RT_ICON); ^ Resources.c: In function 'TWIN_LoadCursor': Resources.c:886:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (LPSTR)(unsigned)lpcursor->wOrdinalNumber,RT_CURSOR); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SysMetrics.c -o SysMetrics.o SysMetrics.c: In function 'TWIN_InitSysColors': SysMetrics.c:717:14: warning: variable 'sc' set but not used [-Wunused-but-set-variable] COLORREF sc; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Dialog.c -o Dialog.o Dialog.c: In function 'InternalCreateDialog': Dialog.c:579:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetWindowWord(hDlg,DWW_PARENT,(UINT)hWnd); ^ Dialog.c:585:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(hDlg, WM_SETFONT, (WPARAM)hFont, ^ Dialog.c:620:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(hIcon) SendMessage(hCtl, STM_SETICON,(WPARAM)hIcon,(LPARAM)0); ^ Dialog.c:628:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage( hCtl, WM_SETFONT, (WPARAM)hFont, ^ Dialog.c:633:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dwRet = SendMessage(hDlg,WM_INITDIALOG,(WPARAM)hFirst,lParam); ^ Dialog.c:447:16: warning: variable 'cyMenu' set but not used [-Wunused-but-set-variable] int cyCaption,cyMenu; ^ Dialog.c: In function 'InternalDialog': Dialog.c:1021:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)(UINT)GetWindowWord(hDlg,DWW_PARENT); ^ In file included from Dialog.c:38:0: Dialog.c: In function 'SaveDlgFocus': ../include/kerndef.h:79:36: warning: value computed is not used [-Wunused-value] #define SetDialogFocus(hDlg,hWnd) ((HWND)SetWindowLong(hDlg,GWL_HWNDFOCUS,(LONG)hWnd)) ^ Dialog.c:1084:2: note: in expansion of macro 'SetDialogFocus' SetDialogFocus(hDlg,hWnd); ^ ../include/kerndef.h:79:36: warning: value computed is not used [-Wunused-value] #define SetDialogFocus(hDlg,hWnd) ((HWND)SetWindowLong(hDlg,GWL_HWNDFOCUS,(LONG)hWnd)) ^ Dialog.c:1086:2: note: in expansion of macro 'SetDialogFocus' SetDialogFocus(hDlg,0); ^ Dialog.c: In function 'DlgSetFocus': ../include/kerndef.h:79:36: warning: value computed is not used [-Wunused-value] #define SetDialogFocus(hDlg,hWnd) ((HWND)SetWindowLong(hDlg,GWL_HWNDFOCUS,(LONG)hWnd)) ^ Dialog.c:1113:3: note: in expansion of macro 'SetDialogFocus' SetDialogFocus(hDlg,hWnd); ^ In file included from ../include/windowsx.h:37:0, from Dialog.c:36: Dialog.c: In function 'DefDlgProc': Dialog.c:1187:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HDC)wParam,hDlg,CTLCOLOR_DLG)); ^ ../include/windowsx32.h:1164:18: note: in definition of macro 'GET_WM_CTLCOLOR_MPS' (WPARAM)(hdc), (LONG)(hwnd) ^ ../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ Dialog.c:1186:5: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS( ^ Dialog.c:1188:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam,&rcClient,hBrush); ^ Dialog.c:1217:17: warning: variable 'hControl' set but not used [-Wunused-but-set-variable] HWND hWnd,hControl; ^ Dialog.c:1217:12: warning: variable 'hWnd' set but not used [-Wunused-but-set-variable] HWND hWnd,hControl; ^ Dialog.c:1241:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hFont = (HFONT)(UINT)GetWindowWord(hDlg, DWW_HFONT))) { ^ Dialog.c:1269:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndChild = (HWND)wParam; ^ Dialog.c: In function 'IsDialogMessage': Dialog.c:1372:10: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Profile.c -o Profile.o Profile.c: In function 'BreakSections': Profile.c:175:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (secp) secp->buf.len = (int) cp - (int) secp->buf.data -1; ^ Profile.c:175:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (secp) secp->buf.len = (int) cp - (int) secp->buf.data -1; ^ Profile.c:179:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] next->name.len = (int) strchr(cp, ']') - (int) cp - 1; ^ Profile.c:179:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] next->name.len = (int) strchr(cp, ']') - (int) cp - 1; ^ Profile.c:193:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (secp) secp->buf.len = (int) curpos.data - (int) secp->buf.data -1; ^ Profile.c:193:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (secp) secp->buf.len = (int) curpos.data - (int) secp->buf.data -1; ^ Profile.c: In function 'FindKey': Profile.c:258:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key.len = (int) cp - (int) key.data + 1; ^ Profile.c:258:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key.len = (int) cp - (int) key.data + 1; ^ Profile.c: In function 'FindValue': Profile.c:280:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] value.len = (int) cp - (int) value.data + 1; ^ Profile.c:280:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] value.len = (int) cp - (int) value.data + 1; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Strings.c -o Strings.o Strings.c: In function 'AnsiUpper': Strings.c:607:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR) toupper(LOWORD((DWORD)lpstr)); ^ Strings.c: In function 'AnsiLower': Strings.c:619:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR) tolower(LOWORD((DWORD)lpstr)); ^ Strings.c: In function 'CharLower': Strings.c:998:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((LPTSTR) tolower(LOWORD((DWORD)lpstr))); ^ Strings.c: In function 'CharUpper': Strings.c:1013:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ((LPTSTR) toupper(LOWORD((DWORD)lpstr))); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MenuProc.c -o MenuProc.o MenuProc.c: In function 'MenuBarProc': MenuProc.c:186:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetWindowWord(hWnd, LWD_HMENU, (UINT)lptps->hMenu); ^ MenuProc.c:293:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel,&rcRect,TRUE); ^ MenuProc.c:317:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:361:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID, ^ MenuProc.c:454:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID, ^ In file included from MenuProc.c:34:0: MenuProc.c:488:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GET_WM_MENUSELECT_MPS((UINT)lptps->hMenu,-1,0)); ^ ../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ MenuProc.c:488:5: note: in expansion of macro 'GET_WM_MENUSELECT_MPS' GET_WM_MENUSELECT_MPS((UINT)lptps->hMenu,-1,0)); ^ MenuProc.c:522:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:570:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel,&rcRect,TRUE); ^ MenuProc.c:691:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:847:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel,&rcRect,TRUE)) ^ MenuProc.c:866:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:923:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel, ^ MenuProc.c:960:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel, ^ MenuProc.c:1005:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:1030:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:1058:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID, ^ MenuProc.c:1108:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel, ^ MenuProc.c:1148:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wPrevSel, ^ MenuProc.c:1170:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ MenuProc.c:1200:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID, ^ MenuProc.c:1263:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (CreatePopup(hWnd,lptps,(HMENU)(UINT)wItemID,wSel, ^ MenuProc.c:1270:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hPopup); ^ In file included from Listbox.h:34:0, from MenuProc.c:39: MenuProc.c:1357:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hMenu32 = GETMENUINFO((HMENU)wParam); ^ ../include/ObjEngine.h:176:76: note: in definition of macro 'GETMENUINFO' #define GETMENUINFO(h) (HMENU32)HandleObj(HM_GETOBJ,MLLBOX,(LPVOID)((DWORD)h)) ^ MenuProc.c:1366:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hMenu32 = GETMENUINFO((HMENU)wParam); ^ ../include/ObjEngine.h:176:76: note: in definition of macro 'GETMENUINFO' #define GETMENUINFO(h) (HMENU32)HandleObj(HM_GETOBJ,MLLBOX,(LPVOID)((DWORD)h)) ^ MenuProc.c:1404:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hMenu32 = GETMENUINFO((HMENU)wParam); ^ ../include/ObjEngine.h:176:76: note: in definition of macro 'GETMENUINFO' #define GETMENUINFO(h) (HMENU32)HandleObj(HM_GETOBJ,MLLBOX,(LPVOID)((DWORD)h)) ^ MenuProc.c: In function 'CreatePopup': MenuProc.c:1476:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hPopup,MAKELONG(wIndex,lptps->bSystemMenu)); ^ MenuProc.c: In function 'SetPopupMenuSel': MenuProc.c:1835:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPopupMenu = (HMENU)GetWindowID(hWndPopup); ^ MenuProc.c: In function 'InternalMenuProc': MenuProc.c:1910:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(lptps->hWndOwner,WM_INITMENU,(WPARAM)lptps->hMenu,(LPARAM)0); ^ MenuProc.c:1898:23: warning: variable 'hWndCurrentFocus' set but not used [-Wunused-but-set-variable] HWND hWndOldFocus,hWndCurrentFocus; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MenuAPI.c -o MenuAPI.o MenuAPI.c: In function 'ModifyMenuEx': MenuAPI.c:194:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] DestroyMenu((HMENU)(UINT)LOWORD(LBoxAPI(hMenu32,LBA_MODIFYITEM,(LPARAM)&mis))); ^ In file included from WinDefs.h:35:0, from MenuAPI.c:42: MenuAPI.c: In function 'TWIN_FindMenuItem': MenuAPI.c:264:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (GETMENUINFO((HMENU)uiItem),uiIDItem))) ^ ../include/ObjEngine.h:176:76: note: in definition of macro 'GETMENUINFO' #define GETMENUINFO(h) (HMENU32)HandleObj(HM_GETOBJ,MLLBOX,(LPVOID)((DWORD)h)) ^ MenuAPI.c: In function 'InsertMenuItem': MenuAPI.c:310:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rc = AppendMenu(hMenu,MF_POPUP,(UINT)lpmenuinfo->hSubMenu, ^ MenuAPI.c: In function 'TWIN_LoadMenuIndirect': MenuAPI.c:539:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpMenu->menuid = (UINT)TWIN_LoadMenuIndirect(lpMenu->menupopup); ^ In file included from MenuAPI.c:41:0: MenuAPI.c: In function 'GetSystemMenu': ../include/kerndef.h:85:42: warning: value computed is not used [-Wunused-value] #define SetWindowSysMenu(hWnd,hSysMenu) ((HMENU)SetWindowLong(hWnd,GWL_HSYSMENU,(LONG)hSysMenu)) ^ MenuAPI.c:1237:2: note: in expansion of macro 'SetWindowSysMenu' SetWindowSysMenu(hWnd, hSysMenu); ^ MenuAPI.c: In function 'GetSubMenu': MenuAPI.c:1259:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (IsMenu((HMENU)uiItemID)) ^ MenuAPI.c:1260:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (HMENU)uiItemID; ^ In file included from MenuAPI.c:36:0: MenuAPI.c: In function 'ModifyMenuBar': MenuAPI.c:1521:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (LPSTR)MAKELONG((UINT)SystemBitmaps[SB_OBM_SYSMENU],0)) { ^ ../include/windows.h:142:45: note: in definition of macro 'MAKELONG' #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ MenuAPI.c:1526:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT)hSystemMenu, ^ MenuAPI.c:1541:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] RemoveMenu(hMenu,(UINT)hSystemMenu,MF_BYCOMMAND); ^ MenuAPI.c: In function 'LoadSysMenuBitmap': MenuAPI.c:1586:33: warning: variable 'hOldBitmap' set but not used [-Wunused-but-set-variable] HBITMAP hSysMenuBitmap,hBitmap,hOldBitmap; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c UsrCursor.c -o UsrCursor.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DefWnd.c -o DefWnd.o DefWnd.c: In function 'DefWindowProc': DefWnd.c:127:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndTmp32->hFont = (HFONT) wParam; ^ DefWnd.c:287:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam, &rcClient, hBr); ^ In file included from ../include/windowsx.h:37:0, from DefWnd.c:32: ../include/windowsx32.h:1159:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_CTLCOLOR_HDC(wp, lp, msg) (HDC)(wp) ^ DefWnd.c:406:17: note: in expansion of macro 'GET_WM_CTLCOLOR_HDC' SetBkColor(GET_WM_CTLCOLOR_HDC(wParam,lParam,wMsg), ^ ../include/windowsx32.h:1159:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_CTLCOLOR_HDC(wp, lp, msg) (HDC)(wp) ^ DefWnd.c:408:19: note: in expansion of macro 'GET_WM_CTLCOLOR_HDC' SetTextColor(GET_WM_CTLCOLOR_HDC(wParam,lParam,wMsg), ^ ../include/windowsx32.h:1159:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_CTLCOLOR_HDC(wp, lp, msg) (HDC)(wp) ^ DefWnd.c:427:17: note: in expansion of macro 'GET_WM_CTLCOLOR_HDC' SetBkColor(GET_WM_CTLCOLOR_HDC(wParam,lParam,wMsg), ^ ../include/windowsx32.h:1159:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_CTLCOLOR_HDC(wp, lp, msg) (HDC)(wp) ^ DefWnd.c:429:19: note: in expansion of macro 'GET_WM_CTLCOLOR_HDC' SetTextColor(GET_WM_CTLCOLOR_HDC(wParam,lParam,wMsg), ^ DefWnd.c:447:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hCursor = GetClassCursor((HWND)wParam); ^ ../include/windowsx32.h:1249:60: note: in definition of macro 'GetClassCursor' #define GetClassCursor(hWnd) ((HCURSOR)GetClassLong(hWnd,GCL_HCURSOR)) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Messages.c -o Messages.o Messages.c: In function 'TWIN_CallWindowProc': Messages.c:99:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] TWIN_DebuggerProc(TWIN_DBGADDR,(int) lpfnwndproc,functionaddress); ^ In file included from Messages.c:36:0: Messages.c: In function 'PostMessage': Messages.c:522:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (LOWORD((UINT)hWnd) != 0xffff) ^ ../include/windows.h:139:41: note: in definition of macro 'LOWORD' #define LOWORD(l) ((WORD)((DWORD)(l) & 0x0FFFF)) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Rect.c -o Rect.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WSysMenu.c -o WSysMenu.o WSysMenu.c: In function 'WSysMenuUpdate': WSysMenu.c:628:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ModifyMenu(hMenu, WSYS_CONFIGURE,MF_BYCOMMAND|MF_ENABLED|MF_POPUP, (UINT)hDLLMenu, "Configure..."); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinConfig.c -o WinConfig.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Time.c -o Time.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Comm.c -o Comm.o In file included from ../include/windows.h:215:0, from Comm.c:61: Comm.c: In function 'DriverCommGetDCB': ../include/winuser.h:3216:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define EVENPARITY 2 ^ Comm.c:658:21: note: in expansion of macro 'EVENPARITY' lpdcb->fParity = EVENPARITY; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Clipboard.c -o Clipboard.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c StubAPI.c -o StubAPI.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowPos.c -o WindowPos.o WindowPos.c: In function 'InternalSetWindowPos': WindowPos.c:531:10: warning: variable 'bPosChanged' set but not used [-Wunused-but-set-variable] BOOL bPosChanged = FALSE; ^ WindowPos.c: In function 'ChangeZOrder': WindowPos.c:1046:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)hWndInsertAfter) { ^ WindowPos.c:1047:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_TOPMOST: ^ WindowPos.c:1050:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_TOP: ^ WindowPos.c:1124:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_BOTTOM: ^ WindowPos.c:1175:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] case (int)HWND_NOTOPMOST: ^ In file included from /usr/include/stdio.h:597:0, from WindowPos.c:31: WindowPos.c: In function 'RemoveFromList': WindowPos.c:1324:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT)GETHWND16(hWnd32)); ^ WindowPos.c:1333:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT)hWndPrev, (UINT)GETHWND16(hWnd32)); ^ WindowPos.c:1333:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT)hWndPrev, (UINT)GETHWND16(hWnd32)); ^ WindowPos.c: In function 'ShowWindow': WindowPos.c:1986:10: warning: variable 'hWndTop' set but not used [-Wunused-but-set-variable] HWND hWndTop; ^ WindowPos.c: In function 'GetClassBackgroundBrush': WindowPos.c:3953:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return GetSysColorBrush((int)hBrTemp - 1); ^ In file included from ../include/windowsx.h:37:0, from WindowPos.c:34: WindowPos.c: In function 'GetControlBrush': ../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ WindowPos.c:3966:3: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC,hWnd,wType)); ^ WindowPos.c: In function 'SetFocus': WindowPos.c:4284:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(HWND_TOPMOST, WM_PALETTECHANGED, (WPARAM)hWnd, 0); ^ In file included from WinDefs.h:34:0, from WindowPos.c:38: WindowPos.c: In function 'TWIN_InternalFocus': ../include/kerndef.h:79:36: warning: value computed is not used [-Wunused-value] #define SetDialogFocus(hDlg,hWnd) ((HWND)SetWindowLong(hDlg,GWL_HWNDFOCUS,(LONG)hWnd)) ^ WindowPos.c:4346:3: note: in expansion of macro 'SetDialogFocus' SetDialogFocus(GetTopLevelAncestor(hWnd),hFocus); ^ WindowPos.c:4372:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(hLast, WM_KILLFOCUS, (WPARAM)hWnd, 0L); ^ WindowPos.c:4374:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(hWnd, WM_SETFOCUS, (WPARAM)hLast, 0L); ^ WindowPos.c: In function 'ChangeZOrderFindPreviousSibling': WindowPos.c:4494:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] HWND hWndTarget = (HWND)(UINT)LOWORD(search_data); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowBytes.c -o WindowBytes.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowCreate.c -o WindowCreate.o WindowCreate.c: In function 'StringHandle': WindowCreate.c:67:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wsprintf(&string[offset],"HANDLE:%x",(int) lpstr); ^ WindowCreate.c: In function 'CreateWindowEx': WindowCreate.c:220:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hWnd32->wChildID = (WORD)(UINT)hMenu; ^ WindowCreate.c:240:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] hFrame32->wChildID = (WORD)(UINT)(hWnd32->hMenu); ^ WindowCreate.c:299:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] csClient.hMenu = (hWnd32->dwStyle & WS_CHILD)?(HMENU)(UINT)hWnd32->wChildID:hWnd32->hMenu; ^ WindowCreate.c:319:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hWnd, (LPARAM)&cbtcs)) { ^ WindowCreate.c:503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HMENU)(UINT)hWnd32->wChildID:hWnd32->hMenu; ^ WindowCreate.c:590:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HMENU)(UINT)hWnd32->wChildID:hWnd32->hMenu; ^ WindowCreate.c: In function 'DestroyWindow': WindowCreate.c:901:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(parent_with_focus, WM_SETCURSOR, (WPARAM)parent_with_focus, n); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowProps.c -o WindowProps.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowRedraw.c -o WindowRedraw.o WindowRedraw.c: In function 'InternalPaintWindows': WindowRedraw.c:592:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(hWnd,uMsg,(WPARAM)hDC,0L); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WindowDC.c -o WindowDC.o In file included from WindowDC.c:36:0: WindowDC.c: In function 'GetDCEx': ../include/kerndef.h:113:31: warning: value computed is not used [-Wunused-value] #define SetClassDC(hWnd,hDC) ((HDC)SetClassLong(hWnd,GCL_HDC,(LONG)hDC)) ^ WindowDC.c:280:3: note: in expansion of macro 'SetClassDC' SetClassDC(hWnd, hDC); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MDI.c -o MDI.o In file included from ../include/windowsx.h:37:0, from MDI.c:32: MDI.c: In function 'DefFrameProc': ../include/windowsx32.h:1179:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hwndA), 0 ^ MDI.c:127:6: note: in expansion of macro 'GET_WM_MDIACTIVATE_MPS' GET_WM_MDIACTIVATE_MPS(0,0,hWndChild)); ^ MDI.c: In function 'DefMDIChildProc': ../include/windowsx32.h:738:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void)(fn)(hwnd, WM_MDIACTIVATE, (WPARAM)(hwndDeactivate), (LPARAM)(hwndActivate)) ^ MDI.c:294:3: note: in expansion of macro 'FORWARD_WM_MDIACTIVATE' FORWARD_WM_MDIACTIVATE(hWndActiveChild,0,hWndMDIChild, ^ ../include/windowsx32.h:738:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void)(fn)(hwnd, WM_MDIACTIVATE, (WPARAM)(hwndDeactivate), (LPARAM)(hwndActivate)) ^ MDI.c:299:6: note: in expansion of macro 'FORWARD_WM_MDIACTIVATE' FORWARD_WM_MDIACTIVATE(hWndMDIChild,1,hWndMDIChild, ^ MDI.c:307:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hWndMDIChild,0L); ^ MDI.c:396:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hWndMDIChild,0); ^ MDI.c: In function 'DefMDICLIENTProc': MDI.c:539:22: warning: operation on 'lp->nChildPosIndex' may be undefined [-Wsequence-point] lp->nChildPosIndex = (++lp->nChildPosIndex)%4; ^ MDI.c:559:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HMENU)(lp->idFirstChild+lp->nNumChildren), ^ In file included from ../include/windowsx.h:37:0, from MDI.c:32: ../include/windowsx32.h:1179:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hwndA), 0 ^ MDI.c:571:4: note: in expansion of macro 'GET_WM_MDIACTIVATE_MPS' GET_WM_MDIACTIVATE_MPS(0,0,hWndMDIChild)); ^ MDI.c:585:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndMDIChild = (HWND)wParam; ^ In file included from ../include/windowsx.h:37:0, from MDI.c:32: ../include/windowsx32.h:738:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void)(fn)(hwnd, WM_MDIACTIVATE, (WPARAM)(hwndDeactivate), (LPARAM)(hwndActivate)) ^ MDI.c:614:7: note: in expansion of macro 'FORWARD_WM_MDIACTIVATE' FORWARD_WM_MDIACTIVATE(hWndMDIChild,0,0, ^ MDI.c:633:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wp, lp) (HWND)(wp) ^ MDI.c:642:3: note: in expansion of macro 'GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE' GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wParam,lParam))) { ^ MDI.c:633:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wp, lp) (HWND)(wp) ^ MDI.c:646:4: note: in expansion of macro 'GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE' GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wParam,lParam), ^ MDI.c:633:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wp, lp) (HWND)(wp) ^ MDI.c:650:4: note: in expansion of macro 'GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE' GET_WM_MDIACTIVATE_CLIENT_HWNDACTIVATE(wParam,lParam)); ^ MDI.c:662:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndMDIChild = (HWND)wParam; ^ MDI.c:678:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndMDIChild = (HWND)wParam; ^ In file included from ../include/windowsx.h:37:0, from MDI.c:32: ../include/windowsx32.h:1181:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GET_WM_MDISETMENU_HMENUF(wp, lp) (HMENU)(wp) ^ MDI.c:743:24: note: in expansion of macro 'GET_WM_MDISETMENU_HMENUF' if ((hMenuFrame = GET_WM_MDISETMENU_HMENUF(wParam,lParam))) { ^ MDI.c:761:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] RemoveMenu(lp->hMenu,(UINT)hSysMenu,MF_BYCOMMAND); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Hook.c -o Hook.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Classes.c -o Classes.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LoadLibrary.c -o LoadLibrary.o LoadLibrary.c: In function 'TWIN_LoadFile': LoadLibrary.c:251:33: warning: variable 'lpszModuleName' set but not used [-Wunused-but-set-variable] LPSTR lpszFileName = 0, lpszModuleName; ^ LoadLibrary.c: In function 'GetProcAddress32': LoadLibrary.c:583:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fp = (FARPROC) PEGetProcAddressByOrdinal(modinfo, (int)lpszProc,0); ^ LoadLibrary.c: In function 'TWIN_GetProcAddress': LoadLibrary.c:613:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retFunc = (FARPROC)lpfnOEMGetPAddr(lpModuleInfo,i); ^ LoadLibrary.c:625:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retFunc = (FARPROC)lpfnOEMGetPAddr(lpModuleInfo,i); ^ LoadLibrary.c: In function 'WinExec': LoadLibrary.c:772:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (UINT)hModule; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ModTable.c -o ModTable.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinInit.c -o WinInit.o WinInit.c: In function 'LoadTwinModDscr': WinInit.c:232:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rc = (BOOL)TWIN_LoadMDT(ILL_APPL|ILL_DSCR,_acmdln,(LPARAM)&mdt[0]); ^ WinInit.c: In function 'ReadAppDscrTable': WinInit.c:432:12: warning: variable 'hModule' set but not used [-Wunused-but-set-variable] HANDLE hModule; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c IsBinary.c -o IsBinary.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LoadModule.c -o LoadModule.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LoadDLL.c -o LoadDLL.o In file included from LoadDLL.c:39:0: LoadDLL.c: In function 'IT_INITTASK': LoadDLL.c:851:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+0x1e,(UINT)GetModuleFromInstance(lpTaskInfo->hInst)); ^ Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ LoadDLL.c:851:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+0x1e,(UINT)GetModuleFromInstance(lpTaskInfo->hInst)); ^ Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ LoadDLL.c: In function 'LoadModuleFromNEFile': LoadDLL.c:979:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)modinfo->ObjHead.hObj; ^ LoadDLL.c:1260:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)modinfo->ObjHead.hObj; ^ LoadDLL.c: In function 'LoadNewInstance': LoadDLL.c:1785:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return (int)modinfo->ObjHead.hObj; ^ LoadDLL.c: In function 'FillUserDLL': LoadDLL.c:1920:11: warning: variable 'lpbyte' set but not used [-Wunused-but-set-variable] LPSTR lpbyte; ^ LoadDLL.c:1918:10: warning: variable 'count' set but not used [-Wunused-but-set-variable] WORD count; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c RscTemplate.c -o RscTemplate.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ConvertRes.c -o ConvertRes.o ConvertRes.c: In function 'ReadResourceTable': ConvertRes.c:214:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rt->rcstypename = (LPSTR)(wType & ~0x8000); ^ ConvertRes.c: In function 'StringFromOrdinal': ConvertRes.c:1153:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR)(wID?wID:wType); ^ ConvertRes.c:1157:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR)(wID?wID:wType); ^ ConvertRes.c:1159:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR)(wID?wID:wType); ^ ConvertRes.c:1170:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (LPSTR)(wID?wID:wType); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MessageBox.c -o MessageBox.o MessageBox.c: In function 'MessageBoxHandler': MessageBox.c:173:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendDlgItemMessage(hDlg,105,STM_SETICON,(WPARAM)hIcon,0L); ^ MessageBox.c:446:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SetFocus((HWND)wParam); ^ MessageBox.c:447:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWnd = (HWND)wParam; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c utils.c -o utils.o In file included from /usr/include/stdio.h:597:0, from utils.c:38: utils.c: In function 'DumpMemory': utils.c:126:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf(buffer,"%x: ",(unsigned int) p); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MsgCode.c -o MsgCode.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Driver.c -o Driver.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Debug.c -o Debug.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DPMInotify.c -o DPMInotify.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Execintp.c -o Execintp.o Execintp.c: In function 'debuggerbreak': Execintp.c:43:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ Execintp.c:43:5: warning: incompatible implicit declaration of built-in function 'exit' Execintp.c:43:5: note: include '' or provide a declaration of 'exit' ../tools/rc/rc -DTWIN32 -I../include -I../include -I.. RscData.rc -o RscData.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c RscData.res.c -o RscData.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -o libtwin32.so user32.o user32Bin.o gdi32.o gdi32Bin.o kernel32.o kernel32Bin.o FancyRgn.o WSprintf.o DrawText.o Dither.o Caret.o Palette.o MapMode.o ConvertArray.o DisplayDC.o DisplayGraphics.o DisplayObjects.o DisplayText.o DisplayClipping.o DeviceData.o LSDevices.o Metafile.o Metaplay.o MetaGraphics.o MetaObjects.o WImageIO.o WBmp.o DrawFrame.o PrinterGraphics.o PrintManager.o PrinterDC.o Kernel.o Module.o ObjEngine.o FileSys.o Net.o System.o WinHelp.o KrnAtoms.o KrnFileIO.o Events.o KrnTask.o File32.o FormatMessage.o Beep.o WinSockUtil.o Keyboard.o IOEmu.o SysMisc.o DPMI.o Locale.o version.o Resources.o SysMetrics.o Dialog.o Profile.o Strings.o MenuProc.o MenuAPI.o UsrCursor.o DefWnd.o Messages.o Rect.o WSysMenu.o WinConfig.o Time.o Comm.o Clipboard.o StubAPI.o WindowPos.o WindowBytes.o WindowCreate.o WindowProps.o WindowRedraw.o WindowDC.o MDI.o Hook.o Classes.o LoadLibrary.o ModTable.o WinInit.o IsBinary.o LoadModule.o LoadDLL.o RscTemplate.o ConvertRes.o MessageBox.o utils.o MsgCode.o Driver.o Debug.o DPMInotify.o Execintp.o RscData.res.o -L/usr/X11R7/lib -lX11 -lm ../controls/libctl.a ../graphics/libgdi.a ../graphics/x11drv/libx11.a ../if1632/libbin16.a ../intp32/libintp32.a ../memory/libmemory.a ../msdos/libmsdos.a ../osdll/libosdll.a ../scheduler/libsched.a rm RscData.res.c gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' Build: Willows Library, complete. ======= Native DLL ======== gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/libdll' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LibMain.c -o LibMain.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LibWEP.c -o LibWEP.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DefTable.c -o DefTable.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ResTable.c -o ResTable.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DummyEnviron.c -o DummyEnviron.o ar rc libdll.a LibMain.o LibWEP.o DefTable.o ResTable.o DummyEnviron.o ranlib libdll.a gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/libdll' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commdlg' ../../tools/mksrc commdlg32.d commdlg32 COMMDLG gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c commdlg32.c -o commdlg32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c commdlg32Bin.c -o commdlg32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ChooseColor.c -o ChooseColor.o ChooseColor.c: In function 'WCCDialogProc': ChooseColor.c:1846:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( ( hDC = ( HDC ) wParam ) && ^ In file included from ../../include/windowsx.h:37:0, from ChooseColor.c:33: ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ ChooseColor.c:1849:27: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC, hWnd, CTLCOLOR_DLG) ) ) ) ^ ChooseColor.c: In function 'ChooseColor': ChooseColor.c:1956:31: warning: variable 'hUseDialog' set but not used [-Wunused-but-set-variable] HGLOBAL hUseDialog = ( HGLOBAL )NULL; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ChooseFont.c -o ChooseFont.o ChooseFont.c: In function 'WCFInitFontSelector': ChooseFont.c:610:31: warning: variable 'SelectedColor' set but not used [-Wunused-but-set-variable] BOOL SelectedColor = FALSE; ^ ChooseFont.c: In function 'WCFDisplayFontData': ChooseFont.c:1156:31: warning: variable 'hFontStyleWnd' set but not used [-Wunused-but-set-variable] HWND hFontStyleWnd; ^ In file included from ../../include/windowsx.h:37:0, from ChooseFont.c:39: ChooseFont.c: In function 'WCFDialogProc': ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ ChooseFont.c:1346:50: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS ( hDC, hWnd, CTLCOLOR_DLG ) ) ) ) ^ ChooseFont.c:1349:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect ( ( HDC )wParam, &Rect, hBrush ); ^ ChooseFont.c: In function 'ChooseFont': ChooseFont.c:1659:31: warning: variable 'hUseDialog' set but not used [-Wunused-but-set-variable] HGLOBAL hUseDialog = ( HGLOBAL )NULL; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Commdlg.c -o Commdlg.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c FindReplDlg.c -o FindReplDlg.o In file included from ../../include/windowsx.h:37:0, from FindReplDlg.c:32: FindReplDlg.c: In function 'FindDlgProc': ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ FindReplDlg.c:206:4: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC,hDlg,CTLCOLOR_DLG)); ^ FindReplDlg.c:209:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam, &rcClient, hBrush); ^ In file included from ../../include/windowsx.h:37:0, from FindReplDlg.c:32: FindReplDlg.c: In function 'ReplaceDlgProc': ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ FindReplDlg.c:390:4: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC,hDlg,CTLCOLOR_DLG)); ^ FindReplDlg.c:393:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam, &rcClient, hBrush); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c GetOpenFileName.c -o GetOpenFileName.o GetOpenFileName.c: In function 'WGOFNSetTextDirectory': GetOpenFileName.c:472:26: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] short ErrorCode; ^ GetOpenFileName.c: In function 'WGFONDrawItem': GetOpenFileName.c:1707:26: warning: variable 'hBitmap' set but not used [-Wunused-but-set-variable] HBITMAP hBitmap = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c PrintDlg.c -o PrintDlg.o In file included from PrintDlg.c:38:0: PrintDlg.c: In function 'PrintDlgProc': ../../include/Log.h:21:57: warning: passing argument 7 of 'LogTwinMsgCall' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LOGMSG(h,m,w,l) LogTwinMsgCall(LF_MSG,0,h,m,w,l,__FUNCTION__); ^ PrintDlg.c:231:5: note: in expansion of macro 'LOGMSG' LOGMSG(hDlg,message,wParam,lParam); ^ ../../include/Log.h:67:6: note: expected 'char *' but argument is of type 'const char *' void LogTwinMsgCall(DWORD,MSGCODE *,HWND ,int ,WPARAM ,LPARAM ,char *); ^ PrintDlg.c:361:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hDMode = (HGLOBAL)(UINT)GetWindowWord(hDlg, DWW_RESULT); ^ In file included from ../../include/windowsx.h:37:0, from PrintDlg.c:32: ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ PrintDlg.c:482:5: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC,hDlg,CTLCOLOR_DLG)); ^ PrintDlg.c:485:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam, &rcClient, hBrush); ^ PrintDlg.c: In function 'PrintSetupDlgProc': PrintDlg.c:610:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hDMode = (HGLOBAL)(UINT)GetWindowWord(hDlg, DWW_RESULT); ^ PrintDlg.c:659:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hIcon, 0); ^ PrintDlg.c:670:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)hIcon,0); ^ In file included from ../../include/windowsx.h:37:0, from PrintDlg.c:32: ../../include/windowsx32.h:1164:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)(hdc), (LONG)(hwnd) ^ PrintDlg.c:750:5: note: in expansion of macro 'GET_WM_CTLCOLOR_MPS' GET_WM_CTLCOLOR_MPS(hDC,hDlg,CTLCOLOR_DLG)); ^ PrintDlg.c:753:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FillRect((HDC)wParam, &rcClient, hBrush); ^ PrintDlg.c: In function 'InitPrintSetupControls': PrintDlg.c:845:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendDlgItemMessage(hDlg, ico1, STM_SETICON, (WPARAM)hIcon, 0); ^ PrintDlg.c: In function 'MakeDEVStruct': PrintDlg.c:996:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetWindowWord(hDlg, DWW_RESULT, (WORD)(UINT)cf->hDevMode); ^ PrintDlg.c:931:8: warning: variable 'uDefault' set but not used [-Wunused-but-set-variable] UINT uDefault; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommdlgIF.c -o CommdlgIF.o CommdlgIF.c: In function 'IT_PRINTDLG': CommdlgIF.c:94:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lppd->hwndOwner = (HWND)(UINT)GETWORD(lpStruct+4); ^ In file included from CommdlgIF.c:39:0: CommdlgIF.c:203:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+10,(UINT)lppd->hDC); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ CommdlgIF.c:203:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpStruct+10,(UINT)lppd->hDC); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ CommdlgIF.c: In function 'IT_FINDREPLACE': CommdlgIF.c:293:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpfr->hwndOwner = (HWND)(UINT)GETWORD(lpStruct+4); ^ CommdlgIF.c: In function 'IT_CHOOSECOLOR': CommdlgIF.c:355:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpcc->hwndOwner = (HWND)(UINT)GETWORD(lpStruct+4); ^ CommdlgIF.c: In function 'IT_CHOOSEFONT': CommdlgIF.c:426:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpcf->hwndOwner = (HWND)(UINT)GETWORD(lpStruct+4); ^ CommdlgIF.c:427:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpcf->hDC = (HDC)(UINT)GETWORD(lpStruct+6); ^ CommdlgIF.c: In function 'IT_1LPOF': CommdlgIF.c:513:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpofn->hwndOwner = (HWND)(UINT)GETWORD(lpStruct+4); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommdlgIT.c -o CommdlgIT.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. -ECommdlg_LibMain Commdlg.rc -o Commdlg.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Commdlg.res.c -o Commdlg.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libcommdlg.so commdlg32.o commdlg32Bin.o ChooseColor.o ChooseFont.o Commdlg.o FindReplDlg.o GetOpenFileName.o PrintDlg.o CommdlgIF.o CommdlgIT.o Commdlg.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libcommdlg.so ln -s `pwd`/libcommdlg.so ../../windows/libcommdlg.so rm Commdlg.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commdlg' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/shell' ../../tools/mksrc shell32.d shell32 SHELL gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c shell32.c -o shell32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c shell32Bin.c -o shell32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Shell.c -o Shell.o Shell.c: In function 'ShellExecute': Shell.c:104:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hInst = (HINSTANCE)WinExec(lpFile,nShowCmd); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ShellIF.c -o ShellIF.o ShellIF.c: In function 'IT_EXTRACTASSICON': ShellIF.c:58:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwnd = (HWND)(UINT)GETWORD(SP+6); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Registry.c -o Registry.o Registry.c: In function 'RegSetValueEx': Registry.c:319:45: warning: pointer targets in passing argument 4 of 'RegSetValue' differ in signedness [-Wpointer-sign] return RegSetValue(hKey,lpValueName,dwType,lpData,cbData); ^ Registry.c:250:1: note: expected 'LPCSTR {aka const char *}' but argument is of type 'const BYTE * {aka const unsigned char *}' RegSetValue(HKEY hKey, LPCSTR lpszSubKey, ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DragDrop.c -o DragDrop.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c About.c -o About.o About.c: In function 'ShellAbout': About.c:53:10: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ About.c: In function 'ShellAboutHandler': About.c:174:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (WPARAM)sad->hIcon, 0L); ^ ../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. About.rc -o About.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c About.res.c -o About.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libshell.so shell32.o shell32Bin.o Shell.o ShellIF.o Registry.o DragDrop.o About.o About.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libshell.so ln -s `pwd`/libshell.so ../../windows/libshell.so rm About.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/shell' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/keyboard' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Keyboard.c -o Keyboard.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SysKeyboard.c -o SysKeyboard.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KeyboardIF.c -o KeyboardIF.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c KeyboardBin.c -o KeyboardBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include Keyboard.rc -o Keyboard.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Keyboard.res.c -o Keyboard.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libkeyboard.so Keyboard.o SysKeyboard.o KeyboardIF.o KeyboardBin.o Keyboard.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libkeyboard.so ln -s `pwd`/libkeyboard.so ../../windows/libkeyboard.so rm Keyboard.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/keyboard' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/version' ../../tools/mksrc version32.d version32 VERSION gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c version32.c -o version32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c version32Bin.c -o version32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Ver.c -o Ver.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c VerIF.c -o VerIF.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c VerBin.c -o VerBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. Ver.rc -o Ver.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Ver.res.c -o Ver.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libversion.so version32.o version32Bin.o Ver.o VerIF.o VerBin.o Ver.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libversion.so ln -s `pwd`/libversion.so ../../windows/libversion.so rm Ver.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/version' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/system' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c System.c -o System.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SystemIF.c -o SystemIF.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include System.rc -o System.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c System.res.c -o System.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libsystem.so System.o SystemIF.o System.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libsystem.so ln -s `pwd`/libsystem.so ../../windows/libsystem.so rm System.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/system' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/lzexpand' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LZExpand.c -o LZExpand.o LZExpand.c: In function 'Decode': LZExpand.c:274:6: warning: variable 'phase' set but not used [-Wunused-but-set-variable] int phase; ^ LZExpand.c:272:10: warning: variable 'jj' set but not used [-Wunused-but-set-variable] int ii,jj; ^ LZExpand.c:272:7: warning: variable 'ii' set but not used [-Wunused-but-set-variable] int ii,jj; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LZExpandBin.c -o LZExpandBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include LZExpand.rc -o LZExpand.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c LZExpand.res.c -o LZExpand.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o liblzexpand.so LZExpand.o LZExpandBin.o LZExpand.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/liblzexpand.so ln -s `pwd`/liblzexpand.so ../../windows/liblzexpand.so rm LZExpand.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/lzexpand' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/toolhelp' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ToolHelp.c -o ToolHelp.o ToolHelp.c: In function 'FillModuleEntry': ToolHelp.c:62:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpme->wNext = (WORD)(UINT)lpObjNext->hObj; ^ ToolHelp.c: In function 'ModuleFindName': ToolHelp.c:103:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lpme->wNext = (WORD)(UINT)GetModuleHandle(lpszName); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ToolHelpIF.c -o ToolHelpIF.o ToolHelpIF.c: In function 'IT_1LPTE': ToolHelpIF.c:30:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] te.hNext = (HANDLE)(UINT)GETWORD(lpStruct + DWORD_86 + HANDLE_86 + HANDLE_86 + ^ ToolHelpIF.c: In function 'IT_1LP1HTE': ToolHelpIF.c:52:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (f)(&te, (HANDLE)(UINT)GETWORD(SP+4)); ^ In file included from ToolHelpIF.c:9:0: ToolHelpIF.c: In function 'GetTASKENTRY': ToolHelpIF.c:67:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hTask); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:67:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hTask); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:69:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hTaskParent); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:69:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hTaskParent); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:71:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hInst); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:71:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hInst); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:73:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hModule); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:73:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hModule); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:87:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hQueue); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:87:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hQueue); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:93:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hNext); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:93:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(ptr,(UINT)lpte->hNext); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c: In function 'IT_GLOBALENTRYHANDLE': ToolHelpIF.c:186:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+12,(UINT)ge.hBlock); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:186:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+12,(UINT)ge.hBlock); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ToolHelpIF.c:199:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+22,(UINT)lpModInfo->ObjHead.hObj); ^ ../../windows/Endian.h:53:55: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ToolHelpIF.c:199:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD(lpData+22,(UINT)lpModInfo->ObjHead.hObj); ^ ../../windows/Endian.h:54:45: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c segtab.c -o segtab.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Task.c -o Task.o Task.c: In function 'FillTaskEntry': Task.c:32:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpte->hModule = (HMODULE)(UINT)GETWORD(lpData+0x1e); ^ Task.c:49:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpte->hNext = (HANDLE)(UINT)((TASKINFO *)lpTask->ObjHead.lpObjNext)->wTDBSelector; ^ In file included from Task.c:11:0: Task.c: In function 'TaskFirst': Task.c:75:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] retcode = FillTaskEntry(lpte, GetPhysicalAddress((UINT)hTask)); ^ ../../windows/DPMI.h:55:35: note: in definition of macro 'GetPhysicalAddress' #define GetPhysicalAddress(w) LDT[w>>3].lpSelBase ^ Task.c: In function 'TaskNext': Task.c:87:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] retcode = FillTaskEntry(lpte, GetPhysicalAddress((UINT)lpte->hNext)); ^ ../../windows/DPMI.h:55:35: note: in definition of macro 'GetPhysicalAddress' #define GetPhysicalAddress(w) LDT[w>>3].lpSelBase ^ Task.c: In function 'TaskFindHandle': Task.c:99:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] retcode = FillTaskEntry(lpte, GetPhysicalAddress((UINT)hTask)); ^ ../../windows/DPMI.h:55:35: note: in definition of macro 'GetPhysicalAddress' #define GetPhysicalAddress(w) LDT[w>>3].lpSelBase ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Info.c -o Info.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include ToolHelp.rc -o ToolHelp.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c ToolHelp.res.c -o ToolHelp.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libtoolhelp.so ToolHelp.o ToolHelpIF.o segtab.o Task.o Info.o ToolHelp.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libtoolhelp.so ln -s `pwd`/libtoolhelp.so ../../windows/libtoolhelp.so rm ToolHelp.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/toolhelp' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/comm' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommDrv.c -o CommDrv.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommBin.c -o CommBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include Comm.rc -o Comm.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Comm.res.c -o Comm.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libcomm.so CommDrv.o CommBin.o Comm.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libcomm.so ln -s `pwd`/libcomm.so ../../windows/libcomm.so rm Comm.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/comm' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winsock' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinSock.c -o WinSock.o WinSock.c: In function 'Connect': WinSock.c:105:24: warning: variable 'ppt' set but not used [-Wunused-but-set-variable] struct per_task_info *ppt; ^ WinSock.c: In function 'Sendto': WinSock.c:324:28: warning: variable 'pps' set but not used [-Wunused-but-set-variable] struct per_socket_info *pps; ^ In file included from WinSock.c:39:0: WinSock.c: In function 'Socket': ../../windows/Driver.h:468:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (DWORD)(dw1),(DWORD)(dw2),(LPVOID)(lpv)) ^ WinSock.c:370:24: note: in expansion of macro 'DRVCALL_WINSOCK' New_Sock = (UINT) DRVCALL_WINSOCK(PWS_SOCKET,af,type,protocol); ^ WinSock.c: In function 'SockProc': WinSock.c:810:10: warning: variable 'event' set but not used [-Wunused-but-set-variable] long event; ^ WinSock.c: In function 'ReturnWSAHandle': WinSock.c:1013:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (HANDLE)(WinSock_Handle++); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinSockIF.c -o WinSockIF.o In file included from WinSockIF.c:44:0: WinSockIF.c: In function 'IT_ACCEPT': WinSockIF.c:216:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:53:35: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ../../windows/Endian.h:53:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ WinSockIF.c:216:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c:216:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:54:21: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ../../windows/Endian.h:54:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ WinSockIF.c:216:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c: In function 'IT_GETPEERNAME': WinSockIF.c:313:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:53:35: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ../../windows/Endian.h:53:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ WinSockIF.c:313:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c:313:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:54:21: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ../../windows/Endian.h:54:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ WinSockIF.c:313:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c: In function 'IT_GETSOCKNAME': WinSockIF.c:345:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:53:35: note: in definition of macro 'PUTWORD' #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ ../../windows/Endian.h:53:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define PUTWORD(p,w) { *((LPBYTE)(p)) = (BYTE)((WORD)(w) % 0x100); \ ^ WinSockIF.c:345:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c:345:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ ../../windows/Endian.h:54:21: note: in definition of macro 'PUTWORD' *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ ../../windows/Endian.h:54:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *((LPBYTE)(p) + 1) = (BYTE)((WORD)(w)>>8); } ^ WinSockIF.c:345:7: note: in expansion of macro 'PUTWORD' PUTWORD((UINT)lpStruct2,Sockaddr_len); ^ WinSockIF.c: In function 'IT_RECVFROM': WinSockIF.c:566:94: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] retcode = (int) Recvfrom( Socket,lpString,Len,Flags,(struct sockaddr *)&Sockaddr_in,(int FAR *)FromLen); ^ WinSockIF.c: In function 'IT_WSAASYNCGETSERVBYNAME': WinSockIF.c:1115:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+20); ^ WinSockIF.c: In function 'IT_WSAASYNCGETSERVBYPORT': WinSockIF.c:1155:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+18); ^ WinSockIF.c: In function 'IT_WSAASYNCGETPROTOBYNAME': WinSockIF.c:1193:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+16); ^ WinSockIF.c: In function 'IT_WSAASYNCGETPROTOBYNUMBER': WinSockIF.c:1231:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+14); ^ WinSockIF.c: In function 'IT_WSAASYNCGETHOSTBYNAME': WinSockIF.c:1268:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+16); ^ WinSockIF.c: In function 'IT_WSAASYNCGETHOSTBYADDR': WinSockIF.c:1310:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+20); ^ WinSockIF.c: In function 'IT_WSACANCELASYNCREQUEST': WinSockIF.c:1337:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] h = (HANDLE)(UINT)GETWORD(SP+4); ^ WinSockIF.c:1338:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!((UINT)h & OM_MASK)) ^ In file included from WinSockIF.c:48:0: WinSockIF.c:1339:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] h = GetSelectorHandle((UINT)h); ^ ../../windows/DPMI.h:60:34: note: in definition of macro 'GetSelectorHandle' #define GetSelectorHandle(w) LDT[w>>3].hGlobal ^ WinSockIF.c: In function 'IT_WSAASYNCSELECT': WinSockIF.c:1357:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Handle_in = (HANDLE)(UINT)GETWORD(SP+10); ^ WinSockIF.c: In function 'ResetNtoaSelList': WinSockIF.c:1407:37: warning: iteration 100u invokes undefined behavior [-Waggressive-loop-optimizations] NtoaSelList[NtoaIndex] = 0; ^ WinSockIF.c:1406:7: note: containing loop for (NtoaIndex=0;NtoaIndex<=100;NtoaIndex++) ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinSockBin.c -o WinSockBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include WinSock.rc -o WinSock.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinSock.res.c -o WinSock.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libwinsock.so WinSock.o WinSockIF.o WinSockBin.o WinSock.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libwinsock.so ln -s `pwd`/libwinsock.so ../../windows/libwinsock.so rm WinSock.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winsock' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/ddeml' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DdeML.c -o DdeML.o DdeML.c: In function 'ConnectEnumProc': DdeML.c:341:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage(hWnd,WM_DDE_INITIATE,(WPARAM)lpConv->hWndConv, ^ DdeML.c: In function 'DdeMLClientHandleInitACK': DdeML.c:828:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hWndPosting = (HWND)wParam; ^ DdeML.c:844:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpConv->ConvInfo.hszSvcPartner = (HSZ)(UINT)atmApp; ^ DdeML.c:845:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lpConv->ConvInfo.hszTopic = (HSZ)(UINT)atmTopic; ^ DdeML.c: In function 'SubFrameWndProc': DdeML.c:962:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return DdeMLSubFrameHandleInit(lpInst,hWnd,(HWND)wParam,lParam); ^ DdeML.c: In function 'DdeMLSubFrameHandleInit': DdeML.c:999:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ((hszApp = (HSZ)(UINT)LOWORD(lParam))) { ^ DdeML.c:1005:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hszTopic = (HSZ)(UINT)HIWORD(lParam); ^ DdeML.c:973:41: warning: variable 'bWildConnect' set but not used [-Wunused-but-set-variable] BOOL bDdeMLConnection,bSameInstance,bWildConnect; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DdeMLBin.c -o DdeMLBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include DdeML.rc -o DdeML.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c DdeML.res.c -o DdeML.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libddeml.so DdeML.o DdeMLBin.o DdeML.res.o -L../../windows -lkeyboard -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libddeml.so ln -s `pwd`/libddeml.so ../../windows/libddeml.so rm DdeML.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/ddeml' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/sound' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Sound.c -o Sound.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SoundBin.c -o SoundBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include Sound.rc -o Sound.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c Sound.res.c -o Sound.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libsound.so Sound.o SoundBin.o Sound.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libsound.so ln -s `pwd`/libsound.so ../../windows/libsound.so rm Sound.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/sound' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/w32sys' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c w32sys.c -o w32sys.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c w32sysBin.c -o w32sysBin.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. w32sys.rc -o w32sys.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c w32sys.res.c -o w32sys.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libw32sys.so w32sys.o w32sysBin.o w32sys.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libw32sys.so ln -s `pwd`/libw32sys.so ../../windows/libw32sys.so rm w32sys.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/w32sys' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/win87em' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c win87em.c -o win87em.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c win87emIF.c -o win87emIF.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include win87em.rc -o win87em.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c win87em.res.c -o win87em.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libwin87em.so win87em.o win87emIF.o win87em.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libwin87em.so ln -s `pwd`/libwin87em.so ../../windows/libwin87em.so rm win87em.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/win87em' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winspool' ../../tools/mksrc winspool32.d winspool32 WINSPOOL gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c winspool32.c -o winspool32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c winspool32Bin.c -o winspool32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c winspool.c -o winspool.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include winspool.rc -o winspool.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c winspool.res.c -o winspool.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libwinspool.so winspool32.o winspool32Bin.o winspool.o winspool.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libwinspool.so ln -s `pwd`/libwinspool.so ../../windows/libwinspool.so rm winspool.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/winspool' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commctrl' ../../tools/mksrc commctrl32.d commctrl32 COMCTL32 gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c commctrl32.c -o commctrl32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c commctrl32Bin.c -o commctrl32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WCommctl.c -o WCommctl.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WDragLbx.c -o WDragLbx.o WDragLbx.c: In function 'DrawInsert': WDragLbx.c:176:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WDragLbx.c: In function 'DragLb_OnLButtonDown': WDragLbx.c:232:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WDragLbx.c: In function 'DragLb_OnLButtonUp': WDragLbx.c:265:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WDragLbx.c: In function 'DragLb_OnDestroy': WDragLbx.c:308:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WDragLbx.c: In function 'DragLb_OnMouseMove': WDragLbx.c:368:10: warning: variable 'result' set but not used [-Wunused-but-set-variable] LRESULT result; ^ WDragLbx.c:334:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WDragLbx.c: In function 'DragLb_DoDrag': WDragLbx.c:392:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WHdr.c -o WHdr.o In file included from WCommCtrl.h:29:0, from WHdr.c:29: WHdr.c: In function 'Headr_OnCreate': ../../include/windows.h:142:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define MAKELONG(low, high) ((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16))) ^ ../../include/windows.h:159:41: note: in expansion of macro 'MAKELONG' #define MAKELP(sel, off) ((void FAR*)MAKELONG((off), (sel))) ^ ../../include/winbase.h:1295:38: note: in expansion of macro 'MAKELP' #define MAKEINTRESOURCE(i) ((LPCSTR)MAKELP(0, (i))) ^ WHdr.c:296:40: note: in expansion of macro 'MAKEINTRESOURCE' MAKEINTRESOURCE ( IDC_ARROW ) ); ^ WHdr.c: In function 'Headr_OnLButtonDown': WHdr.c:397:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_OnLButtonUp': WHdr.c:458:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_OnDestroy': WHdr.c:534:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_OnMouseMove': WHdr.c:566:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_OnEraseBkground': WHdr.c:662:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_OnPaint': WHdr.c:707:16: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WHdr.c: In function 'Headr_WndProc': WHdr.c:775:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ( LRESULT )Headr_OnEraseBkground ( hWnd, ( HDC )wParam ); ^ WHdr.c:797:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Headr_OnPaint( hWnd, ( HDC ) wParam ); ^ WHdr.c: In function 'Headr_HDMWndProc': WHdr.c:1122:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WImgList.c -o WImgList.o WImgList.c: In function 'ImageList_ICopyImage': WImgList.c:156:9: warning: variable 'NumImages' set but not used [-Wunused-but-set-variable] int NumImages = 1; ^ WImgList.c: In function 'ImageList_IAddImage': WImgList.c:289:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c: In function 'ImageList_Add': WImgList.c:418:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c:415:10: warning: variable 'ImageListSections' set but not used [-Wunused-but-set-variable] UINT ImageListSections; ^ WImgList.c: In function 'ImageList_AddMasked': WImgList.c:453:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c: In function 'ImageList_GetDragImage': WImgList.c:996:7: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c: In function 'ImageList_GetIcon': WImgList.c:1036:7: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c: In function 'ImageList_LoadImage': WImgList.c:1298:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WImgList.c: In function 'ImageList_Merge': WImgList.c:1397:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WLVHelpr.c -o WLVHelpr.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WLView.c -o WLView.o WLView.c: In function 'LView_IGetNextSubItm': WLView.c:832:25: warning: variable 'pIndxs' set but not used [-Wunused-but-set-variable] PLVSORTITEM pIndxs = ( PLVSORTITEM )NULL; ^ WLView.c:831:25: warning: variable 'pItms' set but not used [-Wunused-but-set-variable] PLVIEWROW pItms = ( PLVIEWROW )NULL; ^ WLView.c: In function 'LView_IGetNextVisibleItm': WLView.c:897:25: warning: variable 'pPrevItm' set but not used [-Wunused-but-set-variable] PLVIEWROW pPrevItm = ( PLVIEWROW )NULL; ^ WLView.c:895:25: warning: variable 'pCols' set but not used [-Wunused-but-set-variable] PLVIEWCOL pCols = ( PLVIEWCOL )NULL; ^ WLView.c: In function 'LView_OnCreate': WLView.c:1600:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( pthis->hwEdit, WM_SETFONT, ( WPARAM )pthis->hFont, ( LPARAM )FALSE ); ^ WLView.c: In function 'LView_OnMButtonDown': WLView.c:1716:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnLButtonDown': WLView.c:1743:11: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnLButtonUp': WLView.c:1788:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnDestroy': WLView.c:1813:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnMouseMove': WLView.c:1853:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnNotify': WLView.c:1924:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnEraseBkground': WLView.c:1975:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnPaint': WLView.c:2058:15: warning: variable 'Count' set but not used [-Wunused-but-set-variable] int Count; ^ WLView.c:2045:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_OnStyleChanged': WLView.c:2363:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( pthis->hwEdit, WM_SETFONT, ( WPARAM )pthis->hFont, ( LPARAM )FALSE ); ^ WLView.c:2325:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c: In function 'LView_WndProc': WLView.c:2397:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ( LRESULT )LView_OnEraseBkground ( hWnd, ( HDC )wParam ); ^ WLView.c:2451:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] LView_OnPaint( hWnd, ( HDC ) wParam ); ^ WLView.c: In function 'LView_LVMWndProc': WLView.c:3671:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WLView.c:2490:25: warning: 'size.cy' may be used uninitialized in this function [-Wmaybe-uninitialized] SIZE size, sizeIcon; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WLists.c -o WLists.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WProgBar.c -o WProgBar.o WProgBar.c: In function 'ProgBar_OnDestroy': WProgBar.c:114:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WProgBar.c: In function 'ProgBar_OnPaint': WProgBar.c:164:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WProgBar.c: In function 'ProgBar_WndProc': WProgBar.c:202:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ( LRESULT )ProgBar_OnEraseBkground ( hWnd, ( HDC )wParam ); ^ WProgBar.c:206:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ProgBar_OnPaint( hWnd, ( HDC ) wParam ); ^ WProgBar.c: In function 'ProgBar_TBMWndProc': WProgBar.c:232:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WPropsht.c -o WPropsht.o In file included from ../../include/windows.h:253:0, from WCommCtrl.h:29, from WPropsht.c:30: WPropsht.c: In function 'PropSh_ISetLayout': ../../include/commctrl.h:2711:5: warning: value computed is not used [-Wunused-value] (int)SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(BOOL)bLarger, (LPARAM)(RECT FAR *)prc) ^ WPropsht.c:348:5: note: in expansion of macro 'TabCtrl_AdjustRect' TabCtrl_AdjustRect ( hwTab, TRUE, &rcTab ); ^ ../../include/commctrl.h:2711:5: warning: value computed is not used [-Wunused-value] (int)SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(BOOL)bLarger, (LPARAM)(RECT FAR *)prc) ^ WPropsht.c:351:5: note: in expansion of macro 'TabCtrl_AdjustRect' TabCtrl_AdjustRect ( hwTab, FALSE, &pthis->rcDisplay ); ^ WPropsht.c: In function 'PropertySheet': WPropsht.c:464:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwDlg = ( HWND )DialogBoxParam ( hLibInstance, szPropSheetID, ^ WPropsht.c:470:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ( int )hwDlg; ^ WPropsht.c: In function 'PropSh_OnInitDialog': WPropsht.c:504:15: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnWMNotify': WPropsht.c:572:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnDestroy': WPropsht.c:627:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnCancel': WPropsht.c:667:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnGoBack': WPropsht.c:800:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnGoFinish': WPropsht.c:877:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnGoNext': WPropsht.c:913:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_OnCommand': WPropsht.c:995:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_AddPage': WPropsht.c:1070:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_QuerySiblings': WPropsht.c:1216:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_RemovePage': WPropsht.c:1253:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WPropsht.c: In function 'PropSh_SetCurSelById': WPropsht.c:1385:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)pPage->psPage.u.pResource == nId) { ^ WPropsht.c: In function 'PropSh_PSMWndProc': WPropsht.c:1503:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ In file included from WPropsht.c:40:0: WPropsht.c: In function 'WPropSh_DlgProc': ../../include/Log.h:21:57: warning: passing argument 7 of 'LogTwinMsgCall' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LOGMSG(h,m,w,l) LogTwinMsgCall(LF_MSG,0,h,m,w,l,__FUNCTION__); ^ WPropsht.c:1597:5: note: in expansion of macro 'LOGMSG' LOGMSG(hwnd, uMsg,wParam,lParam); ^ ../../include/Log.h:67:6: note: expected 'char *' but argument is of type 'const char *' void LogTwinMsgCall(DWORD,MSGCODE *,HWND ,int ,WPARAM ,LPARAM ,char *); ^ WPropsht.c:1602:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return PropSh_OnInitDialog ( ( hwnd ), ( HWND )( wParam ), lParam ); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WStatusb.c -o WStatusb.o WStatusb.c: In function 'CreateStatusWindow': WStatusb.c:154:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 0, 0, 0, 0, hWnd, ( HMENU )wID, ^ WStatusb.c:150:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'MenuHelp': WStatusb.c:218:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_SetText': WStatusb.c:338:14: warning: variable 'Count' set but not used [-Wunused-but-set-variable] UINT Count; ^ WStatusb.c: In function 'Statbr_GetRect': WStatusb.c:513:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_GetText': WStatusb.c:551:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_GetTextLength': WStatusb.c:603:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnLButtonDown': WStatusb.c:690:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnLButtonUp': WStatusb.c:733:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_DestroyParts': WStatusb.c:773:25: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnDestroy': WStatusb.c:805:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnGetFont': WStatusb.c:863:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnGetText': WStatusb.c:892:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnMouseMove': WStatusb.c:923:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnPaint': WStatusb.c:1013:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnSize': WStatusb.c:1088:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_OnSetFont': WStatusb.c:1117:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WStatusb.c: In function 'Statbr_WndProc': WStatusb.c:1339:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Statbr_OnPaint( hWnd, ( HDC ) wParam ); ^ WStatusb.c:1343:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Statbr_OnSetFont( hWnd, ( HFONT )wParam, ( BOOL )lParam ); ^ WStatusb.c: In function 'Statbr_STBWndProc': WStatusb.c:1386:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTVLBox.c -o WTVLBox.o In file included from ../../include/windows.h:253:0, from WCommCtrl.h:29, from WTVLBox.c:32: WTVLBox.c: In function 'TVLBox_OnHScroll': ../../include/commctrl.h:2353:5: warning: value computed is not used [-Wunused-value] (BOOL)SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0) ^ WTVLBox.c:153:9: note: in expansion of macro 'TreeView_EndEditLabelNow' TreeView_EndEditLabelNow ( hWnd, TRUE ); ^ WTVLBox.c: In function 'TVEdit_WndProc': WTVLBox.c:551:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] HDC hdc = ( HDC )wParam; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTView.c -o WTView.o WTView.c: In function 'TView_IAllocItmHandle': WTView.c:146:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pDeleted = pItmList + ( int )hItem; ^ WTView.c:151:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PTVITEMDATA pLChild = pItmList + ( int )pDeleted->LChild; ^ WTView.c: In function 'TView_IGetItem': WTView.c:362:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_IGetItemText': WTView.c:391:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lstrcpy ( szText, ( pStrList + ( int )pItem->tvi.pszText )->Label ); ^ WTView.c:384:25: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_IInsertLBItem': WTView.c:445:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c:448:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pAfterMe = pItmList + ( int )hAfterMe; ^ WTView.c:455:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pItmList + ( int )hChild; ^ WTView.c: In function 'TView_IRecursiveExpand': WTView.c:529:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pParent = pItmList + ( int )pItem->Parent; ^ WTView.c: In function 'TView_IShowSubItems': WTView.c:591:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c:600:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChildItm = pItmList + ( int )hDelete; ^ WTView.c:614:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChildItm = pItmList + ( int )pItem->FChild; ^ WTView.c:622:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChildItm = pItmList + ( int )pChildItm->NSibling; ^ WTView.c: In function 'TView_OnCreate': WTView.c:705:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( pthis->hwEdit, WM_SETFONT, ( WPARAM )pthis->hFont, ( LPARAM )FALSE ); ^ WTView.c:719:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( pthis->hwTipTxt, WM_SETFONT, ( WPARAM )pthis->hFont, ( LPARAM )FALSE ); ^ WTView.c: In function 'TView_OnHitTest': WTView.c:794:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_OnKeyUp': WTView.c:897:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnLButtonDown': WTView.c:1043:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( GetParent ( hWnd ), WM_NOTIFY, ( WPARAM )hWnd, ( LPARAM )&nm ); ^ WTView.c:983:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnLButtonUp': WTView.c:1059:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnDestroy': WTView.c:1092:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnEndEditLabelNow': WTView.c:1172:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_OnMouseMove': WTView.c:1305:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c:1275:7: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnPaint': WTView.c:1369:7: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_OnTimer': WTView.c:1453:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_WndProc': WTView.c:1509:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ( LRESULT )TView_OnEraseBkground ( hWnd, ( HDC )wParam ); ^ WTView.c:1560:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] TView_OnPaint( hWnd, ( HDC ) wParam ); ^ WTView.c: In function 'TView_OnCreateDragImage': WTView.c:1606:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_OnDeleteItem': WTView.c:1726:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c:1734:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pNext = pItmList + ( int )pItem->Parent; ^ WTView.c:1741:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pNext = pItmList + ( int )pItem->PSibling; ^ WTView.c:1746:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pNext = pItmList + ( int )pItem->NSibling; ^ WTView.c:1749:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pNext = pItmList + ( int )pItem->PSibling; ^ WTView.c:1757:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] PTVITEMDATA pDelete = pItmList + ( int )pthis->hDeleted; ^ WTView.c: In function 'TView_OnExpand': WTView.c:1797:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c: In function 'TView_OnGetItem': WTView.c:1845:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hItem; ^ WTView.c:1872:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pStr = pStrList + ( int )pItem->tvi.pszText; ^ WTView.c: In function 'TView_OnGetItemRect': WTView.c:1936:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hItem; ^ WTView.c: In function 'TView_OnInsertItem': WTView.c:1989:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pInsert = pTVItmList + ( int )hItm; /*TVItm.tvi.hItem;*/ ^ WTView.c:2005:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pParent = pTVItmList + ( int )lpTvi->hParent; ^ WTView.c:2022:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )pParent->FChild; ^ WTView.c:2045:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )pParent->LChild; ^ WTView.c:2063:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hAfterMe; ^ WTView.c:2066:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pParent = pTVItmList + ( int )pItem->Parent; ^ WTView.c:2073:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pNext = pTVItmList + ( int )pItem->NSibling; ^ WTView.c:2103:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pStr = pStrList + ( int )pInsert->tvi.pszText; ^ WTView.c:2115:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pInsert->tvi.pszText = ( LPSTR )Count; /* offset into pthis->StrList */ ^ WTView.c: In function 'TView_OnSelectItem': WTView.c:2256:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pItmList + ( int )hItem; ^ WTView.c:2257:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pParent = pItmList + ( int )pItem->Parent; ^ WTView.c: In function 'TView_OnSetItem': WTView.c:2339:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hItem; ^ WTView.c:2374:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pItem->tvi.pszText = ( LPSTR )Index; ^ WTView.c:2378:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pStr = pStrList + ( int )pItem->tvi.pszText; ^ WTView.c: In function 'TView_OnSortChildren': WTView.c:2418:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hItem; ^ WTView.c:2421:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pTVItmList + ( int )pItem->FChild; ^ WTView.c:2426:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pTVItmList + ( int )pChild->NSibling; ^ WTView.c:2433:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pTVItmList + ( int )pItem->FChild; ^ WTView.c:2445:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pTVItmList + ( int )pChild->NSibling; ^ WTView.c:2457:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pChild = pTVItmList + ( int )pSortAr[pSortAr[i].Ord].hItem; ^ WTView.c: In function 'TView_TVMWndProc': WTView.c:2489:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTView.c: In function 'TView_IGetItemInfo': WTView.c:2649:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lstrcpy ( lptvdis->pszText, ( LPSTR )( pStrList + ( int )pItem->tvi.pszText ) ); ^ WTView.c: In function 'TView_OnDrawItem': WTView.c:2730:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hItem = ( HTREEITEM )tvdis.itemData; ^ WTView.c:2731:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pItem = pTVItmList + ( int )hItem; ^ WTView.c:2732:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pParent = pTVItmList + ( int )pItem->Parent; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTab.c -o WTab.o WTab.c: In function 'TabCtl_GetItem': WTab.c:319:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_GetItemRect': WTab.c:361:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnCreate': WTab.c:512:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SendMessage ( pthis->hwSpin, UDM_SETBUDDY, ( WPARAM )hWnd, 0L ); ^ WTab.c: In function 'TabCtl_OnHScroll': WTab.c:559:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnKeyDown': WTab.c:608:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnKeyUp': WTab.c:661:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnLButtonDown': WTab.c:689:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnKillFocus': WTab.c:720:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnSetFocus': WTab.c:750:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnLButtonUp': WTab.c:781:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnDestroy': WTab.c:805:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnGetFont': WTab.c:831:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnMouseMove': WTab.c:863:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnNotify': WTab.c:915:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnPaint': WTab.c:957:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_OnSetFont': WTab.c:1030:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_IReCalcSize': WTab.c:1085:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_SetItem': WTab.c:1597:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTab.c: In function 'TabCtl_SetTooltip': WTab.c:1700:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ti.uId = ( UINT )hWnd; ^ WTab.c: In function 'TabCtl_WndProc': WTab.c:2186:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] TabCtl_OnPaint( hWnd, ( HDC ) wParam ); ^ WTab.c:2194:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] TabCtl_OnSetFont( hWnd, ( HFONT )wParam, ( BOOL ) LOWORD ( lParam ) ); ^ WTab.c: In function 'TabCtl_TCMWndProc': WTab.c:2314:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthis->hwTTip = ( HWND )wParam; ^ WTab.c:2239:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTlbCust.c -o WTlbCust.o WTlbCust.c: In function 'Toolbr_GetLBxBtnInfo': WTlbCust.c:132:21: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTlbCust.c: In function 'TlbCustom_OnDestroy': WTlbCust.c:367:22: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTlbCust.c: In function 'TlbCustom_OnDrawItem': WTlbCust.c:455:26: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTlbCust.c: In function 'TlbCustom_OnInitDialog': WTlbCust.c:494:21: warning: variable 'hwTBParent' set but not used [-Wunused-but-set-variable] HWND hwTBParent = ( HWND )NULL; ^ WTlbCust.c: In function 'TlbCustom_OnMeasureItem': WTlbCust.c:555:25: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTlbCust.c: In function 'Toolbr_DoDragDrop': WTlbCust.c:578:22: warning: variable 'iBtnCmd' set but not used [-Wunused-but-set-variable] int iBtnCmd; ^ WTlbCust.c: In function 'Toolbr_CustomizeWndProc': WTlbCust.c:660:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] lResult = ( LRESULT )TlbCustom_OnInitDialog ( hWnd, ( HWND )( wParam ), lParam ); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WToolbar.c -o WToolbar.o WToolbar.c: In function 'CreateToolbarEx': WToolbar.c:339:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 0, 0, 0, 0, hWnd, ( HMENU )wID, ^ WToolbar.c:333:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_AddBitmap': WToolbar.c:503:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hBitmap = ( HBITMAP )wBMID; ^ WToolbar.c: In function 'Toolbr_CommandToTextIndex': WToolbar.c:734:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_CommandToIndex': WToolbar.c:766:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_DrawDragLBxItem': WToolbar.c:831:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_GetBitmap': WToolbar.c:910:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_GetButtonText': WToolbar.c:985:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_GetState': WToolbar.c:1048:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_QueryStat': WToolbar.c:1264:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_SetCmdID': WToolbar.c:1298:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnLButtonDblClk': WToolbar.c:1518:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnLButtonDown': WToolbar.c:1564:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnLButtonUp': WToolbar.c:1646:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnDestroy': WToolbar.c:1712:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnMeasureItem': WToolbar.c:1743:25: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnMouseMove': WToolbar.c:1771:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnNotify': WToolbar.c:1864:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnPaint': WToolbar.c:1929:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnSize': WToolbar.c:1997:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_OnWndPosChanging': WToolbar.c:2024:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_SetTooltip': WToolbar.c:2436:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ti.uId = ( UINT )hWnd; ^ WToolbar.c: In function 'Toolbr_MoveBtn': WToolbar.c:2678:25: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WToolbar.c: In function 'Toolbr_WndProc': WToolbar.c:2967:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Toolbr_OnPaint( hWnd, ( HDC ) wParam ); ^ WToolbar.c: In function 'Toolbr_TBWndProc': WToolbar.c:3060:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ( HINSTANCE )wParam, ( LPSTR )lParam ); ^ WToolbar.c:3156:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SetParent ( hWnd, ( HWND )wParam ); ^ WToolbar.c:3167:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthis->hwTTip = ( HWND )wParam; ^ WToolbar.c:3039:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTooltip.c -o WTooltip.o WTooltip.c: In function 'Tooltip_OnDestroy': WTooltip.c:148:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_OnMouseMove': WTooltip.c:187:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_OnPaint': WTooltip.c:216:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_OnTimer': WTooltip.c:260:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_IIsPointInTool': WTooltip.c:418:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GetWindowRect ( ( HWND )pActiveToolInfo->uId, &pActiveToolInfo->rect ); ^ WTooltip.c:405:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_IGetToolRect': WTooltip.c:439:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( IsWindow ( ( HWND )pTooltip->uId ) ) ^ WTooltip.c:440:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GetWindowRect ( ( HWND )pTooltip->uId, pRect ); ^ WTooltip.c: In function 'Tooltip_GetTool': WTooltip.c:559:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_HitTest': WTooltip.c:745:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'ToolInfo_ISetSubclass': WTooltip.c:843:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwCtrl = Flags & TTF_IDISHWND ? ( HWND )pTool->uId: ^ WTooltip.c: In function 'ToolInfo_IRemoveSubclass': WTooltip.c:868:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hwCtrl = Flags & TTF_IDISHWND ? ( HWND )pTool->uId: ^ WTooltip.c: In function 'Tooltip_SetToolInfo': WTooltip.c:893:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GetDlgCtrlID ( ( HWND )pToolInfo->uId ) : pToolInfo->uId; ^ WTooltip.c: In function 'Tooltip_ProcessEvent': WTooltip.c:982:8: warning: variable 'nTimer' set but not used [-Wunused-but-set-variable] int nTimer = 0; ^ WTooltip.c: In function 'Tooltip_IFindTool': WTooltip.c:1101:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] uToolId = GetDlgCtrlID ( ( HWND )pNextTool->ToolInfo.uId ); ^ WTooltip.c:1085:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_SubclassProc': WTooltip.c:1135:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTooltip.c: In function 'Tooltip_WndProc': WTooltip.c:1188:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tooltip_OnPaint ( hWnd, ( HDC )wParam ); ^ WTooltip.c: In function 'Tooltip_TTMWndProc': WTooltip.c:1231:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WTrackbr.c -o WTrackbr.o WTrackbr.c: In function 'Trackbar_OnKeyDown': WTrackbr.c:234:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnKeyUp': WTrackbr.c:302:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnLButtonDown': WTrackbr.c:342:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnLButtonUp': WTrackbr.c:390:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnDestroy': WTrackbr.c:428:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnMouseMove': WTrackbr.c:461:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnPaint': WTrackbr.c:561:16: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_OnSetFocus': WTrackbr.c:593:12: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WTrackbr.c: In function 'Trackbar_WndProc': WTrackbr.c:953:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return ( LRESULT )Trackbar_OnEraseBkground ( hWnd, ( HDC )wParam ); ^ WTrackbr.c:988:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Trackbar_OnPaint( hWnd, ( HDC ) wParam ); ^ WTrackbr.c: In function 'Trackbar_TBMWndProc': WTrackbr.c:1017:8: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WUpdown.c -o WUpdown.o WUpdown.c: In function 'SpinBtn_OnKeyDown': WUpdown.c:299:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_OnKeyUp': WUpdown.c:340:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_OnLButtonDown': WUpdown.c:387:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_OnLButtonUp': WUpdown.c:427:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_OnPaint': WUpdown.c:484:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_OnTimer': WUpdown.c:568:9: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ WUpdown.c: In function 'SpinBtn_WndProc': WUpdown.c:915:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SpinBtn_OnPaint( hWnd, ( HDC ) wParam ); ^ WUpdown.c: In function 'SpinBtn_UDMWndProc': WUpdown.c:968:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pthis->hwBuddy = ( HWND )wParam; ^ WUpdown.c:952:13: warning: variable 'ErrorCode' set but not used [-Wunused-but-set-variable] int ErrorCode = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WLVLBox.c -o WLVLBox.o WLVLBox.c: In function 'LVEdit_WndProc': WLVLBox.c:242:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] HDC hdc = ( HDC )wParam; ^ WLVLBox.c:236:25: warning: variable 'tmHeight' set but not used [-Wunused-but-set-variable] static int tmHeight = 0; ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CommCtrl.c -o CommCtrl.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. -ECommctrl_LibMain WCommCtrl.rc -o WCommCtrl.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WCommCtrl.res.c -o WCommCtrl.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libcomctl32.so commctrl32.o commctrl32Bin.o WCommctl.o WDragLbx.o WHdr.o WImgList.o WLVHelpr.o WLView.o WLists.o WProgBar.o WPropsht.o WStatusb.o WTVLBox.o WTView.o WTab.o WTlbCust.o WToolbar.o WTooltip.o WTrackbr.o WUpdown.o WLVLBox.o CommCtrl.o WCommCtrl.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc -lm rm -f ../../windows/libcomctl32.so ln -s `pwd`/libcomctl32.so ../../windows/libcomctl32.so rm WCommCtrl.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/commctrl' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/advapi32' ../../tools/mksrc advapi32.d advapi32 ADVAPI32 gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c advapi32.c -o advapi32.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c advapi32Bin.c -o advapi32Bin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c advapi.c -o advapi.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include advapi32.rc -o advapi32.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c advapi32.res.c -o advapi32.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libadvapi32.so advapi32.o advapi32Bin.o advapi.o advapi32.res.o -L../../windows -lshell -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libadvapi32.so ln -s `pwd`/libadvapi32.so ../../windows/libadvapi32.so rm advapi32.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/advapi32' gmake[2]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/msvcrt' ../../tools/mksrc msvcrt32.d msvcrt32 MSVCRT gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c msvcrt32.c -o msvcrt32.o In file included from msvcrt32.c:3:0: msvcrt32.h:19:6: warning: conflicting types for built-in function 'malloc' void malloc(); ^ msvcrt32.h:21:6: warning: conflicting types for built-in function 'strncpy' void strncpy(); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c msvcrt32Bin.c -o msvcrt32Bin.o In file included from msvcrt32Bin.c:3:0: msvcrt32Bin.h:15:15: warning: conflicting types for built-in function 'malloc' unsigned long malloc(); ^ msvcrt32Bin.h:17:15: warning: conflicting types for built-in function 'strncpy' unsigned long strncpy(); ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c msvcrt.c -o msvcrt.o ../../tools/rc/rc -DTWIN32 -I../../include -I../../include msvcrt.rc -o msvcrt.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c msvcrt.res.c -o msvcrt.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libmsvcrt.so msvcrt32.o msvcrt32Bin.o msvcrt.o msvcrt.res.o -L../../windows -ltwin32 ../../dlls/libdll/libdll.a -lc rm -f ../../windows/libmsvcrt.so ln -s `pwd`/libmsvcrt.so ../../windows/libmsvcrt.so rm msvcrt.res.c gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls/msvcrt' gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/dlls' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/ole' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OleSvr.c -o OleSvr.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c SvrBin.c -o SvrBin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OleSvrIF.c -o OleSvrIF.o OleSvrIF.c: In function 'IT_REGSERVER': OleSvrIF.c:77:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (HANDLE)(UINT)GETWORD(SP+6), ^ ../tools/rc/rc -DTWIN32 -I../include -I../include olesvr.rc -o olesvr.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c olesvr.res.c -o olesvr.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libolesvr.so OleSvr.o SvrBin.o OleSvrIF.o olesvr.res.o -L../windows -ltwin32 ../dlls/libdll/libdll.a -lc rm -f ../windows/libolesvr.so ln -s `pwd`/libolesvr.so ../windows/libolesvr.so gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OleCli.c -o OleCli.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c CliBin.c -o CliBin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c OleCliIF.c -o OleCliIF.o ../tools/rc/rc -DTWIN32 -I../include -I../include olecli.rc -o olecli.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c olecli.res.c -o olecli.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libolecli.so OleCli.o CliBin.o OleCliIF.o olecli.res.o -L../windows -ltwin32 ../dlls/libdll/libdll.a -lc rm -f ../windows/libolecli.so ln -s `pwd`/libolecli.so ../windows/libolecli.so rm olecli.res.c olesvr.res.c gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/ole' gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/multimedia' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MultiMedia.c -o MultiMedia.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MMBin.c -o MMBin.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MCI.c -o MCI.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MMIF.c -o MMIF.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c midi.c -o midi.o midi.c: In function 'midiInMessage': midi.c:655:10: warning: 'dwMidiInUser' may be used uninitialized in this function [-Wmaybe-uninitialized] return midiInDeviceMessage(uMidiInDeviceID, uMsg, ^ midi.c: In function 'midiOutMessage': midi.c:922:10: warning: 'dwMidiOutUser' may be used uninitialized in this function [-Wmaybe-uninitialized] return midiOutDeviceMessage(uMidiOutDeviceID, uMsg, ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mmdrv.c -o mmdrv.o gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c wave.c -o wave.o wave.c: In function 'waveInMessage': wave.c:686:3: warning: 'dwWaveInUser' may be used uninitialized in this function [-Wmaybe-uninitialized] waveInDeviceMessage(uWaveInDeviceID, uMsg, ^ wave.c: In function 'waveOutMessage': wave.c:1010:18: warning: 'dwWaveOutUser' may be used uninitialized in this function [-Wmaybe-uninitialized] uWaveOutResult = waveOutDeviceMessage(uWaveOutDeviceID, uMsg, ^ gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c mmaux.c -o mmaux.o ../tools/rc/rc -DTWIN32 -I../include -I../include MultiMedia.rc -o MultiMedia.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c MultiMedia.res.c -o MultiMedia.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -shared -Wl,-Bsymbolic -o libmmsystem.so MultiMedia.o MMBin.o MCI.o MMIF.o midi.o mmdrv.o wave.o mmaux.o MultiMedia.res.o -L../windows -ltwin32 ../dlls/libdll/libdll.a -lc rm -f ../windows/libmmsystem.so ln -s `pwd`/libmmsystem.so ../windows/libmmsystem.so rm MultiMedia.res.c gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/multimedia' Build: Willows Native DLL Libraries complete. ========== XWIN =========== gmake[1]: Entering directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c WinMain.c -o WinMain.o ../tools/rc/rc -DTWIN32 -I../include -I../include -I.. TwinRT.rc -o TwinRT.res.c gcc -Wall -fPIC -Dsparc64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -c TwinRT.res.c -o TwinRT.res.o gcc -Wall -fPIC -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib -o xwin32 WinMain.o TwinRT.res.o -L/usr/X11R7/lib -lX11 -L. -ltwin32 ./libtwin32.so: undefined reference to `TWIN_DrvCanDoThreads' ./libtwin32.so: undefined reference to `TWIN_DrvGetMainThread' ./libtwin32.so: undefined reference to `TWIN_DrvYieldToThread' ./libtwin32.so: undefined reference to `TWIN_DrvFreeThread' ./libtwin32.so: undefined reference to `TWIN_DrvCreateThread' gmake[1]: *** [Makefile:144: xwin32] Error 1 rm TwinRT.res.c gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/twin/work/twin/windows' gmake: *** [Makefile:171: xwin] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/emulators/twin *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/twin