=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for twin-3.1.14nb3
/bin/cp /scratch/emulators/twin/work/twin/windows/Execfreebsd.c /scratch/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
Build: Willows Library
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/tools'
rm -f .depend
========== Tools ==========
if test "mksrc.c" != "dummy"; \
	then \
		for i in mksrc.c; \
		do \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
Build: windows
Thu May 27 10:51:15 CEST 2010
========= LIBTWIN =========
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/tools'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mksrc.c -o mksrc.o
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/intp32'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fp87.c -o fp87.o
In file included from fp87.c:52:
hsw_interp.h:1917: error: expected ')' before '*' token
hsw_interp.h:1925: error: expected ')' before '*' token
hsw_interp.h:1928: error: expected ')' before '*' token
hsw_interp.h:1931: error: expected ')' before '*' token
hsw_interp.h:1934: error: expected ')' before '*' token
hsw_interp.h:1938: error: expected ')' before '*' token
hsw_interp.h:1940: error: expected ')' before '*' token
hsw_interp.h:1942: error: expected ')' before '*' token
hsw_interp.h:1944: error: expected ')' before '*' token
hsw_interp.h:1946: error: expected ')' before '*' token
hsw_interp.h:1948: error: expected ')' before '*' token
hsw_interp.h:1950: error: expected ')' before '*' token
hsw_interp.h:1953: error: expected ')' before '*' token
hsw_interp.h:1955: error: expected ')' before '*' token
fp87.c:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
fp87.c: In function 'illegal_op':
fp87.c:299: warning: implicit declaration of function 'exit'
fp87.c:299: warning: incompatible implicit declaration of built-in function 'exit'
fp87.c: In function 'not_implemented':
fp87.c:306: warning: incompatible implicit declaration of built-in function 'exit'
fp87.c: In function 'hsw_fp87_00m':
fp87.c:333: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_01m':
fp87.c:348: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_02m':
fp87.c:365: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_02r':
fp87.c:380: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_03m':
fp87.c:397: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_03r':
fp87.c:413: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_04m':
fp87.c:430: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_05m':
fp87.c:446: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_06m':
fp87.c:463: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_06r':
fp87.c:473: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_07m':
fp87.c:484: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_07r':
fp87.c:494: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_10m':
fp87.c:506: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:508: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_10r':
fp87.c:517: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:519: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_11r':
fp87.c:534: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:536: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_12m':
fp87.c:545: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_13m':
fp87.c:563: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_14r':
fp87.c:625: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:628: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:637: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_15r':
fp87.c:738: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_16r':
fp87.c:847: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:847: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_17r':
fp87.c:900: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:901: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:902: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:902: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:926: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:936: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:942: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:954: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:978: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c:987: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_25r':
fp87.c:1104: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_32m':
fp87.c:1185: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_33m':
fp87.c:1212: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_40m':
fp87.c:1313: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_41m':
fp87.c:1328: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_42m':
fp87.c:1344: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_43m':
fp87.c:1366: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_44m':
fp87.c:1388: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_45m':
fp87.c:1403: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_46m':
fp87.c:1426: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_47m':
fp87.c:1444: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_50m':
fp87.c:1453: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_52m':
fp87.c:1482: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_53m':
fp87.c:1498: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_54r':
fp87.c:1539: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_55r':
fp87.c:1560: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_63r':
fp87.c:1763: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_72m':
fp87.c:1875: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_73m':
fp87.c:1901: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_74r':
fp87.c:1974: error: 'envp_global' undeclared (first use in this function)
fp87.c:1974: error: (Each undeclared identifier is reported only once
fp87.c:1974: error: for each function it appears in.)
fp87.c: In function 'hsw_fp87_76m':
fp87.c:2012: warning: dereferencing type-punned pointer will break strict-aliasing rules
fp87.c: In function 'hsw_fp87_77m':
fp87.c:2054: warning: dereferencing type-punned pointer will break strict-aliasing rules
gmake[1]: *** [fp87.o] Error 1
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/intp32'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/controls'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Listbox.c -o Listbox.o
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/tools'
gmake[1]: Entering directory `/scratch/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
Listbox.c: In function 'DefLISTBOXProc':
Listbox.c:144: warning: value computed is not used
Listbox.c:158: warning: cast to pointer from integer of different size
Listbox.c:172: warning: cast to pointer from integer of different size
Listbox.c:238: warning: value computed is not used
Listbox.c:242: warning: value computed is not used
Listbox.c:300: warning: value computed is not used
Listbox.c:304: warning: value computed is not used
Listbox.c: In function 'LBoxCreate':
Listbox.c:932: warning: cast from pointer to integer of different size
Listbox.c:944: warning: value computed is not used
Listbox.c: In function 'LBoxCalcFrame':
Listbox.c:1030: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxMeasureItem':
Listbox.c:1312: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxSendItemDraw':
Listbox.c:1352: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxPaint':
Listbox.c:1430: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxNotify':
Listbox.c:1609: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxItemFromCommand':
Listbox.c:1642: warning: cast to pointer from integer of different size
for i in rc.y.tab.c rc.z.tab.c lex.yy.c; do ( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" $i >> .depend ); done
Listbox.c: In function 'LBoxResetContent':
Listbox.c:1913: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxDeleteItem':
Listbox.c:2004: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxFindItem':
Listbox.c:2172: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxModifyItem':
Listbox.c:2335: warning: cast to pointer from integer of different size
Listbox.c:2338: warning: cast from pointer to integer of different size
Listbox.c: In function 'LBoxAddItem':
Listbox.c:2464: warning: cast to pointer from integer of different size
Listbox.c:2519: warning: cast from pointer to integer of different size
cc -Wall -fPIC -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o mksrc      mksrc.o    
Listbox.c: In function 'CheckMenuHandle32':
Listbox.c:2739: warning: value computed is not used
Listbox.c: In function 'LBoxAPI':
Listbox.c:2769: warning: cast from pointer to integer of different size
Listbox.c:2779: warning: value computed is not used
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/tools'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/tools/rc'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c rc.y.tab.c -o rc.y.tab.o
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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c rc.z.tab.c -o rc.z.tab.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c lex.yy.c -o lex.yy.o
rclex.l: In function 'hex2dec':
rclex.l:907: warning: array subscript has type 'char'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c ComboBox.c -o ComboBox.o
gmake[1]: Leaving directory `/scratch/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 `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
rclex.l: At top level:
lex.yy.c:4486: warning: 'yy_fatal_error' defined but not used
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/intp32'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/controls'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c define.c -o define.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c resources.c -o resources.o
ComboBox.c: In function 'DefCOMBOBOXProc':
ComboBox.c:188: warning: cast from pointer to integer of different size
ComboBox.c:294: warning: cast from pointer to integer of different size
ComboBox.c:300: warning: cast from pointer to integer of different size
ComboBox.c:303: warning: cast from pointer to integer of different size
ComboBox.c:430: warning: value computed is not used
ComboBox.c:774: warning: cast to pointer from integer of different size
resources.c: In function 'add_common_resource':
resources.c:163: warning: cast to pointer from integer of different size
resources.c:173: warning: cast from pointer to integer of different size
resources.c: In function 'make_cursor_resource':
resources.c:298: warning: cast to pointer from integer of different size
resources.c: In function 'make_icon_resource':
resources.c:393: warning: cast to pointer from integer of different size
resources.c: In function 'find_string_segment':
resources.c:882: warning: cast from pointer to integer of different size
resources.c:889: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Frame.c -o Frame.o
Frame.c: In function 'FrameProc':
Frame.c:91: warning: value computed is not used
Frame.c:97: warning: value computed is not used
Frame.c:126: warning: value computed is not used
Frame.c:130: warning: value computed is not used
Frame.c: In function 'DrawWindowFrame':
Frame.c:153: warning: value computed is not used
Frame.c:254: warning: value computed is not used
Frame.c: In function 'DrawCaption':
Frame.c:300: warning: value computed is not used
Frame.c:356: warning: value computed is not used
Frame.c: In function 'SetMinMaxGlyphRect':
Frame.c:376: warning: value computed is not used
Frame.c:387: warning: value computed is not used
Frame.c:399: warning: value computed is not used
Frame.c: In function 'TWIN_ConvertToSysScroll':
Frame.c:582: warning: value computed is not used
Frame.c:591: warning: value computed is not used
Frame.c:592: warning: value computed is not used
Frame.c: In function 'DoNCHitTest':
Frame.c:635: warning: value computed is not used
Frame.c:647: warning: value computed is not used
Frame.c:662: warning: value computed is not used
Frame.c:676: warning: value computed is not used
Frame.c:685: warning: value computed is not used
Frame.c:691: warning: value computed is not used
Frame.c:694: warning: value computed is not used
Frame.c:709: warning: value computed is not used
Frame.c:721: warning: value computed is not used
Frame.c:730: warning: value computed is not used
Frame.c:756: warning: value computed is not used
Frame.c:762: warning: value computed is not used
Frame.c:788: warning: value computed is not used
Frame.c: In function 'DoNCDragMove':
Frame.c:1061: warning: value computed is not used
Frame.c:1131: warning: value computed is not used
Frame.c:1301: warning: value computed is not used
Frame.c:1327: warning: value computed is not used
Frame.c:1338: warning: value computed is not used
Frame.c:1343: warning: value computed is not used
Frame.c:1354: warning: value computed is not used
Frame.c:1467: warning: value computed is not used
Frame.c: In function 'ClipCursorByClient':
Frame.c:1478: warning: dereferencing type-punned pointer will break strict-aliasing rules
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/if1632'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/memory'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Button.c -o Button.o
Button.c: In function 'DefBUTTONProc':
Button.c:117: warning: cast to pointer from integer of different size
Button.c:121: warning: cast from pointer to integer of different size
Button.c:177: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c ButtonDraw.c -o ButtonDraw.o
ButtonDraw.c: In function 'DrawPushButton':
ButtonDraw.c:153: warning: cast to pointer from integer of different size
ButtonDraw.c: In function 'DrawRadioCheckButton':
ButtonDraw.c:311: warning: cast to pointer from integer of different size
ButtonDraw.c: In function 'DrawGroupBox':
ButtonDraw.c:515: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c util.c -o util.o
util.c: In function 'istrcmp':
util.c:291: warning: array subscript has type 'char'
util.c:291: warning: array subscript has type 'char'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c rc.c -o rc.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c printres.c -o printres.o
printres.c: In function 'print_num_or_str':
printres.c:109: warning: cast from pointer to integer of different size
printres.c: In function 'print_menu_list':
printres.c:262: warning: cast from pointer to integer of different size
printres.c:270: warning: cast from pointer to integer of different size
printres.c: In function 'print_menu_name':
printres.c:309: warning: cast from pointer to integer of different size
printres.c: In function 'print_func':
printres.c:606: warning: cast from pointer to integer of different size
printres.c: In function 'print_resources':
printres.c:656: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c cmdline.c -o cmdline.o
cmdline.c: In function 'open_include':
cmdline.c:525: warning: array subscript has type 'char'
cmdline.c:527: warning: array subscript has type 'char'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Static.c -o Static.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c buffer.c -o buffer.o
buffer.c: In function 'str_dup':
buffer.c:54: warning: implicit declaration of function 'strlen'
buffer.c:54: warning: incompatible implicit declaration of built-in function 'strlen'
buffer.c:55: warning: implicit declaration of function 'strcpy'
buffer.c:55: warning: incompatible implicit declaration of built-in function 'strcpy'
buffer.c: In function 'buff_realloc':
buffer.c:120: warning: implicit declaration of function 'memcpy'
buffer.c:120: warning: incompatible implicit declaration of built-in function 'memcpy'
buffer.c: In function 'buff_cat':
buffer.c:152: warning: incompatible implicit declaration of built-in function 'memcpy'
buffer.c: In function 'buff_dup':
buffer.c:166: warning: incompatible implicit declaration of built-in function 'memcpy'
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/msdos'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c cleanup.c -o cleanup.o
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/osdll'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
Static.c: In function 'DefSTATICProc':
Static.c:77: warning: cast from pointer to integer of different size
Static.c:97: warning: cast to pointer from integer of different size
Static.c:167: warning: cast to pointer from integer of different size
Static.c: In function 'StaticPaint':
Static.c:259: warning: cast to pointer from integer of different size
Static.c:294: warning: cast to pointer from integer of different size
Static.c:316: warning: cast to pointer from integer of different size
Static.c:328: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -D__INCPATH__=\"/usr/pkg/include\" -c mdc.c -o mdc.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Scroll.c -o Scroll.o
mdc.c: In function 'parse':
mdc.c:173: warning: array subscript has type 'char'
mdc.c:180: warning: array subscript has type 'char'
mdc.c: In function 'DoLibraryInfo':
mdc.c:236: warning: array subscript has type 'char'
mdc.c:237: warning: array subscript has type 'char'
cc -Wall -fPIC -L/usr/pkg/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 `/scratch/emulators/twin/work/twin/tools/rc'
Build: Willows Tools, complete.
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c ScrollPaint.c -o ScrollPaint.o
======= Native DLL ========
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/dlls'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/libdll'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c LibMain.c -o LibMain.o
ScrollPaint.c: In function 'ScrollbarSendItemDraw':
ScrollPaint.c:85: warning: value computed is not used
ScrollPaint.c:86: warning: value computed is not used
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/scheduler'
for i in graphics graphics/x11drv; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Edit.c -o Edit.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c LibWEP.c -o LibWEP.o
Edit.c: In function 'DefEDITProc':
Edit.c:123: warning: cast to pointer from integer of different size
Edit.c:124: warning: cast to pointer from integer of different size
Edit.c:128: warning: cast to pointer from integer of different size
Edit.c:130: warning: cast from pointer to integer of different size
Edit.c:131: warning: cast to pointer from integer of different size
Edit.c:149: warning: cast from pointer to integer of different size
Edit.c:150: warning: cast to pointer from integer of different size
Edit.c: In function 'OnLButtonDblClk':
Edit.c:222: warning: cast from pointer to integer of different size
Edit.c:275: warning: cast from pointer to integer of different size
Edit.c: In function 'OnLButtonDown':
Edit.c:298: warning: cast from pointer to integer of different size
Edit.c:308: warning: cast from pointer to integer of different size
Edit.c: In function 'OnMouseMove':
Edit.c:344: warning: cast from pointer to integer of different size
Edit.c:350: warning: cast from pointer to integer of different size
Edit.c: In function 'OnKey':
Edit.c:363: warning: cast from pointer to integer of different size
Edit.c:365: warning: cast from pointer to integer of different size
Edit.c: In function 'OnKillFocus':
Edit.c:390: warning: cast from pointer to integer of different size
Edit.c:408: warning: cast from pointer to integer of different size
Edit.c: In function 'OnChar':
Edit.c:448: warning: cast from pointer to integer of different size
Edit.c:449: warning: cast from pointer to integer of different size
Edit.c:454: warning: cast from pointer to integer of different size
Edit.c: In function 'OnSetText':
Edit.c:477: warning: cast from pointer to integer of different size
Edit.c:480: warning: cast from pointer to integer of different size
Edit.c:492: warning: cast from pointer to integer of different size
Edit.c: In function 'OnEraseBkgnd':
Edit.c:515: warning: cast from pointer to integer of different size
Edit.c: In function 'OnPaint':
Edit.c:544: warning: cast from pointer to integer of different size
Edit.c:547: warning: cast from pointer to integer of different size
Edit.c: In function 'OnGetText':
Edit.c:564: warning: cast from pointer to integer of different size
Edit.c:572: warning: cast from pointer to integer of different size
Edit.c: In function 'OnSetFont':
Edit.c:608: warning: cast from pointer to integer of different size
Edit.c:626: warning: cast from pointer to integer of different size
Edit.c: In function 'OnNCCreate':
Edit.c:683: warning: cast from pointer to integer of different size
Edit.c:685: warning: cast from pointer to integer of different size
Edit.c:693: warning: cast from pointer to integer of different size
Edit.c:694: warning: cast from pointer to integer of different size
Edit.c:717: warning: cast from pointer to integer of different size
Edit.c: In function 'OnNCDestroy':
Edit.c:739: warning: cast from pointer to integer of different size
Edit.c:740: warning: cast from pointer to integer of different size
Edit.c: In function 'OnEMSetHandle':
Edit.c:932: warning: cast from pointer to integer of different size
Edit.c: In function 'OnEMSetSel':
Edit.c:999: warning: cast from pointer to integer of different size
Edit.c:1028: warning: cast from pointer to integer of different size
Edit.c: In function 'OnEMReplaceSel':
Edit.c:1051: warning: cast from pointer to integer of different size
Edit.c:1053: warning: cast from pointer to integer of different size
Edit.c: In function 'ResetEditControl':
Edit.c:1350: warning: cast from pointer to integer of different size
Edit.c:1362: warning: cast from pointer to integer of different size
Edit.c: In function 'InsertChars':
Edit.c:1481: warning: cast from pointer to integer of different size
Edit.c:1483: warning: cast from pointer to integer of different size
Edit.c:1484: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DefTable.c -o DefTable.o
DefTable.c:55: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ResTable.c -o ResTable.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/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 `/scratch/emulators/twin/work/twin/dlls/libdll'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/commdlg'
../../tools/mksrc commdlg32.d commdlg32 COMMDLG
../../tools/mksrc commdlg32.d commdlg32 COMMDLG
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ChooseColor.c -o ChooseColor.o
ChooseColor.c: In function 'WCCDialogProc':
ChooseColor.c:1846: warning: cast to pointer from integer of different size
ChooseColor.c:1849: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c EditKey.c -o EditKey.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c EditDraw.c -o EditDraw.o
EditDraw.c: In function 'PaintEditControl':
EditDraw.c:58: warning: cast from pointer to integer of different size
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/graphics'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c EditMem.c -o EditMem.o
EditMem.c: In function 'EditMemoryAPI':
EditMem.c:63: warning: value computed is not used
EditMem.c:71: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c EditMisc.c -o EditMisc.o
EditMisc.c: In function 'InsertRRN':
EditMisc.c:332: warning: cast from pointer to integer of different size
EditMisc.c:334: warning: cast from pointer to integer of different size
EditMisc.c:335: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c EditMemBin.c -o EditMemBin.o
EditMemBin.c: In function 'EditMemoryBin':
EditMemBin.c:64: warning: cast to pointer from integer of different size
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    
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ChooseFont.c -o ChooseFont.o
ranlib libctl.a
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/controls'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/if1632'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c LocalMem.c -o LocalMem.o
ChooseFont.c: In function 'WCFDialogProc':
ChooseFont.c:1346: warning: cast from pointer to integer of different size
ChooseFont.c:1349: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Commdlg.c -o Commdlg.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c FindReplDlg.c -o FindReplDlg.o
FindReplDlg.c: In function 'FindDlgProc':
FindReplDlg.c:206: warning: cast from pointer to integer of different size
FindReplDlg.c:209: warning: cast to pointer from integer of different size
FindReplDlg.c: In function 'ReplaceDlgProc':
FindReplDlg.c:390: warning: cast from pointer to integer of different size
FindReplDlg.c:393: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c ConvertMsg.c -o ConvertMsg.o
ConvertMsg.c: In function 'hsw_common_nat_to_bin':
ConvertMsg.c:158: warning: cast to pointer from integer of different size
ConvertMsg.c:171: warning: cast from pointer to integer of different size
ConvertMsg.c:171: warning: cast from pointer to integer of different size
ConvertMsg.c:207: warning: cast from pointer to integer of different size
ConvertMsg.c:207: warning: cast from pointer to integer of different size
ConvertMsg.c:245: warning: cast from pointer to integer of different size
ConvertMsg.c:245: warning: cast from pointer to integer of different size
ConvertMsg.c:264: warning: cast from pointer to integer of different size
ConvertMsg.c:264: warning: cast from pointer to integer of different size
ConvertMsg.c:265: warning: cast from pointer to integer of different size
ConvertMsg.c:265: warning: cast from pointer to integer of different size
ConvertMsg.c:314: warning: cast from pointer to integer of different size
ConvertMsg.c:314: warning: cast from pointer to integer of different size
ConvertMsg.c:327: warning: cast from pointer to integer of different size
ConvertMsg.c:327: warning: cast from pointer to integer of different size
ConvertMsg.c:339: warning: cast from pointer to integer of different size
ConvertMsg.c:339: warning: cast from pointer to integer of different size
ConvertMsg.c:340: warning: cast from pointer to integer of different size
ConvertMsg.c:340: warning: cast from pointer to integer of different size
ConvertMsg.c:374: warning: cast from pointer to integer of different size
ConvertMsg.c:374: warning: cast from pointer to integer of different size
ConvertMsg.c:414: warning: cast to pointer from integer of different size
ConvertMsg.c:419: warning: cast from pointer to integer of different size
ConvertMsg.c:419: warning: cast from pointer to integer of different size
ConvertMsg.c:435: warning: cast from pointer to integer of different size
ConvertMsg.c:435: warning: cast from pointer to integer of different size
ConvertMsg.c:436: warning: cast from pointer to integer of different size
ConvertMsg.c:436: warning: cast from pointer to integer of different size
ConvertMsg.c:447: warning: cast from pointer to integer of different size
ConvertMsg.c:447: warning: cast from pointer to integer of different size
ConvertMsg.c:448: warning: cast from pointer to integer of different size
ConvertMsg.c:448: warning: cast from pointer to integer of different size
ConvertMsg.c:456: warning: cast to pointer from integer of different size
ConvertMsg.c:457: warning: cast to pointer from integer of different size
ConvertMsg.c:465: warning: cast to pointer from integer of different size
ConvertMsg.c:584: warning: cast from pointer to integer of different size
ConvertMsg.c:584: warning: cast from pointer to integer of different size
ConvertMsg.c: In function 'hsw_common_bin_to_nat':
ConvertMsg.c:655: warning: cast from pointer to integer of different size
ConvertMsg.c:655: warning: cast to pointer from integer of different size
ConvertMsg.c:656: warning: cast to pointer from integer of different size
ConvertMsg.c:657: warning: cast to pointer from integer of different size
ConvertMsg.c:694: warning: cast to pointer from integer of different size
ConvertMsg.c:712: warning: cast to pointer from integer of different size
ConvertMsg.c:727: warning: cast to pointer from integer of different size
ConvertMsg.c:728: warning: cast to pointer from integer of different size
ConvertMsg.c:798: warning: cast to pointer from integer of different size
ConvertMsg.c:799: warning: cast to pointer from integer of different size
ConvertMsg.c:857: warning: cast to pointer from integer of different size
ConvertMsg.c:887: warning: cast from pointer to integer of different size
ConvertMsg.c:887: warning: cast from pointer to integer of different size
ConvertMsg.c:888: warning: cast from pointer to integer of different size
ConvertMsg.c:888: warning: cast from pointer to integer of different size
ConvertMsg.c: In function 'hsw_getmessage_nat_to_bin':
ConvertMsg.c:932: warning: cast from pointer to integer of different size
ConvertMsg.c:932: warning: cast from pointer to integer of different size
ConvertMsg.c:944: warning: cast from pointer to integer of different size
ConvertMsg.c:944: warning: cast from pointer to integer of different size
ConvertMsg.c: In function 'hsw_mdiclient_bin_to_nat':
ConvertMsg.c:1408: warning: cast to pointer from integer of different size
ConvertMsg.c:1409: warning: cast to pointer from integer of different size
ConvertMsg.c:1424: warning: cast to pointer from integer of different size
ConvertMsg.c: In function 'TWIN_nat_to_bin_openfilename':
ConvertMsg.c:1489: warning: cast from pointer to integer of different size
ConvertMsg.c:1489: warning: cast from pointer to integer of different size
ConvertMsg.c:1490: warning: cast from pointer to integer of different size
ConvertMsg.c:1490: warning: cast from pointer to integer of different size
ConvertMsg.c: In function 'TWIN_bin_to_nat_openfilename':
ConvertMsg.c:1652: warning: cast to pointer from integer of different size
ConvertMsg.c:1653: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c GetOpenFileName.c -o GetOpenFileName.o
GetOpenFileName.c: In function 'GetFileTitle':
GetOpenFileName.c:2297: warning: array subscript has type 'char'
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/graphics/x11drv'
for i in windows; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c PrintDlg.c -o PrintDlg.o
PrintDlg.c: In function 'PrintDlgProc':
PrintDlg.c:231: warning: passing argument 7 of 'LogTwinMsgCall' discards qualifiers from pointer target type
PrintDlg.c:361: warning: cast to pointer from integer of different size
PrintDlg.c:482: warning: cast from pointer to integer of different size
PrintDlg.c:485: warning: cast to pointer from integer of different size
PrintDlg.c: In function 'PrintSetupDlgProc':
PrintDlg.c:610: warning: cast to pointer from integer of different size
PrintDlg.c:659: warning: cast from pointer to integer of different size
PrintDlg.c:670: warning: cast from pointer to integer of different size
PrintDlg.c:750: warning: cast from pointer to integer of different size
PrintDlg.c:753: warning: cast to pointer from integer of different size
PrintDlg.c: In function 'InitPrintSetupControls':
PrintDlg.c:845: warning: cast from pointer to integer of different size
PrintDlg.c: In function 'MakeDEVStruct':
PrintDlg.c:996: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c CommdlgIF.c -o CommdlgIF.o
CommdlgIF.c: In function 'IT_PRINTDLG':
CommdlgIF.c:94: warning: cast to pointer from integer of different size
CommdlgIF.c:123: warning: value computed is not used
CommdlgIF.c:182: warning: value computed is not used
CommdlgIF.c:191: warning: value computed is not used
CommdlgIF.c:203: warning: cast from pointer to integer of different size
CommdlgIF.c:203: warning: cast from pointer to integer of different size
CommdlgIF.c: In function 'IT_FINDREPLACE':
CommdlgIF.c:293: warning: cast to pointer from integer of different size
CommdlgIF.c:315: warning: value computed is not used
CommdlgIF.c: In function 'IT_CHOOSECOLOR':
CommdlgIF.c:355: warning: cast to pointer from integer of different size
CommdlgIF.c:362: warning: value computed is not used
CommdlgIF.c: In function 'IT_CHOOSEFONT':
CommdlgIF.c:426: warning: cast to pointer from integer of different size
CommdlgIF.c:427: warning: cast to pointer from integer of different size
CommdlgIF.c:462: warning: value computed is not used
CommdlgIF.c: In function 'IT_1LPOF':
CommdlgIF.c:513: warning: cast to pointer from integer of different size
CommdlgIF.c:547: warning: value computed is not used
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c CommdlgIT.c -o CommdlgIT.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. -ECommdlg_LibMain Commdlg.rc -o Commdlg.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c commdlg32.c -o commdlg32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c commdlg32Bin.c -o commdlg32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Commdlg.res.c -o Commdlg.res.o
Commdlg.res.c:3320: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libcommdlg.so] Error 1
rm Commdlg.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/commdlg'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/shell'
../../tools/mksrc shell32.d shell32 SHELL
../../tools/mksrc shell32.d shell32 SHELL
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Shell.c -o Shell.o
Shell.c: In function 'ShellExecute':
Shell.c:104: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ShellIF.c -o ShellIF.o
ShellIF.c: In function 'IT_EXTRACTASSICON':
ShellIF.c:58: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Registry.c -o Registry.o
Registry.c: In function 'RegSetValueEx':
Registry.c:319: warning: pointer targets in passing argument 4 of 'RegSetValue' differ in signedness
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DragDrop.c -o DragDrop.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c About.c -o About.o
About.c: In function 'ShellAboutHandler':
About.c:174: warning: cast from pointer to integer of different size
../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. About.rc -o About.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c shell32.c -o shell32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c shell32Bin.c -o shell32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c About.res.c -o About.res.o
About.res.c:517: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libshell.so] Error 1
rm About.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/shell'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/keyboard'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Keyboard.c -o Keyboard.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c SysKeyboard.c -o SysKeyboard.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c KeyboardIF.c -o KeyboardIF.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c KeyboardBin.c -o KeyboardBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  Keyboard.rc -o Keyboard.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Keyboard.res.c -o Keyboard.res.o
Keyboard.res.c:184: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libkeyboard.so] Error 1
rm Keyboard.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/keyboard'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/version'
../../tools/mksrc version32.d version32 VERSION
../../tools/mksrc version32.d version32 VERSION
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Ver.c -o Ver.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c VerIF.c -o VerIF.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c VerBin.c -o VerBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. Ver.rc -o Ver.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c version32.c -o version32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c version32Bin.c -o version32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Ver.res.c -o Ver.res.o
Ver.res.c:59: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libversion.so] Error 1
rm Ver.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/version'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/system'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c System.c -o System.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Callback.c -o Callback.o
Callback.c: In function 'hsw_enumprops':
Callback.c:54: warning: cast from pointer to integer of different size
Callback.c:54: warning: cast from pointer to integer of different size
Callback.c:56: warning: cast from pointer to integer of different size
Callback.c:56: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_timerproc':
Callback.c:66: warning: cast from pointer to integer of different size
Callback.c:66: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_wndenumproc':
Callback.c:89: warning: cast from pointer to integer of different size
Callback.c:89: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_abortproc':
Callback.c:189: warning: cast from pointer to integer of different size
Callback.c:189: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_msgfilterproc':
Callback.c:214: warning: cast from pointer to integer of different size
Callback.c:214: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_hookproc':
Callback.c:245: warning: cast from pointer to integer of different size
Callback.c:245: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_callwndproc':
Callback.c:278: warning: cast from pointer to integer of different size
Callback.c:278: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_mouseproc':
Callback.c:315: warning: cast from pointer to integer of different size
Callback.c:315: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_cbtproc':
Callback.c:351: warning: cast from pointer to integer of different size
Callback.c:351: warning: cast from pointer to integer of different size
Callback.c:352: warning: cast from pointer to integer of different size
Callback.c:352: warning: cast from pointer to integer of different size
Callback.c:385: warning: cast from pointer to integer of different size
Callback.c:385: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_graystringproc':
Callback.c:417: warning: cast from pointer to integer of different size
Callback.c:417: warning: cast from pointer to integer of different size
Callback.c: In function 'hsw_mfenumproc':
Callback.c:446: warning: cast from pointer to integer of different size
Callback.c:446: warning: cast from pointer to integer of different size
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/windows'
for i in dlls ole   multimedia; do ( cd ./$i && /usr/pkg/bin/gmake depend ); done
gmake[1]: Entering directory `/scratch/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 `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c SystemIF.c -o SystemIF.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  System.rc -o System.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c System.res.c -o System.res.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/libdll'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
System.res.c:51: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libsystem.so] Error 1
rm System.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/system'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/lzexpand'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c LZExpand.c -o LZExpand.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c LZExpandBin.c -o LZExpandBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  LZExpand.rc -o LZExpand.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c LZExpand.res.c -o LZExpand.res.o
LZExpand.res.c:59: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/commdlg'
ld: cannot find -ltwin32
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/shell'
rm -f .depend
gmake[2]: *** [liblzexpand.so] Error 1
rm LZExpand.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/lzexpand'
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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/toolhelp'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ToolHelp.c -o ToolHelp.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c GenericIF.c -o GenericIF.o
ToolHelp.c: In function 'FillModuleEntry':
ToolHelp.c:62: warning: cast from pointer to integer of different size
ToolHelp.c: In function 'ModuleNext':
ToolHelp.c:88: warning: value computed is not used
ToolHelp.c: In function 'ModuleFindName':
ToolHelp.c:103: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ToolHelpIF.c -o ToolHelpIF.o
GenericIF.c: In function 'IT_1H':
GenericIF.c:133: warning: cast to pointer from integer of different size
GenericIF.c:134: warning: cast from pointer to integer of different size
GenericIF.c:135: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_2H':
GenericIF.c:264: warning: cast to pointer from integer of different size
GenericIF.c:264: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1W':
GenericIF.c:287: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1UI':
GenericIF.c:299: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1UI1H':
GenericIF.c:311: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I':
GenericIF.c:322: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1D':
GenericIF.c:394: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP':
GenericIF.c:461: warning: cast to pointer from integer of different size
GenericIF.c:462: warning: cast from pointer to integer of different size
GenericIF.c:463: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1LP1H':
GenericIF.c:479: warning: cast to pointer from integer of different size
GenericIF.c:480: warning: cast from pointer to integer of different size
GenericIF.c:481: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H1LPP':
GenericIF.c:513: warning: cast to pointer from integer of different size
GenericIF.c:517: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPSZ':
GenericIF.c:532: warning: cast to pointer from integer of different size
GenericIF.c:537: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPR':
GenericIF.c:553: warning: cast to pointer from integer of different size
GenericIF.c:557: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc':
GenericIF.c:573: warning: cast to pointer from integer of different size
GenericIF.c:576: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_3H':
GenericIF.c:624: warning: cast to pointer from integer of different size
GenericIF.c:625: warning: cast to pointer from integer of different size
GenericIF.c:626: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2UI':
GenericIF.c:663: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I':
GenericIF.c:676: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H1I':
GenericIF.c:689: warning: cast to pointer from integer of different size
GenericIF.c:690: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H1D':
GenericIF.c:702: warning: cast to pointer from integer of different size
GenericIF.c:703: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1UI':
GenericIF.c:715: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1W':
GenericIF.c:728: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1D1UI':
GenericIF.c:741: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1L1I':
GenericIF.c:754: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2L':
GenericIF.c:780: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP1H':
GenericIF.c:864: warning: cast to pointer from integer of different size
GenericIF.c:866: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP1W':
GenericIF.c:879: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP1I':
GenericIF.c:894: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1LP':
GenericIF.c:924: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1L1LPB':
GenericIF.c:1020: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPR1I':
GenericIF.c:1037: warning: cast to pointer from integer of different size
GenericIF.c:1043: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPR1UI':
GenericIF.c:1060: warning: cast to pointer from integer of different size
GenericIF.c:1066: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc1H':
GenericIF.c:1083: warning: cast to pointer from integer of different size
GenericIF.c:1085: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc1I':
GenericIF.c:1105: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc1UI':
GenericIF.c:1127: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H3I':
GenericIF.c:1211: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H2UI':
GenericIF.c:1225: warning: cast to pointer from integer of different size
GenericIF.c:1226: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H2I':
GenericIF.c:1239: warning: cast to pointer from integer of different size
GenericIF.c:1240: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_3H1I':
GenericIF.c:1253: warning: cast to pointer from integer of different size
GenericIF.c:1254: warning: cast to pointer from integer of different size
GenericIF.c:1255: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I1H':
GenericIF.c:1267: warning: cast to pointer from integer of different size
GenericIF.c:1270: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1UI1I':
GenericIF.c:1281: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I1D':
GenericIF.c:1295: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I2LPI':
GenericIF.c:1313: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1UI2L':
GenericIF.c:1328: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1LP1I':
GenericIF.c:1344: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1I1LPI1I':
GenericIF.c:1361: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP2I':
GenericIF.c:1379: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP2I1UI':
GenericIF.c:1395: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1UI1LP1I':
GenericIF.c:1412: warning: cast to pointer from integer of different size
GenericIF.c:1413: warning: cast from pointer to integer of different size
GenericIF.c:1414: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H1LP1UI1D':
GenericIF.c:1433: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2LP1UI':
GenericIF.c:1450: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2LP1UI1H':
GenericIF.c:1486: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2LP1H':
GenericIF.c:1502: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2LP1H':
GenericIF.c:1516: warning: cast to pointer from integer of different size
GenericIF.c:1519: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2LP':
GenericIF.c:1532: warning: cast to pointer from integer of different size
GenericIF.c:1533: warning: cast from pointer to integer of different size
GenericIF.c:1534: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H2I1LPP':
GenericIF.c:1590: warning: cast to pointer from integer of different size
GenericIF.c:1597: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LP1I1LPSZ':
GenericIF.c:1616: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc1H1UI':
GenericIF.c:1641: warning: cast to pointer from integer of different size
GenericIF.c:1643: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H4I':
GenericIF.c:1689: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_3H2I':
GenericIF.c:1704: warning: cast to pointer from integer of different size
GenericIF.c:1705: warning: cast to pointer from integer of different size
GenericIF.c:1706: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2UI2H':
GenericIF.c:1719: warning: cast to pointer from integer of different size
GenericIF.c:1722: warning: cast to pointer from integer of different size
GenericIF.c:1723: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I1D1UI':
GenericIF.c:1734: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H1UI1W1L':
GenericIF.c:1749: warning: cast to pointer from integer of different size
GenericIF.c:1750: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1D1H1UI2L':
GenericIF.c:1765: warning: cast to pointer from integer of different size
ToolHelpIF.c: In function 'IT_1LPTE':
ToolHelpIF.c:30: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1UI1LP2UI':
GenericIF.c:1798: warning: cast to pointer from integer of different size
ToolHelpIF.c: In function 'IT_1LP1HTE':
ToolHelpIF.c:52: warning: cast to pointer from integer of different size
ToolHelpIF.c: In function 'GetTASKENTRY':
ToolHelpIF.c:67: warning: cast from pointer to integer of different size
ToolHelpIF.c:67: warning: cast from pointer to integer of different size
ToolHelpIF.c:69: warning: cast from pointer to integer of different size
ToolHelpIF.c:69: warning: cast from pointer to integer of different size
ToolHelpIF.c:71: warning: cast from pointer to integer of different size
ToolHelpIF.c:71: warning: cast from pointer to integer of different size
ToolHelpIF.c:73: warning: cast from pointer to integer of different size
ToolHelpIF.c:73: warning: cast from pointer to integer of different size
ToolHelpIF.c:87: warning: cast from pointer to integer of different size
ToolHelpIF.c:87: warning: cast from pointer to integer of different size
ToolHelpIF.c:93: warning: cast from pointer to integer of different size
ToolHelpIF.c:93: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H2I2LPRc':
GenericIF.c:1849: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H1LPRc2I1D':
GenericIF.c:1873: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H5I':
GenericIF.c:1904: warning: cast to pointer from integer of different size
ToolHelpIF.c: In function 'IT_GLOBALENTRYHANDLE':
ToolHelpIF.c:186: warning: cast from pointer to integer of different size
ToolHelpIF.c:186: warning: cast from pointer to integer of different size
ToolHelpIF.c:199: warning: cast from pointer to integer of different size
ToolHelpIF.c:199: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H4I1D':
GenericIF.c:1920: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I1LPSZ':
GenericIF.c:1992: warning: cast to pointer from integer of different size
GenericIF.c:1999: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H4I1LPSZ':
GenericIF.c:2018: warning: cast to pointer from integer of different size
GenericIF.c:2027: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H6I':
GenericIF.c:2043: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_2H4I1UI':
GenericIF.c:2060: warning: cast to pointer from integer of different size
GenericIF.c:2061: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H2I2B2LPB':
GenericIF.c:2079: warning: cast to pointer from integer of different size
GenericIF.c:2080: warning: cast from pointer to integer of different size
GenericIF.c:2081: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H4I2LPB':
GenericIF.c:2106: warning: cast to pointer from integer of different size
GenericIF.c:2107: warning: cast from pointer to integer of different size
GenericIF.c:2108: warning: cast from pointer to integer of different size
GenericIF.c: In function 'IT_1H1UI3I1H1LPRc':
GenericIF.c:2140: warning: cast to pointer from integer of different size
GenericIF.c:2145: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_3H4I1UI':
GenericIF.c:2157: warning: cast to pointer from integer of different size
GenericIF.c:2158: warning: cast to pointer from integer of different size
GenericIF.c:2159: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_1H8I':
GenericIF.c:2175: warning: cast to pointer from integer of different size
GenericIF.c: In function 'IT_SHELLEXECUTE':
GenericIF.c:2201: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c segtab.c -o segtab.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/shell'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Task.c -o Task.o
Task.c: In function 'FillTaskEntry':
Task.c:32: warning: cast to pointer from integer of different size
Task.c:49: warning: cast to pointer from integer of different size
Task.c:61: warning: value computed is not used
Task.c:62: warning: value computed is not used
Task.c: In function 'TaskFirst':
Task.c:75: warning: cast from pointer to integer of different size
Task.c: In function 'TaskNext':
Task.c:87: warning: cast from pointer to integer of different size
Task.c: In function 'TaskFindHandle':
Task.c:99: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Info.c -o Info.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/keyboard'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/version'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  ToolHelp.rc -o ToolHelp.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c ToolHelp.res.c -o ToolHelp.res.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/system'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
ToolHelp.res.c:154: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libtoolhelp.so] Error 1
rm ToolHelp.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/toolhelp'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/comm'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c CommDrv.c -o CommDrv.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/lzexpand'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c CommBin.c -o CommBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  Comm.rc -o Comm.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Comm.res.c -o Comm.res.o
Comm.res.c:158: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/toolhelp'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
ld: cannot find -ltwin32
gmake[2]: *** [libcomm.so] Error 1
rm Comm.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/comm'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/winsock'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WinSock.c -o WinSock.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/comm'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
WinSock.c: In function 'Socket':
WinSock.c:370: warning: cast to pointer from integer of different size
WinSock.c: In function 'ReturnWSAHandle':
WinSock.c:1013: warning: cast to pointer from integer of different size
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/winsock'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/ddeml'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c SpecialIF.c -o SpecialIF.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/sound'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
SpecialIF.c: In function 'IT_CRBRUSHIND':
SpecialIF.c:224: warning: cast from pointer to integer of different size
SpecialIF.c:225: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEPAL':
SpecialIF.c:288: warning: cast from pointer to integer of different size
SpecialIF.c:289: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_1H1LPPS':
SpecialIF.c:340: warning: cast to pointer from integer of different size
SpecialIF.c:341: warning: cast from pointer to integer of different size
SpecialIF.c:341: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_1H1LPPSc':
SpecialIF.c:363: warning: cast to pointer from integer of different size
SpecialIF.c:372: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_1H1LPTM':
SpecialIF.c:386: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_1H1LPWP':
SpecialIF.c:413: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_1H1LPWPc':
SpecialIF.c:438: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_ENUMPROPS':
SpecialIF.c:452: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_ENUMCHILDWIN':
SpecialIF.c:510: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_ENUMFONTS':
SpecialIF.c:547: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETCLASSINFO':
SpecialIF.c:570: warning: cast to pointer from integer of different size
SpecialIF.c:571: warning: cast to pointer from integer of different size
SpecialIF.c:572: warning: cast to pointer from integer of different size
SpecialIF.c:573: warning: cast to pointer from integer of different size
SpecialIF.c:587: warning: cast from pointer to integer of different size
SpecialIF.c:587: warning: cast from pointer to integer of different size
SpecialIF.c:588: warning: cast from pointer to integer of different size
SpecialIF.c:588: warning: cast from pointer to integer of different size
SpecialIF.c:589: warning: cast from pointer to integer of different size
SpecialIF.c:589: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_INSERTMENU':
SpecialIF.c:611: warning: cast to pointer from integer of different size
SpecialIF.c:618: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_APPENDMENU':
SpecialIF.c:638: warning: cast to pointer from integer of different size
SpecialIF.c:644: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_2H1LPP1UI':
SpecialIF.c:669: warning: cast to pointer from integer of different size
SpecialIF.c:670: warning: cast to pointer from integer of different size
SpecialIF.c:677: warning: cast to pointer from integer of different size
SpecialIF.c:678: warning: cast to pointer from integer of different size
SpecialIF.c:693: warning: cast to pointer from integer of different size
SpecialIF.c:694: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_QUERYSENDMSG':
SpecialIF.c:717: warning: cast from pointer to integer of different size
SpecialIF.c:717: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_GETMESSAGE':
SpecialIF.c:737: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SETTIMER':
SpecialIF.c:757: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_ENUMOBJECTS':
SpecialIF.c:778: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DIALOG':
SpecialIF.c:810: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DLGPARAM':
SpecialIF.c:832: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GRAYSTRING':
SpecialIF.c:871: warning: cast to pointer from integer of different size
SpecialIF.c:872: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DISPATCHMSG':
SpecialIF.c:897: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_TRANSLATEMSG':
SpecialIF.c:944: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_ISDIALOGMSG':
SpecialIF.c:970: warning: cast to pointer from integer of different size
SpecialIF.c:999: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_TRANSLATEMDISYSACCEL':
SpecialIF.c:1015: warning: cast to pointer from integer of different size
SpecialIF.c:1020: warning: cast to pointer from integer of different size
SpecialIF.c:1021: warning: cast from pointer to integer of different size
SpecialIF.c:1021: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CALLMSGFILTER':
SpecialIF.c:1043: warning: cast to pointer from integer of different size
SpecialIF.c:1050: warning: cast from pointer to integer of different size
SpecialIF.c:1050: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_TRANSLATEACCEL':
SpecialIF.c:1072: warning: cast to pointer from integer of different size
SpecialIF.c:1078: warning: cast to pointer from integer of different size
SpecialIF.c:1081: warning: cast from pointer to integer of different size
SpecialIF.c:1081: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_SENDMESSAGE':
SpecialIF.c:1111: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SENDDLGITEMMSG':
SpecialIF.c:1158: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_PEEKMESSAGE':
SpecialIF.c:1178: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_CALLWINPROC':
SpecialIF.c:1209: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_CREATEDIBM':
SpecialIF.c:1250: warning: cast to pointer from integer of different size
SpecialIF.c:1258: warning: cast from pointer to integer of different size
SpecialIF.c:1259: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEDIBPB':
SpecialIF.c:1278: warning: cast from pointer to integer of different size
SpecialIF.c:1279: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEDLGIN':
SpecialIF.c:1299: warning: cast to pointer from integer of different size
SpecialIF.c:1304: warning: cast from pointer to integer of different size
SpecialIF.c:1305: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEDLGIP':
SpecialIF.c:1325: warning: cast to pointer from integer of different size
SpecialIF.c:1331: warning: cast from pointer to integer of different size
SpecialIF.c:1332: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_DLGBOXIN':
SpecialIF.c:1352: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DLGBOXIP':
SpecialIF.c:1397: warning: cast to pointer from integer of different size
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/w32sys'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
SpecialIF.c: In function 'IT_CREATEWIN':
SpecialIF.c:1483: warning: value computed is not used
SpecialIF.c:1495: warning: cast to pointer from integer of different size
SpecialIF.c:1516: warning: cast to pointer from integer of different size
SpecialIF.c:1517: warning: cast to pointer from integer of different size
SpecialIF.c:1521: warning: cast from pointer to integer of different size
SpecialIF.c:1522: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEWINEX':
SpecialIF.c:1553: warning: cast to pointer from integer of different size
SpecialIF.c:1575: warning: cast to pointer from integer of different size
SpecialIF.c:1576: warning: cast to pointer from integer of different size
SpecialIF.c:1580: warning: cast from pointer to integer of different size
SpecialIF.c:1581: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_DRAWTEXT':
SpecialIF.c:1597: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_EXTTEXTOUT':
SpecialIF.c:1631: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETCHARWID':
SpecialIF.c:1659: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETCHARABC':
SpecialIF.c:1685: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETKERNPAIRS':
SpecialIF.c:1711: warning: cast to pointer from integer of different size
SpecialIF.c:1718: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SCROLLDC':
SpecialIF.c:1760: warning: cast to pointer from integer of different size
SpecialIF.c:1765: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SCROLLWINEX':
SpecialIF.c:1799: warning: cast to pointer from integer of different size
SpecialIF.c:1804: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_STRETCHDIBITS':
SpecialIF.c:1829: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_TEXTOUT':
SpecialIF.c:1857: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_TABTEXTOUT':
SpecialIF.c:1882: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETTABBEDTEXTEXT':
SpecialIF.c:1910: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SETDIBTD':
SpecialIF.c:1934: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SETDIBITS':
SpecialIF.c:1967: warning: cast to pointer from integer of different size
SpecialIF.c:1968: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETDIBITS':
SpecialIF.c:1996: warning: cast to pointer from integer of different size
SpecialIF.c:1997: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_REGCLASS':
SpecialIF.c:2035: warning: cast to pointer from integer of different size
SpecialIF.c:2036: warning: cast to pointer from integer of different size
SpecialIF.c:2037: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_REGCLASSEX':
SpecialIF.c:2081: warning: cast to pointer from integer of different size
SpecialIF.c:2082: warning: cast to pointer from integer of different size
SpecialIF.c:2083: warning: cast to pointer from integer of different size
SpecialIF.c:2088: warning: cast to pointer from integer of different size
SpecialIF.c:2089: warning: dereferencing type-punned pointer will break strict-aliasing rules
SpecialIF.c: In function 'IT_GWLONG':
SpecialIF.c:2257: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SWLONG':
SpecialIF.c:2279: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GCWORD':
SpecialIF.c:2320: warning: cast to pointer from integer of different size
SpecialIF.c:2323: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SCWORD':
SpecialIF.c:2360: warning: cast from pointer to integer of different size
SpecialIF.c:2369: warning: cast to pointer from integer of different size
SpecialIF.c:2372: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GCLONG':
SpecialIF.c:2385: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SCLONG':
SpecialIF.c:2405: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_1H1LPPA1I':
SpecialIF.c:2442: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_POLY':
SpecialIF.c:2462: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_POLYPOLY':
SpecialIF.c:2490: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_CREATEPOLYRGN':
SpecialIF.c:2517: warning: cast from pointer to integer of different size
SpecialIF.c:2518: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CREATEPOLYPOLYRGN':
SpecialIF.c:2546: warning: cast from pointer to integer of different size
SpecialIF.c:2547: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_GETOBJECT':
SpecialIF.c:2692: warning: cast to pointer from integer of different size
SpecialIF.c:2700: warning: cast to pointer from integer of different size
SpecialIF.c:2720: warning: cast to pointer from integer of different size
SpecialIF.c:2740: warning: cast to pointer from integer of different size
SpecialIF.c:2749: warning: cast to pointer from integer of different size
SpecialIF.c:2785: warning: cast to pointer from integer of different size
SpecialIF.c:2792: warning: value computed is not used
SpecialIF.c: In function 'IT_PLAYMETAREC':
SpecialIF.c:2803: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DEFFRAMEPROC':
SpecialIF.c:3077: warning: cast to pointer from integer of different size
SpecialIF.c:3078: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_SETPALENTRIES':
SpecialIF.c:3213: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETPALENTRIES':
SpecialIF.c:3229: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_LOADLIBRARY':
SpecialIF.c:3269: warning: cast from pointer to integer of different size
SpecialIF.c:3270: warning: cast to pointer from integer of different size
SpecialIF.c:3272: warning: cast from pointer to integer of different size
SpecialIF.c:3273: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_WRITEPRIVPRSTR':
SpecialIF.c:3356: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_WINFROMPT':
SpecialIF.c:3593: warning: cast from pointer to integer of different size
SpecialIF.c:3594: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_CHWINFROMPT':
SpecialIF.c:3604: warning: cast to pointer from integer of different size
SpecialIF.c:3606: warning: cast from pointer to integer of different size
SpecialIF.c:3607: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_LREADWR':
SpecialIF.c:3635: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_HREADWR':
SpecialIF.c:3654: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'GetMODULEENTRY':
SpecialIF.c:3762: warning: cast from pointer to integer of different size
SpecialIF.c:3762: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_GETCURTASK':
SpecialIF.c:3780: warning: value computed is not used
SpecialIF.c: In function 'IT_GETWINTASK':
SpecialIF.c:3793: warning: cast to pointer from integer of different size
SpecialIF.c:3796: warning: value computed is not used
SpecialIF.c: In function 'IT_BITBLT':
SpecialIF.c:3821: warning: cast to pointer from integer of different size
SpecialIF.c:3826: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_STRETCHBLT':
SpecialIF.c:3840: warning: cast to pointer from integer of different size
SpecialIF.c:3845: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_DLGDIRLIST':
SpecialIF.c:3863: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETMENUSTRING':
SpecialIF.c:3880: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_WINHELP':
SpecialIF.c:3916: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_GETWINDOWWORD':
SpecialIF.c:3970: warning: cast to pointer from integer of different size
SpecialIF.c:3973: warning: cast to pointer from integer of different size
SpecialIF.c:3973: warning: cast to pointer from integer of different size
SpecialIF.c:3981: warning: cast to pointer from integer of different size
SpecialIF.c:3984: warning: cast from pointer to integer of different size
SpecialIF.c:3985: warning: cast from pointer to integer of different size
SpecialIF.c: In function 'IT_SETWINDOWWORD':
SpecialIF.c:4004: warning: cast from pointer to integer of different size
SpecialIF.c:4010: warning: cast to pointer from integer of different size
SpecialIF.c:4013: warning: cast to pointer from integer of different size
SpecialIF.c: In function 'IT_CALCCHILDSCROLL':
SpecialIF.c:4055: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WinSockIF.c -o WinSockIF.o
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/win87em'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/winspool'
rm -f .depend
if test "winspool.c" != "dummy"; \
	then \
		for i in winspool.c; \
		do \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
WinSockIF.c: In function 'IT_ACCEPT':
WinSockIF.c:216: warning: cast from pointer to integer of different size
WinSockIF.c:216: warning: cast to pointer from integer of different size
WinSockIF.c:216: warning: cast from pointer to integer of different size
WinSockIF.c:216: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_GETPEERNAME':
WinSockIF.c:313: warning: cast from pointer to integer of different size
WinSockIF.c:313: warning: cast to pointer from integer of different size
WinSockIF.c:313: warning: cast from pointer to integer of different size
WinSockIF.c:313: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_GETSOCKNAME':
WinSockIF.c:345: warning: cast from pointer to integer of different size
WinSockIF.c:345: warning: cast to pointer from integer of different size
WinSockIF.c:345: warning: cast from pointer to integer of different size
WinSockIF.c:345: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_RECVFROM':
WinSockIF.c:566: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETSERVBYNAME':
WinSockIF.c:1115: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETSERVBYPORT':
WinSockIF.c:1155: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETPROTOBYNAME':
WinSockIF.c:1193: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETPROTOBYNUMBER':
WinSockIF.c:1231: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETHOSTBYNAME':
WinSockIF.c:1268: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSAASYNCGETHOSTBYADDR':
WinSockIF.c:1310: warning: cast to pointer from integer of different size
WinSockIF.c: In function 'IT_WSACANCELASYNCREQUEST':
WinSockIF.c:1337: warning: cast to pointer from integer of different size
WinSockIF.c:1338: warning: cast from pointer to integer of different size
WinSockIF.c:1339: warning: cast from pointer to integer of different size
WinSockIF.c: In function 'IT_WSAASYNCSELECT':
WinSockIF.c:1357: warning: cast to pointer from integer of different size
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/winspool'
gmake[2]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WinSockBin.c -o WinSockBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  WinSock.rc -o WinSock.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WinSock.res.c -o WinSock.res.o
WinSock.res.c:286: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libwinsock.so] Error 1
rm WinSock.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/winsock'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/ddeml'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DdeML.c -o DdeML.o
DdeML.c: In function 'ConnectEnumProc':
DdeML.c:341: warning: cast from pointer to integer of different size
DdeML.c: In function 'DdeMLClientHandleInitACK':
DdeML.c:828: warning: cast to pointer from integer of different size
DdeML.c:844: warning: cast to pointer from integer of different size
DdeML.c:845: warning: cast to pointer from integer of different size
DdeML.c: In function 'SubFrameWndProc':
DdeML.c:962: warning: cast to pointer from integer of different size
DdeML.c: In function 'DdeMLSubFrameHandleInit':
DdeML.c:999: warning: cast to pointer from integer of different size
DdeML.c:1005: warning: cast to pointer from integer of different size
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/commctrl'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/advapi32'
rm -f .depend
if test "advapi.c" != "dummy"; \
	then \
		for i in advapi.c; \
		do \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/advapi32'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/msvcrt'
rm -f .depend
if test "msvcrt.c" != "dummy"; \
	then \
		for i in msvcrt.c; \
		do \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/msvcrt'
if test "dummy" != "dummy"; \
	then \
		for i in dummy; \
		do \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/dlls'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DdeMLBin.c -o DdeMLBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  DdeML.rc -o DdeML.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DdeML.res.c -o DdeML.res.o
DdeML.res.c:73: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -lkeyboard
gmake[2]: *** [libddeml.so] Error 1
rm DdeML.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/ddeml'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/sound'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Sound.c -o Sound.o
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/ole'
gmake[1]: Entering directory `/scratch/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 \
			( cc -MM -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  ./$i >> .depend ) || true; \
		done; \
	fi
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c SoundBin.c -o SoundBin.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  Sound.rc -o Sound.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c Sound.res.c -o Sound.res.o
Sound.res.c:55: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libsound.so] Error 1
rm Sound.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/sound'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/w32sys'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c w32sys.c -o w32sys.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c w32sysBin.c -o w32sysBin.o
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/multimedia'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c HookIF.c -o HookIF.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. w32sys.rc -o w32sys.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c w32sys.res.c -o w32sys.res.o
HookIF.c: In function 'IT_SETWINDOWSHOOKEX':
HookIF.c:146: warning: cast from pointer to integer of different size
HookIF.c:147: warning: cast from pointer to integer of different size
HookIF.c: In function 'IT_DEFHOOKPROC':
HookIF.c:189: warning: dereferencing type-punned pointer will break strict-aliasing rules
HookIF.c: In function 'GetHookParam':
HookIF.c:239: warning: cast to pointer from integer of different size
HookIF.c:249: warning: cast to pointer from integer of different size
HookIF.c:261: warning: cast to pointer from integer of different size
HookIF.c:262: warning: cast to pointer from integer of different size
HookIF.c:284: warning: cast to pointer from integer of different size
HookIF.c:291: warning: cast to pointer from integer of different size
w32sys.res.c:54: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libw32sys.so] Error 1
rm w32sys.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/w32sys'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/win87em'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c win87em.c -o win87em.o
========== XWIN ===========
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/windows'
gmake[1]: *** No rule to make target `../graphics/libgdi.a', needed by `libtwin32.so'.  Stop.
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/windows'
gmake: *** [xwin] Error 2
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c win87emIF.c -o win87emIF.o
gmake: *** Waiting for unfinished jobs....
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MemoryIF.c -o MemoryIF.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  win87em.rc -o win87em.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c win87em.res.c -o win87em.res.o
MemoryIF.c: In function 'IT_LOCALALLOC':
MemoryIF.c:104: warning: cast from pointer to integer of different size
MemoryIF.c:105: warning: cast from pointer to integer of different size
MemoryIF.c: In function 'IT_LOCALREALLOC':
MemoryIF.c:113: warning: cast to pointer from integer of different size
MemoryIF.c:117: warning: cast from pointer to integer of different size
MemoryIF.c:118: warning: cast from pointer to integer of different size
MemoryIF.c: In function 'IT_GLOBALLOCK':
MemoryIF.c:233: warning: cast to pointer from integer of different size
MemoryIF.c:235: warning: cast to pointer from integer of different size
MemoryIF.c:252: warning: value computed is not used
MemoryIF.c: In function '_86_GlobalHandle':
MemoryIF.c:329: warning: value computed is not used
MemoryIF.c: In function 'IT_GLOBALSIZE':
MemoryIF.c:359: warning: cast from pointer to integer of different size
MemoryIF.c: In function 'IT_LOADRESOURCE':
MemoryIF.c:415: warning: cast to pointer from integer of different size
MemoryIF.c:437: warning: value computed is not used
MemoryIF.c: In function 'AccessResourceBin':
MemoryIF.c:498: warning: value computed is not used
MemoryIF.c:512: warning: value computed is not used
MemoryIF.c:513: warning: value computed is not used
MemoryIF.c: In function 'IT_ACCESSRESOURCE':
MemoryIF.c:524: warning: cast to pointer from integer of different size
MemoryIF.c: In function 'IT_SIZEOFRESOURCE':
MemoryIF.c:541: warning: cast to pointer from integer of different size
MemoryIF.c:562: warning: value computed is not used
MemoryIF.c: In function 'IT_GETCLIPBDATA':
MemoryIF.c:575: warning: cast from pointer to integer of different size
MemoryIF.c:594: warning: value computed is not used
MemoryIF.c: In function 'IT_SETCLIPBDATA':
MemoryIF.c:610: warning: cast from pointer to integer of different size
MemoryIF.c:635: warning: value computed is not used
MemoryIF.c: In function 'IT_PLAYMETAFILE':
MemoryIF.c:915: warning: cast to pointer from integer of different size
MemoryIF.c: In function 'IT_CLOSEMF':
MemoryIF.c:961: warning: cast to pointer from integer of different size
MemoryIF.c: In function 'IT_LOADACCEL':
MemoryIF.c:1053: warning: value computed is not used
win87em.res.c:41: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libwin87em.so] Error 1
rm win87em.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/win87em'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/winspool'
../../tools/mksrc winspool32.d winspool32 WINSPOOL
../../tools/mksrc winspool32.d winspool32 WINSPOOL
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c winspool.c -o winspool.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  winspool.rc -o winspool.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c winspool32.c -o winspool32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c winspool32Bin.c -o winspool32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c winspool.res.c -o winspool.res.o
winspool.res.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libwinspool.so] Error 1
rm winspool.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/winspool'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/commctrl'
../../tools/mksrc commctrl32.d commctrl32 COMCTL32
../../tools/mksrc commctrl32.d commctrl32 COMCTL32
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WCommctl.c -o WCommctl.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WDragLbx.c -o WDragLbx.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c PrintIF.c -o PrintIF.o
PrintIF.c: In function 'IT_DEVICEMODE':
PrintIF.c:69: warning: cast to pointer from integer of different size
PrintIF.c: In function 'IT_EXTDEVICEMODE':
PrintIF.c:101: warning: cast to pointer from integer of different size
PrintIF.c:102: warning: cast to pointer from integer of different size
PrintIF.c: In function 'IT_RESETDC':
PrintIF.c:211: warning: cast to pointer from integer of different size
PrintIF.c: In function 'IT_GETDRVINFO':
PrintIF.c:227: warning: cast to pointer from integer of different size
PrintIF.c:229: warning: cast from pointer to integer of different size
PrintIF.c:229: warning: cast from pointer to integer of different size
PrintIF.c:230: warning: cast from pointer to integer of different size
PrintIF.c:230: warning: cast from pointer to integer of different size
PrintIF.c: In function 'IT_ESCAPE':
PrintIF.c:300: warning: cast to pointer from integer of different size
PrintIF.c:309: warning: cast to pointer from integer of different size
PrintIF.c:315: warning: cast to pointer from integer of different size
PrintIF.c:327: warning: cast to pointer from integer of different size
PrintIF.c:332: warning: cast to pointer from integer of different size
PrintIF.c:342: warning: cast to pointer from integer of different size
PrintIF.c:347: warning: cast to pointer from integer of different size
PrintIF.c:354: warning: cast to pointer from integer of different size
PrintIF.c:363: warning: cast to pointer from integer of different size
PrintIF.c:368: warning: cast to pointer from integer of different size
PrintIF.c:378: warning: cast to pointer from integer of different size
PrintIF.c:384: warning: cast to pointer from integer of different size
PrintIF.c:390: warning: cast to pointer from integer of different size
PrintIF.c:407: warning: cast to pointer from integer of different size
PrintIF.c:412: warning: cast to pointer from integer of different size
PrintIF.c:420: warning: cast to pointer from integer of different size
PrintIF.c:427: warning: cast to pointer from integer of different size
PrintIF.c:471: warning: cast to pointer from integer of different size
PrintIF.c:500: warning: cast to pointer from integer of different size
PrintIF.c: In function 'IT_SETABORTPROC':
PrintIF.c:521: warning: cast to pointer from integer of different size
PrintIF.c: In function 'IT_STARTDOC':
PrintIF.c:538: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WHdr.c -o WHdr.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WImgList.c -o WImgList.o
WHdr.c: In function 'Headr_WndProc':
WHdr.c:775: warning: cast to pointer from integer of different size
WHdr.c:797: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c PrinterBin.c -o PrinterBin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WLVHelpr.c -o WLVHelpr.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c CommIF.c -o CommIF.o
CommIF.c: In function 'IT_1I1H2I':
CommIF.c:255: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WLView.c -o WLView.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WLists.c -o WLists.o
WLView.c: In function 'LView_OnCreate':
WLView.c:1600: warning: cast from pointer to integer of different size
WLView.c: In function 'LView_OnStyleChanged':
WLView.c:2363: warning: cast from pointer to integer of different size
WLView.c: In function 'LView_WndProc':
WLView.c:2397: warning: cast to pointer from integer of different size
WLView.c:2451: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c BitmapBin.c -o BitmapBin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WProgBar.c -o WProgBar.o
WLView.c: In function 'LView_LVMWndProc':
WLView.c:2490: warning: 'size.cy' is used uninitialized in this function
WProgBar.c: In function 'ProgBar_WndProc':
WProgBar.c:202: warning: cast to pointer from integer of different size
WProgBar.c:206: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OEMRoutines.c -o OEMRoutines.o
OEMRoutines.c: In function 'AddOEMTable':
OEMRoutines.c:110: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_ExtDeviceMode':
OEMRoutines.c:223: warning: cast from pointer to integer of different size
OEMRoutines.c:223: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_AdvancedSetupDialog':
OEMRoutines.c:274: warning: cast from pointer to integer of different size
OEMRoutines.c:274: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_DeviceMode':
OEMRoutines.c:554: warning: cast from pointer to integer of different size
OEMRoutines.c:554: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_Control':
OEMRoutines.c:842: warning: cast to pointer from integer of different size
OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassCtl':
OEMRoutines.c:2005: warning: cast from pointer to integer of different size
OEMRoutines.c:2005: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassDlg':
OEMRoutines.c:2015: warning: cast from pointer to integer of different size
OEMRoutines.c:2015: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dSubclassDlgEx':
OEMRoutines.c:2025: warning: cast from pointer to integer of different size
OEMRoutines.c:2025: warning: cast from pointer to integer of different size
OEMRoutines.c: In function 'cnb_CTL3DV2_Ctl3dCtlColor':
OEMRoutines.c:2035: warning: cast from pointer to integer of different size
OEMRoutines.c:2035: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WPropsht.c -o WPropsht.o
WPropsht.c: In function 'PropSh_ISetLayout':
WPropsht.c:348: warning: value computed is not used
WPropsht.c:351: warning: value computed is not used
WPropsht.c: In function 'PropertySheet':
WPropsht.c:466: warning: cast to pointer from integer of different size
WPropsht.c:470: warning: cast from pointer to integer of different size
WPropsht.c: In function 'PropSh_SetCurSelById':
WPropsht.c:1385: warning: cast from pointer to integer of different size
WPropsht.c: In function 'WPropSh_DlgProc':
WPropsht.c:1597: warning: passing argument 7 of 'LogTwinMsgCall' discards qualifiers from pointer target type
WPropsht.c:1602: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WStatusb.c -o WStatusb.o
WStatusb.c: In function 'CreateStatusWindow':
WStatusb.c:154: warning: cast to pointer from integer of different size
WStatusb.c: In function 'Statbr_WndProc':
WStatusb.c:1339: warning: cast to pointer from integer of different size
WStatusb.c:1343: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTVLBox.c -o WTVLBox.o
WTVLBox.c: In function 'TVLBox_OnHScroll':
WTVLBox.c:153: warning: value computed is not used
WTVLBox.c: In function 'TVEdit_WndProc':
WTVLBox.c:551: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTView.c -o WTView.o
WTView.c: In function 'TView_IAllocItmHandle':
WTView.c:146: warning: cast from pointer to integer of different size
WTView.c:151: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IGetItem':
WTView.c:362: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IGetItemText':
WTView.c:391: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IInsertLBItem':
WTView.c:445: warning: cast from pointer to integer of different size
WTView.c:448: warning: cast from pointer to integer of different size
WTView.c:455: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IRecursiveExpand':
WTView.c:529: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IShowSubItems':
WTView.c:591: warning: cast from pointer to integer of different size
WTView.c:600: warning: cast from pointer to integer of different size
WTView.c:614: warning: cast from pointer to integer of different size
WTView.c:622: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnCreate':
WTView.c:705: warning: cast from pointer to integer of different size
WTView.c:719: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnHitTest':
WTView.c:794: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnLButtonDown':
WTView.c:1043: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnEndEditLabelNow':
WTView.c:1172: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnMouseMove':
WTView.c:1305: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnTimer':
WTView.c:1453: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_WndProc':
WTView.c:1509: warning: cast to pointer from integer of different size
WTView.c:1560: warning: cast to pointer from integer of different size
WTView.c: In function 'TView_OnCreateDragImage':
WTView.c:1606: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnDeleteItem':
WTView.c:1726: warning: cast from pointer to integer of different size
WTView.c:1734: warning: cast from pointer to integer of different size
WTView.c:1741: warning: cast from pointer to integer of different size
WTView.c:1746: warning: cast from pointer to integer of different size
WTView.c:1749: warning: cast from pointer to integer of different size
WTView.c:1757: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnExpand':
WTView.c:1797: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnGetItem':
WTView.c:1845: warning: cast from pointer to integer of different size
WTView.c:1872: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnGetItemRect':
WTView.c:1936: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnInsertItem':
WTView.c:1989: warning: cast from pointer to integer of different size
WTView.c:2005: warning: cast from pointer to integer of different size
WTView.c:2022: warning: cast from pointer to integer of different size
WTView.c:2045: warning: cast from pointer to integer of different size
WTView.c:2063: warning: cast from pointer to integer of different size
WTView.c:2066: warning: cast from pointer to integer of different size
WTView.c:2073: warning: cast from pointer to integer of different size
WTView.c:2103: warning: cast from pointer to integer of different size
WTView.c:2115: warning: cast to pointer from integer of different size
WTView.c: In function 'TView_OnSelectItem':
WTView.c:2256: warning: cast from pointer to integer of different size
WTView.c:2257: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnSetItem':
WTView.c:2339: warning: cast from pointer to integer of different size
WTView.c:2374: warning: cast to pointer from integer of different size
WTView.c:2378: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnSortChildren':
WTView.c:2418: warning: cast from pointer to integer of different size
WTView.c:2421: warning: cast from pointer to integer of different size
WTView.c:2426: warning: cast from pointer to integer of different size
WTView.c:2433: warning: cast from pointer to integer of different size
WTView.c:2445: warning: cast from pointer to integer of different size
WTView.c:2457: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_IGetItemInfo':
WTView.c:2649: warning: cast from pointer to integer of different size
WTView.c: In function 'TView_OnDrawItem':
WTView.c:2730: warning: cast to pointer from integer of different size
WTView.c:2731: warning: cast from pointer to integer of different size
WTView.c:2732: warning: cast from pointer to integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OEMTab.c -o OEMTab.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTab.c -o WTab.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c make_thunk.c -o make_thunk.o
WTab.c: In function 'TabCtl_OnCreate':
WTab.c:512: warning: cast from pointer to integer of different size
WTab.c: In function 'TabCtl_SetTooltip':
WTab.c:1700: warning: cast from pointer to integer of different size
WTab.c: In function 'TabCtl_WndProc':
WTab.c:2186: warning: cast to pointer from integer of different size
WTab.c:2194: warning: cast to pointer from integer of different size
WTab.c: In function 'TabCtl_TCMWndProc':
WTab.c:2314: warning: cast to pointer from integer of different size
make_thunk.c:374: error: 'THUNK_SIZE' undeclared here (not in a function)
make_thunk.c:375: error: 'THUNK_MAGIC_OFFSET' undeclared here (not in a function)
make_thunk.c: In function 'make_native_thunk':
make_thunk.c:416: error: 'make_native_thunk_template' undeclared (first use in this function)
make_thunk.c:416: error: (Each undeclared identifier is reported only once
make_thunk.c:416: error: for each function it appears in.)
make_thunk.c:419: error: 'CUR_ENV_OFF' undeclared (first use in this function)
make_thunk.c:420: error: 'TARG_OFF' undeclared (first use in this function)
make_thunk.c:424: error: 'CONV_OFF' undeclared (first use in this function)
make_thunk.c: In function 'make_binary_thunk':
make_thunk.c:573: error: 'TARG_OFF' undeclared (first use in this function)
gmake[1]: *** [make_thunk.o] Error 1
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/if1632'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/memory'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c virtual.c -o virtual.o
virtual.c: In function 'VirtualAlloc':
virtual.c:306: warning: cast from pointer to integer of different size
virtual.c:306: warning: cast to pointer from integer of different size
virtual.c:308: warning: cast from pointer to integer of different size
virtual.c:308: warning: cast to pointer from integer of different size
virtual.c:310: warning: cast from pointer to integer of different size
virtual.c:310: warning: cast from pointer to integer of different size
virtual.c: In function 'VirtualFree':
virtual.c:474: warning: cast from pointer to integer of different size
virtual.c: In function 'VirtualQuery':
virtual.c:656: warning: cast from pointer to integer of different size
virtual.c:656: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c heap.c -o heap.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c memory.c -o memory.o
heap.c: In function 'HeapAlloc':
heap.c:868: warning: dereferencing type-punned pointer will break strict-aliasing rules
heap.c: In function 'HeapReAlloc':
heap.c:1041: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTlbCust.c -o WTlbCust.o
memory.c:104: warning: initialization from incompatible pointer type
memory.c: In function 'WinMalloc':
memory.c:118: warning: cast from pointer to integer of different size
WTlbCust.c: In function 'Toolbr_CustomizeWndProc':
WTlbCust.c:660: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WToolbar.c -o WToolbar.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTooltip.c -o WTooltip.o
WToolbar.c: In function 'CreateToolbarEx':
WToolbar.c:339: warning: cast to pointer from integer of different size
WToolbar.c: In function 'Toolbr_AddBitmap':
WToolbar.c:503: warning: cast to pointer from integer of different size
WToolbar.c: In function 'Toolbr_SetTooltip':
WToolbar.c:2436: warning: cast from pointer to integer of different size
WToolbar.c: In function 'Toolbr_WndProc':
WToolbar.c:2967: warning: cast to pointer from integer of different size
WToolbar.c: In function 'Toolbr_TBWndProc':
WToolbar.c:3060: warning: cast to pointer from integer of different size
WToolbar.c:3156: warning: cast to pointer from integer of different size
WToolbar.c:3167: warning: cast to pointer from integer of different size
WTooltip.c: In function 'Tooltip_IIsPointInTool':
WTooltip.c:418: warning: cast to pointer from integer of different size
WTooltip.c:420: warning: dereferencing type-punned pointer will break strict-aliasing rules
WTooltip.c: In function 'Tooltip_IGetToolRect':
WTooltip.c:439: warning: cast to pointer from integer of different size
WTooltip.c:440: warning: cast to pointer from integer of different size
WTooltip.c: In function 'ToolInfo_ISetSubclass':
WTooltip.c:843: warning: cast to pointer from integer of different size
WTooltip.c: In function 'ToolInfo_IRemoveSubclass':
WTooltip.c:868: warning: cast to pointer from integer of different size
WTooltip.c: In function 'Tooltip_SetToolInfo':
WTooltip.c:893: warning: cast to pointer from integer of different size
WTooltip.c: In function 'Tooltip_IFindTool':
WTooltip.c:1101: warning: cast to pointer from integer of different size
WTooltip.c: In function 'Tooltip_WndProc':
WTooltip.c:1188: warning: cast to pointer from integer of different size
ar rc libmemory.a      virtual.o heap.o memory.o    
ranlib libmemory.a
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/memory'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/msdos'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_int86.c -o dos_int86.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_call.c -o dos_call.o
dos_call.c: In function 'xdoscall':
dos_call.c:72: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_create.c -o dos_create.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_date.c -o dos_date.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_error.c -o dos_error.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WTrackbr.c -o WTrackbr.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_timer.c -o dos_timer.o
WTrackbr.c: In function 'Trackbar_WndProc':
WTrackbr.c:953: warning: cast to pointer from integer of different size
WTrackbr.c:988: warning: cast to pointer from integer of different size
dos_timer.c: In function 'time_local':
dos_timer.c:97: warning: passing argument 1 of 'localtime' from incompatible pointer type
dos_timer.c:107: warning: passing argument 1 of 'localtime' from incompatible pointer type
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c dos_findfile.c -o dos_findfile.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_21.c -o int_21.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fn_36.c -o fn_36.o
int_21.c: In function 'do_FCBfindfile':
int_21.c:99: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
int_21.c:101: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WUpdown.c -o WUpdown.o
WUpdown.c: In function 'SpinBtn_WndProc':
WUpdown.c:915: warning: cast to pointer from integer of different size
WUpdown.c: In function 'SpinBtn_UDMWndProc':
WUpdown.c:968: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WLVLBox.c -o WLVLBox.o
WLVLBox.c: In function 'LVEdit_WndProc':
WLVLBox.c:242: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c CommCtrl.c -o CommCtrl.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fn_38.c -o fn_38.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include -I../.. -ECommctrl_LibMain WCommCtrl.rc -o WCommCtrl.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c commctrl32.c -o commctrl32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c commctrl32Bin.c -o commctrl32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_10.c -o int_10.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c WCommCtrl.res.c -o WCommCtrl.res.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_11.c -o int_11.o
WCommCtrl.res.c:2007: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_12.c -o int_12.o
ld: cannot find -ltwin32
gmake[2]: *** [libcomctl32.so] Error 1
rm WCommCtrl.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/commctrl'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/advapi32'
../../tools/mksrc advapi32.d advapi32 ADVAPI32
../../tools/mksrc advapi32.d advapi32 ADVAPI32
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c advapi.c -o advapi.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  advapi32.rc -o advapi32.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c advapi32.c -o advapi32.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c advapi32Bin.c -o advapi32Bin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c advapi32.res.c -o advapi32.res.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_13.c -o int_13.o
advapi32.res.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -lshell
gmake[2]: *** [libadvapi32.so] Error 1
rm advapi32.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/advapi32'
gmake[2]: Entering directory `/scratch/emulators/twin/work/twin/dlls/msvcrt'
../../tools/mksrc msvcrt32.d msvcrt32 MSVCRT
../../tools/mksrc msvcrt32.d msvcrt32 MSVCRT
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c msvcrt.c -o msvcrt.o
../../tools/rc/rc -DTWIN32 -I../../include -I../../include  msvcrt.rc -o msvcrt.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_15.c -o int_15.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c msvcrt32.c -o msvcrt32.o
In file included from msvcrt32.c:3:
msvcrt32.h:19: warning: conflicting types for built-in function 'malloc'
msvcrt32.h:21: warning: conflicting types for built-in function 'strncpy'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c msvcrt32Bin.c -o msvcrt32Bin.o
In file included from msvcrt32Bin.c:3:
msvcrt32Bin.h:15: warning: conflicting types for built-in function 'malloc'
msvcrt32Bin.h:17: warning: conflicting types for built-in function 'strncpy'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c msvcrt.res.c -o msvcrt.res.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_1a.c -o int_1a.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_25.c -o int_25.o
msvcrt.res.c:40: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[2]: *** [libmsvcrt.so] Error 1
rm msvcrt.res.c
gmake[2]: Leaving directory `/scratch/emulators/twin/work/twin/dlls/msvcrt'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/dlls'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/ole'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OleSvr.c -o OleSvr.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c SvrBin.c -o SvrBin.o
int_1a.c: In function 'time_of_day_service':
int_1a.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_2a.c -o int_2a.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OleSvrIF.c -o OleSvrIF.o
../tools/rc/rc -DTWIN32 -I../include -I../include  olesvr.rc -o olesvr.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_2f.c -o int_2f.o
OleSvrIF.c: In function 'IT_REGSERVER':
OleSvrIF.c:77: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_31.c -o int_31.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_3d.c -o int_3d.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OleCli.c -o OleCli.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c CliBin.c -o CliBin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c int_5c.c -o int_5c.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c OleCliIF.c -o OleCliIF.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mfs_config.c -o mfs_config.o
../tools/rc/rc -DTWIN32 -I../include -I../include  olecli.rc -o olecli.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c olesvr.res.c -o olesvr.res.o
mfs_config.c: In function 'mfs_config':
mfs_config.c:137: warning: cast from pointer to integer of different size
mfs_config.c: In function 'AllocateDrive':
mfs_config.c:267: warning: array subscript has type 'char'
mfs_config.c: In function 'already_mapped':
mfs_config.c:434: warning: array subscript has type 'char'
mfs_config.c:434: warning: array subscript has type 'char'
mfs_config.c: In function 'mfs_altname':
mfs_config.c:514: warning: array subscript has type 'char'
mfs_config.c: In function 'mfs_dosname':
mfs_config.c:603: warning: array subscript has type 'char'
mfs_config.c:609: warning: array subscript has type 'char'
mfs_config.c:687: warning: array subscript has type 'char'
mfs_config.c:692: warning: array subscript has type 'char'
olesvr.res.c:61: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c olecli.res.c -o olecli.res.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mfs_fileio.c -o mfs_fileio.o
olecli.res.c:107: warning: dereferencing type-punned pointer will break strict-aliasing rules
mfs_fileio.c: In function 'mfs_delete':
mfs_fileio.c:232: warning: value computed is not used
cc -Wall -fPIC -L/usr/pkg/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
mfs_fileio.c: In function 'mfs_opencreate':
mfs_fileio.c:313: warning: cast from pointer to integer of different size
mfs_fileio.c: In function 'mfs_fcntl':
mfs_fileio.c:791: warning: cast to pointer from integer of different size
ld: cannot find -ltwin32
gmake[1]: *** [libolesvr.so] Error 1
rm olecli.res.c olesvr.res.c
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/ole'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/multimedia'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MultiMedia.c -o MultiMedia.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MMBin.c -o MMBin.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MCI.c -o MCI.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mfs_findfile.c -o mfs_findfile.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MMIF.c -o MMIF.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c midi.c -o midi.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mmdrv.c -o mmdrv.o
midi.c: In function 'midiOutMessage':
midi.c:917: warning: 'dwMidiOutUser' may be used uninitialized in this function
midi.c: In function 'midiInMessage':
midi.c:650: warning: 'dwMidiInUser' may be used uninitialized in this function
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mfs_regexp.c -o mfs_regexp.o
mfs_findfile.c: In function 'mfs_findfirst':
mfs_findfile.c:180: warning: array subscript has type 'char'
mfs_findfile.c:180: warning: array subscript has type 'char'
mfs_findfile.c:184: warning: array subscript has type 'char'
mfs_findfile.c:206: warning: pointer targets in passing argument 1 of 'set_mask' differ in signedness
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c wave.c -o wave.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c msclib.c -o msclib.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mfs_core.c -o mfs_core.o
msclib.c: In function 'strlwr':
msclib.c:256: warning: array subscript has type 'char'
msclib.c:257: warning: array subscript has type 'char'
msclib.c: In function 'strupr':
msclib.c:273: warning: array subscript has type 'char'
msclib.c:274: warning: array subscript has type 'char'
wave.c: In function 'waveOutMessage':
wave.c:1005: warning: 'dwWaveOutUser' may be used uninitialized in this function
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c mmaux.c -o mmaux.o
wave.c: In function 'waveInMessage':
wave.c:681: warning: 'dwWaveInUser' may be used uninitialized in this function
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fat_core.c -o fat_core.o
../tools/rc/rc -DTWIN32 -I../include -I../include  MultiMedia.rc -o MultiMedia.res.c
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c MultiMedia.res.c -o MultiMedia.res.o
mfs_core.c: In function 'GetDriveFromPath':
mfs_core.c:705: warning: array subscript has type 'char'
MultiMedia.res.c:755: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -L/usr/pkg/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
ld: cannot find -ltwin32
gmake[1]: *** [libmmsystem.so] Error 1
rm MultiMedia.res.c
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/multimedia'
gmake: *** [native-dll] Error 2
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fat_fileio.c -o fat_fileio.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fat_findfile.c -o fat_findfile.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c fat_lib.c -o fat_lib.o
fat_lib.c: In function 'strtolower':
fat_lib.c:166: warning: array subscript has type 'char'
fat_lib.c:167: warning: array subscript has type 'char'
fat_lib.c: In function 'NameSplit':
fat_lib.c:344: warning: array subscript has type 'char'
fat_lib.c:345: warning: array subscript has type 'char'fat_fileio.c: In function 'fat_fcntl':
fat_fileio.c:484: warning: cast to pointer from integer of different size

fat_lib.c:348: warning: array subscript has type 'char'
fat_lib.c:349: warning: array subscript has type 'char'
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 `/scratch/emulators/twin/work/twin/msdos'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/osdll'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c DrvSystem.c -o DrvSystem.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c DrvTime.c -o DrvTime.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c DrvDlfcn.c -o DrvDlfcn.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/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 `/scratch/emulators/twin/work/twin/osdll'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/scheduler'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Threads.c -o Threads.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Critical.c -o Critical.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Interlock.c -o Interlock.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c CreateProcess.c -o CreateProcess.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c ThreadLocal.c -o ThreadLocal.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c Hotkey.c -o Hotkey.o
CreateProcess.c: In function 'GetCommandLine':
CreateProcess.c:95: warning: value computed is not used
ar rc libsched.a      Threads.o Critical.o Interlock.o CreateProcess.o ThreadLocal.o Hotkey.o    
ranlib libsched.a
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/scheduler'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/graphics'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c GdiObjects.c -o GdiObjects.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c GdiBitmaps.c -o GdiBitmaps.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c GdiClipping.c -o GdiClipping.o
GdiObjects.c: In function 'EnumObjects':
GdiObjects.c:90: warning: value computed is not used
GdiObjects.c: In function 'GetStockObject':
GdiObjects.c:332: warning: value computed is not used
GdiObjects.c:335: warning: value computed is not used
GdiObjects.c:338: warning: value computed is not used
GdiObjects.c:341: warning: value computed is not used
GdiObjects.c:344: warning: value computed is not used
GdiObjects.c: In function 'CreatePatternBrush':
GdiObjects.c:401: warning: cast from pointer to integer of different size
GdiObjects.c: In function 'CreateDIBPatternBrush':
GdiObjects.c:419: warning: cast from pointer to integer of different size
GdiObjects.c: In function 'EnumFonts':
GdiObjects.c:551: warning: value computed is not used
GdiObjects.c: In function 'EnumFontFamiliesEx':
GdiObjects.c:578: warning: value computed is not used
GdiObjects.c: In function 'EnumFontFamilies':
GdiObjects.c:604: warning: value computed is not used
GdiObjects.c: In function 'IsGDIObject':
GdiObjects.c:621: warning: value computed is not used
GdiObjects.c: In function 'GetObject':
GdiObjects.c:827: warning: value computed is not used
GdiObjects.c: In function 'UnrealizeObject':
GdiObjects.c:857: warning: value computed is not used
GdiObjects.c: In function 'TWIN_DeleteObject':
GdiObjects.c:948: warning: value computed is not used
GdiObjects.c: In function 'GdiCreatePen':
GdiObjects.c:975: warning: value computed is not used
GdiObjects.c: In function 'GdiExtCreatePen':
GdiObjects.c:1002: warning: value computed is not used
GdiObjects.c:1014: warning: value computed is not used
GdiObjects.c: In function 'GdiDeletePen':
GdiObjects.c:1033: warning: value computed is not used
GdiObjects.c: In function 'GdiDeletePalette':
GdiObjects.c:1052: warning: value computed is not used
GdiObjects.c: In function 'TWIN_DeleteStockObjects':
GdiObjects.c:1170: warning: value computed is not used
GdiClipping.c: In function 'GetClipRgn':
GdiClipping.c:64: warning: value computed is not used
GdiClipping.c: In function 'GetClipBox':
GdiClipping.c:108: warning: value computed is not used
GdiClipping.c: In function 'ExcludeClipRect':
GdiClipping.c:132: warning: value computed is not used
GdiClipping.c: In function 'IntersectClipRect':
GdiClipping.c:156: warning: value computed is not used
GdiClipping.c: In function 'OffsetClipRgn':
GdiClipping.c:181: warning: value computed is not used
GdiClipping.c: In function 'lsd_excludecliprect':
GdiClipping.c:195: warning: dereferencing type-punned pointer will break strict-aliasing rules
GdiClipping.c: In function 'ExcludeClipRgn':
GdiClipping.c:214: warning: value computed is not used
GdiClipping.c: In function 'IntersectClipRgn':
GdiClipping.c:233: warning: value computed is not used
GdiClipping.c: In function 'PtVisible':
GdiClipping.c:351: warning: value computed is not used
GdiClipping.c: In function 'RectVisible':
GdiClipping.c:376: warning: dereferencing type-punned pointer will break strict-aliasing rules
GdiClipping.c:399: warning: value computed is not used
GdiClipping.c: In function 'SelectClipRgn':
GdiClipping.c:417: warning: value computed is not used
GdiClipping.c: In function 'ExtSelectClipRgn':
GdiClipping.c:434: warning: value computed is not used
GdiClipping.c: In function 'SelectVisRgn':
GdiClipping.c:458: warning: value computed is not used
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../include -I../windows -I../include -I. -O2 -I/usr/pkg/include  -c GdiDC.c -o GdiDC.o
GdiDC.c:128: error: static declaration of 'TWIN_DCCache' follows non-static declaration
../windows/GdiDC.h:136: error: previous declaration of 'TWIN_DCCache' was here
GdiDC.c:129: error: static declaration of 'TWIN_DCCacheSize' follows non-static declaration
../windows/GdiDC.h:137: error: previous declaration of 'TWIN_DCCacheSize' was here
GdiDC.c: In function 'IsMetafileDC':
GdiDC.c:242: warning: value computed is not used
GdiDC.c: In function 'GdiCreateDC':
GdiDC.c:265: warning: value computed is not used
GdiDC.c:277: warning: value computed is not used
GdiDC.c:286: warning: value computed is not used
GdiDC.c: In function 'CreateCompatibleDC':
GdiDC.c:415: warning: value computed is not used
GdiDC.c:423: warning: value computed is not used
GdiDC.c:445: warning: value computed is not used
GdiDC.c:449: warning: value computed is not used
GdiDC.c:457: warning: value computed is not used
GdiDC.c:463: warning: value computed is not used
GdiDC.c: In function 'DeleteDC':
GdiDC.c:567: warning: value computed is not used
GdiDC.c: In function 'ResetDC':
GdiDC.c:721: warning: value computed is not used
gmake[1]: *** [GdiDC.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
GdiBitmaps.c: In function 'SetBitmapDimensionEx':
GdiBitmaps.c:95: warning: value computed is not used
GdiBitmaps.c: In function 'GetBitmapDimensionEx':
GdiBitmaps.c:125: warning: value computed is not used
GdiBitmaps.c: In function 'SetDIBits':
GdiBitmaps.c:156: warning: value computed is not used
GdiBitmaps.c: In function 'GetDIBits':
GdiBitmaps.c:184: warning: value computed is not used
GdiBitmaps.c:202: warning: value computed is not used
GdiBitmaps.c:213: warning: value computed is not used
GdiBitmaps.c: In function 'CreateBitmapIndirect':
GdiBitmaps.c:322: warning: value computed is not used
GdiBitmaps.c:327: warning: value computed is not used
GdiBitmaps.c: In function 'CreateCompatibleBitmap':
GdiBitmaps.c:386: warning: value computed is not used
GdiBitmaps.c:389: warning: value computed is not used
GdiBitmaps.c: In function 'TWIN_SetImageBits':
GdiBitmaps.c:418: warning: value computed is not used
GdiBitmaps.c:428: warning: value computed is not used
GdiBitmaps.c:447: warning: value computed is not used
GdiBitmaps.c: In function 'TWIN_GetImageBits':
GdiBitmaps.c:495: warning: value computed is not used
GdiBitmaps.c:525: warning: value computed is not used
GdiBitmaps.c: In function 'CreateIcon':
GdiBitmaps.c:546: warning: value computed is not used
GdiBitmaps.c:553: warning: value computed is not used
GdiBitmaps.c:559: warning: value computed is not used
GdiBitmaps.c: In function 'LoadIconResource':
GdiBitmaps.c:702: warning: value computed is not used
GdiBitmaps.c:757: warning: value computed is not used
GdiBitmaps.c: In function 'DestroyIcon':
GdiBitmaps.c:778: warning: value computed is not used
GdiBitmaps.c: In function 'CreateCursor':
GdiBitmaps.c:804: warning: value computed is not used
GdiBitmaps.c:812: warning: value computed is not used
GdiBitmaps.c:821: warning: value computed is not used
GdiBitmaps.c:836: warning: value computed is not used
GdiBitmaps.c:841: warning: value computed is not used
GdiBitmaps.c:842: warning: value computed is not used
GdiBitmaps.c:848: warning: value computed is not used
GdiBitmaps.c: In function 'LoadCursorResource':
GdiBitmaps.c:881: warning: value computed is not used
GdiBitmaps.c:895: warning: value computed is not used
GdiBitmaps.c:898: warning: value computed is not used
GdiBitmaps.c:919: warning: value computed is not used
GdiBitmaps.c:924: warning: value computed is not used
GdiBitmaps.c:925: warning: value computed is not used
GdiBitmaps.c: In function 'DestroyCursor':
GdiBitmaps.c:960: warning: value computed is not used
GdiBitmaps.c: In function 'GetDragIconCursor':
GdiBitmaps.c:997: warning: value computed is not used
GdiBitmaps.c:1017: warning: value computed is not used
GdiBitmaps.c:1018: warning: value computed is not used
GdiBitmaps.c:1019: warning: value computed is not used
GdiBitmaps.c:1024: warning: value computed is not used
GdiBitmaps.c:1025: warning: value computed is not used
GdiBitmaps.c:1026: warning: value computed is not used
GdiBitmaps.c: In function 'CreateDIBSection':
GdiBitmaps.c:1219: warning: value computed is not used
GdiBitmaps.c:1232: warning: value computed is not used
GdiBitmaps.c: In function 'GetDIBColorTable':
GdiBitmaps.c:1254: warning: value computed is not used
GdiBitmaps.c:1262: warning: value computed is not used
GdiBitmaps.c:1263: warning: value computed is not used
GdiBitmaps.c:1273: warning: value computed is not used
GdiBitmaps.c:1274: warning: value computed is not used
GdiBitmaps.c:1285: warning: value computed is not used
GdiBitmaps.c:1286: warning: value computed is not used
GdiBitmaps.c: In function 'SetDIBColorTable':
GdiBitmaps.c:1311: warning: value computed is not used
GdiBitmaps.c:1319: warning: value computed is not used
GdiBitmaps.c:1320: warning: value computed is not used
GdiBitmaps.c:1329: warning: value computed is not used
GdiBitmaps.c:1330: warning: value computed is not used
GdiBitmaps.c:1341: warning: value computed is not used
GdiBitmaps.c:1342: warning: value computed is not used
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/graphics'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/graphics/x11drv'
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvGraphics.c -o DrvGraphics.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvImages.c -o DrvImages.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvDC.c -o DrvDC.o
DrvGraphics.c: In function 'DrvGraphicsStretchBlt':
DrvGraphics.c:1074: warning: pointer targets in assignment differ in signedness
DrvGraphics.c:1075: warning: pointer targets in assignment differ in signedness
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvFloodFill.c -o DrvFloodFill.o
DrvImages.c: In function 'DrvCreateBrush':
DrvImages.c:505: warning: pointer targets in assignment differ in signedness
DrvImages.c:509: warning: pointer targets in assignment differ in signedness
DrvImages.c: In function 'TWIN_DumpDC':
DrvImages.c:865: warning: value computed is not used
DrvFloodFill.c: In function 'DrvExtFloodFill':
DrvFloodFill.c:223: warning: 'node.FillDir' may be used uninitialized in this function
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvRegions.c -o DrvRegions.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvText.c -o DrvText.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvUtils.c -o DrvUtils.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvIPC.c -o DrvIPC.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvInit.c -o DrvInit.o
DrvIPC.c: In function 'DrvClipbrdEmpty':
DrvIPC.c:214: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvClipbrdGetData':
DrvIPC.c:266: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvIsFormatAvailable':
DrvIPC.c:371: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvLoadFormats':
DrvIPC.c:410: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvClipbrdOpen':
DrvIPC.c:478: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvClipbrdSetData':
DrvIPC.c:535: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c:568: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvEnumFormats':
DrvIPC.c:654: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c: In function 'DrvAtomData':
DrvIPC.c:811: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvIPC.c:826: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c RopCodes.c -o RopCodes.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvWindows.c -o DrvWindows.o
DrvWindows.c: In function 'DrvCreateWindows':
DrvWindows.c:420: warning: cast from pointer to integer of different size
DrvWindows.c:420: warning: cast from pointer to integer of different size
DrvWindows.c: In function 'DrvStackingOrder':
DrvWindows.c:721: warning: cast from pointer to integer of different size
DrvWindows.c: In function 'DrvHandleWindowEvents':
DrvWindows.c:813: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvWindows.c:819: warning: cast to pointer from integer of different size
DrvWindows.c:860: warning: dereferencing type-punned pointer will break strict-aliasing rules
DrvWindows.c:876: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvCursor.c -o DrvCursor.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvWinSock.c -o DrvWinSock.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvColors.c -o DrvColors.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvEvents.c -o DrvEvents.o
DrvWinSock.c: In function 'DrvWinsockAccept':
DrvWinSock.c:189: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
DrvWinSock.c: In function 'DrvWinsockGetPeerName':
DrvWinSock.c:237: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness
DrvWinSock.c: In function 'DrvWinsockGetSockName':
DrvWinSock.c:250: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
DrvWinSock.c: In function 'DrvWinsockGetSockOpt':
DrvWinSock.c:299: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
DrvWinSock.c: In function 'DrvWinsockRecvFrom':
DrvWinSock.c:415: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
DrvWinSock.c: In function 'DrvWinsockSocket':
DrvWinSock.c:535: warning: cast from pointer to integer of different size
DrvEvents.c: In function 'DrvEventsUnblockSelectWait':
DrvEvents.c:228: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c XICCCM.c -o XICCCM.o
DrvColors.c: In function 'DrvSystemPaletteUse':
DrvColors.c:1091: warning: cast from pointer to integer of different size
XICCCM.c: In function 'InternalICCCM':
XICCCM.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
XICCCM.c:127: warning: cast to pointer from integer of different size
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvKeyboard.c -o DrvKeyboard.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c XEvents.c -o XEvents.o
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/include  -c DrvConfig.c -o DrvConfig.o
XEvents.c: In function 'DriverPrivateEvents':
XEvents.c:387: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:393: warning: cast to pointer from integer of different size
XEvents.c:439: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:448: warning: cast to pointer from integer of different size
XEvents.c:462: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:495: warning: cast to pointer from integer of different size
XEvents.c:531: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:536: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:554: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:559: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:586: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:592: warning: cast to pointer from integer of different size
XEvents.c:595: warning: cast to pointer from integer of different size
XEvents.c:621: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:628: warning: cast to pointer from integer of different size
XEvents.c:663: warning: dereferencing type-punned pointer will break strict-aliasing rules
XEvents.c:669: warning: cast to pointer from integer of different size
XEvents.c: In function 'DrvPrintTree':
XEvents.c:722: warning: dereferencing type-punned pointer will break strict-aliasing rules
cc -Wall -fPIC -Dx86_64 -Dnetbsd -DTWIN32 -DDEBUG -I../../include -I../../windows -I../../include -I. -O2 -I/usr/pkg/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 `/scratch/emulators/twin/work/twin/graphics/x11drv'
gmake[1]: Entering directory `/scratch/emulators/twin/work/twin/windows'
gmake[1]: *** No rule to make target `../graphics/libgdi.a', needed by `libtwin32.so'.  Stop.
gmake[1]: Leaving directory `/scratch/emulators/twin/work/twin/windows'
gmake: *** [libtwin] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/emulators/twin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/twin
